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.51 by aonoto, Thu Aug 1 18:43:07 2013 UTC revision 1.52 by aonoto, Sat Aug 3 14:56:59 2013 UTC
# Line 2753  case $host in Line 2753  case $host in
2753        if test $GCC = yes; then        if test $GCC = yes; then
2754          CCOPTIONS="-Dsun -D`uname -p` -DSVR4 -DSYSV"          CCOPTIONS="-Dsun -D`uname -p` -DSVR4 -DSYSV"
2755        else        else
2756          # TODO: need change for sparcv9 / x64 architecture ...          # TODO: need change for sparcv9 / x64 architecture ...
2757          CCOPTIONS="-Xc -xF -xcg92 -Dsun -D`uname -p` -DSVR4 -DSYSV"          CCOPTIONS="-Xc -xF -xcg92 -Dsun -D`uname -p` -DSVR4 -DSYSV"
2758        fi        fi
2759      ;;      ;;
# Line 18738  fi Line 18738  fi
18738  echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5  echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
18739  echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6  echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
18740  if test $ac_cv_lib_util_openpty = yes; then  if test $ac_cv_lib_util_openpty = yes; then
18741    UUM_LIBS="$UUM_LIBS -lutil"    HAVE_LIBUTIL='have_libutil'
18742  fi  fi
18743    
18744    
   
   
18745  echo "$as_me:$LINENO: checking for ANSI C header files" >&5  echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18746  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
18747  if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
# Line 20095  _ACEOF Line 20093  _ACEOF
20093  fi  fi
20094    
20095    
20096    olibs="$LIBS"
20097    if test "x$HAVE_LIBUTIL" = "xhave_libutil"; then
20098        # openpty needs libutil in AC_CHECK_FUNCS, so add temporally
20099        LIBS="$LIBS -lutil"
20100    fi
20101    
20102    
20103    
20104    
# Line 20285  _ACEOF Line 20289  _ACEOF
20289  fi  fi
20290  done  done
20291    
20292    LIBS="${olibs}"
20293    
20294  JS_SUPPORTOBJS=  JS_SUPPORTOBJS=
20295    
# Line 20409  echo "${ECHO_T}no" >&6 Line 20414  echo "${ECHO_T}no" >&6
20414  fi  fi
20415    
20416  if test $client = true; then  if test $client = true; then
20417    
20418    for ac_func in ptsname
20419    do
20420    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20421    echo "$as_me:$LINENO: checking for $ac_func" >&5
20422    echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20423    if eval "test \"\${$as_ac_var+set}\" = set"; then
20424      echo $ECHO_N "(cached) $ECHO_C" >&6
20425    else
20426      cat >conftest.$ac_ext <<_ACEOF
20427    #line $LINENO "configure"
20428    #include "confdefs.h"
20429    /* System header to define __stub macros and hopefully few prototypes,
20430        which can conflict with char $ac_func (); below.  */
20431    #include <assert.h>
20432    /* Override any gcc2 internal prototype to avoid an error.  */
20433    #ifdef __cplusplus
20434    extern "C"
20435    #endif
20436    /* We use char because int might match the return type of a gcc2
20437       builtin and then its argument prototype would still apply.  */
20438    char $ac_func ();
20439    char (*f) ();
20440    
20441    #ifdef F77_DUMMY_MAIN
20442    #  ifdef __cplusplus
20443         extern "C"
20444    #  endif
20445       int F77_DUMMY_MAIN() { return 1; }
20446    #endif
20447    int
20448    main ()
20449    {
20450    /* The GNU C library defines this for functions which it implements
20451        to always fail with ENOSYS.  Some functions are actually named
20452        something starting with __ and the normal name is an alias.  */
20453    #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20454    choke me
20455    #else
20456    f = $ac_func;
20457    #endif
20458    
20459      ;
20460      return 0;
20461    }
20462    _ACEOF
20463    rm -f conftest.$ac_objext conftest$ac_exeext
20464    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20465      (eval $ac_link) 2>&5
20466      ac_status=$?
20467      echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468      (exit $ac_status); } &&
20469             { ac_try='test -s conftest$ac_exeext'
20470      { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20471      (eval $ac_try) 2>&5
20472      ac_status=$?
20473      echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474      (exit $ac_status); }; }; then
20475      eval "$as_ac_var=yes"
20476    else
20477      echo "$as_me: failed program was:" >&5
20478    cat conftest.$ac_ext >&5
20479    eval "$as_ac_var=no"
20480    fi
20481    rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20482    fi
20483    echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20484    echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20485    if test `eval echo '${'$as_ac_var'}'` = yes; then
20486      cat >>confdefs.h <<_ACEOF
20487    #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20488    _ACEOF
20489     HAVE_PTSNAME='have_ptsname'
20490    fi
20491    done
20492    
20493      echo "$as_me:$LINENO: checking whether we use libutil for uum" >&5
20494    echo $ECHO_N "checking whether we use libutil for uum... $ECHO_C" >&6
20495      case "x$HAVE_PTSNAME$HAVE_LIBUTIL" in
20496      # 'xhave_ptsnamehave_libutil') ;;
20497      # 'xhave_ptsname') ;;
20498      'xhave_libutil')
20499        echo "$as_me:$LINENO: result: yes" >&5
20500    echo "${ECHO_T}yes" >&6
20501        UUM_LIBS="$UUM_LIBS -lutil" ;;
20502      # 'x') ;;
20503      *)
20504        echo "$as_me:$LINENO: result: no" >&5
20505    echo "${ECHO_T}no" >&6
20506        ;;
20507      esac
20508    
20509    fi
20510    
20511    if test $client = true; then
20512    guess_setuid=    guess_setuid=
20513    guess_setgid=false    guess_setgid=false
20514      if test $client_utmp = true; then      if test $client_utmp = true; then
# Line 21348  s,@ac_ct_F77@,$ac_ct_F77,;t t Line 21448  s,@ac_ct_F77@,$ac_ct_F77,;t t
21448  s,@LIBTOOL@,$LIBTOOL,;t t  s,@LIBTOOL@,$LIBTOOL,;t t
21449  s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t  s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
21450  s,@LIBTOOL_MOD@,$LIBTOOL_MOD,;t t  s,@LIBTOOL_MOD@,$LIBTOOL_MOD,;t t
 s,@UUM_LIBS@,$UUM_LIBS,;t t  
21451  s,@TERMLIB@,$TERMLIB,;t t  s,@TERMLIB@,$TERMLIB,;t t
21452  s,@CNVFILE_SUBDIR@,$CNVFILE_SUBDIR,;t t  s,@CNVFILE_SUBDIR@,$CNVFILE_SUBDIR,;t t
21453  s,@LIBOBJS@,$LIBOBJS,;t t  s,@LIBOBJS@,$LIBOBJS,;t t
21454  s,@JS_SUPPORTOBJS@,$JS_SUPPORTOBJS,;t t  s,@JS_SUPPORTOBJS@,$JS_SUPPORTOBJS,;t t
21455    s,@UUM_LIBS@,$UUM_LIBS,;t t
21456  s,@INSTUUMFLAGS@,$INSTUUMFLAGS,;t t  s,@INSTUUMFLAGS@,$INSTUUMFLAGS,;t t
21457  s,@UUMOWNER@,$UUMOWNER,;t t  s,@UUMOWNER@,$UUMOWNER,;t t
21458  s,@UUMGROUP@,$UUMGROUP,;t t  s,@UUMGROUP@,$UUMGROUP,;t t

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

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