This removes the LDFLAGS from the template and adds an autoconf check
authorBruce Momjian
Sun, 8 Oct 2000 13:49:47 +0000 (13:49 +0000)
committerBruce Momjian
Sun, 8 Oct 2000 13:49:47 +0000 (13:49 +0000)
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

configure.in
src/template/beos

index 6dd874a03af1bfa8d558189daf8a74a24562ac3b..d48bd4cf2e5a2bad018fa99a57ae55c90af36523 100644 (file)
@@ -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])])
index d0d63568978ce29fe10829700cb206431516526a..9375b3aa6615f2f28d3e60a4a2d9301c0fd9ed4a 100644 (file)
@@ -1,7 +1,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