comparison configure @ 94948:5d1a07df31c3

Regenerate.
author Kenichi Handa <handa@m17n.org>
date Wed, 14 May 2008 01:51:53 +0000
parents b1e12a239f2b
children e3b30a09b861
comparison
equal deleted inserted replaced
94947:73aea1b3e254 94948:5d1a07df31c3
1330 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1330 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1331 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1331 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1332 --enable-carbon-app[=DIR] 1332 --enable-carbon-app[=DIR]
1333 specify install directory for Emacs.app on Mac OS X 1333 specify install directory for Emacs.app on Mac OS X
1334 [DIR=/Application] 1334 [DIR=/Application]
1335 --disable-font-backend don't compile font-backend support
1336 --enable-asserts compile code with asserts enabled 1335 --enable-asserts compile code with asserts enabled
1337 --enable-maintainer-mode 1336 --enable-maintainer-mode
1338 enable make rules and dependencies not useful (and 1337 enable make rules and dependencies not useful (and
1339 sometimes confusing) to the casual installer 1338 sometimes confusing) to the casual installer
1340 --enable-locallisppath=PATH 1339 --enable-locallisppath=PATH
2151 fi 2150 fi
2152 2151
2153 # Check whether --enable-carbon-app was given. 2152 # Check whether --enable-carbon-app was given.
2154 if test "${enable_carbon_app+set}" = set; then 2153 if test "${enable_carbon_app+set}" = set; then
2155 enableval=$enable_carbon_app; carbon_appdir_x=${enableval} 2154 enableval=$enable_carbon_app; carbon_appdir_x=${enableval}
2156 fi
2157
2158
2159 ## Enabled by default.
2160 # Check whether --enable-font-backend was given.
2161 if test "${enable_font_backend+set}" = set; then
2162 enableval=$enable_font_backend; USE_FONT_BACKEND=$enableval
2163 else
2164 USE_FONT_BACKEND=yes
2165 fi 2155 fi
2166 2156
2167 2157
2168 # Check whether --enable-asserts was given. 2158 # Check whether --enable-asserts was given.
2169 if test "${enable_asserts+set}" = set; then 2159 if test "${enable_asserts+set}" = set; then
12671 fi 12661 fi
12672 CFLAGS=$late_CFLAGS 12662 CFLAGS=$late_CFLAGS
12673 fi 12663 fi
12674 12664
12675 ### Start of font-backend section. 12665 ### Start of font-backend section.
12676 if test "${HAVE_X11}" != "yes"; then 12666
12677 USE_FONT_BACKEND=no 12667 ## Use -lXft if available, unless `--with-freetype=no' nor `--with-xft=no'.
12678 fi 12668 HAVE_XFT=maybe
12679 12669 if test "x${with_freetype}" = "xno"; then
12680 if test "${USE_FONT_BACKEND}" = "yes"; then 12670 with_xft="no";
12681 12671 fi
12682 cat >>confdefs.h <<\_ACEOF 12672 if test "x${with_xft}" != "xno"; then
12683 #define USE_FONT_BACKEND 1
12684 _ACEOF
12685
12686
12687 ## Use -lXft if available, unless `--with-freetype=no' nor `--with-xft=no'.
12688 HAVE_XFT=maybe
12689 if test "x${with_freetype}" = "xno"; then
12690 with_xft="no";
12691 fi
12692 if test "x${with_xft}" != "xno"; then
12693 12673
12694 12674
12695 succeeded=no 12675 succeeded=no
12696 12676
12697 # Extract the first word of "pkg-config", so it can be a program name with args. 12677 # Extract the first word of "pkg-config", so it can be a program name with args.
12783 : 12763 :
12784 else 12764 else
12785 HAVE_XFT=no 12765 HAVE_XFT=no
12786 fi 12766 fi
12787 12767
12788 if test "$HAVE_XFT" != no; then 12768 if test "$HAVE_XFT" != no; then
12789 OLD_CPPFLAGS="$CPPFLAGS" 12769 OLD_CPPFLAGS="$CPPFLAGS"
12790 OLD_CFLAGS="$CFLAGS" 12770 OLD_CFLAGS="$CFLAGS"
12791 OLD_LIBS="$LIBS" 12771 OLD_LIBS="$LIBS"
12792 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS" 12772 CPPFLAGS="$CPPFLAGS $XFT_CFLAGS"
12793 CFLAGS="$CFLAGS $XFT_CFLAGS" 12773 CFLAGS="$CFLAGS $XFT_CFLAGS"
12794 LIBS="$XFT_LIBS $LIBS" 12774 LIBS="$XFT_LIBS $LIBS"
12795 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then 12775 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
12796 { echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5 12776 { echo "$as_me:$LINENO: checking for X11/Xft/Xft.h" >&5
12797 echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6; } 12777 echo $ECHO_N "checking for X11/Xft/Xft.h... $ECHO_C" >&6; }
12798 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then 12778 if test "${ac_cv_header_X11_Xft_Xft_h+set}" = set; then
12799 echo $ECHO_N "(cached) $ECHO_C" >&6 12779 echo $ECHO_N "(cached) $ECHO_C" >&6
12800 fi 12780 fi
12985 12965
12986 fi 12966 fi
12987 12967
12988 12968
12989 12969
12990 if test "${HAVE_XFT}" = "yes"; then 12970 if test "${HAVE_XFT}" = "yes"; then
12991 12971
12992 cat >>confdefs.h <<\_ACEOF 12972 cat >>confdefs.h <<\_ACEOF
12993 #define HAVE_XFT 1 12973 #define HAVE_XFT 1
12994 _ACEOF 12974 _ACEOF
12995 12975
12996 12976
12997 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS" 12977 C_SWITCH_X_SITE="$C_SWITCH_X_SITE $XFT_CFLAGS"
12998 else 12978 else
12999 CPPFLAGS="$OLD_CPPFLAGS" 12979 CPPFLAGS="$OLD_CPPFLAGS"
13000 CFLAGS="$OLD_CFLAGS" 12980 CFLAGS="$OLD_CFLAGS"
13001 LIBS="$OLD_LIBS" 12981 LIBS="$OLD_LIBS"
13002 fi # "${HAVE_XFT}" = "yes" 12982 fi # "${HAVE_XFT}" = "yes"
13003 fi # "$HAVE_XFT" != no 12983 fi # "$HAVE_XFT" != no
13004 fi # "x${with_xft}" != "xno" 12984 fi # "x${with_xft}" != "xno"
13005 12985
13006 if test "$HAVE_XFT" != "yes"; then 12986 if test "$HAVE_XFT" != "yes"; then
13007 HAVE_XFT=no 12987 HAVE_XFT=no
13008 fi 12988 fi
13009 12989
13010 12990
13011 HAVE_FREETYPE=no 12991 HAVE_FREETYPE=no
13012 ### Use -lfreetype if available, unless `--with-freetype=no'. 12992 ### Use -lfreetype if available, unless `--with-freetype=no'.
13013 if test "${HAVE_XFT}" = "yes"; then 12993 if test "${HAVE_XFT}" = "yes"; then
13014 HAVE_FREETYPE=yes 12994 HAVE_FREETYPE=yes
13015 elif test "x${with_freetype}" != "xno"; then 12995 elif test "x${with_freetype}" != "xno"; then
13016 12996
13017 12997
13018 succeeded=no 12998 succeeded=no
13019 12999
13020 # Extract the first word of "pkg-config", so it can be a program name with args. 13000 # Extract the first word of "pkg-config", so it can be a program name with args.
13106 HAVE_FREETYPE=yes 13086 HAVE_FREETYPE=yes
13107 else 13087 else
13108 HAVE_FREETYPE=no 13088 HAVE_FREETYPE=no
13109 fi 13089 fi
13110 13090
13111 if test "${HAVE_FREETYPE}" = "yes"; then 13091 if test "${HAVE_FREETYPE}" = "yes"; then
13112 13092
13113 succeeded=no 13093 succeeded=no
13114 13094
13115 # Extract the first word of "pkg-config", so it can be a program name with args. 13095 # Extract the first word of "pkg-config", so it can be a program name with args.
13116 set dummy pkg-config; ac_word=$2 13096 set dummy pkg-config; ac_word=$2
13201 HAVE_FC=yes 13181 HAVE_FC=yes
13202 else 13182 else
13203 HAVE_FC=no 13183 HAVE_FC=no
13204 fi 13184 fi
13205 13185
13206 if test "${HAVE_FC}" = "no"; then 13186 if test "${HAVE_FC}" = "no"; then
13207 HAVE_FREETYPE=no 13187 HAVE_FREETYPE=no
13208 fi
13209 fi 13188 fi
13210 fi 13189 fi
13211 13190 fi
13212 HAVE_LIBOTF=no 13191
13213 if test "${HAVE_FREETYPE}" = "yes"; then 13192 HAVE_LIBOTF=no
13193 if test "${HAVE_FREETYPE}" = "yes"; then
13214 13194
13215 cat >>confdefs.h <<\_ACEOF 13195 cat >>confdefs.h <<\_ACEOF
13216 #define HAVE_FREETYPE 1 13196 #define HAVE_FREETYPE 1
13217 _ACEOF 13197 _ACEOF
13218 13198
13219 if test "${with_libotf}" != "no"; then 13199 if test "${with_libotf}" != "no"; then
13220 13200
13221 succeeded=no 13201 succeeded=no
13222 13202
13223 # Extract the first word of "pkg-config", so it can be a program name with args. 13203 # Extract the first word of "pkg-config", so it can be a program name with args.
13224 set dummy pkg-config; ac_word=$2 13204 set dummy pkg-config; ac_word=$2
13309 HAVE_LIBOTF=yes 13289 HAVE_LIBOTF=yes
13310 else 13290 else
13311 HAVE_LIBOTF=no 13291 HAVE_LIBOTF=no
13312 fi 13292 fi
13313 13293
13314 if test "$HAVE_LIBOTF" = "yes"; then 13294 if test "$HAVE_LIBOTF" = "yes"; then
13315 13295
13316 cat >>confdefs.h <<\_ACEOF 13296 cat >>confdefs.h <<\_ACEOF
13317 #define HAVE_LIBOTF 1 13297 #define HAVE_LIBOTF 1
13318 _ACEOF 13298 _ACEOF
13319 13299
13320 fi
13321 fi 13300 fi
13322 fi 13301 fi
13323 13302 fi
13324 HAVE_M17N_FLT=no 13303
13325 if test "${with_m17n_flt}" != "no"; then 13304 HAVE_M17N_FLT=no
13305 if test "${with_m17n_flt}" != "no"; then
13326 13306
13327 succeeded=no 13307 succeeded=no
13328 13308
13329 # Extract the first word of "pkg-config", so it can be a program name with args. 13309 # Extract the first word of "pkg-config", so it can be a program name with args.
13330 set dummy pkg-config; ac_word=$2 13310 set dummy pkg-config; ac_word=$2
13415 HAVE_M17N_FLT=yes 13395 HAVE_M17N_FLT=yes
13416 else 13396 else
13417 HAVE_M17N_FLT=no 13397 HAVE_M17N_FLT=no
13418 fi 13398 fi
13419 13399
13420 if test "$HAVE_M17N_FLT" = "yes"; then 13400 if test "$HAVE_M17N_FLT" = "yes"; then
13421 13401
13422 cat >>confdefs.h <<\_ACEOF 13402 cat >>confdefs.h <<\_ACEOF
13423 #define HAVE_M17N_FLT 1 13403 #define HAVE_M17N_FLT 1
13424 _ACEOF 13404 _ACEOF
13425 13405
13426 fi
13427 fi 13406 fi
13428 13407 fi
13429 13408
13430 13409
13431 13410
13432 13411
13433 13412
13434 13413
13435 13414
13436 13415
13437 13416
13438 fi # "${USE_FONT_BACKEND}" = "yes" 13417
13439 ### End of font-backend section. 13418 ### End of font-backend section.
13440 13419
13441 ### Use -lXpm if available, unless `--with-xpm=no'. 13420 ### Use -lXpm if available, unless `--with-xpm=no'.
13442 HAVE_XPM=no 13421 HAVE_XPM=no
13443 if test "${HAVE_X11}" = "yes"; then 13422 if test "${HAVE_X11}" = "yes"; then
16912 # else 16891 # else
16913 # include <time.h> 16892 # include <time.h>
16914 # endif 16893 # endif
16915 #endif 16894 #endif
16916 16895
16896 #include <limits.h>
16917 #include <stdlib.h> 16897 #include <stdlib.h>
16918 16898
16919 #ifdef HAVE_UNISTD_H 16899 #ifdef HAVE_UNISTD_H
16920 # include <unistd.h> 16900 # include <unistd.h>
16921 #endif 16901 #endif
17060 /* This test makes some buggy mktime implementations loop. 17040 /* This test makes some buggy mktime implementations loop.
17061 Give up after 60 seconds; a mktime slower than that 17041 Give up after 60 seconds; a mktime slower than that
17062 isn't worth using anyway. */ 17042 isn't worth using anyway. */
17063 alarm (60); 17043 alarm (60);
17064 17044
17065 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2) 17045 for (;;)
17066 continue; 17046 {
17067 time_t_max--; 17047 t = (time_t_max << 1) + 1;
17068 if ((time_t) -1 < 0) 17048 if (t <= time_t_max)
17069 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2) 17049 break;
17070 continue; 17050 time_t_max = t;
17051 }
17052 time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
17053
17071 delta = time_t_max / 997; /* a suitable prime number */ 17054 delta = time_t_max / 997; /* a suitable prime number */
17072 for (i = 0; i < N_STRINGS; i++) 17055 for (i = 0; i < N_STRINGS; i++)
17073 { 17056 {
17074 if (tz_strings[i]) 17057 if (tz_strings[i])
17075 putenv (tz_strings[i]); 17058 putenv (tz_strings[i]);
17080 if (! (mktime_test ((time_t) 1) 17063 if (! (mktime_test ((time_t) 1)
17081 && mktime_test ((time_t) (60 * 60)) 17064 && mktime_test ((time_t) (60 * 60))
17082 && mktime_test ((time_t) (60 * 60 * 24)))) 17065 && mktime_test ((time_t) (60 * 60 * 24))))
17083 return 1; 17066 return 1;
17084 17067
17085 for (j = 1; 0 < j; j *= 2) 17068 for (j = 1; ; j <<= 1)
17086 if (! bigtime_test (j)) 17069 if (! bigtime_test (j))
17087 return 1; 17070 return 1;
17088 if (! bigtime_test (j - 1)) 17071 else if (INT_MAX / 2 < j)
17072 break;
17073 if (! bigtime_test (INT_MAX))
17089 return 1; 17074 return 1;
17090 } 17075 }
17091 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ()); 17076 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
17092 } 17077 }
17093 _ACEOF 17078 _ACEOF
18992 /* confdefs.h. */ 18977 /* confdefs.h. */
18993 _ACEOF 18978 _ACEOF
18994 cat confdefs.h >>conftest.$ac_ext 18979 cat confdefs.h >>conftest.$ac_ext
18995 cat >>conftest.$ac_ext <<_ACEOF 18980 cat >>conftest.$ac_ext <<_ACEOF
18996 /* end confdefs.h. */ 18981 /* end confdefs.h. */
18997 #include <stdio.h> 18982 #include <sys/types.h> /* for off_t */
18983 #include <stdio.h>
18998 int 18984 int
18999 main () 18985 main ()
19000 { 18986 {
19001 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); 18987 int (*fp) (FILE *, off_t, int) = fseeko;
18988 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
19002 ; 18989 ;
19003 return 0; 18990 return 0;
19004 } 18991 }
19005 _ACEOF 18992 _ACEOF
19006 rm -f conftest.$ac_objext conftest$ac_exeext 18993 rm -f conftest.$ac_objext conftest$ac_exeext
19036 _ACEOF 19023 _ACEOF
19037 cat confdefs.h >>conftest.$ac_ext 19024 cat confdefs.h >>conftest.$ac_ext
19038 cat >>conftest.$ac_ext <<_ACEOF 19025 cat >>conftest.$ac_ext <<_ACEOF
19039 /* end confdefs.h. */ 19026 /* end confdefs.h. */
19040 #define _LARGEFILE_SOURCE 1 19027 #define _LARGEFILE_SOURCE 1
19041 #include <stdio.h> 19028 #include <sys/types.h> /* for off_t */
19029 #include <stdio.h>
19042 int 19030 int
19043 main () 19031 main ()
19044 { 19032 {
19045 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0); 19033 int (*fp) (FILE *, off_t, int) = fseeko;
19034 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
19046 ; 19035 ;
19047 return 0; 19036 return 0;
19048 } 19037 }
19049 _ACEOF 19038 _ACEOF
19050 rm -f conftest.$ac_objext conftest$ac_exeext 19039 rm -f conftest.$ac_objext conftest$ac_exeext
24319 echo " Does Emacs use a gif library? ${HAVE_GIF} $ac_gif_lib_name" 24308 echo " Does Emacs use a gif library? ${HAVE_GIF} $ac_gif_lib_name"
24320 echo " Does Emacs use -lpng? ${HAVE_PNG}" 24309 echo " Does Emacs use -lpng? ${HAVE_PNG}"
24321 echo " Does Emacs use -lrsvg-2? ${HAVE_RSVG}" 24310 echo " Does Emacs use -lrsvg-2? ${HAVE_RSVG}"
24322 echo " Does Emacs use -lgpm? ${HAVE_GPM}" 24311 echo " Does Emacs use -lgpm? ${HAVE_GPM}"
24323 echo " Does Emacs use -ldbus? ${HAVE_DBUS}" 24312 echo " Does Emacs use -ldbus? ${HAVE_DBUS}"
24324 echo " Does Emacs use a font backend? ${USE_FONT_BACKEND}"
24325 24313
24326 if test "${USE_FONT_BACKEND}" = "yes"; then 24314 if test "${USE_FONT_BACKEND}" = "yes"; then
24327 echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}" 24315 echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}"
24328 echo " Does Emacs use -lm17n-flt? ${HAVE_M17N_FLT}" 24316 echo " Does Emacs use -lm17n-flt? ${HAVE_M17N_FLT}"
24329 echo " Does Emacs use -lotf? ${HAVE_LIBOTF}" 24317 echo " Does Emacs use -lotf? ${HAVE_LIBOTF}"