]> Dogcows Code - chaz/tar/blobdiff - src/configure.in
*** empty log message ***
[chaz/tar] / src / configure.in
index f484076404395f238e156d74896b6f346b21a11b..e23dc078be5402e0248ce436423cce301c6e657e 100644 (file)
@@ -43,9 +43,13 @@ AC_HAVE_FUNCS(strstr valloc mkdir mknod rename ftruncate ftime)
 AC_VPRINTF
 AC_ALLOCA
 echo checking for BSD
-test -f /vmunix && AC_DEFINE(BSD42)
+( test -f /vmunix || test -f /sdmach || test -f /../../mach ) && AC_DEFINE(BSD42)
 echo checking for HP-UX
-test -f /hp-ux && test -f /vmunix || MALLOC=malloc.o
+test -f /hp-ux && test ! -f /vmunix && MALLOC=malloc.o
 AC_SUBST(MALLOC)
 AC_XENIX_DIR
+echo checking for Solaris libraries
+test -f /lib/libsocket.a && LIBS="$LIBS -lsocket"
+test -f /lib/libnsl.a && LIBS="$LIBS -lnsl"
+
 AC_OUTPUT(Makefile)
This page took 0.019979 seconds and 4 git commands to generate.