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.47 by aonoto, Mon Aug 21 17:31:05 2006 UTC revision 1.48 by aonoto, Mon Sep 25 17:31:35 2006 UTC
# Line 278  AC_PROG_CC Line 278  AC_PROG_CC
278    
279  dnl System specific options  dnl System specific options
280  dnl Now that we are using autoconf, CCOPTIONS should be nuked...  dnl Now that we are using autoconf, CCOPTIONS should be nuked...
281    dnl But please report if your system needs specific settings (CCOPTIONS etc.)
282  case $host in  case $host in
283  *-*-linux*)  *-*-linux*)
284      CCOPTIONS="-Dlinux -D_GNU_SOURCE -D_POSIX_SOURCE -D_BSD_SOURCE"      CCOPTIONS="-Dlinux -D_GNU_SOURCE -D_POSIX_SOURCE -D_BSD_SOURCE"
# Line 323  powerpc-*-beos*) Line 324  powerpc-*-beos*)
324  *-*-aix*)  *-*-aix*)
325      CCOPTIONS="-DSYSV"      CCOPTIONS="-DSYSV"
326      ;;      ;;
 *)  
 dnl    AC_MSG_WARN("It is not reported if FreeWnn works on this system.  But continuing...")  
 dnl    AC_MSG_WARN([(It may or may not work if you set CCOPTIONS properly.)])  
     ;;  
327  esac  esac
328    
329  dnl Checking if we use gcc or not  dnl Checking if we use gcc or not
# Line 434  main() {char *s; s=(char *)tgoto("%p1%d" Line 431  main() {char *s; s=(char *)tgoto("%p1%d"
431          res="OK", res="FAIL", res="FAIL")          res="OK", res="FAIL", res="FAIL")
432        if test "$res" = "OK"; then        if test "$res" = "OK"; then
433          TERMLIB="${TERMLIB} -l${libname}"          TERMLIB="${TERMLIB} -l${libname}"
434          lname=translit(${libname}, 'a-z', 'A-Z')          dnl lname=`echo ${libname} | sed 'y/termcaplibnus/TERMCAPLIBNUS/'`
435          AC_DEFINE(HAVE_${lname}, 1, [use ${libname} for terminal control])          dnl AC_DEFINE_UNQUOTED(HAVE_${lname}, 1, [use ${libname} for terminal control])
436            dnl We need to define AH_TEMPLATE (if we really need this)
437            dnl ex. AH_TEMPLATE(HAVE_NCURSES, [use ncurses for terminal control])
438          break          break
439        fi        fi
440        AC_MSG_RESULT($libname library is not usable)        AC_MSG_RESULT($libname library is not usable)
# Line 542  AC_CHECK_FUNCS(random drand48 fchmod get Line 541  AC_CHECK_FUNCS(random drand48 fchmod get
541          FD_SET \          FD_SET \
542          gethostname select socket closesocket setsockopt send recv \          gethostname select socket closesocket setsockopt send recv \
543          getdtablesize getrlimit syslog vsyslog setenv snprintf \          getdtablesize getrlimit syslog vsyslog setenv snprintf \
544          ptsname openpty pututxline pututline setsid)          ptsname posix_openpt openpty pututxline pututline setsid)
545  dnl for bcopy/index -> memcpy/strchr conversion (preparation):  dnl for bcopy/index -> memcpy/strchr conversion (preparation):
546  AC_CHECK_FUNCS(bcopy bzero bcmp index rindex \  AC_CHECK_FUNCS(bcopy bzero bcmp index rindex \
547          memcpy memmove memset strchr strrchr)          memcpy memmove memset strchr strrchr)

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

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