Commit 9fbc1afb authored by Bob Halley's avatar Bob Halley
Browse files

some solaris stuff; simply Makefiles

parent 2791c490
AC_REVISION($Revision: 1.3 $)
AC_REVISION($Revision: 1.4 $)
AC_INIT(lib/dns/name.c)
AC_CONFIG_HEADER(config.h)
......@@ -17,6 +17,10 @@ AC_TYPE_SIZE_T
AC_HEADER_TIME
AC_CHECK_LIB(pthread, pthread_create)
AC_CHECK_LIB(xnet, socket,,
AC_CHECK_LIB(socket, socket)
AC_CHECK_LIB(nsl, inet_ntoa)
)
AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_PROG_INSTALL
......@@ -28,6 +32,11 @@ if test "X$GCC" = "Xyes"; then
STD_CINCLUDES=
STD_CDEFINES=
STD_CWARNINGS="-W -Wall -Wmissing-prototypes"
case "$host" in
*-sun-solaris*)
LIBS="$LIBS -lthread"
;;
esac
else
STD_CINCLUDES=
STD_CDEFINES=
......@@ -36,6 +45,9 @@ else
*-dec-osf1*)
CFLAGS="$CFLAGS -pthread"
;;
*-sun-solaris*)
CC="$CC -mt"
;;
esac
fi
......@@ -46,7 +58,9 @@ AC_SUBST_FILE(BIND9_VERSION)
BIND9_VERSION=$srcdir/version
AC_OUTPUT(
make/rules
Makefile
make/Makefile
lib/Makefile
lib/isc/Makefile
lib/isc/include/Makefile
......
Supports Markdown
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