Changeset 2069

Show
Ignore:
Timestamp:
01/29/2008 09:23:31 PM (5 months ago)
Author:
jan
Message:

forgot about m4 still seeing the AC_* macros for libaio support.
removing all the references to it to make sure the option
--enable-linux-libaio is really gone

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/configure.in

    r2068 r2069  
    446446  AC_DEFINE([HAVE_GLIB_H], [1], [glib.h]) 
    447447]) 
    448  
    449 if false; then 
    450         dnl async-io doesn't work for all file-systems  
    451         dnl we disable it here in the configure checks  
    452         dnl and in settings.h 
    453  
    454 dnl Check for libaio 
    455 AC_MSG_CHECKING(for libaio) 
    456 AC_ARG_WITH(linux-aio, AC_HELP_STRING([--with-linux-aio],[Async IO support for Linux via libaio]), [WITH_LINUXLIBAIO=$withval],[WITH_LINUXLIBAIO=no]) 
    457 AC_MSG_RESULT([$WITH_LINUXLIBAIO]) 
    458 if test "$WITH_LINUXLIBAIO" != "no"; then 
    459  AC_CHECK_LIB(aio, io_submit, [ 
    460          AC_CHECK_HEADERS([libaio.h],[ 
    461                  AIO_LIB="-laio -pthread" 
    462                  AC_DEFINE([HAVE_LIBAIO], [1], [libaio]) 
    463                  AC_DEFINE([HAVE_LIBAIO_H], [1], [libaio.h]) 
    464          ]) 
    465  ]) 
    466  AC_SUBST(AIO_LIB) 
    467 fi 
    468  
    469  AC_SEARCH_LIBS(aio_suspend, rt, [ 
    470          AC_CHECK_HEADERS([aio.h],[ 
    471                  if test "$ac_cv_search_aio_suspend" != no; then 
    472                         if test "$ac_cv_search_aio_suspend" = "none required"; then 
    473                                 POSIX_AIO_LIB="-pthread" 
    474                         else 
    475                                 POSIX_AIO_LIB="$ac_cv_search_aio_suspend -pthread" 
    476                         fi 
    477  
    478                  fi 
    479  
    480                  AC_DEFINE([HAVE_LIBRT], [1], [librt]) 
    481                  AC_DEFINE([HAVE_AIO_H], [1], [aio.h]) 
    482          ]) 
    483  ]) 
    484  AC_SUBST(POSIX_AIO_LIB) 
    485 fi 
    486448 
    487449save_LIBS=$LIBS 
     
    763725fi 
    764726 
    765 ## libaio support is disabled above 
    766 if false; then 
    767 features="linux-libaio" 
    768 if test ! "x$AIO_LIB" = x; then 
    769         enable_feature="$enable_feature $features" 
    770 else 
    771         disable_feature="$disable_feature $features" 
    772 fi 
    773 fi 
    774  
    775  
    776727## output 
    777728