Commit ed059eca authored by Bruce Momjian's avatar Bruce Momjian

This removes the LDFLAGS from the template and adds an autoconf check

for the library.  not sure if this will cause problems on other
platforms, but if it does it can be easily fixed.  Also remove the
references to the GeekGadgets includes as the majority of users don't
have them installed and they foul the build process.  We can document
that adding them if you have them installed is a good idea.

David Reid
parent fec5d17d
......@@ -638,6 +638,7 @@ AC_CHECK_LIB(gen, main)
AC_CHECK_LIB(PW, main)
AC_SEARCH_LIBS(crypt, crypt)
AC_CHECK_LIB(z, inflate)
AC_CHECK_LIB(bind, main)
if test "$with_krb4" = yes ; then
AC_CHECK_LIB(des, [des_encrypt], [], [AC_MSG_ERROR([library \`des' is required for Kerberos 4])])
......
AROPT=crs
SHARED_LIB='-fpic -DPIC'
CFLAGS='-O2'
LDFLAGS='-lbind'
SRCH_INC='/boot/apps/GeekGadgets/include'
SRCH_LIB='/boot/apps/GeekGadgets/lib'
DLSUFFIX=.so
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment