Develop and Download Open Source Software

Browse CVS Repository

Diff of /freewnn/FreeWnn/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.23 by hiroo, Wed May 1 20:27:16 2002 UTC revision 1.24 by hiroo, Sun May 12 01:01:46 2002 UTC
# Line 9257  fi Line 9257  fi
9257  done  done
9258    
9259    
9260    
9261    
9262    for ac_func in bcopy bzero bcmp
9263    do
9264    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9265    echo "$as_me:$LINENO: checking for $ac_func" >&5
9266    echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9267    if eval "test \"\${$as_ac_var+set}\" = set"; then
9268      echo $ECHO_N "(cached) $ECHO_C" >&6
9269    else
9270      cat >conftest.$ac_ext <<_ACEOF
9271    #line $LINENO "configure"
9272    #include "confdefs.h"
9273    /* System header to define __stub macros and hopefully few prototypes,
9274        which can conflict with char $ac_func (); below.  */
9275    #include <assert.h>
9276    /* Override any gcc2 internal prototype to avoid an error.  */
9277    #ifdef __cplusplus
9278    extern "C"
9279    #endif
9280    /* We use char because int might match the return type of a gcc2
9281       builtin and then its argument prototype would still apply.  */
9282    char $ac_func ();
9283    char (*f) ();
9284    
9285    #ifdef F77_DUMMY_MAIN
9286    #  ifdef __cplusplus
9287         extern "C"
9288    #  endif
9289       int F77_DUMMY_MAIN() { return 1; }
9290    #endif
9291    int
9292    main ()
9293    {
9294    /* The GNU C library defines this for functions which it implements
9295        to always fail with ENOSYS.  Some functions are actually named
9296        something starting with __ and the normal name is an alias.  */
9297    #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9298    choke me
9299    #else
9300    f = $ac_func;
9301    #endif
9302    
9303      ;
9304      return 0;
9305    }
9306    _ACEOF
9307    rm -f conftest.$ac_objext conftest$ac_exeext
9308    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9309      (eval $ac_link) 2>&5
9310      ac_status=$?
9311      echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312      (exit $ac_status); } &&
9313             { ac_try='test -s conftest$ac_exeext'
9314      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9315      (eval $ac_try) 2>&5
9316      ac_status=$?
9317      echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318      (exit $ac_status); }; }; then
9319      eval "$as_ac_var=yes"
9320    else
9321      echo "$as_me: failed program was:" >&5
9322    cat conftest.$ac_ext >&5
9323    eval "$as_ac_var=no"
9324    fi
9325    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9326    fi
9327    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9328    echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9329    if test `eval echo '${'$as_ac_var'}'` = yes; then
9330      cat >>confdefs.h <<_ACEOF
9331    #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9332    _ACEOF
9333    
9334    fi
9335    done
9336    
9337    
9338  JS_SUPPORTOBJS=  JS_SUPPORTOBJS=
9339    
9340    

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26