Develop and Download Open Source Software

Browse CVS Repository

Diff of /freewnn/FreeWnn/configure.in

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

revision 1.33 by hiroo, Sun May 11 18:22:57 2003 UTC revision 1.34 by hiroo, Wed Jun 4 14:05:22 2003 UTC
# Line 248  esac], unsafe_path=false) Line 248  esac], unsafe_path=false)
248  AC_SUBST(unsafe_path)  AC_SUBST(unsafe_path)
249    
250  if test ${unsafe_path} = true; then  if test ${unsafe_path} = true; then
251          AC_DEFINE(WNN_ALLOW_UNSAFE_PATH)          AC_DEFINE(WNN_ALLOW_UNSAFE_PATH, 1,
252                    [Define to allow writing to other than JSERVERDIR.])
253  fi  fi
254    
255  dnl  dnl
# Line 266  case $host in Line 267  case $host in
267      ;;      ;;
268  *-*-bsdi*)  *-*-bsdi*)
269      ;;      ;;
270    *-*-darwin*)
271        # Unfortunately, autoconf (at least 2.57) does not recognize
272        # proper CPP. (Normal cpp-precomp nor auto-retrying in basic mode does
273        # not work with pubdic+ processing.) So define here ....
274        CPP=${CPP:-"gcc -E -no-cpp-precomp"}
275        ;;
276  *-*-sunos*)  *-*-sunos*)
277        if test $GCC = yes; then        if test $GCC = yes; then
278          CCOPTIONS="-Dsun -Dsparc"          CCOPTIONS="-Dsun -Dsparc"
# Line 371  dnl Checks for typedefs, structures, and Line 378  dnl Checks for typedefs, structures, and
378  dnl  dnl
379  AC_TYPE_MODE_T  AC_TYPE_MODE_T
380  AC_HEADER_TIME  AC_HEADER_TIME
 AC_CHECK_TYPE(time_t, long)  
381    
382  dnl  AC_CHECK_TYPES(time_t, AC_DEFINE(time_t, long, [Define missing time_t.]))
383  dnl socklen_t は sys/socket.h や bits/socket.h で定義されているので、  AC_CHECK_TYPES(socklen_t,
384  dnl AC_CHECK_TYPE では検出できない          AC_DEFINE(socklen_t, int, [Define missing socklen_t.]), [INCLUDES = sys/socket.h])
 dnl  
 AC_MSG_CHECKING(for socklen_t)  
 AC_EGREP_CPP(socklen_t, [#include <sys/socket.h>], AC_MSG_RESULT(yes),  
 [  
 AC_DEFINE(socklen_t, int)  
 AC_MSG_RESULT(no)  
 ])  
 dnl code below is for the same thing with autoconf 2.53  
 dnl AC_CHECK_TYPES(socklen_t,,  
 dnl     AC_DEFINE(socklen_t, int),  
 dnl     [INCLUDES = sys/socket.h])  
385    
386  dnl  dnl
387  dnl Checks for symbol  dnl Checks for symbol

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

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