Mercurial > emacs
comparison configure @ 108013:393a4e5223b1
Regenerate configure, src/config.in.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 20 Apr 2010 20:11:03 -0700 |
parents | 1f5000fd5ff7 |
children | f3c91f3abae4 |
comparison
equal
deleted
inserted
replaced
108012:6c696ca35512 | 108013:393a4e5223b1 |
---|---|
716 GTK_LIBS | 716 GTK_LIBS |
717 DBUS_CFLAGS | 717 DBUS_CFLAGS |
718 DBUS_LIBS | 718 DBUS_LIBS |
719 GCONF_CFLAGS | 719 GCONF_CFLAGS |
720 GCONF_LIBS | 720 GCONF_LIBS |
721 LIBSELINUX_LIBS | |
721 FONTCONFIG_CFLAGS | 722 FONTCONFIG_CFLAGS |
722 FONTCONFIG_LIBS | 723 FONTCONFIG_LIBS |
723 XFT_CFLAGS | 724 XFT_CFLAGS |
724 XFT_LIBS | 725 XFT_LIBS |
725 LIBOTF_CFLAGS | 726 LIBOTF_CFLAGS |
809 with_xim | 810 with_xim |
810 with_ns | 811 with_ns |
811 with_gpm | 812 with_gpm |
812 with_dbus | 813 with_dbus |
813 with_gconf | 814 with_gconf |
815 with_selinux | |
814 with_makeinfo | 816 with_makeinfo |
815 with_gtk | 817 with_gtk |
816 with_gcc | 818 with_gcc |
817 with_pkg_config_prog | 819 with_pkg_config_prog |
818 with_gnustep_conf | 820 with_gnustep_conf |
1522 --with-ns use nextstep (Cocoa or GNUstep) windowing system | 1524 --with-ns use nextstep (Cocoa or GNUstep) windowing system |
1523 --without-gpm don't use -lgpm for mouse support on a GNU/Linux | 1525 --without-gpm don't use -lgpm for mouse support on a GNU/Linux |
1524 console | 1526 console |
1525 --without-dbus don't compile with D-Bus support | 1527 --without-dbus don't compile with D-Bus support |
1526 --without-gconf don't compile with GConf support | 1528 --without-gconf don't compile with GConf support |
1529 --without-selinux don't compile with SELinux support | |
1527 --without-makeinfo don't require makeinfo for building manuals | 1530 --without-makeinfo don't require makeinfo for building manuals |
1528 | 1531 |
1529 --with-pkg-config-prog=PATH | 1532 --with-pkg-config-prog=PATH |
1530 path to pkg-config for finding GTK and librsvg | 1533 path to pkg-config for finding GTK and librsvg |
1531 --with-gnustep-conf=PATH | 1534 --with-gnustep-conf=PATH |
2314 else | 2317 else |
2315 with_gconf=yes | 2318 with_gconf=yes |
2316 fi | 2319 fi |
2317 | 2320 |
2318 | 2321 |
2322 # Check whether --with-selinux was given. | |
2323 if test "${with_selinux+set}" = set; then | |
2324 withval=$with_selinux; | |
2325 else | |
2326 with_selinux=yes | |
2327 fi | |
2328 | |
2329 | |
2319 ## For the times when you want to build Emacs but don't have | 2330 ## For the times when you want to build Emacs but don't have |
2320 ## a suitable makeinfo, and can live without the manuals. | 2331 ## a suitable makeinfo, and can live without the manuals. |
2321 | 2332 |
2322 # Check whether --with-makeinfo was given. | 2333 # Check whether --with-makeinfo was given. |
2323 if test "${with_makeinfo+set}" = set; then | 2334 if test "${with_makeinfo+set}" = set; then |
2771 x86_64-*-openbsd*) machine=amdx86-64 ;; | 2782 x86_64-*-openbsd*) machine=amdx86-64 ;; |
2772 hppa-*-openbsd*) machine=hp800 ;; | 2783 hppa-*-openbsd*) machine=hp800 ;; |
2773 esac | 2784 esac |
2774 ;; | 2785 ;; |
2775 | 2786 |
2776 ## LynxOS ports | |
2777 *-*-lynxos* ) | |
2778 opsys=lynxos | |
2779 case "${canonical}" in | |
2780 i[3456]86-*-lynxos*) machine=intel386 ;; | |
2781 powerpc-*-lynxos*) machine=powerpc ;; | |
2782 esac | |
2783 ;; | |
2784 | |
2785 alpha*-*-linux-gnu* ) | 2787 alpha*-*-linux-gnu* ) |
2786 machine=alpha opsys=gnu-linux | 2788 machine=alpha opsys=gnu-linux |
2787 ;; | 2789 ;; |
2788 | 2790 |
2789 arm*-*-linux-gnu* ) | 2791 arm*-*-linux-gnu* ) |
2863 machine=sparc opsys=gnu-linux | 2865 machine=sparc opsys=gnu-linux |
2864 ;; | 2866 ;; |
2865 | 2867 |
2866 *-sun-solaris* \ | 2868 *-sun-solaris* \ |
2867 | i[3456]86-*-solaris2* | i[3456]86-*-sunos5* \ | 2869 | i[3456]86-*-solaris2* | i[3456]86-*-sunos5* \ |
2868 | x86_64-*-solaris2* | x86_64-*-sunos5* \ | 2870 | x86_64-*-solaris2* | x86_64-*-sunos5*) |
2869 | powerpc*-*-solaris2* | rs6000-*-solaris2*) | |
2870 case "${canonical}" in | 2871 case "${canonical}" in |
2871 i[3456]86-*-* ) machine=intel386 ;; | 2872 i[3456]86-*-* ) machine=intel386 ;; |
2872 amd64-*-*|x86_64-*-*) machine=amdx86-64 ;; | 2873 amd64-*-*|x86_64-*-*) machine=amdx86-64 ;; |
2873 powerpc* | rs6000* ) machine=ibmrs6000 ;; | |
2874 sparc* ) machine=sparc ;; | 2874 sparc* ) machine=sparc ;; |
2875 * ) unported=yes ;; | 2875 * ) unported=yes ;; |
2876 esac | 2876 esac |
2877 case "${canonical}" in | 2877 case "${canonical}" in |
2878 *-sunos5.3* | *-solaris2.3* ) | |
2879 opsys=sol2-3 | |
2880 NON_GNU_CPP=/usr/ccs/lib/cpp | |
2881 ;; | |
2882 *-sunos5.4* | *-solaris2.4* ) | |
2883 opsys=sol2-4 | |
2884 NON_GNU_CPP=/usr/ccs/lib/cpp | |
2885 RANLIB="ar -ts" | |
2886 ;; | |
2887 *-sunos5.5* | *-solaris2.5* ) | |
2888 opsys=sol2-5 | |
2889 NON_GNU_CPP=/usr/ccs/lib/cpp | |
2890 RANLIB="ar -ts" | |
2891 ;; | |
2892 *-sunos5.6* | *-solaris2.6* ) | 2878 *-sunos5.6* | *-solaris2.6* ) |
2893 opsys=sol2-6 | 2879 opsys=sol2-6 |
2894 NON_GNU_CPP=/usr/ccs/lib/cpp | 2880 NON_GNU_CPP=/usr/ccs/lib/cpp |
2895 RANLIB="ar -ts" | 2881 RANLIB="ar -ts" |
2896 ;; | 2882 ;; |
2977 ### runs, it's cleaner to make it explicit in the case statement | 2963 ### runs, it's cleaner to make it explicit in the case statement |
2978 ### above. | 2964 ### above. |
2979 if test x"${opsys}" = x; then | 2965 if test x"${opsys}" = x; then |
2980 case "${canonical}" in | 2966 case "${canonical}" in |
2981 *-gnu* ) opsys=gnu ;; | 2967 *-gnu* ) opsys=gnu ;; |
2982 *-sysv4.2uw* ) opsys=unixware ;; | |
2983 *-sysv5uw* ) opsys=unixware ;; | |
2984 *-sysv5OpenUNIX* ) opsys=unixware ;; | |
2985 *-sysv4.1* | *-sysvr4.1* ) | |
2986 NON_GNU_CPP=/usr/lib/cpp | |
2987 opsys=usg5-4 ;; | |
2988 *-sysv4.[2-9]* | *-sysvr4.[2-9]* ) | |
2989 if [ x$NON_GNU_CPP = x ]; then | |
2990 if [ -f /usr/ccs/lib/cpp ]; then | |
2991 NON_GNU_CPP=/usr/ccs/lib/cpp | |
2992 else | |
2993 NON_GNU_CPP=/lib/cpp | |
2994 fi | |
2995 fi | |
2996 opsys=usg5-4-2 ;; | |
2997 *-sysv4* | *-sysvr4* ) opsys=usg5-4 ;; | |
2998 * ) | 2968 * ) |
2999 unported=yes | 2969 unported=yes |
3000 ;; | 2970 ;; |
3001 esac | 2971 esac |
3002 fi | 2972 fi |
5814 configure___ use_mmap_for_buffers=yes | 5784 configure___ use_mmap_for_buffers=yes |
5815 #else | 5785 #else |
5816 configure___ use_mmap_for_buffers=no | 5786 configure___ use_mmap_for_buffers=no |
5817 #endif | 5787 #endif |
5818 | 5788 |
5819 #ifndef C_DEBUG_SWITCH | |
5820 #define C_DEBUG_SWITCH -g | |
5821 #endif | |
5822 | |
5823 #ifndef C_OPTIMIZE_SWITCH | 5789 #ifndef C_OPTIMIZE_SWITCH |
5824 #ifdef __GNUC__ | 5790 #ifdef __GNUC__ |
5825 #define C_OPTIMIZE_SWITCH -O2 | 5791 #define C_OPTIMIZE_SWITCH -O2 |
5826 #else | 5792 #else |
5827 #define C_OPTIMIZE_SWITCH -O | 5793 #define C_OPTIMIZE_SWITCH -O |
5849 | 5815 |
5850 #ifdef THIS_IS_CONFIGURE | 5816 #ifdef THIS_IS_CONFIGURE |
5851 | 5817 |
5852 /* Get the CFLAGS for tests in configure. */ | 5818 /* Get the CFLAGS for tests in configure. */ |
5853 #ifdef __GNUC__ | 5819 #ifdef __GNUC__ |
5854 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}' | 5820 configure___ CFLAGS=C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}' |
5855 #else | 5821 #else |
5856 configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}' | 5822 configure___ CFLAGS='${SPECIFIED_CFLAGS}' |
5857 #endif | 5823 #endif |
5858 | 5824 |
5859 #else /* not THIS_IS_CONFIGURE */ | 5825 #else /* not THIS_IS_CONFIGURE */ |
5860 | 5826 |
5861 /* Get the CFLAGS for real compilation. */ | 5827 /* Get the CFLAGS for real compilation. */ |
5862 #ifdef __GNUC__ | 5828 #ifdef __GNUC__ |
5863 configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH C_WARNINGS_SWITCH ${PROFILING_CFLAGS} '${SPECIFIED_CFLAGS}' | 5829 configure___ REAL_CFLAGS=C_OPTIMIZE_SWITCH C_WARNINGS_SWITCH ${PROFILING_CFLAGS} '${SPECIFIED_CFLAGS}' |
5864 #else | 5830 #else |
5865 configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}' | 5831 configure___ REAL_CFLAGS='${SPECIFIED_CFLAGS}' |
5866 #endif | 5832 #endif |
5867 | 5833 |
5868 #endif /* not THIS_IS_CONFIGURE */ | 5834 #endif /* not THIS_IS_CONFIGURE */ |
5869 ' > ${tempcname} | 5835 ' > ${tempcname} |
5870 | 5836 |
12751 _ACEOF | 12717 _ACEOF |
12752 | 12718 |
12753 fi | 12719 fi |
12754 fi | 12720 fi |
12755 | 12721 |
12722 HAVE_LIBSELINUX=no | |
12723 if test "${with_selinux}" = "yes"; then | |
12724 { $as_echo "$as_me:$LINENO: checking for lgetfilecon in -lselinux" >&5 | |
12725 $as_echo_n "checking for lgetfilecon in -lselinux... " >&6; } | |
12726 if test "${ac_cv_lib_selinux_lgetfilecon+set}" = set; then | |
12727 $as_echo_n "(cached) " >&6 | |
12728 else | |
12729 ac_check_lib_save_LIBS=$LIBS | |
12730 LIBS="-lselinux $LIBS" | |
12731 cat >conftest.$ac_ext <<_ACEOF | |
12732 /* confdefs.h. */ | |
12733 _ACEOF | |
12734 cat confdefs.h >>conftest.$ac_ext | |
12735 cat >>conftest.$ac_ext <<_ACEOF | |
12736 /* end confdefs.h. */ | |
12737 | |
12738 /* Override any GCC internal prototype to avoid an error. | |
12739 Use char because int might match the return type of a GCC | |
12740 builtin and then its argument prototype would still apply. */ | |
12741 #ifdef __cplusplus | |
12742 extern "C" | |
12743 #endif | |
12744 char lgetfilecon (); | |
12745 int | |
12746 main () | |
12747 { | |
12748 return lgetfilecon (); | |
12749 ; | |
12750 return 0; | |
12751 } | |
12752 _ACEOF | |
12753 rm -f conftest.$ac_objext conftest$ac_exeext | |
12754 if { (ac_try="$ac_link" | |
12755 case "(($ac_try" in | |
12756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
12757 *) ac_try_echo=$ac_try;; | |
12758 esac | |
12759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | |
12760 $as_echo "$ac_try_echo") >&5 | |
12761 (eval "$ac_link") 2>conftest.er1 | |
12762 ac_status=$? | |
12763 grep -v '^ *+' conftest.er1 >conftest.err | |
12764 rm -f conftest.er1 | |
12765 cat conftest.err >&5 | |
12766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |
12767 (exit $ac_status); } && { | |
12768 test -z "$ac_c_werror_flag" || | |
12769 test ! -s conftest.err | |
12770 } && test -s conftest$ac_exeext && { | |
12771 test "$cross_compiling" = yes || | |
12772 $as_test_x conftest$ac_exeext | |
12773 }; then | |
12774 ac_cv_lib_selinux_lgetfilecon=yes | |
12775 else | |
12776 $as_echo "$as_me: failed program was:" >&5 | |
12777 sed 's/^/| /' conftest.$ac_ext >&5 | |
12778 | |
12779 ac_cv_lib_selinux_lgetfilecon=no | |
12780 fi | |
12781 | |
12782 rm -rf conftest.dSYM | |
12783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ | |
12784 conftest$ac_exeext conftest.$ac_ext | |
12785 LIBS=$ac_check_lib_save_LIBS | |
12786 fi | |
12787 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_lgetfilecon" >&5 | |
12788 $as_echo "$ac_cv_lib_selinux_lgetfilecon" >&6; } | |
12789 if test $ac_cv_lib_selinux_lgetfilecon = yes; then | |
12790 HAVE_LIBSELINUX=yes | |
12791 else | |
12792 HAVE_LIBSELINUX=no | |
12793 fi | |
12794 | |
12795 if test "$HAVE_LIBSELINUX" = yes; then | |
12796 | |
12797 cat >>confdefs.h <<\_ACEOF | |
12798 #define HAVE_LIBSELINUX 1 | |
12799 _ACEOF | |
12800 | |
12801 LIBSELINUX_LIBS=-lselinux | |
12802 | |
12803 fi | |
12804 fi | |
12805 | |
12756 HAVE_XAW3D=no | 12806 HAVE_XAW3D=no |
12757 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then | 12807 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then |
12758 if test "$with_xaw3d" != no; then | 12808 if test "$with_xaw3d" != no; then |
12759 { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5 | 12809 { $as_echo "$as_me:$LINENO: checking for xaw3d" >&5 |
12760 $as_echo_n "checking for xaw3d... " >&6; } | 12810 $as_echo_n "checking for xaw3d... " >&6; } |
21154 Maybe some development libraries/packages are missing? Try installing | 21204 Maybe some development libraries/packages are missing? Try installing |
21155 libncurses-dev(el), libterminfo-dev(el) or similar." >&2;} | 21205 libncurses-dev(el), libterminfo-dev(el) or similar." >&2;} |
21156 { (exit 1); exit 1; }; } | 21206 { (exit 1); exit 1; }; } |
21157 fi | 21207 fi |
21158 # Must define this when any termcap library is found. | 21208 # Must define this when any termcap library is found. |
21209 | |
21159 cat >>confdefs.h <<\_ACEOF | 21210 cat >>confdefs.h <<\_ACEOF |
21160 #define HAVE_LIBNCURSES 1 | 21211 #define HAVE_LIBNCURSES 1 |
21161 _ACEOF | 21212 _ACEOF |
21162 | 21213 |
21163 | 21214 |
25934 echo " Does Emacs use -lpng? ${HAVE_PNG}" | 25985 echo " Does Emacs use -lpng? ${HAVE_PNG}" |
25935 echo " Does Emacs use -lrsvg-2? ${HAVE_RSVG}" | 25986 echo " Does Emacs use -lrsvg-2? ${HAVE_RSVG}" |
25936 echo " Does Emacs use -lgpm? ${HAVE_GPM}" | 25987 echo " Does Emacs use -lgpm? ${HAVE_GPM}" |
25937 echo " Does Emacs use -ldbus? ${HAVE_DBUS}" | 25988 echo " Does Emacs use -ldbus? ${HAVE_DBUS}" |
25938 echo " Does Emacs use -lgconf? ${HAVE_GCONF}" | 25989 echo " Does Emacs use -lgconf? ${HAVE_GCONF}" |
25990 echo " Does Emacs use -lselinux? ${HAVE_LIBSELINUX}" | |
25939 | 25991 |
25940 echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}" | 25992 echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}" |
25941 echo " Does Emacs use -lm17n-flt? ${HAVE_M17N_FLT}" | 25993 echo " Does Emacs use -lm17n-flt? ${HAVE_M17N_FLT}" |
25942 echo " Does Emacs use -lotf? ${HAVE_LIBOTF}" | 25994 echo " Does Emacs use -lotf? ${HAVE_LIBOTF}" |
25943 echo " Does Emacs use -lxft? ${HAVE_XFT}" | 25995 echo " Does Emacs use -lxft? ${HAVE_XFT}" |