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.29 by hiroo, Sun Sep 1 17:48:20 2002 UTC revision 1.30 by hiroo, Sun May 11 18:22:57 2003 UTC
# Line 2511  ac_link='$CC -o conftest$ac_exeext $CFLA Line 2511  ac_link='$CC -o conftest$ac_exeext $CFLA
2511  ac_compiler_gnu=$ac_cv_c_compiler_gnu  ac_compiler_gnu=$ac_cv_c_compiler_gnu
2512    
2513    
 CDEBUGFLAGS=${CDEBUGFLAGS:-"-O"}  
2514  case $host in  case $host in
2515  *-*-linux*)  *-*-linux*)
2516      CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE"      CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE"
     CDEBUGFLAGS="-O2 -fno-strength-reduce"  
2517      ;;      ;;
2518  *-*-freebsd*|*-*-netbsd*|*-*-openbsd*)  *-*-freebsd*|*-*-netbsd*|*-*-openbsd*)
     CDEBUGFLAGS="-O2 -fno-strength-reduce"  
2519      ;;      ;;
2520  *-*-bsdi*)  *-*-bsdi*)
     CDEBUGFLAGS="-O2 -fno-strength-reduce"  
2521      ;;      ;;
2522  *-*-sunos*)  *-*-sunos*)
2523        if test $GCC = yes; then        if test $GCC = yes; then
2524          CCOPTIONS="-Dsun -Dsparc"          CCOPTIONS="-Dsun -Dsparc"
         CDEBUGFLAGS=-O2  
2525        else        else
2526          CCOPTIONS=""          CCOPTIONS=""
         CDEBUGFLAGS=-O4  
2527        fi        fi
2528        ;;        ;;
2529  *-*-solaris2.*)  *-*-solaris2.*)
2530      # Will 'solaris*' be OK?      # Will 'solaris*' be OK?
2531        if test $GCC = yes; then        if test $GCC = yes; then
2532          CCOPTIONS="-Dsun -D`uname -p` -DSVR4 -DSYSV"          CCOPTIONS="-Dsun -D`uname -p` -DSVR4 -DSYSV"
         CDEBUGFLAGS=-O2  
2533        else        else
2534          CCOPTIONS="-Xc -xF -xcg92 -Dsun -D`uname -p` -DSVR4 -DSYSV"          CCOPTIONS="-Xc -xF -xcg92 -Dsun -D`uname -p` -DSVR4 -DSYSV"
         CDEBUGFLAGS=-O4  
2535        fi        fi
2536      ;;      ;;
2537  *-*-hpux*)  *-*-hpux*)
2538      if test $GCC = yes; then      if test $GCC = yes; then
2539          CCOPTIONS="-Dhpux -DSYSV"          CCOPTIONS="-Dhpux -DSYSV"
         CDEBUGFLAGS=-O2  
2540      else      else
2541          CCOPTIONS="-Ae -Dhpux -DSYSV"          CCOPTIONS="-Ae -Dhpux -DSYSV"
2542      fi      fi
2543        ;;        ;;
2544  i[34567]86-pc-beos*)  i[34567]86-pc-beos*)
2545          CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"          CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"
         CDEBUGFLAGS="-O2 -fno-strength-reduce"  
2546          ;;          ;;
2547  powerpc-*-beos*)  powerpc-*-beos*)
2548          CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"          CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"
2549          ;;          ;;
2550  *-*-aix*)  *-*-aix*)
     if test $GCC = yes; then  
       CDEBUGFLAGS=-O2  
     else  
       CDEBUGFLAGS=-O  
     fi  
2551      CCOPTIONS="-DSYSV"      CCOPTIONS="-DSYSV"
2552      ;;      ;;
2553  *)  *)
     { echo "$as_me:$LINENO: WARNING: \"It is not reported if FreeWnn works on this system.  But continuing...\"" >&5  
 echo "$as_me: WARNING: \"It is not reported if FreeWnn works on this system.  But continuing...\"" >&2;}  
     { echo "$as_me:$LINENO: WARNING: (It may or may not work if you set CCOPTIONS properly.)" >&5  
 echo "$as_me: WARNING: (It may or may not work if you set CCOPTIONS properly.)" >&2;}  
