]> arthur.barton.de Git - netatalk.git/commitdiff
try to get the libs dep a bit better
authordidg <didg>
Sat, 9 Sep 2006 04:30:01 +0000 (04:30 +0000)
committerdidg <didg>
Sat, 9 Sep 2006 04:30:01 +0000 (04:30 +0000)
configure.in
etc/afpd/Makefile.am
etc/papd/Makefile.am

index 324f8e11037958a3ad20add07b6169d16c6ded77..8aaec6bd441d048097998986be15b4a776b9ad20 100644 (file)
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.204 2006-09-09 04:07:25 didg Exp $
+dnl $Id: configure.in,v 1.205 2006-09-09 04:30:01 didg Exp $
 dnl configure.in for netatalk
 
 AC_INIT(etc/afpd/main.c)
@@ -46,7 +46,7 @@ dnl AC_CHECK_LIB(crypt, main)
 dnl Replace `main' with a function in -ld:
 dnl AC_CHECK_LIB(d, main)
 dnl Replace `main' with a function in -ldl:
-# AC_CHECK_LIB(dl, dlopen)
+dnl AC_CHECK_LIB(dl, dlopen)
 dnl Replace `main' with a function in -lkauth:
 dnl AC_CHECK_LIB(kauth, main)
 dnl Replace `main' with a function in -lkrb:
@@ -55,16 +55,17 @@ dnl Replace `main' with a function in -llwp:
 dnl AC_CHECK_LIB(lwp, main)
 dnl Replace `main' with a function in -ln:
 dnl AC_CHECK_LIB(n, main)
-dnl Replace `main' with a function in -lnsl:
-# AC_CHECK_LIB(nsl, main)
+
+dnl not the right stuff but should be enough for now
+AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)])
+AC_CHECK_FUNC(connect,,[AC_CHECK_LIB(socket,connect)])
+
 dnl Replace `main' with a function in -lprot:
 dnl AC_CHECK_LIB(prot, main)
 dnl Replace `main' with a function in -lrx:
 dnl AC_CHECK_LIB(rx, main)
 dnl Replace `main' with a function in -lrxkad:
 dnl AC_CHECK_LIB(rxkad, main)
-dnl Replace `main' with a function in -lsocket:
-AC_CHECK_LIB(socket, socket)
 dnl Replace `main' with a function in -lsys:
 dnl AC_CHECK_LIB(sys, main)
 dnl Replace `main' with a function in -lubik:
index 1de6782c20b606f01095f02a9afd4e3bd93ff889..7da1ad0650b96a19a78506e5f924a45ef176c76b 100644 (file)
@@ -17,7 +17,7 @@ noinst_HEADERS = auth.h afp_config.h desktop.h directory.h file.h \
         filedir.h fork.h globals.h icon.h mangle.h misc.h status.h switch.h \
         uam_auth.h uid.h unix.h volume.h afp_vfs.h hash.h
 
-LIBS = @LIBS@ @PAM_LIBS@ @QUOTA_LIBS@ @SLP_LIBS@ @WRAP_LIBS@ @LIBADD_DL@
+LIBS = @LIBS@ @QUOTA_LIBS@ @SLP_LIBS@ @WRAP_LIBS@ @LIBADD_DL@
 
 CFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/sys \
         @CFLAGS@ @SLP_CFLAGS@ \
index 66929b0d2eaa8b0792a75924240e6eae3d11ca99..8f5c5697e33c472c3d274af630210852905cea63 100644 (file)
@@ -9,7 +9,7 @@ bin_PROGRAMS = showppd
 papd_SOURCES = main.c printcap.c session.c file.c comment.c lp.c ppd.c \
               magics.c headers.c queries.c auth.c uam.c print_cups.c
 
-papd_LDADD = $(top_builddir)/libatalk/libatalk.la @PAM_LIBS@ @CUPS_LIBS@ @LIBADD_DL@
+papd_LDADD = $(top_builddir)/libatalk/libatalk.la @CUPS_LIBS@ @LIBADD_DL@
 papd_LDFLAGS = -export-dynamic @CUPS_LDFLAGS@
 
 showppd_SOURCES = showppd.c ppd.c