* configure.in: Add -lposix on A/UX before all tests.

This commit is contained in:
Pavel Roskin 2003-01-24 21:14:33 +00:00
parent 8e7ad454d6
commit e606c7bf78
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2003-01-24 Pavel Roskin <proski@gnu.org>
* configure.in: Add -lposix on A/UX before all tests.
2003-01-23 Pavel Roskin <proski@gnu.org>
* acinclude.m4 (MC_EXTFS_CHECKS): Fix redirection to /dev/null.

View File

@ -118,12 +118,10 @@ fi
dnl
dnl OS specific flags.
dnl
posix_libs=""
case $host_os in
aux*)
# A/UX
posix_libs="-lposix"
LIBS="$LIBS -lposix"
AC_DEFINE(_POSIX_SOURCE)
;;
sco*)
@ -132,6 +130,7 @@ sco*)
;;
esac
AC_PROG_INSTALL
AC_CHECK_HEADERS([unistd.h string.h memory.h grp.h limits.h malloc.h \
stdlib.h termios.h utime.h fcntl.h pwd.h sys/statfs.h sys/time.h \
@ -528,8 +527,6 @@ if test "$GLIBC21" != yes; then
AC_DEFINE(USE_INCLUDED_REGEX, 1, [Use the regex included here])
fi
LIBS="$LIBS $posix_libs"
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)