2554      ;;      ;;
2555  esac  esac
2556    
2557  if test $debug = true; then  if test $debug = true; then
2558      if test $GCC = yes; then      if test $GCC = yes; then
2559        CDEBUGFLAGS="-g2 -Wall -fstack-check $CDEBUGFLAGS"        CDEBUGFLAGS=${CDEBUGFLAGS:-"-g2 -O2 -Wall -fstack-check"}
2560        else
2561          CDEBUGFLAGS=${CDEBUGFLAGS:-""}
2562      fi      fi
2563      INSTPGMFLAGS=      INSTPGMFLAGS=
2564  else  else
2565        CDEBUGFLAGS=""
2566      INSTPGMFLAGS="-s"      INSTPGMFLAGS="-s"
2567  fi  fi
2568    
2569    
2570    
2571    
2572  echo "Set CDEBUGFLAGS and CCOPTIONS to following:"  echo "Set CDEBUGFLAGS and CCOPTIONS to following:"
2573  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"'  echo '  CDEBUGFLAGS="'"$CDEBUGFLAGS"'"'
2574  echo '    CCOPTIONS="'"$CCOPTIONS"'"'  echo '    CCOPTIONS="'"$CCOPTIONS"'"'
# Line 4121  test "x$enable_libtool_lock" != xno && e Line 4107  test "x$enable_libtool_lock" != xno && e
4107  case $host in  case $host in
4108  *-*-irix6*)  *-*-irix6*)
4109    # Find out which ABI we are using.    # Find out which ABI we are using.
4110    echo '#line 4124 "configure"' > conftest.$ac_ext    echo '#line 4110 "configure"' > conftest.$ac_ext
4111    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4112    (eval $ac_compile) 2>&5    (eval $ac_compile) 2>&5
4113    ac_status=$?    ac_status=$?
# Line 4650  chmod -w . Line 4636  chmod -w .
4636  save_CFLAGS="$CFLAGS"  save_CFLAGS="$CFLAGS"
4637  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"  CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
4638  compiler_c_o=no  compiler_c_o=no
4639  if { (eval echo configure:4653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then  if { (eval echo configure:4639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
4640    # The compiler can only warn and ignore the option if not recognized    # The compiler can only warn and ignore the option if not recognized
4641    # So say no if there are warnings    # So say no if there are warnings
4642    if test -s out/conftest.err; then    if test -s out/conftest.err; then
# Line 6269  else Line 6255  else
6255      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6256    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
6257    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6258  #line 6272 "configure"  #line 6258 "configure"
6259  #include "confdefs.h"  #include "confdefs.h"
6260    
6261  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 6367  else Line 6353  else
6353      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2      lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
6354    lt_status=$lt_dlunknown    lt_status=$lt_dlunknown
6355    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
6356  #line 6370 "configure"  #line 6356 "configure"
6357  #include "confdefs.h"  #include "confdefs.h"
6358    
6359  #if HAVE_DLFCN_H  #if HAVE_DLFCN_H
# Line 7091  LIBTOOL='$(SHELL) $(top_builddir)/libtoo Line 7077  LIBTOOL='$(SHELL) $(top_builddir)/libtoo
7077    
7078    
7079    
   
   
7080  echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5  echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
7081  echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6  echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
7082  if test "${ac_cv_lib_crypt_crypt+set}" = set; then  if test "${ac_cv_lib_crypt_crypt+set}" = set; then
# Line 9411  s,@CPPFLAGS@,$CPPFLAGS,;t t Line 9395  s,@CPPFLAGS@,$CPPFLAGS,;t t
9395  s,@ac_ct_CC@,$ac_ct_CC,;t t  s,@ac_ct_CC@,$ac_ct_CC,;t t
9396  s,@EXEEXT@,$EXEEXT,;t t  s,@EXEEXT@,$EXEEXT,;t t
9397  s,@OBJEXT@,$OBJEXT,;t t  s,@OBJEXT@,$OBJEXT,;t t
9398    s,@CCOPTIONS@,$CCOPTIONS,;t t
9399    s,@CDEBUGFLAGS@,$CDEBUGFLAGS,;t t
9400  s,@INSTPGMFLAGS@,$INSTPGMFLAGS,;t t  s,@INSTPGMFLAGS@,$INSTPGMFLAGS,;t t
9401  s,@CPP@,$CPP,;t t  s,@CPP@,$CPP,;t t
9402  s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t  s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
# Line 9425  s,@STRIP@,$STRIP,;t t Line 9411  s,@STRIP@,$STRIP,;t t
9411  s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t  s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
9412  s,@LIBTOOL@,$LIBTOOL,;t t  s,@LIBTOOL@,$LIBTOOL,;t t
9413  s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t  s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
 s,@CCOPTIONS@,$CCOPTIONS,;t t  
 s,@CDEBUGFLAGS@,$CDEBUGFLAGS,;t t  
9414  s,@LIBOBJS@,$LIBOBJS,;t t  s,@LIBOBJS@,$LIBOBJS,;t t
9415  s,@JS_SUPPORTOBJS@,$JS_SUPPORTOBJS,;t t  s,@JS_SUPPORTOBJS@,$JS_SUPPORTOBJS,;t t
9416  CEOF  CEOF

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

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