Diff for /libaitwww/configure between versions 1.3.2.1 and 1.4

version 1.3.2.1, 2012/07/22 22:16:33 version 1.4, 2012/08/01 00:40:40
Line 1446  fi Line 1446  fi
   
 } # ac_fn_c_try_compile  } # ac_fn_c_try_compile
   
   # ac_fn_c_try_link LINENO
   # -----------------------
   # Try to link conftest.$ac_ext, and return whether this succeeded.
   ac_fn_c_try_link ()
   {
     as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     rm -f conftest.$ac_objext conftest$ac_exeext
     if { { ac_try="$ac_link"
   case "(($ac_try" in
     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     *) ac_try_echo=$ac_try;;
   esac
   eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   $as_echo "$ac_try_echo"; } >&5
     (eval "$ac_link") 2>conftest.err
     ac_status=$?
     if test -s conftest.err; then
       grep -v '^ *+' conftest.err >conftest.er1
       cat conftest.er1 >&5
       mv -f conftest.er1 conftest.err
     fi
     $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     test $ac_status = 0; } && {
            test -z "$ac_c_werror_flag" ||
            test ! -s conftest.err
          } && test -s conftest$ac_exeext && {
            test "$cross_compiling" = yes ||
            test -x conftest$ac_exeext
          }; then :
     ac_retval=0
   else
     $as_echo "$as_me: failed program was:" >&5
   sed 's/^/| /' conftest.$ac_ext >&5
   
           ac_retval=1
   fi
     # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     # interfere with the next link command; also delete a directory that is
     # left behind by Apple's compiler.  We do this before executing the actions.
     rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     as_fn_set_status $ac_retval
   
   } # ac_fn_c_try_link
   
 # ac_fn_c_try_cpp LINENO  # ac_fn_c_try_cpp LINENO
 # ----------------------  # ----------------------
 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.  # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
Line 1701  $as_echo "$ac_res" >&6; } Line 1747  $as_echo "$ac_res" >&6; }
   
 } # ac_fn_c_check_type  } # ac_fn_c_check_type
   
 # ac_fn_c_try_link LINENO  
 # -----------------------  
 # Try to link conftest.$ac_ext, and return whether this succeeded.  
 ac_fn_c_try_link ()  
 {  
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack  
   rm -f conftest.$ac_objext conftest$ac_exeext  
   if { { ac_try="$ac_link"  
 case "(($ac_try" in  
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;  
   *) ac_try_echo=$ac_try;;  
 esac  
 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""  
 $as_echo "$ac_try_echo"; } >&5  
   (eval "$ac_link") 2>conftest.err  
   ac_status=$?  
   if test -s conftest.err; then  
     grep -v '^ *+' conftest.err >conftest.er1  
     cat conftest.er1 >&5  
     mv -f conftest.er1 conftest.err  
   fi  
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5  
   test $ac_status = 0; } && {  
          test -z "$ac_c_werror_flag" ||  
          test ! -s conftest.err  
        } && test -s conftest$ac_exeext && {  
          test "$cross_compiling" = yes ||  
          test -x conftest$ac_exeext  
        }; then :  
   ac_retval=0  
 else  
   $as_echo "$as_me: failed program was:" >&5  
 sed 's/^/| /' conftest.$ac_ext >&5  
   
         ac_retval=1  
 fi  
   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information  
   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would  
   # interfere with the next link command; also delete a directory that is  
   # left behind by Apple's compiler.  We do this before executing the actions.  
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo  
   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno  
   as_fn_set_status $ac_retval  
   
 } # ac_fn_c_try_link  
   
 # ac_fn_c_check_func LINENO FUNC VAR  # ac_fn_c_check_func LINENO FUNC VAR
 # ----------------------------------  # ----------------------------------
 # Tests whether FUNC exists, setting the cache variable VAR accordingly  # Tests whether FUNC exists, setting the cache variable VAR accordingly
Line 3292  CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS} Line 3292  CFLAGS="-Wall -O2 -fPIC -I/usr/local/include ${CFLAGS}
 LDFLAGS="-L/usr/local/lib ${LDFLAGS}"  LDFLAGS="-L/usr/local/lib ${LDFLAGS}"
   
   
 # Checks for header files.  
   
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpool_malloc in -laitio" >&5
   $as_echo_n "checking for mpool_malloc in -laitio... " >&6; }
   if ${ac_cv_lib_aitio_mpool_malloc+:} false; then :
     $as_echo_n "(cached) " >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-laitio  $LIBS"
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */
   
   /* Override any GCC internal prototype to avoid an error.
      Use char because int might match the return type of a GCC
      builtin and then its argument prototype would still apply.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   char mpool_malloc ();
   int
   main ()
   {
   return mpool_malloc ();
     ;
     return 0;
   }
   _ACEOF
   if ac_fn_c_try_link "$LINENO"; then :
     ac_cv_lib_aitio_mpool_malloc=yes
   else
     ac_cv_lib_aitio_mpool_malloc=no
   fi
   rm -f core conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aitio_mpool_malloc" >&5
   $as_echo "$ac_cv_lib_aitio_mpool_malloc" >&6; }
   if test "x$ac_cv_lib_aitio_mpool_malloc" = xyes; then :
     cat >>confdefs.h <<_ACEOF
   #define HAVE_LIBAITIO 1
   _ACEOF
   
     LIBS="-laitio $LIBS"
   
   fi
   
   
   # Checks for header files.
 ac_ext=c  ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Line 3691  fi Line 3737  fi
 done  done
   
   
for ac_header in fcntl.h stdlib.h string.h sys/socket.h unistd.hfor ac_header in fcntl.h stdlib.h string.h sys/socket.h unistd.h aitio.h
 do :  do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"  ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"

Removed from v.1.3.2.1  
changed lines
  Added in v.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>