]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
On some systems POSIX AIO functions are in libaio
authorserassio <>
Mon, 4 Jul 2005 21:28:09 +0000 (21:28 +0000)
committerserassio <>
Mon, 4 Jul 2005 21:28:09 +0000 (21:28 +0000)
configure.in

index 6166e0db201c964bdf4be65403cd5346420bc798..4814d01bb93a6f55f271938a37079c2dbd24c9ee 100644 (file)
@@ -3,7 +3,7 @@ dnl  Configuration input file for Squid
 dnl
 dnl  Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9)
 dnl
-dnl  $Id: configure.in,v 1.377 2005/07/01 22:34:50 hno Exp $
+dnl  $Id: configure.in,v 1.378 2005/07/04 15:28:09 serassio Exp $
 dnl
 dnl
 dnl
@@ -13,7 +13,7 @@ AC_CONFIG_SRCDIR([src/main.cc])
 AC_CONFIG_AUX_DIR(cfgaux)
 AM_INIT_AUTOMAKE(squid, 3.0-PRE3-CVS)
 AM_CONFIG_HEADER(include/autoconf.h)
-AC_REVISION($Revision: 1.377 $)dnl
+AC_REVISION($Revision: 1.378 $)dnl
 AC_PREFIX_DEFAULT(/usr/local/squid)
 AM_MAINTAINER_MODE
 
@@ -2028,7 +2028,8 @@ fi
 dnl Check for librt
 dnl We use AIO in the coss store
 if test "$with_aio" = "yes"; then
-    AC_CHECK_LIB(rt, aio_read)
+    dnl On some systems POSIX AIO functions are in libaio
+    AC_CHECK_LIB(rt, aio_read,,AC_CHECK_LIB(aio, aio_read))
 fi
 
 dnl -lintl is needed on SCO version 3.2v4.2 for strftime()