Mercurial > hg > xemacs-beta
comparison configure.in @ 388:aabb7f5b1c81 r21-2-9
Import from CVS: tag r21-2-9
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:09:42 +0200 |
parents | bbff43aa5eb7 |
children | 1f50e6fe4f3f |
comparison
equal
deleted
inserted
replaced
387:f892a9d0bb8d | 388:aabb7f5b1c81 |
---|---|
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, 93, 94, 95, 96 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) 1998, 1999 J. Kean Johnston. | |
10 | 11 |
11 ### Don't edit this script! | 12 ### Don't edit this script! |
12 ### This script was automatically generated by the `autoconf' program | 13 ### This script was automatically generated by the `autoconf' program |
13 ### from the file `./configure.in'. | 14 ### from the file `./configure.in'. |
14 ### To rebuild it, execute the command | 15 ### To rebuild it, execute the command |
346 mandir='${prefix}/man/man1' | 347 mandir='${prefix}/man/man1' |
347 infodir='${datadir}/${PROGNAME}-${version}/info' | 348 infodir='${datadir}/${PROGNAME}-${version}/info' |
348 infopath='' | 349 infopath='' |
349 install_pp='' | 350 install_pp='' |
350 lispdir='${datadir}/${PROGNAME}-${version}/lisp' | 351 lispdir='${datadir}/${PROGNAME}-${version}/lisp' |
351 dnl sitelispdir='${datadir}/xemacs/site-lisp' | 352 moduledir='${datadir}/${PROGNAME}-${version}/${configuration}/modules' |
353 sitelispdir='${datadir}/xemacs/site-lisp' | |
354 sitemoduledir='${datadir}/xemacs/site-modules' | |
352 pkgdir='${datadir}/${PROGNAME}-${version}/lisp' | 355 pkgdir='${datadir}/${PROGNAME}-${version}/lisp' |
353 package_path='' | 356 package_path='' |
354 etcdir='${datadir}/${PROGNAME}-${version}/etc' | 357 etcdir='${datadir}/${PROGNAME}-${version}/etc' |
355 lockdir='${statedir}/${PROGNAME}/lock' | 358 lockdir='${statedir}/${PROGNAME}/lock' |
356 archlibdir='${libdir}/${PROGNAME}-${version}/${configuration}' | 359 archlibdir='${datadir}/${PROGNAME}-${version}/${configuration}' |
357 with_site_lisp='no' | 360 with_site_lisp='no' |
361 with_site_modules='yes' | |
358 with_menubars='' | 362 with_menubars='' |
359 with_scrollbars='' | 363 with_scrollbars='' |
360 with_dialogs='' | 364 with_dialogs='' |
361 with_file_coding='' | 365 with_file_coding='' |
362 dnl const_is_losing is removed - we rely on AC_C_CONST instead. | 366 dnl const_is_losing is removed - we rely on AC_C_CONST instead. |
458 dnl Process the option. | 462 dnl Process the option. |
459 case "$opt" in | 463 case "$opt" in |
460 | 464 |
461 dnl Process (many) boolean options | 465 dnl Process (many) boolean options |
462 with_site_lisp | \ | 466 with_site_lisp | \ |
467 with_site_modules | \ | |
463 with_x | \ | 468 with_x | \ |
464 with_x11 | \ | 469 with_x11 | \ |
465 with_msw | \ | 470 with_msw | \ |
466 with_gcc | \ | 471 with_gcc | \ |
467 dynamic | \ | 472 dynamic | \ |
704 | 709 |
705 dnl You need to synchronize this with the way the | 710 dnl You need to synchronize this with the way the |
706 dnl default values are built. | 711 dnl default values are built. |
707 case "$opt" in | 712 case "$opt" in |
708 lispdir ) AC_DEFINE(LISPDIR_USER_DEFINED) ;; | 713 lispdir ) AC_DEFINE(LISPDIR_USER_DEFINED) ;; |
709 dnl sitelispdir ) AC_DEFINE(SITELISPDIR_USER_DEFINED) ;; | 714 sitelispdir ) AC_DEFINE(SITELISPDIR_USER_DEFINED) ;; |
715 moduledir ) AC_DEFINE(MODULEDIR_USER_DEFINED) ;; | |
710 etcdir ) AC_DEFINE(ETCDIR_USER_DEFINED) ;; | 716 etcdir ) AC_DEFINE(ETCDIR_USER_DEFINED) ;; |
711 infodir ) AC_DEFINE(INFODIR_USER_DEFINED) ;; | 717 infodir ) AC_DEFINE(INFODIR_USER_DEFINED) ;; |
712 infopath ) AC_DEFINE(INFOPATH_USER_DEFINED) ;; | 718 infopath ) AC_DEFINE(INFOPATH_USER_DEFINED) ;; |
713 package_path ) AC_DEFINE(PACKAGE_PATH_USER_DEFINED) ;; | 719 package_path ) AC_DEFINE(PACKAGE_PATH_USER_DEFINED) ;; |
714 datadir ) | 720 datadir ) |
715 AC_DEFINE(INFODIR_USER_DEFINED) | 721 AC_DEFINE(INFODIR_USER_DEFINED) |
716 AC_DEFINE(LISPDIR_USER_DEFINED) | 722 AC_DEFINE(LISPDIR_USER_DEFINED) |
723 AC_DEFINE(MODULEDIR_USER_DEFINED) | |
717 AC_DEFINE(ETCDIR_USER_DEFINED) ;; | 724 AC_DEFINE(ETCDIR_USER_DEFINED) ;; |
718 statedir | lockdir ) AC_DEFINE(LOCKDIR_USER_DEFINED) ;; | 725 statedir | lockdir ) AC_DEFINE(LOCKDIR_USER_DEFINED) ;; |
719 exec_prefix | libdir | archlibdir ) AC_DEFINE(ARCHLIBDIR_USER_DEFINED) ;; | 726 exec_prefix | libdir | archlibdir ) AC_DEFINE(ARCHLIBDIR_USER_DEFINED) ;; |
720 esac | 727 esac |
721 ;; | 728 ;; |
1484 exit 1 | 1491 exit 1 |
1485 fi | 1492 fi |
1486 | 1493 |
1487 if test -z "$dynamic"; then | 1494 if test -z "$dynamic"; then |
1488 case "$opsys" in | 1495 case "$opsys" in |
1489 hpux* | sunos4* | sco5 ) dynamic=no ;; | 1496 hpux* | sunos4* ) dynamic=no ;; |
1490 *) dynamic=yes ;; | 1497 *) dynamic=yes ;; |
1491 esac | 1498 esac |
1492 fi | 1499 fi |
1493 if test "$dynamic" = "yes"; then | 1500 if test "$dynamic" = "yes"; then |
1494 case "$opsys" in | 1501 case "$opsys" in |
1743 if test "$GCC" = "yes"; then | 1750 if test "$GCC" = "yes"; then |
1744 CFLAGS="-g -O3 -Wall -Wno-switch" | 1751 CFLAGS="-g -O3 -Wall -Wno-switch" |
1745 dnl I'm not convinced this is a good idea any more. -sb | 1752 dnl I'm not convinced this is a good idea any more. -sb |
1746 dnl test "$opsys $machine" = "linux intel386" && \ | 1753 dnl test "$opsys $machine" = "linux intel386" && \ |
1747 dnl CFLAGS="$CFLAGS -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2" | 1754 dnl CFLAGS="$CFLAGS -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2" |
1748 dnl cygwin can't cope with -O3 | 1755 dnl cygwin b19 can't cope with -O3, but most people use 20.1 or egcs now. |
1749 test "$opsys $machine" = "cygwin32 intel386" && \ | 1756 dnl test "$opsys $machine" = "cygwin32 intel386" && \ |
1750 CFLAGS="-g -O2 -Wall -Wno-switch" | 1757 dnl CFLAGS="-g -O2 -Wall -Wno-switch" |
1751 elif test "$__SUNPRO_C" = "yes"; then | 1758 elif test "$__SUNPRO_C" = "yes"; then |
1752 case "$opsys" in | 1759 case "$opsys" in |
1753 sol2 ) CFLAGS="-v -xO4" ;; | 1760 sol2 ) CFLAGS="-v -xO4" ;; |
1754 sunos4* ) CFLAGS="-xO2";; | 1761 sunos4* ) CFLAGS="-xO2";; |
1755 esac | 1762 esac |
2019 test "$extra_verbose" = "yes" && echo "Setting runpath to $runpath" | 2026 test "$extra_verbose" = "yes" && echo "Setting runpath to $runpath" |
2020 fi | 2027 fi |
2021 fi | 2028 fi |
2022 ])dnl | 2029 ])dnl |
2023 XE_COMPUTE_RUNPATH() | 2030 XE_COMPUTE_RUNPATH() |
2031 | |
2032 dnl JKJ REMOVEME | |
2033 dnl XE_SHLIB_STUFF | |
2024 | 2034 |
2025 dnl ----------------------------------- | 2035 dnl ----------------------------------- |
2026 dnl Do some misc autoconf-special tests | 2036 dnl Do some misc autoconf-special tests |
2027 dnl ----------------------------------- | 2037 dnl ----------------------------------- |
2028 | 2038 |
2491 | 2501 |
2492 test -z "$window_system" && window_system="none" | 2502 test -z "$window_system" && window_system="none" |
2493 | 2503 |
2494 dnl Test for features that require a window system - ANY window system | 2504 dnl Test for features that require a window system - ANY window system |
2495 if test "$window_system" = "none"; then | 2505 if test "$window_system" = "none"; then |
2496 for feature in menubars scrollbars toolbars dialogs dragndrop | 2506 for feature in menubars scrollbars toolbars dialogs dragndrop xface |
2497 do | 2507 do |
2498 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 2508 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
2499 AC_MSG_WARN([--with-$feature ignored: Not valid without window system support]) | 2509 AC_MSG_WARN([--with-$feature ignored: Not valid without window system support]) |
2500 fi | 2510 fi |
2501 eval "with_${feature}=no" | 2511 eval "with_${feature}=no" |
2523 dnl It ought to be reasonable to have no output device at all, and only use | 2533 dnl It ought to be reasonable to have no output device at all, and only use |
2524 dnl XEmacs in --batch mode. | 2534 dnl XEmacs in --batch mode. |
2525 dnl if test "$with_tty" = "no" ; then | 2535 dnl if test "$with_tty" = "no" ; then |
2526 dnl AC_MSG_ERROR([No window system support and no TTY support - Unable to proceed.]) | 2536 dnl AC_MSG_ERROR([No window system support and no TTY support - Unable to proceed.]) |
2527 dnl fi | 2537 dnl fi |
2528 for feature in tooltalk cde offix session xim xmu \ | 2538 for feature in tooltalk cde offix session xim xmu |
2529 xface | |
2530 do | 2539 do |
2531 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then | 2540 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then |
2532 AC_MSG_WARN([--with-$feature ignored: Not valid without X support]) | 2541 AC_MSG_WARN([--with-$feature ignored: Not valid without X support]) |
2533 fi | 2542 fi |
2534 eval "with_${feature}=no" | 2543 eval "with_${feature}=no" |
2736 xe_check_libs= | 2745 xe_check_libs= |
2737 AC_MSG_RESULT($xpm_for_msw) | 2746 AC_MSG_RESULT($xpm_for_msw) |
2738 if test "$xpm_for_msw" = "yes"; then | 2747 if test "$xpm_for_msw" = "yes"; then |
2739 AC_DEFINE(FOR_MSW) | 2748 AC_DEFINE(FOR_MSW) |
2740 fi | 2749 fi |
2750 fi | |
2751 | |
2752 dnl Autodetect XFACE | |
2753 test -z "$with_xface" && { AC_CHECK_HEADER(compface.h, ,with_xface=no) } | |
2754 test -z "$with_xface" && { AC_CHECK_LIB(compface, UnGenFace,[:] ,with_xface=no) } | |
2755 test -z "$with_xface" && with_xface=yes | |
2756 if test "$with_xface" = "yes"; then | |
2757 AC_DEFINE(HAVE_XFACE) | |
2758 XE_PREPEND(-lcompface, libs_x) | |
2741 fi | 2759 fi |
2742 | 2760 |
2743 dnl For a brief period we had the GIF code split out into a separate library, | 2761 dnl For a brief period we had the GIF code split out into a separate library, |
2744 dnl but patent problems, etc. sort of squashed that idea. | 2762 dnl but patent problems, etc. sort of squashed that idea. |
2745 dnl We default to building with builtin GIF decoding | 2763 dnl We default to building with builtin GIF decoding |
2819 dnl ---------------------- | 2837 dnl ---------------------- |
2820 | 2838 |
2821 if test "$with_x11" = "yes"; then | 2839 if test "$with_x11" = "yes"; then |
2822 | 2840 |
2823 AC_CHECKING(for X11 graphics libraries) | 2841 AC_CHECKING(for X11 graphics libraries) |
2824 | |
2825 dnl Autodetect XFACE | |
2826 test -z "$with_xface" && { AC_CHECK_HEADER(compface.h, ,with_xface=no) } | |
2827 test -z "$with_xface" && { AC_CHECK_LIB(compface, UnGenFace,[:] ,with_xface=no) } | |
2828 test -z "$with_xface" && with_xface=yes | |
2829 if test "$with_xface" = "yes"; then | |
2830 AC_DEFINE(HAVE_XFACE) | |
2831 XE_PREPEND(-lcompface, libs_x) | |
2832 fi | |
2833 | 2842 |
2834 dnl Autodetect -lXaw | 2843 dnl Autodetect -lXaw |
2835 AC_CHECK_LIB(Xaw, XawScrollbarSetThumb, have_xaw=yes, have_xaw=no) | 2844 AC_CHECK_LIB(Xaw, XawScrollbarSetThumb, have_xaw=yes, have_xaw=no) |
2836 dnl if test "$have_xaw" = "yes"; then | 2845 dnl if test "$have_xaw" = "yes"; then |
2837 dnl AC_CHECK_HEADER(X11/Xaw/Reports.h, [ | 2846 dnl AC_CHECK_HEADER(X11/Xaw/Reports.h, [ |
3583 if test "$usage_tracking" = "yes"; then | 3592 if test "$usage_tracking" = "yes"; then |
3584 AC_DEFINE(USAGE_TRACKING) | 3593 AC_DEFINE(USAGE_TRACKING) |
3585 XE_PREPEND(-Bstatic -lut -Bdynamic, LIBS) | 3594 XE_PREPEND(-Bstatic -lut -Bdynamic, LIBS) |
3586 fi | 3595 fi |
3587 | 3596 |
3588 dnl cygwin can't cope with dlfcn at the moment | |
3589 test -z "$with_shlib" && test "$opsys $machine" = "cygwin32 intel386" && with_shlib=no | |
3590 | |
3591 dnl autodetect dll support | 3597 dnl autodetect dll support |
3592 AC_CHECK_HEADERS(dlfcn.h, have_dlfcn=yes) | 3598 AC_CHECK_HEADERS(dlfcn.h, [have_dlfcn=yes |
3599 AC_DEFINE(HAVE_DLFCN_H)]) | |
3593 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { AC_CHECK_LIB(dl, dlopen, [ AC_DEFINE(HAVE_DLOPEN) DLL_LIB=dl; with_shlib=yes]) } | 3600 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { AC_CHECK_LIB(dl, dlopen, [ AC_DEFINE(HAVE_DLOPEN) DLL_LIB=dl; with_shlib=yes]) } |
3594 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { AC_CHECK_LIB(c, _dlopen, [ AC_DEFINE(HAVE_DLOPEN) DLL_LIB=; with_shlib=yes]) } | 3601 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { AC_CHECK_LIB(c, _dlopen, [ AC_DEFINE(HAVE_DLOPEN) DLL_LIB=; with_shlib=yes]) } |
3595 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { AC_CHECK_LIB(c, dlopen, [ AC_DEFINE(HAVE_DLOPEN) DLL_LIB=; with_shlib=yes]) } | 3602 test -z "$with_shlib" && test ! -z "$have_dlfcn" && { AC_CHECK_LIB(c, dlopen, [ AC_DEFINE(HAVE_DLOPEN) DLL_LIB=; with_shlib=yes]) } |
3596 test -z "$with_shlib" && { AC_CHECK_LIB(dld, shl_load, [ AC_DEFINE(HAVE_SHL_LOAD) DLL_LIB=dld; with_shlib=yes]) } | 3603 test -z "$with_shlib" && { AC_CHECK_LIB(dld, shl_load, [ AC_DEFINE(HAVE_SHL_LOAD) DLL_LIB=dld; with_shlib=yes]) } |
3597 test -z "$with_shlib" && { AC_CHECK_LIB(dld, dld_init, [ AC_DEFINE(HAVE_DLD_INIT) DLL_LIB=dld; with_shlib=yes]) } | 3604 test -z "$with_shlib" && { AC_CHECK_LIB(dld, dld_init, [ AC_DEFINE(HAVE_DLD_INIT) DLL_LIB=dld; with_shlib=yes]) } |
3598 if test "$with_shlib" = "yes"; then | 3605 if test "$with_shlib" = "yes"; then |
3599 AC_DEFINE(HAVE_SHLIB) | 3606 XE_SHLIB_STUFF |
3600 XE_ADD_OBJS(sysdll.o) | 3607 if test "$can_build_shared" = "yes"; then |
3601 XE_ADD_OBJS(dll.o) | 3608 AC_DEFINE(HAVE_SHLIB) |
3602 test ! -z "$DLL_LIB" && XE_PREPEND(-l${DLL_LIB}, LIBS) | 3609 XE_ADD_OBJS(sysdll.o) |
3603 XE_MAKE_SHAREDLIB | 3610 XE_ADD_OBJS(emodules.o) |
3604 AC_CHECK_FUNCS(dlerror) | 3611 XE_APPEND(src, INSTALL_ARCH_DEP_SUBDIR) |
3605 ld_dynamic_link_flags= | 3612 test ! -z "$DLL_LIB" && XE_PREPEND(-l${DLL_LIB}, LIBS) |
3606 dnl Fill this in with other values as this gets more testing | 3613 AC_CHECK_FUNCS(dlerror _dlerror) |
3607 case "$opsys" in | 3614 else |
3608 hpux*) ld_dynamic_link_flags="-Wl,-E" ;; | 3615 AC_MSG_WARN(disabling shared library support) |
3609 linux*) ld_dynamic_link_flags="-rdynamic" ;; | 3616 with_shlib=no |
3610 *) ;; | 3617 fi |
3611 esac | |
3612 fi | 3618 fi |
3613 | 3619 |
3614 dnl Unfortunately, just because we can link doesn't mean we can run. | 3620 dnl Unfortunately, just because we can link doesn't mean we can run. |
3615 dnl One of the above link tests may have succeeded but caused resulting | 3621 dnl One of the above link tests may have succeeded but caused resulting |
3616 dnl executables to fail to run. Also any tests using AC_TRY_RUN will | 3622 dnl executables to fail to run. Also any tests using AC_TRY_RUN will |
3794 *) break ;; | 3800 *) break ;; |
3795 esac | 3801 esac |
3796 done | 3802 done |
3797 AC_SUBST(LISPDIR) | 3803 AC_SUBST(LISPDIR) |
3798 | 3804 |
3799 dnl AC_SUBST(sitelispdir) | 3805 AC_SUBST(moduledir) |
3800 dnl AC_SUBST(SITELISPDIR_USER_DEFINED) | 3806 AC_SUBST(MODULEDIR_USER_DEFINED) |
3801 dnl SITELISPDIR=$sitelispdir | 3807 MODULEDIR=$moduledir |
3802 dnl while true; do | 3808 while true; do |
3803 dnl case "$SITELISPDIR" in | 3809 case "$MODULEDIR" in |
3804 dnl *\$* ) eval "SITELISPDIR=$SITELISPDIR" ;; | 3810 *\$* ) eval "MODULEDIR=$MODULEDIR" ;; |
3805 dnl *) break ;; | 3811 *) break ;; |
3806 dnl esac | 3812 esac |
3807 dnl done | 3813 done |
3808 dnl AC_SUBST(SITELISPDIR) | 3814 AC_SUBST(MODULEDIR) |
3815 | |
3816 AC_SUBST(sitelispdir) | |
3817 AC_SUBST(SITELISPDIR_USER_DEFINED) | |
3818 SITELISPDIR=$sitelispdir | |
3819 while true; do | |
3820 case "$SITELISPDIR" in | |
3821 *\$* ) eval "SITELISPDIR=$SITELISPDIR" ;; | |
3822 *) break ;; | |
3823 esac | |
3824 done | |
3825 AC_SUBST(SITELISPDIR) | |
3826 | |
3827 AC_SUBST(sitemoduledir) | |
3828 AC_SUBST(SITEMODULEDIR_USER_DEFINED) | |
3829 SITEMODULEDIR=$sitemoduledir | |
3830 while true; do | |
3831 case "$SITEMODULEDIR" in | |
3832 *\$* ) eval "SITEMODULEDIR=$SITEMODULEDIR" ;; | |
3833 *) break ;; | |
3834 esac | |
3835 done | |
3836 AC_SUBST(SITEMODULEDIR) | |
3809 | 3837 |
3810 AC_SUBST(etcdir) | 3838 AC_SUBST(etcdir) |
3811 AC_SUBST(ETCDIR_USER_DEFINED) | 3839 AC_SUBST(ETCDIR_USER_DEFINED) |
3812 ETCDIR=$etcdir | 3840 ETCDIR=$etcdir |
3813 while true; do | 3841 while true; do |
3841 AC_SUBST(ARCHLIBDIR) | 3869 AC_SUBST(ARCHLIBDIR) |
3842 | 3870 |
3843 AC_SUBST(docdir) | 3871 AC_SUBST(docdir) |
3844 AC_SUBST(bitmapdir) | 3872 AC_SUBST(bitmapdir) |
3845 AC_SUBST(extra_objs) | 3873 AC_SUBST(extra_objs) |
3846 AC_SUBST(ld_dynamic_link_flags) | |
3847 | 3874 |
3848 dnl The following flags combine all the information from: | 3875 dnl The following flags combine all the information from: |
3849 dnl - command line options (user always gets priority) | 3876 dnl - command line options (user always gets priority) |
3850 dnl - user environment variables | 3877 dnl - user environment variables |
3851 dnl - determined by configure | 3878 dnl - determined by configure |
3852 dnl - the s&m header files (deprecated) | 3879 dnl - the s&m header files (required for ellcc) |
3853 AC_SUBST(machfile) | 3880 AC_SUBST(machfile) |
3854 AC_SUBST(opsysfile) | 3881 AC_SUBST(opsysfile) |
3855 AC_SUBST(c_switch_general) | 3882 AC_SUBST(c_switch_general) |
3856 AC_SUBST(c_switch_window_system) | 3883 AC_SUBST(c_switch_window_system) |
3857 AC_SUBST(c_switch_all) | 3884 AC_SUBST(c_switch_all) |
3876 dnl Useful for building XEmacs with a C++ or 64-bit compiler. | 3903 dnl Useful for building XEmacs with a C++ or 64-bit compiler. |
3877 : ${XEMACS_CC:=$CC} | 3904 : ${XEMACS_CC:=$CC} |
3878 AC_SUBST(XEMACS_CC) | 3905 AC_SUBST(XEMACS_CC) |
3879 | 3906 |
3880 | 3907 |
3881 dnl The default is yes | 3908 dnl The default is no |
3882 if test "$with_site_lisp" = "no"; then | 3909 if test "$with_site_lisp" = "no"; then |
3883 AC_DEFINE(INHIBIT_SITE_LISP) | 3910 AC_DEFINE(INHIBIT_SITE_LISP) |
3911 fi | |
3912 dnl The default is yes | |
3913 if test "$with_site_modules" = "no"; then | |
3914 AC_DEFINE(INHIBIT_SITE_MODULES) | |
3884 fi | 3915 fi |
3885 | 3916 |
3886 XE_SPACE(ac_configure_args, $ac_configure_args) | 3917 XE_SPACE(ac_configure_args, $ac_configure_args) |
3887 AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "$canonical") | 3918 AC_DEFINE_UNQUOTED(EMACS_CONFIGURATION, "$canonical") |
3888 AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "$ac_configure_args") | 3919 AC_DEFINE_UNQUOTED(EMACS_CONFIG_OPTIONS, "$ac_configure_args") |
4112 test "$file" = src/Makefile.in && \ | 4143 test "$file" = src/Makefile.in && \ |
4113 file="src/Makefile.in:src/Makefile.in.in:src/depend" | 4144 file="src/Makefile.in:src/Makefile.in.in:src/depend" |
4114 ac_output_files="${ac_output_files+$ac_output_files }$file" | 4145 ac_output_files="${ac_output_files+$ac_output_files }$file" |
4115 done | 4146 done |
4116 ac_output_files="$ac_output_files src/paths.h lib-src/config.values" | 4147 ac_output_files="$ac_output_files src/paths.h lib-src/config.values" |
4148 if test "$with_shlib" = "yes"; then | |
4149 ac_output_files="$ac_output_files lib-src/ellcc.h" | |
4150 fi | |
4117 | 4151 |
4118 AC_OUTPUT($ac_output_files, | 4152 AC_OUTPUT($ac_output_files, |
4119 [for dir in . $MAKE_SUBDIR; do | 4153 [for dir in . $MAKE_SUBDIR; do |
4120 ( | 4154 ( |
4121 cd $dir | 4155 cd $dir |