comparison configure.in @ 460:223736d75acb r21-2-45

Import from CVS: tag r21-2-45
author cvs
date Mon, 13 Aug 2007 11:43:24 +0200
parents c33ae14dd6d0
children 0784d089fdc9
comparison
equal deleted inserted replaced
459:9d4fd877b885 460:223736d75acb
1 dnl Define our own header notice with own copyright 1 dnl Define our own header notice with own copyright
2 define([AC_INIT_NOTICE], 2 define([AC_INIT_NOTICE],
3 [#### Configuration script for XEmacs. Largely divergent from FSF. 3 [#### Configuration script for XEmacs. Largely divergent from FSF.
4 #### Guess values for system-dependent variables and create Makefiles. 4 #### Guess values for system-dependent variables and create Makefiles.
5 #### Generated automatically using autoconf version] AC_ACVERSION [ 5 #### Generated automatically using autoconf version] AC_ACVERSION [
6 #### Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6 #### Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
7 #### Copyright (C) 1993-1995 Board of Trustees, University of Illinois. 7 #### Copyright (C) 1993-1995 Board of Trustees, University of Illinois.
8 #### Copyright (C) 1996, 1997 Sun Microsystems, Inc. 8 #### Copyright (C) 1996, 1997 Sun Microsystems, Inc.
9 #### Copyright (C) 1995, 1996 Ben Wing. 9 #### Copyright (C) 1995, 1996 Ben Wing.
10 #### Copyright (C) 2000, 2001 Martin Buchholz.
10 #### Copyright (C) 1998, 1999 J. Kean Johnston. 11 #### Copyright (C) 1998, 1999 J. Kean Johnston.
11 12
12 ### Don't edit this script! 13 ### Don't edit this script!
13 ### This script was automatically generated by the `autoconf' program 14 ### This script was automatically generated by the `autoconf' program
14 ### from the file `./configure.in'. 15 ### from the file `./configure.in'.
1505 *-bsd386* | *-bsdi1* ) opsys=bsd386 ;; 1506 *-bsd386* | *-bsdi1* ) opsys=bsd386 ;;
1506 *-bsdi4* ) opsys=bsdos4 ;; 1507 *-bsdi4* ) opsys=bsdos4 ;;
1507 *-bsdi3* ) opsys=bsdos3 ;; 1508 *-bsdi3* ) opsys=bsdos3 ;;
1508 *-bsdi2.1* ) opsys=bsdos2-1 ;; 1509 *-bsdi2.1* ) opsys=bsdos2-1 ;;
1509 *-bsdi2* ) opsys=bsdos2 ;; 1510 *-bsdi2* ) opsys=bsdos2 ;;
1510 *-sco3.2v5* ) opsys=sco5 ; 1511 *-sco3.2v5* ) opsys=sco5 ;;
1511 dnl This is a pain. Like the current USL cc, SCO cc -E
1512 dnl tokenizes as it preprocesses, making configure very
1513 dnl unhappy. Unfortunately, /lib/cpp does not understand
1514 dnl flags like "-b elf", so we have to cheat in order to
1515 dnl pick up the right defines for UNEXEC from the s-file.
1516 dnl 01/05/95 robertl@dgii.com
1517 if test "$dynamic" = "yes" ; then
1518 NON_GNU_CPP="/lib/cpp -D_XOPEN_SOURCE -D_SCO_ELF" ;
1519 else
1520 NON_GNU_CPP="/lib/cpp -D_XOPEN_SOURCE" ;
1521 fi ;;
1522 *-sysv5* ) opsys=sco7 ;; 1512 *-sysv5* ) opsys=sco7 ;;
1523 *-386bsd* ) opsys=386bsd ;; 1513 *-386bsd* ) opsys=386bsd ;;
1524 *-freebsd* ) opsys=freebsd ;; 1514 *-freebsd* ) opsys=freebsd ;;
1525 *-nextstep* ) opsys=nextstep ;; 1515 *-nextstep* ) opsys=nextstep ;;
1526 *-pc-cygwin* ) opsys=cygwin32 ;; 1516 *-pc-cygwin* ) opsys=cygwin32 ;;
2252 fi 2242 fi
2253 fi 2243 fi
2254 ])dnl 2244 ])dnl
2255 XE_COMPUTE_RUNPATH() 2245 XE_COMPUTE_RUNPATH()
2256 2246
2257 dnl JKJ REMOVEME
2258 dnl XE_SHLIB_STUFF
2259
2260 dnl ----------------------------------- 2247 dnl -----------------------------------
2261 dnl Do some misc autoconf-special tests 2248 dnl Do some misc autoconf-special tests
2262 dnl ----------------------------------- 2249 dnl -----------------------------------
2263 2250
2264 dnl Do the opsystem or machine files prohibit the use of the GNU malloc? 2251 dnl Do the opsystem or machine files prohibit the use of the GNU malloc?
2341 sys/time.h dnl 2328 sys/time.h dnl
2342 sys/timeb.h dnl 2329 sys/timeb.h dnl
2343 sys/un.h dnl 2330 sys/un.h dnl
2344 ulimit.h dnl 2331 ulimit.h dnl
2345 unistd.h dnl 2332 unistd.h dnl
2346 utime.h dnl
2347 ) 2333 )
2348 AC_HEADER_SYS_WAIT 2334 AC_HEADER_SYS_WAIT
2349 AC_HEADER_STDC 2335 AC_HEADER_STDC
2350 AC_HEADER_TIME 2336 AC_HEADER_TIME
2351 AC_DECL_SYS_SIGLIST 2337 AC_DECL_SYS_SIGLIST
2352 2338
2353 dnl Some systems have utime.h but do not declare the struct anyplace. 2339
2354 AC_MSG_CHECKING(for struct utimbuf) 2340 dnl ----------------------------------------------------------------
2355 AC_TRY_COMPILE([#ifdef TIME_WITH_SYS_TIME 2341 dnl Checking for utime() or utimes().
2356 #include <sys/time.h> 2342 dnl We prefer utime, since it is more standard.
2357 #include <time.h> 2343 dnl Some systems have utime.h but do not declare the struct anyplace,
2358 #else 2344 dnl so we use a more sophisticated test for utime than AC_CHECK_FUNCS.
2359 #ifdef HAVE_SYS_TIME_H 2345 dnl ----------------------------------------------------------------
2360 #include <sys/time.h> 2346 AC_MSG_CHECKING(for utime)
2361 #else 2347 AC_TRY_COMPILE([#include <sys/types.h>
2362 #include <time.h> 2348 #include <utime.h>],
2363 #endif 2349 [struct utimbuf x; x.actime = x.modtime = 0; utime ("/", &x);],
2364 #endif
2365 #ifdef HAVE_UTIME_H
2366 #include <utime.h>
2367 #endif], [static struct utimbuf x; x.actime = x.modtime;],
2368 [AC_MSG_RESULT(yes) 2350 [AC_MSG_RESULT(yes)
2369 AC_DEFINE(HAVE_STRUCT_UTIMBUF)], 2351 AC_DEFINE(HAVE_UTIME)],
2370 AC_MSG_RESULT(no)) 2352 [AC_MSG_RESULT(no)
2353 dnl We don't have utime(); how about utimes()?
2354 AC_CHECK_FUNCS(utimes)])
2355
2371 2356
2372 dnl checks for typedefs 2357 dnl checks for typedefs
2373 AC_TYPE_SIGNAL 2358 AC_TYPE_SIGNAL
2374 AC_TYPE_SIZE_T 2359 AC_TYPE_SIZE_T
2375 AC_TYPE_PID_T 2360 AC_TYPE_PID_T
3070 [with_xpm=no]) 3055 [with_xpm=no])
3071 xe_check_libs= 3056 xe_check_libs=
3072 AC_MSG_RESULT($with_xpm) 3057 AC_MSG_RESULT($with_xpm)
3073 fi 3058 fi
3074 if test "$with_xpm" = "yes"; then 3059 if test "$with_xpm" = "yes"; then
3075 dnl #### This code assumes that if AC_CHECK_LIB fails, 3060 dnl #### This code assumes that if AC_CHECK_LIB fails,
3076 dnl #### then it will succeed if FOR_MSW is defined, 3061 dnl #### then it will succeed if FOR_MSW is defined,
3077 dnl #### but doesn't actually verify this assumption. 3062 dnl #### but doesn't actually verify this assumption.
3078 AC_DEFINE(HAVE_XPM) 3063 AC_DEFINE(HAVE_XPM)
3079 XE_PREPEND(-lXpm, libs_x) 3064 XE_PREPEND(-lXpm, libs_x)
3080 AC_MSG_CHECKING(for \"FOR_MSW\" xpm) 3065 AC_MSG_CHECKING(for \"FOR_MSW\" xpm)
3081 xe_check_libs=-lXpm 3066 xe_check_libs=-lXpm
3557 dnl AIX needs the following library for use with Motif 3542 dnl AIX needs the following library for use with Motif
3558 AC_CHECK_LIB(i18n, layout_object_getvalue, [XE_PREPEND(-li18n, libs_x)]) 3543 AC_CHECK_LIB(i18n, layout_object_getvalue, [XE_PREPEND(-li18n, libs_x)])
3559 XE_COMPUTE_RUNPATH() 3544 XE_COMPUTE_RUNPATH()
3560 fi 3545 fi
3561 3546
3562 AC_CHECK_FUNCS(cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep utimes waitpid vsnprintf fsync ftruncate umask) 3547 AC_CHECK_FUNCS(cbrt closedir dup2 eaccess fmod fpathconf frexp ftime getaddrinfo gethostname getnameinfo getpagesize gettimeofday getcwd getwd logb lrand48 matherr mkdir mktime perror poll random rename res_init rint rmdir select setitimer setpgid setlocale setsid sigblock sighold sigprocmask snprintf stpcpy strerror tzset ulimit usleep waitpid vsnprintf fsync ftruncate umask)
3563 3548
3564 dnl ---------------------------------------------------------------- 3549 dnl ----------------------------------------------------------------
3565 dnl Check for PTY support functions. 3550 dnl Check for PTY support functions.
3566 dnl ---------------------------------------------------------------- 3551 dnl ----------------------------------------------------------------
3567 3552