--- projects/libukcprog/configure.in 2003/03/29 16:30:31 1.1 +++ projects/libukcprog/configure.in 2003/05/03 13:14:20 1.2 @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. # # configure.in for libukcprog -# $Id: configure.in,v 1.1 2003/03/29 16:30:31 tdb Exp $ +# $Id: configure.in,v 1.2 2003/05/03 13:14:20 tdb Exp $ # # Change these to change the package name and version @@ -10,7 +10,7 @@ AC_INIT(libukcprog, 1.0, dev@i-scream.org.uk) AM_INIT_AUTOMAKE(libukcprog, 1.0) # Revision number (automatically updated) -AC_REVISION($Revision: 1.1 $) +AC_REVISION($Revision: 1.2 $) # Might work with older autoconfs... but tested on 2.57 AC_PREREQ(2.57) @@ -25,6 +25,16 @@ AC_HEADER_STDC # Checks for typedefs, structures, and compiler characteristics AC_C_CONST + +# Figure out details about the host - we need the OS +AC_CANONICAL_HOST + +# On Slaris add some LIBS to make linking against libukcprog easier +case $host_os in +solaris2.*) + LIBS="$LIBS -lnsl -lsocket" + ;; +esac # And finish by changing these files AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile])