Mercurial > emacs
comparison configure @ 111233:d86e0c3de741
merge trunk
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 14 Oct 2010 16:21:40 +0900 |
parents | 158de1f7d257 |
children | 07776ed6876f |
comparison
equal
deleted
inserted
replaced
109848:637005c4c3ca | 111233:d86e0c3de741 |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.66 for emacs 24.0.50. | 3 # Generated by GNU Autoconf 2.65 for emacs 24.0.50. |
4 # | 4 # |
5 # | 5 # |
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
8 # Foundation, Inc. | 8 # Inc. |
9 # | 9 # |
10 # | 10 # |
11 # This configure script is free software; the Free Software Foundation | 11 # This configure script is free software; the Free Software Foundation |
12 # gives unlimited permission to copy, distribute and modify it. | 12 # gives unlimited permission to copy, distribute and modify it. |
13 ## -------------------- ## | 13 ## -------------------- ## |
314 } | 314 } |
315 s/.*/./; q'` | 315 s/.*/./; q'` |
316 test -d "$as_dir" && break | 316 test -d "$as_dir" && break |
317 done | 317 done |
318 test -z "$as_dirs" || eval "mkdir $as_dirs" | 318 test -z "$as_dirs" || eval "mkdir $as_dirs" |
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
320 | 320 |
321 | 321 |
322 } # as_fn_mkdir_p | 322 } # as_fn_mkdir_p |
323 # as_fn_append VAR VALUE | 323 # as_fn_append VAR VALUE |
324 # ---------------------- | 324 # ---------------------- |
354 as_val=`expr "$@" || test $? -eq 1` | 354 as_val=`expr "$@" || test $? -eq 1` |
355 } | 355 } |
356 fi # as_fn_arith | 356 fi # as_fn_arith |
357 | 357 |
358 | 358 |
359 # as_fn_error STATUS ERROR [LINENO LOG_FD] | 359 # as_fn_error ERROR [LINENO LOG_FD] |
360 # ---------------------------------------- | 360 # --------------------------------- |
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
363 # script with STATUS, using 1 if that was 0. | 363 # script with status $?, using 1 if that was 0. |
364 as_fn_error () | 364 as_fn_error () |
365 { | 365 { |
366 as_status=$1; test $as_status -eq 0 && as_status=1 | 366 as_status=$?; test $as_status -eq 0 && as_status=1 |
367 if test "$4"; then | 367 if test "$3"; then |
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
370 fi | 370 fi |
371 $as_echo "$as_me: error: $2" >&2 | 371 $as_echo "$as_me: error: $1" >&2 |
372 as_fn_exit $as_status | 372 as_fn_exit $as_status |
373 } # as_fn_error | 373 } # as_fn_error |
374 | 374 |
375 if expr a : '\(a\)' >/dev/null 2>&1 && | 375 if expr a : '\(a\)' >/dev/null 2>&1 && |
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then | 376 test "X`expr 00001 : '.*\(...\)'`" = X001; then |
528 | 528 |
529 test -n "$DJDIR" || exec 7<&0 </dev/null | 529 test -n "$DJDIR" || exec 7<&0 </dev/null |
530 exec 6>&1 | 530 exec 6>&1 |
531 | 531 |
532 # Name of the host. | 532 # Name of the host. |
533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | 533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
534 # so uname gets run too. | 534 # so uname gets run too. |
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
536 | 536 |
537 # | 537 # |
538 # Initializations. | 538 # Initializations. |
597 ac_subst_vars='LTLIBOBJS | 597 ac_subst_vars='LTLIBOBJS |
598 WINDOW_SUPPORT | 598 WINDOW_SUPPORT |
599 TOOLTIP_SUPPORT | 599 TOOLTIP_SUPPORT |
600 MOUSE_SUPPORT | 600 MOUSE_SUPPORT |
601 LIB_GCC | 601 LIB_GCC |
602 LINKER | 602 LD_FIRSTFLAG |
603 LD_SWITCH_SYSTEM_TEMACS | 603 LD_SWITCH_SYSTEM_TEMACS |
604 POST_ALLOC_OBJ | 604 POST_ALLOC_OBJ |
605 PRE_ALLOC_OBJ | 605 PRE_ALLOC_OBJ |
606 CYGWIN_OBJ | 606 CYGWIN_OBJ |
607 RALLOC_OBJ | 607 RALLOC_OBJ |
658 LIBOBJS | 658 LIBOBJS |
659 BLESSMAIL_TARGET | 659 BLESSMAIL_TARGET |
660 LIBS_MAIL | 660 LIBS_MAIL |
661 liblockfile | 661 liblockfile |
662 ALLOCA | 662 ALLOCA |
663 LIBXML2_LIBS | |
664 LIBXML2_CFLAGS | |
663 LIBXSM | 665 LIBXSM |
664 LIBGPM | 666 LIBGPM |
665 LIBGIF | 667 LIBGIF |
666 LIBTIFF | 668 LIBTIFF |
667 LIBPNG | 669 LIBPNG |
677 XFT_CFLAGS | 679 XFT_CFLAGS |
678 FONTCONFIG_LIBS | 680 FONTCONFIG_LIBS |
679 FONTCONFIG_CFLAGS | 681 FONTCONFIG_CFLAGS |
680 LIBXMU | 682 LIBXMU |
681 LIBXTR6 | 683 LIBXTR6 |
684 LIBGNUTLS_LIBS | |
685 LIBGNUTLS_CFLAGS | |
682 LIBSELINUX_LIBS | 686 LIBSELINUX_LIBS |
683 GCONF_LIBS | 687 GCONF_LIBS |
684 GCONF_CFLAGS | 688 GCONF_CFLAGS |
685 DBUS_OBJ | 689 DBUS_OBJ |
686 DBUS_LIBS | 690 DBUS_LIBS |
687 DBUS_CFLAGS | 691 DBUS_CFLAGS |
688 GTK_OBJ | 692 GTK_OBJ |
689 GTK_LIBS | 693 GTK_LIBS |
690 GTK_CFLAGS | 694 GTK_CFLAGS |
695 IMAGEMAGICK_LIBS | |
696 IMAGEMAGICK_CFLAGS | |
691 RSVG_LIBS | 697 RSVG_LIBS |
692 RSVG_CFLAGS | 698 RSVG_CFLAGS |
693 VMLIMIT_OBJ | 699 VMLIMIT_OBJ |
694 GMALLOC_OBJ | 700 GMALLOC_OBJ |
695 HAVE_XSERVER | 701 HAVE_XSERVER |
741 host | 747 host |
742 build_os | 748 build_os |
743 build_vendor | 749 build_vendor |
744 build_cpu | 750 build_cpu |
745 build | 751 build |
746 PROFILING_LDFLAGS | |
747 PROFILING_CFLAGS | 752 PROFILING_CFLAGS |
748 MAINT | 753 MAINT |
749 GZIP_INFO | 754 GZIP_INFO |
750 target_alias | 755 target_alias |
751 host_alias | 756 host_alias |
803 with_jpeg | 808 with_jpeg |
804 with_tiff | 809 with_tiff |
805 with_gif | 810 with_gif |
806 with_png | 811 with_png |
807 with_rsvg | 812 with_rsvg |
813 with_xml2 | |
814 with_imagemagick | |
808 with_xft | 815 with_xft |
809 with_libotf | 816 with_libotf |
810 with_m17n_flt | 817 with_m17n_flt |
811 with_toolkit_scroll_bars | 818 with_toolkit_scroll_bars |
812 with_xaw3d | 819 with_xaw3d |
814 with_ns | 821 with_ns |
815 with_gpm | 822 with_gpm |
816 with_dbus | 823 with_dbus |
817 with_gconf | 824 with_gconf |
818 with_selinux | 825 with_selinux |
826 with_gnutls | |
819 with_makeinfo | 827 with_makeinfo |
820 with_compress_info | 828 with_compress_info |
821 with_pkg_config_prog | 829 with_pkg_config_prog |
822 with_crt_dir | 830 with_crt_dir |
823 with_gnustep_conf | 831 with_gnustep_conf |
948 | 956 |
949 -disable-* | --disable-*) | 957 -disable-* | --disable-*) |
950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 958 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
951 # Reject names that are not valid shell variable names. | 959 # Reject names that are not valid shell variable names. |
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 960 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
953 as_fn_error $? "invalid feature name: $ac_useropt" | 961 as_fn_error "invalid feature name: $ac_useropt" |
954 ac_useropt_orig=$ac_useropt | 962 ac_useropt_orig=$ac_useropt |
955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 963 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
956 case $ac_user_opts in | 964 case $ac_user_opts in |
957 *" | 965 *" |
958 "enable_$ac_useropt" | 966 "enable_$ac_useropt" |
974 | 982 |
975 -enable-* | --enable-*) | 983 -enable-* | --enable-*) |
976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 984 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
977 # Reject names that are not valid shell variable names. | 985 # Reject names that are not valid shell variable names. |
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 986 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
979 as_fn_error $? "invalid feature name: $ac_useropt" | 987 as_fn_error "invalid feature name: $ac_useropt" |
980 ac_useropt_orig=$ac_useropt | 988 ac_useropt_orig=$ac_useropt |
981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 989 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
982 case $ac_user_opts in | 990 case $ac_user_opts in |
983 *" | 991 *" |
984 "enable_$ac_useropt" | 992 "enable_$ac_useropt" |
1178 | 1186 |
1179 -with-* | --with-*) | 1187 -with-* | --with-*) |
1180 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1188 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1181 # Reject names that are not valid shell variable names. | 1189 # Reject names that are not valid shell variable names. |
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1183 as_fn_error $? "invalid package name: $ac_useropt" | 1191 as_fn_error "invalid package name: $ac_useropt" |
1184 ac_useropt_orig=$ac_useropt | 1192 ac_useropt_orig=$ac_useropt |
1185 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1193 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1186 case $ac_user_opts in | 1194 case $ac_user_opts in |
1187 *" | 1195 *" |
1188 "with_$ac_useropt" | 1196 "with_$ac_useropt" |
1194 | 1202 |
1195 -without-* | --without-*) | 1203 -without-* | --without-*) |
1196 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1204 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1197 # Reject names that are not valid shell variable names. | 1205 # Reject names that are not valid shell variable names. |
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1199 as_fn_error $? "invalid package name: $ac_useropt" | 1207 as_fn_error "invalid package name: $ac_useropt" |
1200 ac_useropt_orig=$ac_useropt | 1208 ac_useropt_orig=$ac_useropt |
1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1209 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1202 case $ac_user_opts in | 1210 case $ac_user_opts in |
1203 *" | 1211 *" |
1204 "with_$ac_useropt" | 1212 "with_$ac_useropt" |
1224 ac_prev=x_libraries ;; | 1232 ac_prev=x_libraries ;; |
1225 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1233 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1226 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1234 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1227 x_libraries=$ac_optarg ;; | 1235 x_libraries=$ac_optarg ;; |
1228 | 1236 |
1229 -*) as_fn_error $? "unrecognized option: \`$ac_option' | 1237 -*) as_fn_error "unrecognized option: \`$ac_option' |
1230 Try \`$0 --help' for more information" | 1238 Try \`$0 --help' for more information." |
1231 ;; | 1239 ;; |
1232 | 1240 |
1233 *=*) | 1241 *=*) |
1234 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1242 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1235 # Reject names that are not valid shell variable names. | 1243 # Reject names that are not valid shell variable names. |
1236 case $ac_envvar in #( | 1244 case $ac_envvar in #( |
1237 '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1245 '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1238 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | 1246 as_fn_error "invalid variable name: \`$ac_envvar'" ;; |
1239 esac | 1247 esac |
1240 eval $ac_envvar=\$ac_optarg | 1248 eval $ac_envvar=\$ac_optarg |
1241 export $ac_envvar ;; | 1249 export $ac_envvar ;; |
1242 | 1250 |
1243 *) | 1251 *) |
1251 esac | 1259 esac |
1252 done | 1260 done |
1253 | 1261 |
1254 if test -n "$ac_prev"; then | 1262 if test -n "$ac_prev"; then |
1255 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1263 ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1256 as_fn_error $? "missing argument to $ac_option" | 1264 as_fn_error "missing argument to $ac_option" |
1257 fi | 1265 fi |
1258 | 1266 |
1259 if test -n "$ac_unrecognized_opts"; then | 1267 if test -n "$ac_unrecognized_opts"; then |
1260 case $enable_option_checking in | 1268 case $enable_option_checking in |
1261 no) ;; | 1269 no) ;; |
1262 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | 1270 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; |
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1271 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1264 esac | 1272 esac |
1265 fi | 1273 fi |
1266 | 1274 |
1267 # Check all directory arguments for consistency. | 1275 # Check all directory arguments for consistency. |
1280 # Be sure to have absolute directory names. | 1288 # Be sure to have absolute directory names. |
1281 case $ac_val in | 1289 case $ac_val in |
1282 [\\/$]* | ?:[\\/]* ) continue;; | 1290 [\\/$]* | ?:[\\/]* ) continue;; |
1283 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1291 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1284 esac | 1292 esac |
1285 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | 1293 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" |
1286 done | 1294 done |
1287 | 1295 |
1288 # There might be people who depend on the old broken behavior: `$host' | 1296 # There might be people who depend on the old broken behavior: `$host' |
1289 # used to hold the argument of --host etc. | 1297 # used to hold the argument of --host etc. |
1290 # FIXME: To remove some day. | 1298 # FIXME: To remove some day. |
1294 | 1302 |
1295 # FIXME: To remove some day. | 1303 # FIXME: To remove some day. |
1296 if test "x$host_alias" != x; then | 1304 if test "x$host_alias" != x; then |
1297 if test "x$build_alias" = x; then | 1305 if test "x$build_alias" = x; then |
1298 cross_compiling=maybe | 1306 cross_compiling=maybe |
1299 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | 1307 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
1300 If a cross compiler is detected then cross compile mode will be used" >&2 | 1308 If a cross compiler is detected then cross compile mode will be used." >&2 |
1301 elif test "x$build_alias" != "x$host_alias"; then | 1309 elif test "x$build_alias" != "x$host_alias"; then |
1302 cross_compiling=yes | 1310 cross_compiling=yes |
1303 fi | 1311 fi |
1304 fi | 1312 fi |
1305 | 1313 |
1310 | 1318 |
1311 | 1319 |
1312 ac_pwd=`pwd` && test -n "$ac_pwd" && | 1320 ac_pwd=`pwd` && test -n "$ac_pwd" && |
1313 ac_ls_di=`ls -di .` && | 1321 ac_ls_di=`ls -di .` && |
1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1322 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1315 as_fn_error $? "working directory cannot be determined" | 1323 as_fn_error "working directory cannot be determined" |
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1324 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1317 as_fn_error $? "pwd does not report name of working directory" | 1325 as_fn_error "pwd does not report name of working directory" |
1318 | 1326 |
1319 | 1327 |
1320 # Find the source files, if location was not specified. | 1328 # Find the source files, if location was not specified. |
1321 if test -z "$srcdir"; then | 1329 if test -z "$srcdir"; then |
1322 ac_srcdir_defaulted=yes | 1330 ac_srcdir_defaulted=yes |
1351 else | 1359 else |
1352 ac_srcdir_defaulted=no | 1360 ac_srcdir_defaulted=no |
1353 fi | 1361 fi |
1354 if test ! -r "$srcdir/$ac_unique_file"; then | 1362 if test ! -r "$srcdir/$ac_unique_file"; then |
1355 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1363 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1356 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | 1364 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" |
1357 fi | 1365 fi |
1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1366 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1359 ac_abs_confdir=`( | 1367 ac_abs_confdir=`( |
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | 1368 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" |
1361 pwd)` | 1369 pwd)` |
1362 # When building in place, set srcdir=. | 1370 # When building in place, set srcdir=. |
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then | 1371 if test "$ac_abs_confdir" = "$ac_pwd"; then |
1364 srcdir=. | 1372 srcdir=. |
1365 fi | 1373 fi |
1395 Configuration: | 1403 Configuration: |
1396 -h, --help display this help and exit | 1404 -h, --help display this help and exit |
1397 --help=short display options specific to this package | 1405 --help=short display options specific to this package |
1398 --help=recursive display the short help of all the included packages | 1406 --help=recursive display the short help of all the included packages |
1399 -V, --version display version information and exit | 1407 -V, --version display version information and exit |
1400 -q, --quiet, --silent do not print \`checking ...' messages | 1408 -q, --quiet, --silent do not print \`checking...' messages |
1401 --cache-file=FILE cache test results in FILE [disabled] | 1409 --cache-file=FILE cache test results in FILE [disabled] |
1402 -C, --config-cache alias for \`--cache-file=config.cache' | 1410 -C, --config-cache alias for \`--cache-file=config.cache' |
1403 -n, --no-create do not create output files | 1411 -n, --no-create do not create output files |
1404 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1412 --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1405 | 1413 |
1509 --without-jpeg don't compile with JPEG image support | 1517 --without-jpeg don't compile with JPEG image support |
1510 --without-tiff don't compile with TIFF image support | 1518 --without-tiff don't compile with TIFF image support |
1511 --without-gif don't compile with GIF image support | 1519 --without-gif don't compile with GIF image support |
1512 --without-png don't compile with PNG image support | 1520 --without-png don't compile with PNG image support |
1513 --without-rsvg don't compile with SVG image support | 1521 --without-rsvg don't compile with SVG image support |
1522 --without-xml2 don't compile with XML parsing support | |
1523 --without-imagemagick don't compile with ImageMagick image support | |
1514 --without-xft don't use XFT for anti aliased fonts | 1524 --without-xft don't use XFT for anti aliased fonts |
1515 --without-libotf don't use libotf for OpenType font support | 1525 --without-libotf don't use libotf for OpenType font support |
1516 --without-m17n-flt don't use m17n-flt for text shaping | 1526 --without-m17n-flt don't use m17n-flt for text shaping |
1517 --without-toolkit-scroll-bars | 1527 --without-toolkit-scroll-bars |
1518 don't use Motif or Xaw3d scroll bars | 1528 don't use Motif or Xaw3d scroll bars |
1522 --without-gpm don't use -lgpm for mouse support on a GNU/Linux | 1532 --without-gpm don't use -lgpm for mouse support on a GNU/Linux |
1523 console | 1533 console |
1524 --without-dbus don't compile with D-Bus support | 1534 --without-dbus don't compile with D-Bus support |
1525 --without-gconf don't compile with GConf support | 1535 --without-gconf don't compile with GConf support |
1526 --without-selinux don't compile with SELinux support | 1536 --without-selinux don't compile with SELinux support |
1537 --without-gnutls don't use -lgnutls for SSL/TLS support | |
1527 --without-makeinfo don't require makeinfo for building manuals | 1538 --without-makeinfo don't require makeinfo for building manuals |
1528 --without-compress-info don't compress the installed Info pages | 1539 --without-compress-info don't compress the installed Info pages |
1529 --with-pkg-config-prog=PATH | 1540 --with-pkg-config-prog=PATH |
1530 path to pkg-config for finding GTK and librsvg | 1541 path to pkg-config for finding GTK and librsvg |
1531 --with-crt-dir=DIR directory containing crtn.o etc. The default is | 1542 --with-crt-dir=DIR directory containing crtn.o etc. The default is |
1611 | 1622 |
1612 test -n "$ac_init_help" && exit $ac_status | 1623 test -n "$ac_init_help" && exit $ac_status |
1613 if $ac_init_version; then | 1624 if $ac_init_version; then |
1614 cat <<\_ACEOF | 1625 cat <<\_ACEOF |
1615 emacs configure 24.0.50 | 1626 emacs configure 24.0.50 |
1616 generated by GNU Autoconf 2.66 | 1627 generated by GNU Autoconf 2.65 |
1617 | 1628 |
1618 Copyright (C) 2010 Free Software Foundation, Inc. | 1629 Copyright (C) 2009 Free Software Foundation, Inc. |
1619 This configure script is free software; the Free Software Foundation | 1630 This configure script is free software; the Free Software Foundation |
1620 gives unlimited permission to copy, distribute and modify it. | 1631 gives unlimited permission to copy, distribute and modify it. |
1621 _ACEOF | 1632 _ACEOF |
1622 exit | 1633 exit |
1623 fi | 1634 fi |
1753 # the include files in INCLUDES and setting the cache variable VAR | 1764 # the include files in INCLUDES and setting the cache variable VAR |
1754 # accordingly. | 1765 # accordingly. |
1755 ac_fn_c_check_header_mongrel () | 1766 ac_fn_c_check_header_mongrel () |
1756 { | 1767 { |
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1758 if eval "test \"\${$3+set}\"" = set; then : | 1769 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1760 $as_echo_n "checking for $2... " >&6; } | 1771 $as_echo_n "checking for $2... " >&6; } |
1761 if eval "test \"\${$3+set}\"" = set; then : | 1772 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1762 $as_echo_n "(cached) " >&6 | 1773 $as_echo_n "(cached) " >&6 |
1763 fi | 1774 fi |
1764 eval ac_res=\$$3 | 1775 eval ac_res=\$$3 |
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1766 $as_echo "$ac_res" >&6; } | 1777 $as_echo "$ac_res" >&6; } |
1819 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 1830 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1820 ;; | 1831 ;; |
1821 esac | 1832 esac |
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1823 $as_echo_n "checking for $2... " >&6; } | 1834 $as_echo_n "checking for $2... " >&6; } |
1824 if eval "test \"\${$3+set}\"" = set; then : | 1835 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1825 $as_echo_n "(cached) " >&6 | 1836 $as_echo_n "(cached) " >&6 |
1826 else | 1837 else |
1827 eval "$3=\$ac_header_compiler" | 1838 eval "$3=\$ac_header_compiler" |
1828 fi | 1839 fi |
1829 eval ac_res=\$$3 | 1840 eval ac_res=\$$3 |
1883 ac_fn_c_check_header_compile () | 1894 ac_fn_c_check_header_compile () |
1884 { | 1895 { |
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1887 $as_echo_n "checking for $2... " >&6; } | 1898 $as_echo_n "checking for $2... " >&6; } |
1888 if eval "test \"\${$3+set}\"" = set; then : | 1899 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1889 $as_echo_n "(cached) " >&6 | 1900 $as_echo_n "(cached) " >&6 |
1890 else | 1901 else |
1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1892 /* end confdefs.h. */ | 1903 /* end confdefs.h. */ |
1893 $4 | 1904 $4 |
1905 $as_echo "$ac_res" >&6; } | 1916 $as_echo "$ac_res" >&6; } |
1906 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | 1917 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
1907 | 1918 |
1908 } # ac_fn_c_check_header_compile | 1919 } # ac_fn_c_check_header_compile |
1909 | 1920 |
1910 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES | 1921 # ac_fn_c_check_decl LINENO SYMBOL VAR |
1911 # --------------------------------------------- | 1922 # ------------------------------------ |
1912 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR | 1923 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. |
1913 # accordingly. | |
1914 ac_fn_c_check_decl () | 1924 ac_fn_c_check_decl () |
1915 { | 1925 { |
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1917 as_decl_name=`echo $2|sed 's/ *(.*//'` | 1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 |
1918 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` | 1928 $as_echo_n "checking whether $2 is declared... " >&6; } |
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 | 1929 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1920 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } | |
1921 if eval "test \"\${$3+set}\"" = set; then : | |
1922 $as_echo_n "(cached) " >&6 | 1930 $as_echo_n "(cached) " >&6 |
1923 else | 1931 else |
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1925 /* end confdefs.h. */ | 1933 /* end confdefs.h. */ |
1926 $4 | 1934 $4 |
1927 int | 1935 int |
1928 main () | 1936 main () |
1929 { | 1937 { |
1930 #ifndef $as_decl_name | 1938 #ifndef $2 |
1931 #ifdef __cplusplus | 1939 (void) $2; |
1932 (void) $as_decl_use; | |
1933 #else | |
1934 (void) $as_decl_name; | |
1935 #endif | |
1936 #endif | 1940 #endif |
1937 | 1941 |
1938 ; | 1942 ; |
1939 return 0; | 1943 return 0; |
1940 } | 1944 } |
1959 ac_fn_c_check_header_preproc () | 1963 ac_fn_c_check_header_preproc () |
1960 { | 1964 { |
1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1965 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1963 $as_echo_n "checking for $2... " >&6; } | 1967 $as_echo_n "checking for $2... " >&6; } |
1964 if eval "test \"\${$3+set}\"" = set; then : | 1968 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
1965 $as_echo_n "(cached) " >&6 | 1969 $as_echo_n "(cached) " >&6 |
1966 else | 1970 else |
1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1968 /* end confdefs.h. */ | 1972 /* end confdefs.h. */ |
1969 #include <$2> | 1973 #include <$2> |
1989 ac_fn_c_check_member () | 1993 ac_fn_c_check_member () |
1990 { | 1994 { |
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 | 1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 |
1993 $as_echo_n "checking for $2.$3... " >&6; } | 1997 $as_echo_n "checking for $2.$3... " >&6; } |
1994 if eval "test \"\${$4+set}\"" = set; then : | 1998 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : |
1995 $as_echo_n "(cached) " >&6 | 1999 $as_echo_n "(cached) " >&6 |
1996 else | 2000 else |
1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1998 /* end confdefs.h. */ | 2002 /* end confdefs.h. */ |
1999 $5 | 2003 $5 |
2045 ac_fn_c_check_func () | 2049 ac_fn_c_check_func () |
2046 { | 2050 { |
2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2051 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 2052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2049 $as_echo_n "checking for $2... " >&6; } | 2053 $as_echo_n "checking for $2... " >&6; } |
2050 if eval "test \"\${$3+set}\"" = set; then : | 2054 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2051 $as_echo_n "(cached) " >&6 | 2055 $as_echo_n "(cached) " >&6 |
2052 else | 2056 else |
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2054 /* end confdefs.h. */ | 2058 /* end confdefs.h. */ |
2055 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | 2059 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
2113 ac_fn_c_check_type () | 2117 ac_fn_c_check_type () |
2114 { | 2118 { |
2115 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 2119 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
2117 $as_echo_n "checking for $2... " >&6; } | 2121 $as_echo_n "checking for $2... " >&6; } |
2118 if eval "test \"\${$3+set}\"" = set; then : | 2122 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : |
2119 $as_echo_n "(cached) " >&6 | 2123 $as_echo_n "(cached) " >&6 |
2120 else | 2124 else |
2121 eval "$3=no" | 2125 eval "$3=no" |
2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 2126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
2123 /* end confdefs.h. */ | 2127 /* end confdefs.h. */ |
2162 cat >config.log <<_ACEOF | 2166 cat >config.log <<_ACEOF |
2163 This file contains any messages produced by compilers while | 2167 This file contains any messages produced by compilers while |
2164 running configure, to aid debugging if configure makes a mistake. | 2168 running configure, to aid debugging if configure makes a mistake. |
2165 | 2169 |
2166 It was created by emacs $as_me 24.0.50, which was | 2170 It was created by emacs $as_me 24.0.50, which was |
2167 generated by GNU Autoconf 2.66. Invocation command line was | 2171 generated by GNU Autoconf 2.65. Invocation command line was |
2168 | 2172 |
2169 $ $0 $@ | 2173 $ $0 $@ |
2170 | 2174 |
2171 _ACEOF | 2175 _ACEOF |
2172 exec 5>>config.log | 2176 exec 5>>config.log |
2272 trap 'exit_status=$? | 2276 trap 'exit_status=$? |
2273 # Save into config.log some information that might help in debugging. | 2277 # Save into config.log some information that might help in debugging. |
2274 { | 2278 { |
2275 echo | 2279 echo |
2276 | 2280 |
2277 $as_echo "## ---------------- ## | 2281 cat <<\_ASBOX |
2282 ## ---------------- ## | |
2278 ## Cache variables. ## | 2283 ## Cache variables. ## |
2279 ## ---------------- ##" | 2284 ## ---------------- ## |
2285 _ASBOX | |
2280 echo | 2286 echo |
2281 # The following way of writing the cache mishandles newlines in values, | 2287 # The following way of writing the cache mishandles newlines in values, |
2282 ( | 2288 ( |
2283 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 2289 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
2284 eval ac_val=\$$ac_var | 2290 eval ac_val=\$$ac_var |
2308 esac | | 2314 esac | |
2309 sort | 2315 sort |
2310 ) | 2316 ) |
2311 echo | 2317 echo |
2312 | 2318 |
2313 $as_echo "## ----------------- ## | 2319 cat <<\_ASBOX |
2320 ## ----------------- ## | |
2314 ## Output variables. ## | 2321 ## Output variables. ## |
2315 ## ----------------- ##" | 2322 ## ----------------- ## |
2323 _ASBOX | |
2316 echo | 2324 echo |
2317 for ac_var in $ac_subst_vars | 2325 for ac_var in $ac_subst_vars |
2318 do | 2326 do |
2319 eval ac_val=\$$ac_var | 2327 eval ac_val=\$$ac_var |
2320 case $ac_val in | 2328 case $ac_val in |
2323 $as_echo "$ac_var='\''$ac_val'\''" | 2331 $as_echo "$ac_var='\''$ac_val'\''" |
2324 done | sort | 2332 done | sort |
2325 echo | 2333 echo |
2326 | 2334 |
2327 if test -n "$ac_subst_files"; then | 2335 if test -n "$ac_subst_files"; then |
2328 $as_echo "## ------------------- ## | 2336 cat <<\_ASBOX |
2337 ## ------------------- ## | |
2329 ## File substitutions. ## | 2338 ## File substitutions. ## |
2330 ## ------------------- ##" | 2339 ## ------------------- ## |
2340 _ASBOX | |
2331 echo | 2341 echo |
2332 for ac_var in $ac_subst_files | 2342 for ac_var in $ac_subst_files |
2333 do | 2343 do |
2334 eval ac_val=\$$ac_var | 2344 eval ac_val=\$$ac_var |
2335 case $ac_val in | 2345 case $ac_val in |
2339 done | sort | 2349 done | sort |
2340 echo | 2350 echo |
2341 fi | 2351 fi |
2342 | 2352 |
2343 if test -s confdefs.h; then | 2353 if test -s confdefs.h; then |
2344 $as_echo "## ----------- ## | 2354 cat <<\_ASBOX |
2355 ## ----------- ## | |
2345 ## confdefs.h. ## | 2356 ## confdefs.h. ## |
2346 ## ----------- ##" | 2357 ## ----------- ## |
2358 _ASBOX | |
2347 echo | 2359 echo |
2348 cat confdefs.h | 2360 cat confdefs.h |
2349 echo | 2361 echo |
2350 fi | 2362 fi |
2351 test "$ac_signal" != 0 && | 2363 test "$ac_signal" != 0 && |
2396 # Let the site file select an alternate cache file if it wants to. | 2408 # Let the site file select an alternate cache file if it wants to. |
2397 # Prefer an explicitly selected file to automatically selected ones. | 2409 # Prefer an explicitly selected file to automatically selected ones. |
2398 ac_site_file1=NONE | 2410 ac_site_file1=NONE |
2399 ac_site_file2=NONE | 2411 ac_site_file2=NONE |
2400 if test -n "$CONFIG_SITE"; then | 2412 if test -n "$CONFIG_SITE"; then |
2401 # We do not want a PATH search for config.site. | 2413 ac_site_file1=$CONFIG_SITE |
2402 case $CONFIG_SITE in #(( | |
2403 -*) ac_site_file1=./$CONFIG_SITE;; | |
2404 */*) ac_site_file1=$CONFIG_SITE;; | |
2405 *) ac_site_file1=./$CONFIG_SITE;; | |
2406 esac | |
2407 elif test "x$prefix" != xNONE; then | 2414 elif test "x$prefix" != xNONE; then |
2408 ac_site_file1=$prefix/share/config.site | 2415 ac_site_file1=$prefix/share/config.site |
2409 ac_site_file2=$prefix/etc/config.site | 2416 ac_site_file2=$prefix/etc/config.site |
2410 else | 2417 else |
2411 ac_site_file1=$ac_default_prefix/share/config.site | 2418 ac_site_file1=$ac_default_prefix/share/config.site |
2416 test "x$ac_site_file" = xNONE && continue | 2423 test "x$ac_site_file" = xNONE && continue |
2417 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 2424 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 2425 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2419 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2426 $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2420 sed 's/^/| /' "$ac_site_file" >&5 | 2427 sed 's/^/| /' "$ac_site_file" >&5 |
2421 . "$ac_site_file" \ | 2428 . "$ac_site_file" |
2422 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
2423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
2424 as_fn_error $? "failed to load site script $ac_site_file | |
2425 See \`config.log' for more details" "$LINENO" 5; } | |
2426 fi | 2429 fi |
2427 done | 2430 done |
2428 | 2431 |
2429 if test -r "$cache_file"; then | 2432 if test -r "$cache_file"; then |
2430 # Some versions of bash will fail to source /dev/null (special files | 2433 # Some versions of bash will fail to source /dev/null (special files |
2501 if $ac_cache_corrupted; then | 2504 if $ac_cache_corrupted; then |
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 2507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2505 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2508 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2506 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 2509 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2507 fi | 2510 fi |
2508 ## -------------------- ## | 2511 ## -------------------- ## |
2509 ## Main body of script. ## | 2512 ## Main body of script. ## |
2510 ## -------------------- ## | 2513 ## -------------------- ## |
2511 | 2514 |
2675 a | at | ath | athe | athen | athena ) val=athena ;; | 2678 a | at | ath | athe | athen | athena ) val=athena ;; |
2676 m | mo | mot | moti | motif ) val=motif ;; | 2679 m | mo | mot | moti | motif ) val=motif ;; |
2677 g | gt | gtk ) val=gtk ;; | 2680 g | gt | gtk ) val=gtk ;; |
2678 gtk3 ) val=gtk3 ;; | 2681 gtk3 ) val=gtk3 ;; |
2679 * ) | 2682 * ) |
2680 as_fn_error $? "\`--with-x-toolkit=$withval' is invalid; | 2683 as_fn_error "\`--with-x-toolkit=$withval' is invalid; |
2681 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or | 2684 this option's value should be \`yes', \`no', \`lucid', \`athena', \`motif', \`gtk' or |
2682 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 | 2685 \`gtk3'. \`yes' and \`gtk' are synonyms. \`athena' and \`lucid' are synonyms." "$LINENO" 5 |
2683 ;; | 2686 ;; |
2684 esac | 2687 esac |
2685 with_x_toolkit=$val | 2688 with_x_toolkit=$val |
2734 else | 2737 else |
2735 with_rsvg=yes | 2738 with_rsvg=yes |
2736 fi | 2739 fi |
2737 | 2740 |
2738 | 2741 |
2742 # Check whether --with-xml2 was given. | |
2743 if test "${with_xml2+set}" = set; then : | |
2744 withval=$with_xml2; | |
2745 else | |
2746 with_xml2=yes | |
2747 fi | |
2748 | |
2749 | |
2750 # Check whether --with-imagemagick was given. | |
2751 if test "${with_imagemagick+set}" = set; then : | |
2752 withval=$with_imagemagick; | |
2753 else | |
2754 with_imagemagick=yes | |
2755 fi | |
2756 | |
2757 | |
2739 | 2758 |
2740 # Check whether --with-xft was given. | 2759 # Check whether --with-xft was given. |
2741 if test "${with_xft+set}" = set; then : | 2760 if test "${with_xft+set}" = set; then : |
2742 withval=$with_xft; | 2761 withval=$with_xft; |
2743 else | 2762 else |
2822 # Check whether --with-selinux was given. | 2841 # Check whether --with-selinux was given. |
2823 if test "${with_selinux+set}" = set; then : | 2842 if test "${with_selinux+set}" = set; then : |
2824 withval=$with_selinux; | 2843 withval=$with_selinux; |
2825 else | 2844 else |
2826 with_selinux=yes | 2845 with_selinux=yes |
2846 fi | |
2847 | |
2848 | |
2849 # Check whether --with-gnutls was given. | |
2850 if test "${with_gnutls+set}" = set; then : | |
2851 withval=$with_gnutls; | |
2852 else | |
2853 with_gnutls=yes | |
2827 fi | 2854 fi |
2828 | 2855 |
2829 | 2856 |
2830 ## For the times when you want to build Emacs but don't have | 2857 ## For the times when you want to build Emacs but don't have |
2831 ## a suitable makeinfo, and can live without the manuals. | 2858 ## a suitable makeinfo, and can live without the manuals. |
2954 stringbytes) ac_gc_check_stringbytes=1 ;; | 2981 stringbytes) ac_gc_check_stringbytes=1 ;; |
2955 stringoverrun) ac_gc_check_string_overrun=1 ;; | 2982 stringoverrun) ac_gc_check_string_overrun=1 ;; |
2956 stringfreelist) ac_gc_check_string_free_list=1 ;; | 2983 stringfreelist) ac_gc_check_string_free_list=1 ;; |
2957 xmallocoverrun) ac_xmalloc_overrun=1 ;; | 2984 xmallocoverrun) ac_xmalloc_overrun=1 ;; |
2958 conslist) ac_gc_check_cons_list=1 ;; | 2985 conslist) ac_gc_check_cons_list=1 ;; |
2959 *) as_fn_error $? "unknown check category $check" "$LINENO" 5 ;; | 2986 *) as_fn_error "unknown check category $check" "$LINENO" 5 ;; |
2960 esac | 2987 esac |
2961 done | 2988 done |
2962 IFS="$ac_save_IFS" | 2989 IFS="$ac_save_IFS" |
2963 | 2990 |
2964 if test x$ac_enable_checking != x ; then | 2991 if test x$ac_enable_checking != x ; then |
3008 enableval=$enable_profiling; ac_enable_profiling="${enableval}" | 3035 enableval=$enable_profiling; ac_enable_profiling="${enableval}" |
3009 fi | 3036 fi |
3010 | 3037 |
3011 if test x$ac_enable_profiling != x ; then | 3038 if test x$ac_enable_profiling != x ; then |
3012 PROFILING_CFLAGS="-DPROFILING=1 -pg" | 3039 PROFILING_CFLAGS="-DPROFILING=1 -pg" |
3013 PROFILING_LDFLAGS="-pg" | |
3014 else | 3040 else |
3015 PROFILING_CFLAGS= | 3041 PROFILING_CFLAGS= |
3016 PROFILING_LDFLAGS= | 3042 fi |
3017 fi | |
3018 | |
3019 | 3043 |
3020 | 3044 |
3021 # Check whether --enable-autodepend was given. | 3045 # Check whether --enable-autodepend was given. |
3022 if test "${enable_autodepend+set}" = set; then : | 3046 if test "${enable_autodepend+set}" = set; then : |
3023 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" | 3047 enableval=$enable_autodepend; ac_enable_autodepend="${enableval}" |
3072 | 3096 |
3073 ### Canonicalize the configuration name. | 3097 ### Canonicalize the configuration name. |
3074 | 3098 |
3075 ac_aux_dir= | 3099 ac_aux_dir= |
3076 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 3100 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
3077 if test -f "$ac_dir/install-sh"; then | 3101 for ac_t in install-sh install.sh shtool; do |
3078 ac_aux_dir=$ac_dir | 3102 if test -f "$ac_dir/$ac_t"; then |
3079 ac_install_sh="$ac_aux_dir/install-sh -c" | 3103 ac_aux_dir=$ac_dir |
3080 break | 3104 ac_install_sh="$ac_aux_dir/$ac_t -c" |
3081 elif test -f "$ac_dir/install.sh"; then | 3105 break 2 |
3082 ac_aux_dir=$ac_dir | 3106 fi |
3083 ac_install_sh="$ac_aux_dir/install.sh -c" | 3107 done |
3084 break | |
3085 elif test -f "$ac_dir/shtool"; then | |
3086 ac_aux_dir=$ac_dir | |
3087 ac_install_sh="$ac_aux_dir/shtool install -c" | |
3088 break | |
3089 fi | |
3090 done | 3108 done |
3091 if test -z "$ac_aux_dir"; then | 3109 if test -z "$ac_aux_dir"; then |
3092 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 3110 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
3093 fi | 3111 fi |
3094 | 3112 |
3095 # These three variables are undocumented and unsupported, | 3113 # These three variables are undocumented and unsupported, |
3096 # and are intended to be withdrawn in a future Autoconf release. | 3114 # and are intended to be withdrawn in a future Autoconf release. |
3097 # They can cause serious problems if a builder's source tree is in a directory | 3115 # They can cause serious problems if a builder's source tree is in a directory |
3101 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | 3119 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
3102 | 3120 |
3103 | 3121 |
3104 # Make sure we can run config.sub. | 3122 # Make sure we can run config.sub. |
3105 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 3123 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3106 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 3124 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
3107 | 3125 |
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
3109 $as_echo_n "checking build system type... " >&6; } | 3127 $as_echo_n "checking build system type... " >&6; } |
3110 if test "${ac_cv_build+set}" = set; then : | 3128 if test "${ac_cv_build+set}" = set; then : |
3111 $as_echo_n "(cached) " >&6 | 3129 $as_echo_n "(cached) " >&6 |
3112 else | 3130 else |
3113 ac_build_alias=$build_alias | 3131 ac_build_alias=$build_alias |
3114 test "x$ac_build_alias" = x && | 3132 test "x$ac_build_alias" = x && |
3115 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 3133 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3116 test "x$ac_build_alias" = x && | 3134 test "x$ac_build_alias" = x && |
3117 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | 3135 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 |
3118 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 3136 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3119 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 3137 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
3120 | 3138 |
3121 fi | 3139 fi |
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 3140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
3123 $as_echo "$ac_cv_build" >&6; } | 3141 $as_echo "$ac_cv_build" >&6; } |
3124 case $ac_cv_build in | 3142 case $ac_cv_build in |
3125 *-*-*) ;; | 3143 *-*-*) ;; |
3126 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | 3144 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; |
3127 esac | 3145 esac |
3128 build=$ac_cv_build | 3146 build=$ac_cv_build |
3129 ac_save_IFS=$IFS; IFS='-' | 3147 ac_save_IFS=$IFS; IFS='-' |
3130 set x $ac_cv_build | 3148 set x $ac_cv_build |
3131 shift | 3149 shift |
3146 else | 3164 else |
3147 if test "x$host_alias" = x; then | 3165 if test "x$host_alias" = x; then |
3148 ac_cv_host=$ac_cv_build | 3166 ac_cv_host=$ac_cv_build |
3149 else | 3167 else |
3150 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 3168 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3151 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 3169 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
3152 fi | 3170 fi |
3153 | 3171 |
3154 fi | 3172 fi |
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
3156 $as_echo "$ac_cv_host" >&6; } | 3174 $as_echo "$ac_cv_host" >&6; } |
3157 case $ac_cv_host in | 3175 case $ac_cv_host in |
3158 *-*-*) ;; | 3176 *-*-*) ;; |
3159 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | 3177 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; |
3160 esac | 3178 esac |
3161 host=$ac_cv_host | 3179 host=$ac_cv_host |
3162 ac_save_IFS=$IFS; IFS='-' | 3180 ac_save_IFS=$IFS; IFS='-' |
3163 set x $ac_cv_host | 3181 set x $ac_cv_host |
3164 shift | 3182 shift |
3448 fi | 3466 fi |
3449 | 3467 |
3450 | 3468 |
3451 | 3469 |
3452 if test $unported = yes; then | 3470 if test $unported = yes; then |
3453 as_fn_error $? "Emacs hasn't been ported to \`${canonical}' systems. | 3471 as_fn_error "Emacs hasn't been ported to \`${canonical}' systems. |
3454 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 | 3472 Check \`etc/MACHINES' for recognized configuration names." "$LINENO" 5 |
3455 fi | 3473 fi |
3456 | 3474 |
3457 machfile="m/${machine}.h" | 3475 machfile="m/${machine}.h" |
3458 opsysfile="s/${opsys}.h" | 3476 opsysfile="s/${opsys}.h" |
3762 fi | 3780 fi |
3763 | 3781 |
3764 | 3782 |
3765 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3783 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3767 as_fn_error $? "no acceptable C compiler found in \$PATH | 3785 as_fn_error "no acceptable C compiler found in \$PATH |
3768 See \`config.log' for more details" "$LINENO" 5; } | 3786 See \`config.log' for more details." "$LINENO" 5; } |
3769 | 3787 |
3770 # Provide some information about the compiler. | 3788 # Provide some information about the compiler. |
3771 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 3789 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3772 set X $ac_compile | 3790 set X $ac_compile |
3773 ac_compiler=$2 | 3791 ac_compiler=$2 |
3877 $as_echo "$as_me: failed program was:" >&5 | 3895 $as_echo "$as_me: failed program was:" >&5 |
3878 sed 's/^/| /' conftest.$ac_ext >&5 | 3896 sed 's/^/| /' conftest.$ac_ext >&5 |
3879 | 3897 |
3880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3882 as_fn_error 77 "C compiler cannot create executables | 3900 { as_fn_set_status 77 |
3883 See \`config.log' for more details" "$LINENO" 5; } | 3901 as_fn_error "C compiler cannot create executables |
3902 See \`config.log' for more details." "$LINENO" 5; }; } | |
3884 else | 3903 else |
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3886 $as_echo "yes" >&6; } | 3905 $as_echo "yes" >&6; } |
3887 fi | 3906 fi |
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3920 esac | 3939 esac |
3921 done | 3940 done |
3922 else | 3941 else |
3923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3942 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3925 as_fn_error $? "cannot compute suffix of executables: cannot compile and link | 3944 as_fn_error "cannot compute suffix of executables: cannot compile and link |
3926 See \`config.log' for more details" "$LINENO" 5; } | 3945 See \`config.log' for more details." "$LINENO" 5; } |
3927 fi | 3946 fi |
3928 rm -f conftest conftest$ac_cv_exeext | 3947 rm -f conftest conftest$ac_cv_exeext |
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3930 $as_echo "$ac_cv_exeext" >&6; } | 3949 $as_echo "$ac_cv_exeext" >&6; } |
3931 | 3950 |
3978 if test "$cross_compiling" = maybe; then | 3997 if test "$cross_compiling" = maybe; then |
3979 cross_compiling=yes | 3998 cross_compiling=yes |
3980 else | 3999 else |
3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3983 as_fn_error $? "cannot run C compiled programs. | 4002 as_fn_error "cannot run C compiled programs. |
3984 If you meant to cross compile, use \`--host'. | 4003 If you meant to cross compile, use \`--host'. |
3985 See \`config.log' for more details" "$LINENO" 5; } | 4004 See \`config.log' for more details." "$LINENO" 5; } |
3986 fi | 4005 fi |
3987 fi | 4006 fi |
3988 fi | 4007 fi |
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3990 $as_echo "$cross_compiling" >&6; } | 4009 $as_echo "$cross_compiling" >&6; } |
4031 $as_echo "$as_me: failed program was:" >&5 | 4050 $as_echo "$as_me: failed program was:" >&5 |
4032 sed 's/^/| /' conftest.$ac_ext >&5 | 4051 sed 's/^/| /' conftest.$ac_ext >&5 |
4033 | 4052 |
4034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4036 as_fn_error $? "cannot compute suffix of object files: cannot compile | 4055 as_fn_error "cannot compute suffix of object files: cannot compile |
4037 See \`config.log' for more details" "$LINENO" 5; } | 4056 See \`config.log' for more details." "$LINENO" 5; } |
4038 fi | 4057 fi |
4039 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 4058 rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4040 fi | 4059 fi |
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
4042 $as_echo "$ac_cv_objext" >&6; } | 4061 $as_echo "$ac_cv_objext" >&6; } |
4449 if $ac_preproc_ok; then : | 4468 if $ac_preproc_ok; then : |
4450 | 4469 |
4451 else | 4470 else |
4452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4454 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 4473 as_fn_error "C preprocessor \"$CPP\" fails sanity check |
4455 See \`config.log' for more details" "$LINENO" 5; } | 4474 See \`config.log' for more details." "$LINENO" 5; } |
4456 fi | 4475 fi |
4457 | 4476 |
4458 ac_ext=c | 4477 ac_ext=c |
4459 ac_cpp='$CPP $CPPFLAGS' | 4478 ac_cpp='$CPP $CPPFLAGS' |
4460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4511 done | 4530 done |
4512 done | 4531 done |
4513 done | 4532 done |
4514 IFS=$as_save_IFS | 4533 IFS=$as_save_IFS |
4515 if test -z "$ac_cv_path_GREP"; then | 4534 if test -z "$ac_cv_path_GREP"; then |
4516 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4535 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4517 fi | 4536 fi |
4518 else | 4537 else |
4519 ac_cv_path_GREP=$GREP | 4538 ac_cv_path_GREP=$GREP |
4520 fi | 4539 fi |
4521 | 4540 |
4577 done | 4596 done |
4578 done | 4597 done |
4579 done | 4598 done |
4580 IFS=$as_save_IFS | 4599 IFS=$as_save_IFS |
4581 if test -z "$ac_cv_path_EGREP"; then | 4600 if test -z "$ac_cv_path_EGREP"; then |
4582 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4601 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4583 fi | 4602 fi |
4584 else | 4603 else |
4585 ac_cv_path_EGREP=$EGREP | 4604 ac_cv_path_EGREP=$EGREP |
4586 fi | 4605 fi |
4587 | 4606 |
4709 inttypes.h stdint.h unistd.h | 4728 inttypes.h stdint.h unistd.h |
4710 do : | 4729 do : |
4711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4730 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4712 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4731 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4713 " | 4732 " |
4714 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4733 eval as_val=\$$as_ac_Header |
4734 if test "x$as_val" = x""yes; then : | |
4715 cat >>confdefs.h <<_ACEOF | 4735 cat >>confdefs.h <<_ACEOF |
4716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4717 _ACEOF | 4737 _ACEOF |
4718 | 4738 |
4719 fi | 4739 fi |
5038 if $ac_preproc_ok; then : | 5058 if $ac_preproc_ok; then : |
5039 | 5059 |
5040 else | 5060 else |
5041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 5061 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 5062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5043 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 5063 as_fn_error "C preprocessor \"$CPP\" fails sanity check |
5044 See \`config.log' for more details" "$LINENO" 5; } | 5064 See \`config.log' for more details." "$LINENO" 5; } |
5045 fi | 5065 fi |
5046 | 5066 |
5047 ac_ext=c | 5067 ac_ext=c |
5048 ac_cpp='$CPP $CPPFLAGS' | 5068 ac_cpp='$CPP $CPPFLAGS' |
5049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5476 ## with pre-built manuals, from a Bazaar checkout. | 5496 ## with pre-built manuals, from a Bazaar checkout. |
5477 if test "$MAKEINFO" = "no"; then | 5497 if test "$MAKEINFO" = "no"; then |
5478 if test "x${with_makeinfo}" = "xno"; then | 5498 if test "x${with_makeinfo}" = "xno"; then |
5479 MAKEINFO=off | 5499 MAKEINFO=off |
5480 elif test ! -e $srcdir/info/emacs; then | 5500 elif test ! -e $srcdir/info/emacs; then |
5481 as_fn_error $? "You do not seem to have makeinfo >= 4.6, and your | 5501 as_fn_error "You do not seem to have makeinfo >= 4.6, and your |
5482 source tree does not seem to have pre-built manuals in the \`info' directory. | 5502 source tree does not seem to have pre-built manuals in the \`info' directory. |
5483 Either install a suitable version of makeinfo, or re-run configure | 5503 Either install a suitable version of makeinfo, or re-run configure |
5484 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 | 5504 with the \`--without-makeinfo' option to build without the manuals. " "$LINENO" 5 |
5485 fi | 5505 fi |
5486 fi | 5506 fi |
5630 ## GNU libc, __malloc_initialized would normally be resolved to the | 5650 ## GNU libc, __malloc_initialized would normally be resolved to the |
5631 ## shared library's .bss section, which is fatal. | 5651 ## shared library's .bss section, which is fatal. |
5632 if test "x$GCC" = "xyes"; then | 5652 if test "x$GCC" = "xyes"; then |
5633 C_SWITCH_MACHINE="-fno-common" | 5653 C_SWITCH_MACHINE="-fno-common" |
5634 else | 5654 else |
5635 as_fn_error $? "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 | 5655 as_fn_error "What gives? Fix me if DEC Unix supports ELF now." "$LINENO" 5 |
5636 fi | 5656 fi |
5637 else | 5657 else |
5638 UNEXEC_OBJ=unexalpha.o | 5658 UNEXEC_OBJ=unexalpha.o |
5639 fi | 5659 fi |
5640 fi | 5660 fi |
5908 else | 5928 else |
5909 | 5929 |
5910 ## Some platforms don't use any of these files, so it is not | 5930 ## Some platforms don't use any of these files, so it is not |
5911 ## appropriate to put this test outside the if block. | 5931 ## appropriate to put this test outside the if block. |
5912 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ | 5932 test -e $CRT_DIR/crtn.o || test -e $CRT_DIR/crt0.o || \ |
5913 as_fn_error $? "crt*.o not found in specified location." "$LINENO" 5 | 5933 as_fn_error "crt*.o not found in specified location." "$LINENO" 5 |
5914 | 5934 |
5915 fi | 5935 fi |
5916 | 5936 |
5917 | 5937 |
5918 | 5938 |
5963 # Sound support for GNU/Linux and the free BSDs. | 5983 # Sound support for GNU/Linux and the free BSDs. |
5964 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h | 5984 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h |
5965 do : | 5985 do : |
5966 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5967 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 5987 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
5968 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5988 eval as_val=\$$as_ac_Header |
5989 if test "x$as_val" = x""yes; then : | |
5969 cat >>confdefs.h <<_ACEOF | 5990 cat >>confdefs.h <<_ACEOF |
5970 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5971 _ACEOF | 5992 _ACEOF |
5972 have_sound_header=yes | 5993 have_sound_header=yes |
5973 fi | 5994 fi |
6154 else | 6175 else |
6155 emacs_alsa_subdir=no | 6176 emacs_alsa_subdir=no |
6156 fi | 6177 fi |
6157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 6178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
6158 if test "$emacs_alsa_subdir" != yes; then | 6179 if test "$emacs_alsa_subdir" != yes; then |
6159 as_fn_error $? "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 | 6180 as_fn_error "pkg-config found alsa, but it does not compile. See config.log for error messages." "$LINENO" 5 |
6160 fi | 6181 fi |
6161 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" | 6182 ALSA_CFLAGS="$ALSA_CFLAGS -DALSA_SUBDIR_INCLUDE" |
6162 fi | 6183 fi |
6163 | 6184 |
6164 CFLAGS="$SAVE_CFLAGS" | 6185 CFLAGS="$SAVE_CFLAGS" |
6189 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ | 6210 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ |
6190 sys/utsname.h pwd.h utmp.h dirent.h util.h | 6211 sys/utsname.h pwd.h utmp.h dirent.h util.h |
6191 do : | 6212 do : |
6192 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 6213 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
6193 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 6214 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
6194 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 6215 eval as_val=\$$as_ac_Header |
6216 if test "x$as_val" = x""yes; then : | |
6195 cat >>confdefs.h <<_ACEOF | 6217 cat >>confdefs.h <<_ACEOF |
6196 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 6218 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
6197 _ACEOF | 6219 _ACEOF |
6198 | 6220 |
6199 fi | 6221 fi |
7244 | 7266 |
7245 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h | 7267 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h |
7246 | 7268 |
7247 ;; #( | 7269 ;; #( |
7248 *) | 7270 *) |
7249 as_fn_error $? "unknown endianness | 7271 as_fn_error "unknown endianness |
7250 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; | 7272 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; |
7251 esac | 7273 esac |
7252 | 7274 |
7253 | 7275 |
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
7255 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 7277 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
7256 set x ${MAKE-make} | 7278 set x ${MAKE-make} |
7257 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 7279 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
7258 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then : | 7280 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : |
7259 $as_echo_n "(cached) " >&6 | 7281 $as_echo_n "(cached) " >&6 |
7260 else | 7282 else |
7261 cat >conftest.make <<\_ACEOF | 7283 cat >conftest.make <<\_ACEOF |
7262 SHELL = /bin/sh | 7284 SHELL = /bin/sh |
7263 all: | 7285 all: |
7264 @echo '@@@%%%=$(MAKE)=@@@%%%' | 7286 @echo '@@@%%%=$(MAKE)=@@@%%%' |
7265 _ACEOF | 7287 _ACEOF |
7266 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | 7288 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
7267 case `${MAKE-make} -f conftest.make 2>/dev/null` in | 7289 case `${MAKE-make} -f conftest.make 2>/dev/null` in |
7268 *@@@%%%=?*=@@@%%%*) | 7290 *@@@%%%=?*=@@@%%%*) |
7269 eval ac_cv_prog_make_${ac_make}_set=yes;; | 7291 eval ac_cv_prog_make_${ac_make}_set=yes;; |
7270 *) | 7292 *) |
7271 eval ac_cv_prog_make_${ac_make}_set=no;; | 7293 eval ac_cv_prog_make_${ac_make}_set=no;; |
7397 if test "x$with_x" = xno; then | 7419 if test "x$with_x" = xno; then |
7398 # The user explicitly disabled X. | 7420 # The user explicitly disabled X. |
7399 have_x=disabled | 7421 have_x=disabled |
7400 else | 7422 else |
7401 case $x_includes,$x_libraries in #( | 7423 case $x_includes,$x_libraries in #( |
7402 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( | 7424 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( |
7403 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : | 7425 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : |
7404 $as_echo_n "(cached) " >&6 | 7426 $as_echo_n "(cached) " >&6 |
7405 else | 7427 else |
7406 # One or both of the vars are not set, and there is no cached value. | 7428 # One or both of the vars are not set, and there is no cached value. |
7407 ac_x_includes=no ac_x_libraries=no | 7429 ac_x_includes=no ac_x_libraries=no |
7415 @echo usrlibdir='${USRLIBDIR}' | 7437 @echo usrlibdir='${USRLIBDIR}' |
7416 libdir: | 7438 libdir: |
7417 @echo libdir='${LIBDIR}' | 7439 @echo libdir='${LIBDIR}' |
7418 _ACEOF | 7440 _ACEOF |
7419 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then | 7441 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then |
7420 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | 7442 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
7421 for ac_var in incroot usrlibdir libdir; do | 7443 for ac_var in incroot usrlibdir libdir; do |
7422 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" | 7444 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" |
7423 done | 7445 done |
7424 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. | 7446 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
7425 for ac_extension in a so sl dylib la dll; do | 7447 for ac_extension in a so sl dylib la dll; do |
7651 NS_IMPL_GNUSTEP=no | 7673 NS_IMPL_GNUSTEP=no |
7652 tmp_CPPFLAGS="$CPPFLAGS" | 7674 tmp_CPPFLAGS="$CPPFLAGS" |
7653 tmp_CFLAGS="$CFLAGS" | 7675 tmp_CFLAGS="$CFLAGS" |
7654 CPPFLAGS="$CPPFLAGS -x objective-c" | 7676 CPPFLAGS="$CPPFLAGS -x objective-c" |
7655 CFLAGS="$CFLAGS -x objective-c" | 7677 CFLAGS="$CFLAGS -x objective-c" |
7656 TEMACS_LDFLAGS2="\${LDFLAGS} \${PROFILING_LDFLAGS}" | 7678 TEMACS_LDFLAGS2="\${LDFLAGS}" |
7657 if test "${with_ns}" != no; then | 7679 if test "${with_ns}" != no; then |
7658 if test "${opsys}" = darwin; then | 7680 if test "${opsys}" = darwin; then |
7659 NS_IMPL_COCOA=yes | 7681 NS_IMPL_COCOA=yes |
7660 ns_appdir=`pwd`/nextstep/Emacs.app/ | 7682 ns_appdir=`pwd`/nextstep/Emacs.app/ |
7661 ns_appbindir=${ns_appdir}Contents/MacOS/ | 7683 ns_appbindir=${ns_appdir}Contents/MacOS/ |
7684 fi | 7706 fi |
7685 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" | 7707 ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" |
7686 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : | 7708 if test "x$ac_cv_header_AppKit_AppKit_h" = x""yes; then : |
7687 HAVE_NS=yes | 7709 HAVE_NS=yes |
7688 else | 7710 else |
7689 as_fn_error $? "\`--with-ns' was specified, but the include | 7711 as_fn_error "\`--with-ns' was specified, but the include |
7690 files are missing or cannot be compiled." "$LINENO" 5 | 7712 files are missing or cannot be compiled." "$LINENO" 5 |
7691 fi | 7713 fi |
7692 | 7714 |
7693 | 7715 |
7694 NS_HAVE_NSINTEGER=yes | 7716 NS_HAVE_NSINTEGER=yes |
7800 | 7822 |
7801 | 7823 |
7802 if test "$HAVE_XSERVER" = true || | 7824 if test "$HAVE_XSERVER" = true || |
7803 test -n "$DISPLAY" || | 7825 test -n "$DISPLAY" || |
7804 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then | 7826 test "`echo /usr/lib/libX11.*`" != "/usr/lib/libX11.*"; then |
7805 as_fn_error $? "You seem to be running X, but no X development libraries | 7827 as_fn_error "You seem to be running X, but no X development libraries |
7806 were found. You should install the relevant development files for X | 7828 were found. You should install the relevant development files for X |
7807 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make | 7829 and for the toolkit you want, such as Gtk+, Lesstif or Motif. Also make |
7808 sure you have development files for image handling, i.e. | 7830 sure you have development files for image handling, i.e. |
7809 tiff, gif, jpeg, png and xpm. | 7831 tiff, gif, jpeg, png and xpm. |
7810 If you are sure you want Emacs compiled without X window support, pass | 7832 If you are sure you want Emacs compiled without X window support, pass |
7923 for ac_header in $ac_header_list | 7945 for ac_header in $ac_header_list |
7924 do : | 7946 do : |
7925 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 7947 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7926 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 7948 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
7927 " | 7949 " |
7928 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 7950 eval as_val=\$$as_ac_Header |
7951 if test "x$as_val" = x""yes; then : | |
7929 cat >>confdefs.h <<_ACEOF | 7952 cat >>confdefs.h <<_ACEOF |
7930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 7953 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
7931 _ACEOF | 7954 _ACEOF |
7932 | 7955 |
7933 fi | 7956 fi |
8029 | 8052 |
8030 int | 8053 int |
8031 main () | 8054 main () |
8032 { | 8055 { |
8033 char *data, *data2, *data3; | 8056 char *data, *data2, *data3; |
8034 const char *cdata2; | |
8035 int i, pagesize; | 8057 int i, pagesize; |
8036 int fd, fd2; | 8058 int fd, fd2; |
8037 | 8059 |
8038 pagesize = getpagesize (); | 8060 pagesize = getpagesize (); |
8039 | 8061 |
8054 /* Next, check that the tail of a page is zero-filled. File must have | 8076 /* Next, check that the tail of a page is zero-filled. File must have |
8055 non-zero length, otherwise we risk SIGBUS for entire page. */ | 8077 non-zero length, otherwise we risk SIGBUS for entire page. */ |
8056 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); | 8078 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600); |
8057 if (fd2 < 0) | 8079 if (fd2 < 0) |
8058 return 4; | 8080 return 4; |
8059 cdata2 = ""; | 8081 data2 = ""; |
8060 if (write (fd2, cdata2, 1) != 1) | 8082 if (write (fd2, data2, 1) != 1) |
8061 return 5; | 8083 return 5; |
8062 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); | 8084 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L); |
8063 if (data2 == MAP_FAILED) | 8085 if (data2 == MAP_FAILED) |
8064 return 6; | 8086 return 6; |
8065 for (i = 0; i < pagesize; ++i) | 8087 for (i = 0; i < pagesize; ++i) |
8066 if (*(data2 + i)) | 8088 if (*(data2 + i)) |
8067 return 7; | 8089 return 7; |
8430 for ac_func in XrmSetDatabase XScreenResourceString \ | 8452 for ac_func in XrmSetDatabase XScreenResourceString \ |
8431 XScreenNumberOfScreen XSetWMProtocols | 8453 XScreenNumberOfScreen XSetWMProtocols |
8432 do : | 8454 do : |
8433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 8455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 8456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
8435 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 8457 eval as_val=\$$as_ac_var |
8458 if test "x$as_val" = x""yes; then : | |
8436 cat >>confdefs.h <<_ACEOF | 8459 cat >>confdefs.h <<_ACEOF |
8437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 8460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8438 _ACEOF | 8461 _ACEOF |
8439 | 8462 |
8440 fi | 8463 fi |
8590 echo "*** See http://www.freedesktop.org/software/pkgconfig" | 8613 echo "*** See http://www.freedesktop.org/software/pkgconfig" |
8591 fi | 8614 fi |
8592 fi | 8615 fi |
8593 | 8616 |
8594 if test $succeeded = yes; then | 8617 if test $succeeded = yes; then |
8595 : | 8618 HAVE_RSVG=yes |
8596 else | 8619 else |
8597 : | 8620 : |
8598 fi | 8621 fi |
8599 | 8622 |
8600 | 8623 |
8601 | 8624 |
8602 | 8625 |
8603 if test ".${RSVG_CFLAGS}" != "."; then | 8626 if test $HAVE_RSVG = yes; then |
8604 HAVE_RSVG=yes | |
8605 | 8627 |
8606 $as_echo "#define HAVE_RSVG 1" >>confdefs.h | 8628 $as_echo "#define HAVE_RSVG 1" >>confdefs.h |
8607 | 8629 |
8608 CFLAGS="$CFLAGS $RSVG_CFLAGS" | 8630 CFLAGS="$CFLAGS $RSVG_CFLAGS" |
8609 LIBS="$RSVG_LIBS $LIBS" | 8631 LIBS="$RSVG_LIBS $LIBS" |
8610 fi | 8632 fi |
8611 fi | 8633 fi |
8612 fi | 8634 fi |
8613 | 8635 |
8614 | 8636 HAVE_IMAGEMAGICK=no |
8615 HAVE_GTK=no | 8637 if test "${HAVE_X11}" = "yes"; then |
8616 if test "${with_gtk3}" = "yes"; then | 8638 if test "${with_imagemagick}" != "no"; then |
8617 GLIB_REQUIRED=2.6 | 8639 IMAGEMAGICK_MODULE="Wand" |
8618 GTK_REQUIRED=2.90 | |
8619 GTK_MODULES="gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED" | |
8620 | |
8621 | 8640 |
8622 succeeded=no | 8641 succeeded=no |
8623 | 8642 |
8624 # Extract the first word of "pkg-config", so it can be a program name with args. | 8643 # Extract the first word of "pkg-config", so it can be a program name with args. |
8625 set dummy pkg-config; ac_word=$2 | 8644 set dummy pkg-config; ac_word=$2 |
8662 fi | 8681 fi |
8663 | 8682 |
8664 | 8683 |
8665 | 8684 |
8666 if test "$PKG_CONFIG" = "no" ; then | 8685 if test "$PKG_CONFIG" = "no" ; then |
8667 pkg_check_gtk=no | 8686 : |
8668 else | 8687 else |
8669 PKG_CONFIG_MIN_VERSION=0.9.0 | 8688 PKG_CONFIG_MIN_VERSION=0.9.0 |
8670 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | 8689 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then |
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5 | 8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $IMAGEMAGICK_MODULE" >&5 |
8672 $as_echo_n "checking for $GTK_MODULES... " >&6; } | 8691 $as_echo_n "checking for $IMAGEMAGICK_MODULE... " >&6; } |
8673 | 8692 |
8674 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then | 8693 if $PKG_CONFIG --exists "$IMAGEMAGICK_MODULE" 2>&5; then |
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
8676 $as_echo "yes" >&6; } | 8695 $as_echo "yes" >&6; } |
8677 succeeded=yes | 8696 succeeded=yes |
8678 | 8697 |
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5 | 8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking IMAGEMAGICK_CFLAGS" >&5 |
8680 $as_echo_n "checking GTK_CFLAGS... " >&6; } | 8699 $as_echo_n "checking IMAGEMAGICK_CFLAGS... " >&6; } |
8681 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` | 8700 IMAGEMAGICK_CFLAGS=`$PKG_CONFIG --cflags "$IMAGEMAGICK_MODULE"|sed -e 's,///*,/,g'` |
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5 | 8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_CFLAGS" >&5 |
8683 $as_echo "$GTK_CFLAGS" >&6; } | 8702 $as_echo "$IMAGEMAGICK_CFLAGS" >&6; } |
8684 | 8703 |
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5 | 8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking IMAGEMAGICK_LIBS" >&5 |
8686 $as_echo_n "checking GTK_LIBS... " >&6; } | 8705 $as_echo_n "checking IMAGEMAGICK_LIBS... " >&6; } |
8687 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` | 8706 IMAGEMAGICK_LIBS=`$PKG_CONFIG --libs "$IMAGEMAGICK_MODULE"|sed -e 's,///*,/,g'` |
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5 | 8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IMAGEMAGICK_LIBS" >&5 |
8689 $as_echo "$GTK_LIBS" >&6; } | 8708 $as_echo "$IMAGEMAGICK_LIBS" >&6; } |
8690 else | 8709 else |
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8692 $as_echo "no" >&6; } | 8711 $as_echo "no" >&6; } |
8693 GTK_CFLAGS="" | 8712 IMAGEMAGICK_CFLAGS="" |
8694 GTK_LIBS="" | 8713 IMAGEMAGICK_LIBS="" |
8695 ## If we have a custom action on failure, don't print errors, but | 8714 ## If we have a custom action on failure, don't print errors, but |
8696 ## do set a variable so people can do so. | 8715 ## do set a variable so people can do so. |
8697 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"` | 8716 IMAGEMAGICK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$IMAGEMAGICK_MODULE"` |
8698 | 8717 |
8699 fi | 8718 fi |
8700 | 8719 |
8701 | 8720 |
8702 | 8721 |
8705 echo "*** See http://www.freedesktop.org/software/pkgconfig" | 8724 echo "*** See http://www.freedesktop.org/software/pkgconfig" |
8706 fi | 8725 fi |
8707 fi | 8726 fi |
8708 | 8727 |
8709 if test $succeeded = yes; then | 8728 if test $succeeded = yes; then |
8710 pkg_check_gtk=yes | 8729 HAVE_IMAGEMAGICK=yes |
8711 else | 8730 else |
8712 pkg_check_gtk=no | 8731 : |
8713 fi | 8732 fi |
8714 | 8733 |
8715 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8734 |
8716 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 | 8735 |
8717 fi | 8736 |
8718 fi | 8737 if test $HAVE_IMAGEMAGICK = yes; then |
8719 | 8738 |
8720 if test "$pkg_check_gtk" != "yes"; then | 8739 $as_echo "#define HAVE_IMAGEMAGICK 1" >>confdefs.h |
8721 HAVE_GTK=no | 8740 |
8722 if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then | 8741 CFLAGS="$CFLAGS $IMAGEMAGICK_CFLAGS" |
8742 LIBS="$IMAGEMAGICK_LIBS $LIBS" | |
8743 for ac_func in MagickExportImagePixels | |
8744 do : | |
8745 ac_fn_c_check_func "$LINENO" "MagickExportImagePixels" "ac_cv_func_MagickExportImagePixels" | |
8746 if test "x$ac_cv_func_MagickExportImagePixels" = x""yes; then : | |
8747 cat >>confdefs.h <<_ACEOF | |
8748 #define HAVE_MAGICKEXPORTIMAGEPIXELS 1 | |
8749 _ACEOF | |
8750 | |
8751 fi | |
8752 done | |
8753 | |
8754 fi | |
8755 fi | |
8756 fi | |
8757 | |
8758 | |
8759 HAVE_GTK=no | |
8760 if test "${with_gtk3}" = "yes"; then | |
8723 GLIB_REQUIRED=2.6 | 8761 GLIB_REQUIRED=2.6 |
8724 GTK_REQUIRED=2.6 | 8762 GTK_REQUIRED=2.90 |
8725 GTK_MODULES="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED" | 8763 GTK_MODULES="gtk+-3.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED" |
8726 | 8764 |
8727 | 8765 |
8728 succeeded=no | 8766 succeeded=no |
8729 | 8767 |
8730 # Extract the first word of "pkg-config", so it can be a program name with args. | 8768 # Extract the first word of "pkg-config", so it can be a program name with args. |
8817 else | 8855 else |
8818 pkg_check_gtk=no | 8856 pkg_check_gtk=no |
8819 fi | 8857 fi |
8820 | 8858 |
8821 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | 8859 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then |
8822 as_fn_error $? "$GTK_PKG_ERRORS" "$LINENO" 5 | 8860 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 |
8861 fi | |
8862 fi | |
8863 | |
8864 if test "$pkg_check_gtk" != "yes"; then | |
8865 HAVE_GTK=no | |
8866 if test "${with_gtk}" = "yes" || test "$USE_X_TOOLKIT" = "maybe"; then | |
8867 GLIB_REQUIRED=2.6 | |
8868 GTK_REQUIRED=2.6 | |
8869 GTK_MODULES="gtk+-2.0 >= $GTK_REQUIRED glib-2.0 >= $GLIB_REQUIRED" | |
8870 | |
8871 | |
8872 succeeded=no | |
8873 | |
8874 # Extract the first word of "pkg-config", so it can be a program name with args. | |
8875 set dummy pkg-config; ac_word=$2 | |
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
8877 $as_echo_n "checking for $ac_word... " >&6; } | |
8878 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | |
8879 $as_echo_n "(cached) " >&6 | |
8880 else | |
8881 case $PKG_CONFIG in | |
8882 [\\/]* | ?:[\\/]*) | |
8883 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | |
8884 ;; | |
8885 *) | |
8886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
8887 for as_dir in $PATH | |
8888 do | |
8889 IFS=$as_save_IFS | |
8890 test -z "$as_dir" && as_dir=. | |
8891 for ac_exec_ext in '' $ac_executable_extensions; do | |
8892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
8893 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
8894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
8895 break 2 | |
8896 fi | |
8897 done | |
8898 done | |
8899 IFS=$as_save_IFS | |
8900 | |
8901 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | |
8902 ;; | |
8903 esac | |
8904 fi | |
8905 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | |
8906 if test -n "$PKG_CONFIG"; then | |
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | |
8908 $as_echo "$PKG_CONFIG" >&6; } | |
8909 else | |
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
8911 $as_echo "no" >&6; } | |
8912 fi | |
8913 | |
8914 | |
8915 | |
8916 if test "$PKG_CONFIG" = "no" ; then | |
8917 pkg_check_gtk=no | |
8918 else | |
8919 PKG_CONFIG_MIN_VERSION=0.9.0 | |
8920 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | |
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $GTK_MODULES" >&5 | |
8922 $as_echo_n "checking for $GTK_MODULES... " >&6; } | |
8923 | |
8924 if $PKG_CONFIG --exists "$GTK_MODULES" 2>&5; then | |
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
8926 $as_echo "yes" >&6; } | |
8927 succeeded=yes | |
8928 | |
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5 | |
8930 $as_echo_n "checking GTK_CFLAGS... " >&6; } | |
8931 GTK_CFLAGS=`$PKG_CONFIG --cflags "$GTK_MODULES"|sed -e 's,///*,/,g'` | |
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5 | |
8933 $as_echo "$GTK_CFLAGS" >&6; } | |
8934 | |
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5 | |
8936 $as_echo_n "checking GTK_LIBS... " >&6; } | |
8937 GTK_LIBS=`$PKG_CONFIG --libs "$GTK_MODULES"|sed -e 's,///*,/,g'` | |
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5 | |
8939 $as_echo "$GTK_LIBS" >&6; } | |
8940 else | |
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
8942 $as_echo "no" >&6; } | |
8943 GTK_CFLAGS="" | |
8944 GTK_LIBS="" | |
8945 ## If we have a custom action on failure, don't print errors, but | |
8946 ## do set a variable so people can do so. | |
8947 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$GTK_MODULES"` | |
8948 | |
8949 fi | |
8950 | |
8951 | |
8952 | |
8953 else | |
8954 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." | |
8955 echo "*** See http://www.freedesktop.org/software/pkgconfig" | |
8956 fi | |
8957 fi | |
8958 | |
8959 if test $succeeded = yes; then | |
8960 pkg_check_gtk=yes | |
8961 else | |
8962 pkg_check_gtk=no | |
8963 fi | |
8964 | |
8965 if test "$pkg_check_gtk" = "no" && test "$USE_X_TOOLKIT" != "maybe"; then | |
8966 as_fn_error "$GTK_PKG_ERRORS" "$LINENO" 5 | |
8823 fi | 8967 fi |
8824 fi | 8968 fi |
8825 fi | 8969 fi |
8826 | 8970 |
8827 GTK_OBJ= | 8971 GTK_OBJ= |
8844 fi | 8988 fi |
8845 done | 8989 done |
8846 | 8990 |
8847 if test "${GTK_COMPILES}" != "yes"; then | 8991 if test "${GTK_COMPILES}" != "yes"; then |
8848 if test "$USE_X_TOOLKIT" != "maybe"; then | 8992 if test "$USE_X_TOOLKIT" != "maybe"; then |
8849 as_fn_error $? "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; | 8993 as_fn_error "Gtk+ wanted, but it does not compile, see config.log. Maybe some x11-devel files missing?" "$LINENO" 5; |
8850 fi | 8994 fi |
8851 else | 8995 else |
8852 HAVE_GTK=yes | 8996 HAVE_GTK=yes |
8853 | 8997 |
8854 $as_echo "#define USE_GTK 1" >>confdefs.h | 8998 $as_echo "#define USE_GTK 1" >>confdefs.h |
8974 gtk_widget_get_mapped gtk_adjustment_get_page_size \ | 9118 gtk_widget_get_mapped gtk_adjustment_get_page_size \ |
8975 gtk_orientable_set_orientation | 9119 gtk_orientable_set_orientation |
8976 do : | 9120 do : |
8977 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 9121 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8978 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 9122 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
8979 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 9123 eval as_val=\$$as_ac_var |
9124 if test "x$as_val" = x""yes; then : | |
8980 cat >>confdefs.h <<_ACEOF | 9125 cat >>confdefs.h <<_ACEOF |
8981 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 9126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
8982 _ACEOF | 9127 _ACEOF |
8983 | 9128 |
8984 fi | 9129 fi |
9260 LIBSELINUX_LIBS=-lselinux | 9405 LIBSELINUX_LIBS=-lselinux |
9261 fi | 9406 fi |
9262 fi | 9407 fi |
9263 | 9408 |
9264 | 9409 |
9410 HAVE_GNUTLS=no | |
9411 if test "${with_gnutls}" = "yes" ; then | |
9412 | |
9413 succeeded=no | |
9414 | |
9415 # Extract the first word of "pkg-config", so it can be a program name with args. | |
9416 set dummy pkg-config; ac_word=$2 | |
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
9418 $as_echo_n "checking for $ac_word... " >&6; } | |
9419 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | |
9420 $as_echo_n "(cached) " >&6 | |
9421 else | |
9422 case $PKG_CONFIG in | |
9423 [\\/]* | ?:[\\/]*) | |
9424 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | |
9425 ;; | |
9426 *) | |
9427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
9428 for as_dir in $PATH | |
9429 do | |
9430 IFS=$as_save_IFS | |
9431 test -z "$as_dir" && as_dir=. | |
9432 for ac_exec_ext in '' $ac_executable_extensions; do | |
9433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
9434 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
9435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
9436 break 2 | |
9437 fi | |
9438 done | |
9439 done | |
9440 IFS=$as_save_IFS | |
9441 | |
9442 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | |
9443 ;; | |
9444 esac | |
9445 fi | |
9446 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | |
9447 if test -n "$PKG_CONFIG"; then | |
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | |
9449 $as_echo "$PKG_CONFIG" >&6; } | |
9450 else | |
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
9452 $as_echo "no" >&6; } | |
9453 fi | |
9454 | |
9455 | |
9456 | |
9457 if test "$PKG_CONFIG" = "no" ; then | |
9458 HAVE_GNUTLS=no | |
9459 else | |
9460 PKG_CONFIG_MIN_VERSION=0.9.0 | |
9461 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | |
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gnutls >= 2.2.4" >&5 | |
9463 $as_echo_n "checking for gnutls >= 2.2.4... " >&6; } | |
9464 | |
9465 if $PKG_CONFIG --exists "gnutls >= 2.2.4" 2>&5; then | |
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
9467 $as_echo "yes" >&6; } | |
9468 succeeded=yes | |
9469 | |
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBGNUTLS_CFLAGS" >&5 | |
9471 $as_echo_n "checking LIBGNUTLS_CFLAGS... " >&6; } | |
9472 LIBGNUTLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.2.4"|sed -e 's,///*,/,g'` | |
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGNUTLS_CFLAGS" >&5 | |
9474 $as_echo "$LIBGNUTLS_CFLAGS" >&6; } | |
9475 | |
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBGNUTLS_LIBS" >&5 | |
9477 $as_echo_n "checking LIBGNUTLS_LIBS... " >&6; } | |
9478 LIBGNUTLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.2.4"|sed -e 's,///*,/,g'` | |
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGNUTLS_LIBS" >&5 | |
9480 $as_echo "$LIBGNUTLS_LIBS" >&6; } | |
9481 else | |
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
9483 $as_echo "no" >&6; } | |
9484 LIBGNUTLS_CFLAGS="" | |
9485 LIBGNUTLS_LIBS="" | |
9486 ## If we have a custom action on failure, don't print errors, but | |
9487 ## do set a variable so people can do so. | |
9488 LIBGNUTLS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnutls >= 2.2.4"` | |
9489 | |
9490 fi | |
9491 | |
9492 | |
9493 | |
9494 else | |
9495 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." | |
9496 echo "*** See http://www.freedesktop.org/software/pkgconfig" | |
9497 fi | |
9498 fi | |
9499 | |
9500 if test $succeeded = yes; then | |
9501 HAVE_GNUTLS=yes | |
9502 else | |
9503 HAVE_GNUTLS=no | |
9504 fi | |
9505 | |
9506 if test "${HAVE_GNUTLS}" = "yes"; then | |
9507 | |
9508 $as_echo "#define HAVE_GNUTLS 1" >>confdefs.h | |
9509 | |
9510 fi | |
9511 fi | |
9512 | |
9513 | |
9514 | |
9265 HAVE_XAW3D=no | 9515 HAVE_XAW3D=no |
9266 LUCID_LIBW= | 9516 LUCID_LIBW= |
9267 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then | 9517 if test x"${USE_X_TOOLKIT}" = xmaybe || test x"${USE_X_TOOLKIT}" = xLUCID; then |
9268 if test "$with_xaw3d" != no; then | 9518 if test "$with_xaw3d" != no; then |
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 | 9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xaw3d" >&5 |
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 | 9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; using Lucid toolkit" >&5 |
9340 $as_echo "yes; using Lucid toolkit" >&6; } | 9590 $as_echo "yes; using Lucid toolkit" >&6; } |
9341 USE_X_TOOLKIT=LUCID | 9591 USE_X_TOOLKIT=LUCID |
9342 LUCID_LIBW=-lXaw | 9592 LUCID_LIBW=-lXaw |
9343 elif test x"${USE_X_TOOLKIT}" = xLUCID; then | 9593 elif test x"${USE_X_TOOLKIT}" = xLUCID; then |
9344 as_fn_error $? "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 | 9594 as_fn_error "Lucid toolkit requires X11/Xaw include files" "$LINENO" 5 |
9345 else | 9595 else |
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 | 9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; do not use toolkit by default" >&5 |
9347 $as_echo "no; do not use toolkit by default" >&6; } | 9597 $as_echo "no; do not use toolkit by default" >&6; } |
9348 USE_X_TOOLKIT=none | 9598 USE_X_TOOLKIT=none |
9349 fi | 9599 fi |
10516 # in /usr/include/libpng. | 10766 # in /usr/include/libpng. |
10517 for ac_header in png.h libpng/png.h | 10767 for ac_header in png.h libpng/png.h |
10518 do : | 10768 do : |
10519 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 10769 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10520 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 10770 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
10521 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 10771 eval as_val=\$$as_ac_Header |
10772 if test "x$as_val" = x""yes; then : | |
10522 cat >>confdefs.h <<_ACEOF | 10773 cat >>confdefs.h <<_ACEOF |
10523 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 10774 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
10524 _ACEOF | 10775 _ACEOF |
10525 | 10776 |
10526 fi | 10777 fi |
10768 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" | 11019 MISSING="$MISSING libgif/libungif" && WITH_NO="$WITH_NO --with-gif=no" |
10769 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && | 11020 test "${with_tiff}" != "no" && test "${HAVE_TIFF}" != "yes" && |
10770 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" | 11021 MISSING="$MISSING libtiff" && WITH_NO="$WITH_NO --with-tiff=no" |
10771 | 11022 |
10772 if test "X${MISSING}" != X; then | 11023 if test "X${MISSING}" != X; then |
10773 as_fn_error $? "The following required libraries were not found: | 11024 as_fn_error "The following required libraries were not found: |
10774 $MISSING | 11025 $MISSING |
10775 Maybe some development libraries/packages are missing? | 11026 Maybe some development libraries/packages are missing? |
10776 If you don't want to link with them give | 11027 If you don't want to link with them give |
10777 $WITH_NO | 11028 $WITH_NO |
10778 as options to configure" "$LINENO" 5 | 11029 as options to configure" "$LINENO" 5 |
10941 *-lSM*) ;; | 11192 *-lSM*) ;; |
10942 *) LIBS="$LIBXSM $LIBS" ;; | 11193 *) LIBS="$LIBXSM $LIBS" ;; |
10943 esac | 11194 esac |
10944 fi | 11195 fi |
10945 fi | 11196 fi |
11197 | |
11198 | |
11199 ### Use libxml (-lxml2) if available | |
11200 if test "${with_xml2}" != "no"; then | |
11201 ### I'm not sure what the version number should be, so I just guessed. | |
11202 | |
11203 succeeded=no | |
11204 | |
11205 # Extract the first word of "pkg-config", so it can be a program name with args. | |
11206 set dummy pkg-config; ac_word=$2 | |
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
11208 $as_echo_n "checking for $ac_word... " >&6; } | |
11209 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : | |
11210 $as_echo_n "(cached) " >&6 | |
11211 else | |
11212 case $PKG_CONFIG in | |
11213 [\\/]* | ?:[\\/]*) | |
11214 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | |
11215 ;; | |
11216 *) | |
11217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
11218 for as_dir in $PATH | |
11219 do | |
11220 IFS=$as_save_IFS | |
11221 test -z "$as_dir" && as_dir=. | |
11222 for ac_exec_ext in '' $ac_executable_extensions; do | |
11223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
11224 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
11225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
11226 break 2 | |
11227 fi | |
11228 done | |
11229 done | |
11230 IFS=$as_save_IFS | |
11231 | |
11232 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" | |
11233 ;; | |
11234 esac | |
11235 fi | |
11236 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | |
11237 if test -n "$PKG_CONFIG"; then | |
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | |
11239 $as_echo "$PKG_CONFIG" >&6; } | |
11240 else | |
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
11242 $as_echo "no" >&6; } | |
11243 fi | |
11244 | |
11245 | |
11246 | |
11247 if test "$PKG_CONFIG" = "no" ; then | |
11248 HAVE_LIBXML2=no | |
11249 else | |
11250 PKG_CONFIG_MIN_VERSION=0.9.0 | |
11251 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then | |
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml-2.0 > 2.2.0" >&5 | |
11253 $as_echo_n "checking for libxml-2.0 > 2.2.0... " >&6; } | |
11254 | |
11255 if $PKG_CONFIG --exists "libxml-2.0 > 2.2.0" 2>&5; then | |
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
11257 $as_echo "yes" >&6; } | |
11258 succeeded=yes | |
11259 | |
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXML2_CFLAGS" >&5 | |
11261 $as_echo_n "checking LIBXML2_CFLAGS... " >&6; } | |
11262 LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 > 2.2.0"|sed -e 's,///*,/,g'` | |
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML2_CFLAGS" >&5 | |
11264 $as_echo "$LIBXML2_CFLAGS" >&6; } | |
11265 | |
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXML2_LIBS" >&5 | |
11267 $as_echo_n "checking LIBXML2_LIBS... " >&6; } | |
11268 LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 > 2.2.0"|sed -e 's,///*,/,g'` | |
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXML2_LIBS" >&5 | |
11270 $as_echo "$LIBXML2_LIBS" >&6; } | |
11271 else | |
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
11273 $as_echo "no" >&6; } | |
11274 LIBXML2_CFLAGS="" | |
11275 LIBXML2_LIBS="" | |
11276 ## If we have a custom action on failure, don't print errors, but | |
11277 ## do set a variable so people can do so. | |
11278 LIBXML2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 > 2.2.0"` | |
11279 | |
11280 fi | |
11281 | |
11282 | |
11283 | |
11284 else | |
11285 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." | |
11286 echo "*** See http://www.freedesktop.org/software/pkgconfig" | |
11287 fi | |
11288 fi | |
11289 | |
11290 if test $succeeded = yes; then | |
11291 HAVE_LIBXML2=yes | |
11292 else | |
11293 HAVE_LIBXML2=no | |
11294 fi | |
11295 | |
11296 if test "${HAVE_LIBXML2}" = "yes"; then | |
11297 LIBS="$LIBXML2_LIBS $LIBS" | |
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for htmlReadMemory in -lxml2" >&5 | |
11299 $as_echo_n "checking for htmlReadMemory in -lxml2... " >&6; } | |
11300 if test "${ac_cv_lib_xml2_htmlReadMemory+set}" = set; then : | |
11301 $as_echo_n "(cached) " >&6 | |
11302 else | |
11303 ac_check_lib_save_LIBS=$LIBS | |
11304 LIBS="-lxml2 $LIBS" | |
11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
11306 /* end confdefs.h. */ | |
11307 | |
11308 /* Override any GCC internal prototype to avoid an error. | |
11309 Use char because int might match the return type of a GCC | |
11310 builtin and then its argument prototype would still apply. */ | |
11311 #ifdef __cplusplus | |
11312 extern "C" | |
11313 #endif | |
11314 char htmlReadMemory (); | |
11315 int | |
11316 main () | |
11317 { | |
11318 return htmlReadMemory (); | |
11319 ; | |
11320 return 0; | |
11321 } | |
11322 _ACEOF | |
11323 if ac_fn_c_try_link "$LINENO"; then : | |
11324 ac_cv_lib_xml2_htmlReadMemory=yes | |
11325 else | |
11326 ac_cv_lib_xml2_htmlReadMemory=no | |
11327 fi | |
11328 rm -f core conftest.err conftest.$ac_objext \ | |
11329 conftest$ac_exeext conftest.$ac_ext | |
11330 LIBS=$ac_check_lib_save_LIBS | |
11331 fi | |
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_htmlReadMemory" >&5 | |
11333 $as_echo "$ac_cv_lib_xml2_htmlReadMemory" >&6; } | |
11334 if test "x$ac_cv_lib_xml2_htmlReadMemory" = x""yes; then : | |
11335 HAVE_LIBXML2=yes | |
11336 else | |
11337 HAVE_LIBXML2=no | |
11338 fi | |
11339 | |
11340 if test "${HAVE_LIBXML2}" = "yes"; then | |
11341 | |
11342 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h | |
11343 | |
11344 else | |
11345 LIBXML2_LIBS="" | |
11346 LIBXML2_CFLAGS="" | |
11347 fi | |
11348 fi | |
11349 fi | |
11350 | |
10946 | 11351 |
10947 | 11352 |
10948 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 11353 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 | 11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether netdb declares h_errno" >&5 |
10950 $as_echo_n "checking whether netdb declares h_errno... " >&6; } | 11355 $as_echo_n "checking whether netdb declares h_errno... " >&6; } |
11103 $as_echo "$ac_cv_os_cray" >&6; } | 11508 $as_echo "$ac_cv_os_cray" >&6; } |
11104 if test $ac_cv_os_cray = yes; then | 11509 if test $ac_cv_os_cray = yes; then |
11105 for ac_func in _getb67 GETB67 getb67; do | 11510 for ac_func in _getb67 GETB67 getb67; do |
11106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11511 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11512 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11108 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 11513 eval as_val=\$$as_ac_var |
11514 if test "x$as_val" = x""yes; then : | |
11109 | 11515 |
11110 cat >>confdefs.h <<_ACEOF | 11516 cat >>confdefs.h <<_ACEOF |
11111 #define CRAY_STACKSEG_END $ac_func | 11517 #define CRAY_STACKSEG_END $ac_func |
11112 _ACEOF | 11518 _ACEOF |
11113 | 11519 |
11167 | 11573 |
11168 fi | 11574 fi |
11169 | 11575 |
11170 | 11576 |
11171 if test x"$ac_cv_func_alloca_works" != xyes; then | 11577 if test x"$ac_cv_func_alloca_works" != xyes; then |
11172 as_fn_error $? "a system implementation of alloca is required " "$LINENO" 5 | 11578 as_fn_error "a system implementation of alloca is required " "$LINENO" 5 |
11173 fi | 11579 fi |
11174 | 11580 |
11175 # fmod, logb, and frexp are found in -lm on most systems. | 11581 # fmod, logb, and frexp are found in -lm on most systems. |
11176 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. | 11582 # On HPUX 9.01, -lm does not contain logb, so check for sqrt. |
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 | 11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5 |
11363 $as_echo "no" >&6; } | 11769 $as_echo "no" >&6; } |
11364 fi | 11770 fi |
11365 | 11771 |
11366 | 11772 |
11367 if test $ac_cv_prog_liblockfile = yes; then | 11773 if test $ac_cv_prog_liblockfile = yes; then |
11368 as_fn_error $? "Shared liblockfile found but can't link against it. | 11774 as_fn_error "Shared liblockfile found but can't link against it. |
11369 This probably means that movemail could lose mail. | 11775 This probably means that movemail could lose mail. |
11370 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 | 11776 There may be a \`development' package to install containing liblockfile." "$LINENO" 5 |
11371 fi | 11777 fi |
11372 fi | 11778 fi |
11373 for ac_func in touchlock | 11779 for ac_func in touchlock |
11452 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ | 11858 memset memcmp difftime memcpy mempcpy mblen mbrlen posix_memalign \ |
11453 cfmakeraw cfsetspeed isnan copysign __executable_start | 11859 cfmakeraw cfsetspeed isnan copysign __executable_start |
11454 do : | 11860 do : |
11455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11861 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11862 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11457 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 11863 eval as_val=\$$as_ac_var |
11864 if test "x$as_val" = x""yes; then : | |
11458 cat >>confdefs.h <<_ACEOF | 11865 cat >>confdefs.h <<_ACEOF |
11459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11460 _ACEOF | 11867 _ACEOF |
11461 | 11868 |
11462 fi | 11869 fi |
11483 | 11890 |
11484 for ac_func in $ac_func_list | 11891 for ac_func in $ac_func_list |
11485 do : | 11892 do : |
11486 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 11893 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 11894 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
11488 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 11895 eval as_val=\$$as_ac_var |
11896 if test "x$as_val" = x""yes; then : | |
11489 cat >>confdefs.h <<_ACEOF | 11897 cat >>confdefs.h <<_ACEOF |
11490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 11898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
11491 _ACEOF | 11899 _ACEOF |
11492 | 11900 |
11493 fi | 11901 fi |
11535 | 11943 |
11536 static time_t time_t_max; | 11944 static time_t time_t_max; |
11537 static time_t time_t_min; | 11945 static time_t time_t_min; |
11538 | 11946 |
11539 /* Values we'll use to set the TZ environment variable. */ | 11947 /* Values we'll use to set the TZ environment variable. */ |
11540 static const char *tz_strings[] = { | 11948 static char *tz_strings[] = { |
11541 (const char *) 0, "TZ=GMT0", "TZ=JST-9", | 11949 (char *) 0, "TZ=GMT0", "TZ=JST-9", |
11542 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" | 11950 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00" |
11543 }; | 11951 }; |
11544 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) | 11952 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0])) |
11545 | 11953 |
11546 /* Return 0 if mktime fails to convert a date in the spring-forward gap. | 11954 /* Return 0 if mktime fails to convert a date in the spring-forward gap. |
11553 | 11961 |
11554 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | 11962 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
11555 instead of "TZ=America/Vancouver" in order to detect the bug even | 11963 instead of "TZ=America/Vancouver" in order to detect the bug even |
11556 on systems that don't support the Olson extension, or don't have the | 11964 on systems that don't support the Olson extension, or don't have the |
11557 full zoneinfo tables installed. */ | 11965 full zoneinfo tables installed. */ |
11558 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); | 11966 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); |
11559 | 11967 |
11560 tm.tm_year = 98; | 11968 tm.tm_year = 98; |
11561 tm.tm_mon = 3; | 11969 tm.tm_mon = 3; |
11562 tm.tm_mday = 5; | 11970 tm.tm_mday = 5; |
11563 tm.tm_hour = 2; | 11971 tm.tm_hour = 2; |
11566 tm.tm_isdst = -1; | 11974 tm.tm_isdst = -1; |
11567 return mktime (&tm) != (time_t) -1; | 11975 return mktime (&tm) != (time_t) -1; |
11568 } | 11976 } |
11569 | 11977 |
11570 static int | 11978 static int |
11571 mktime_test1 (time_t now) | 11979 mktime_test1 (now) |
11980 time_t now; | |
11572 { | 11981 { |
11573 struct tm *lt; | 11982 struct tm *lt; |
11574 return ! (lt = localtime (&now)) || mktime (lt) == now; | 11983 return ! (lt = localtime (&now)) || mktime (lt) == now; |
11575 } | 11984 } |
11576 | 11985 |
11577 static int | 11986 static int |
11578 mktime_test (time_t now) | 11987 mktime_test (now) |
11988 time_t now; | |
11579 { | 11989 { |
11580 return (mktime_test1 (now) | 11990 return (mktime_test1 (now) |
11581 && mktime_test1 ((time_t) (time_t_max - now)) | 11991 && mktime_test1 ((time_t) (time_t_max - now)) |
11582 && mktime_test1 ((time_t) (time_t_min + now))); | 11992 && mktime_test1 ((time_t) (time_t_min + now))); |
11583 } | 11993 } |
11597 mktime (&tm); | 12007 mktime (&tm); |
11598 return tm.tm_mon == 2 && tm.tm_mday == 31; | 12008 return tm.tm_mon == 2 && tm.tm_mday == 31; |
11599 } | 12009 } |
11600 | 12010 |
11601 static int | 12011 static int |
11602 bigtime_test (int j) | 12012 bigtime_test (j) |
12013 int j; | |
11603 { | 12014 { |
11604 struct tm tm; | 12015 struct tm tm; |
11605 time_t now; | 12016 time_t now; |
11606 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; | 12017 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j; |
11607 now = mktime (&tm); | 12018 now = mktime (&tm); |
11641 | 12052 |
11642 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" | 12053 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0" |
11643 instead of "TZ=America/Vancouver" in order to detect the bug even | 12054 instead of "TZ=America/Vancouver" in order to detect the bug even |
11644 on systems that don't support the Olson extension, or don't have the | 12055 on systems that don't support the Olson extension, or don't have the |
11645 full zoneinfo tables installed. */ | 12056 full zoneinfo tables installed. */ |
11646 putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0"); | 12057 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0"); |
11647 | 12058 |
11648 t = mktime (&tm); | 12059 t = mktime (&tm); |
11649 | 12060 |
11650 /* Check that the result is either a failure, or close enough | 12061 /* Check that the result is either a failure, or close enough |
11651 to the correct answer that we can assume the discrepancy is | 12062 to the correct answer that we can assume the discrepancy is |
11676 | 12087 |
11677 delta = time_t_max / 997; /* a suitable prime number */ | 12088 delta = time_t_max / 997; /* a suitable prime number */ |
11678 for (i = 0; i < N_STRINGS; i++) | 12089 for (i = 0; i < N_STRINGS; i++) |
11679 { | 12090 { |
11680 if (tz_strings[i]) | 12091 if (tz_strings[i]) |
11681 putenv ((char*) tz_strings[i]); | 12092 putenv (tz_strings[i]); |
11682 | 12093 |
11683 for (t = 0; t <= time_t_max - delta; t += delta) | 12094 for (t = 0; t <= time_t_max - delta; t += delta) |
11684 if (! mktime_test (t)) | 12095 if (! mktime_test (t)) |
11685 return 1; | 12096 return 1; |
11686 if (! (mktime_test ((time_t) 1) | 12097 if (! (mktime_test ((time_t) 1) |
11728 | 12139 |
11729 ac_have_func=no # yes means we've found a way to get the load average. | 12140 ac_have_func=no # yes means we've found a way to get the load average. |
11730 | 12141 |
11731 # Make sure getloadavg.c is where it belongs, at configure-time. | 12142 # Make sure getloadavg.c is where it belongs, at configure-time. |
11732 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || | 12143 test -f "$srcdir/$ac_config_libobj_dir/getloadavg.c" || |
11733 as_fn_error $? "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 | 12144 as_fn_error "$srcdir/$ac_config_libobj_dir/getloadavg.c is missing" "$LINENO" 5 |
11734 | 12145 |
11735 ac_save_LIBS=$LIBS | 12146 ac_save_LIBS=$LIBS |
11736 | 12147 |
11737 # Check for getloadavg, but be sure not to touch the cache variable. | 12148 # Check for getloadavg, but be sure not to touch the cache variable. |
11738 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" | 12149 (ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" |
12597 else | 13008 else |
12598 have_tputs_et_al=false | 13009 have_tputs_et_al=false |
12599 fi | 13010 fi |
12600 | 13011 |
12601 if test "$have_tputs_et_al" != true; then | 13012 if test "$have_tputs_et_al" != true; then |
12602 as_fn_error $? "I couldn't find termcap functions (tputs and friends). | 13013 as_fn_error "I couldn't find termcap functions (tputs and friends). |
12603 Maybe some development libraries/packages are missing? Try installing | 13014 Maybe some development libraries/packages are missing? Try installing |
12604 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 | 13015 libncurses-dev(el), libterminfo-dev(el) or similar." "$LINENO" 5 |
12605 fi | 13016 fi |
12606 # Must define this when any termcap library is found. | 13017 # Must define this when any termcap library is found. |
12607 | 13018 |
13744 | 14155 |
13745 for ac_func in fork vfork | 14156 for ac_func in fork vfork |
13746 do : | 14157 do : |
13747 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 14158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
13748 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 14159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
13749 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 14160 eval as_val=\$$as_ac_var |
14161 if test "x$as_val" = x""yes; then : | |
13750 cat >>confdefs.h <<_ACEOF | 14162 cat >>confdefs.h <<_ACEOF |
13751 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 14163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
13752 _ACEOF | 14164 _ACEOF |
13753 | 14165 |
13754 fi | 14166 fi |
14118 ## Hack to detect a buggy GCC version. | 14530 ## Hack to detect a buggy GCC version. |
14119 if test "x$GCC" = xyes \ | 14531 if test "x$GCC" = xyes \ |
14120 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ | 14532 && test x"`$CC --version 2> /dev/null | grep 'gcc.* 4.5.0'`" != x \ |
14121 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ | 14533 && test x"`echo $CFLAGS | grep '\-O[23]'`" != x \ |
14122 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then | 14534 && test x"`echo $CFLAGS | grep '\-fno-optimize-sibling-calls'`" = x; then |
14123 as_fn_error $? "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 | 14535 as_fn_error "GCC 4.5.0 has problems compiling Emacs; see etc/PROBLEMS'." "$LINENO" 5 |
14124 fi | 14536 fi |
14125 | 14537 |
14126 #### Find out which version of Emacs this is. | 14538 #### Find out which version of Emacs this is. |
14127 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ | 14539 version=`grep 'const char emacs_version' ${srcdir}/src/emacs.c \ |
14128 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` | 14540 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'` |
14129 if test x"${version}" = x; then | 14541 if test x"${version}" = x; then |
14130 as_fn_error $? "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 | 14542 as_fn_error "can't find current emacs version in \`${srcdir}/src/emacs.c'." "$LINENO" 5 |
14131 fi | 14543 fi |
14132 if test x"${version}" != x"$PACKAGE_VERSION"; then | 14544 if test x"${version}" != x"$PACKAGE_VERSION"; then |
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 | 14545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&5 |
14134 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} | 14546 $as_echo "$as_me: WARNING: version mismatch between \`${srcdir}/configure.in' and \`${srcdir}/src/emacs.c'." >&2;} |
14135 fi | 14547 fi |
14403 fi | 14815 fi |
14404 | 14816 |
14405 | 14817 |
14406 | 14818 |
14407 | 14819 |
14408 LINKER= | 14820 LD_FIRSTFLAG= |
14409 ORDINARY_LINK= | 14821 ORDINARY_LINK= |
14410 case "$opsys" in | 14822 case "$opsys" in |
14411 ## gnu: GNU needs its own crt0. | 14823 ## gnu: GNU needs its own crt0. |
14412 aix4-2|cygwin|darwin|gnu|hpux*|irix6-5|sol2*|unixware) ORDINARY_LINK=yes ;; | 14824 aix4-2|cygwin|darwin|gnu|hpux*|irix6-5|sol2*|unixware) ORDINARY_LINK=yes ;; |
14413 | 14825 |
14414 ## On post 1.3 releases of NetBSD, gcc -nostdlib also clears the | 14826 ## On post 1.3 releases of NetBSD, gcc -nostdlib also clears the |
14415 ## library search parth, i.e. it won't search /usr/lib for libc and | 14827 ## library search parth, i.e. it won't search /usr/lib for libc and |
14416 ## friends. Using -nostartfiles instead avoids this problem, and | 14828 ## friends. Using -nostartfiles instead avoids this problem, and |
14417 ## will also work on earlier NetBSD releases. | 14829 ## will also work on earlier NetBSD releases. |
14418 netbsd|openbsd) LINKER="\$(CC) -nostartfiles" ;; | 14830 netbsd|openbsd) LD_FIRSTFLAG="-nostartfiles" ;; |
14419 | 14831 |
14420 ## macpcc: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> says | 14832 ## macpcc: NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> says |
14421 ## MkLinux/LinuxPPC needs this. | 14833 ## MkLinux/LinuxPPC needs this. |
14422 ## ibms390x only supports opsys = gnu-linux so it can be added here. | 14834 ## ibms390x only supports opsys = gnu-linux so it can be added here. |
14423 gnu-*) | 14835 gnu-*) |
14424 case "$machine" in | 14836 case "$machine" in |
14425 macppc|ibms390x) LINKER="\$(CC) -nostdlib" ;; | 14837 macppc|ibms390x) LD_FIRSTFLAG="-nostdlib" ;; |
14426 esac | 14838 esac |
14427 ;; | 14839 ;; |
14428 esac | 14840 esac |
14429 | 14841 |
14430 | 14842 |
14431 if test "x$ORDINARY_LINK" = "xyes"; then | 14843 if test "x$ORDINARY_LINK" = "xyes"; then |
14432 | 14844 |
14433 LINKER="\$(CC)" | 14845 LD_FIRSTFLAG="" |
14434 | 14846 |
14435 $as_echo "#define ORDINARY_LINK 1" >>confdefs.h | 14847 $as_echo "#define ORDINARY_LINK 1" >>confdefs.h |
14436 | 14848 |
14437 | 14849 |
14438 ## The system files defining neither ORDINARY_LINK nor LINKER are: | 14850 ## The system files defining neither ORDINARY_LINK nor LD_FIRSTFLAG are: |
14439 ## freebsd, gnu-* not on macppc|ibms390x. | 14851 ## freebsd, gnu-* not on macppc|ibms390x. |
14440 elif test "x$GCC" = "xyes" && test "x$LINKER" = "x"; then | 14852 elif test "x$GCC" = "xyes" && test "x$LD_FIRSTFLAG" = "x"; then |
14441 | 14853 |
14442 ## Versions of GCC >= 2.0 put their library, libgcc.a, in obscure | 14854 ## Versions of GCC >= 2.0 put their library, libgcc.a, in obscure |
14443 ## places that are difficult to figure out at make time. Fortunately, | 14855 ## places that are difficult to figure out at make time. Fortunately, |
14444 ## these same versions allow you to pass arbitrary flags on to the | 14856 ## these same versions allow you to pass arbitrary flags on to the |
14445 ## linker, so there is no reason not to use it as a linker. | 14857 ## linker, so there is no reason not to use it as a linker. |
14446 ## | 14858 ## |
14447 ## Well, it is not quite perfect. The "-nostdlib" keeps GCC from | 14859 ## Well, it is not quite perfect. The "-nostdlib" keeps GCC from |
14448 ## searching for libraries in its internal directories, so we have to | 14860 ## searching for libraries in its internal directories, so we have to |
14449 ## ask GCC explicitly where to find libgcc.a (LIB_GCC below). | 14861 ## ask GCC explicitly where to find libgcc.a (LIB_GCC below). |
14450 LINKER="\$(CC) -nostdlib" | 14862 LD_FIRSTFLAG="-nostdlib" |
14451 fi | 14863 fi |
14452 | 14864 |
14453 test "x$LINKER" = "x" && LINKER=ld | |
14454 ## FIXME? What setting of EDIT_LDFLAGS should this have? | 14865 ## FIXME? What setting of EDIT_LDFLAGS should this have? |
14455 test "$NS_IMPL_GNUSTEP" = "yes" && LINKER="\$(CC) -rdynamic" | 14866 test "$NS_IMPL_GNUSTEP" = "yes" && LD_FIRSTFLAG="-rdynamic" |
14456 | 14867 |
14457 | 14868 |
14458 | 14869 |
14459 | 14870 |
14460 ## FIXME? The logic here is not precisely the same as that above. | 14871 ## FIXME? The logic here is not precisely the same as that above. |
14461 ## There is no check here for a pre-defined LINKER. | 14872 ## There is no check here for a pre-defined LD_FIRSTFLAG. |
14462 ## Should we only be setting LIB_GCC if LD ~ -nostdlib? | 14873 ## Should we only be setting LIB_GCC if LD ~ -nostdlib? |
14463 LIB_GCC= | 14874 LIB_GCC= |
14464 if test "x$GCC" = "xyes" && test "x$ORDINARY_LINK" != "xyes"; then | 14875 if test "x$GCC" = "xyes" && test "x$ORDINARY_LINK" != "xyes"; then |
14465 | 14876 |
14466 case "$opsys" in | 14877 case "$opsys" in |
14549 echo " Does Emacs use -ljpeg? ${HAVE_JPEG}" | 14960 echo " Does Emacs use -ljpeg? ${HAVE_JPEG}" |
14550 echo " Does Emacs use -ltiff? ${HAVE_TIFF}" | 14961 echo " Does Emacs use -ltiff? ${HAVE_TIFF}" |
14551 echo " Does Emacs use a gif library? ${HAVE_GIF} $LIBGIF" | 14962 echo " Does Emacs use a gif library? ${HAVE_GIF} $LIBGIF" |
14552 echo " Does Emacs use -lpng? ${HAVE_PNG}" | 14963 echo " Does Emacs use -lpng? ${HAVE_PNG}" |
14553 echo " Does Emacs use -lrsvg-2? ${HAVE_RSVG}" | 14964 echo " Does Emacs use -lrsvg-2? ${HAVE_RSVG}" |
14965 echo " Does Emacs use imagemagick? ${HAVE_IMAGEMAGICK}" | |
14966 | |
14554 echo " Does Emacs use -lgpm? ${HAVE_GPM}" | 14967 echo " Does Emacs use -lgpm? ${HAVE_GPM}" |
14555 echo " Does Emacs use -ldbus? ${HAVE_DBUS}" | 14968 echo " Does Emacs use -ldbus? ${HAVE_DBUS}" |
14556 echo " Does Emacs use -lgconf? ${HAVE_GCONF}" | 14969 echo " Does Emacs use -lgconf? ${HAVE_GCONF}" |
14557 echo " Does Emacs use -lselinux? ${HAVE_LIBSELINUX}" | 14970 echo " Does Emacs use -lselinux? ${HAVE_LIBSELINUX}" |
14971 echo " Does Emacs use -lgnutls (BROKEN)? ${HAVE_GNUTLS}" | |
14972 echo " Does Emacs use -lxml2? ${HAVE_LIBXML2}" | |
14558 | 14973 |
14559 echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}" | 14974 echo " Does Emacs use -lfreetype? ${HAVE_FREETYPE}" |
14560 echo " Does Emacs use -lm17n-flt? ${HAVE_M17N_FLT}" | 14975 echo " Does Emacs use -lm17n-flt? ${HAVE_M17N_FLT}" |
14561 echo " Does Emacs use -lotf? ${HAVE_LIBOTF}" | 14976 echo " Does Emacs use -lotf? ${HAVE_LIBOTF}" |
14562 echo " Does Emacs use -lxft? ${HAVE_XFT}" | 14977 echo " Does Emacs use -lxft? ${HAVE_XFT}" |
14683 | 15098 |
14684 DEFS=-DHAVE_CONFIG_H | 15099 DEFS=-DHAVE_CONFIG_H |
14685 | 15100 |
14686 ac_libobjs= | 15101 ac_libobjs= |
14687 ac_ltlibobjs= | 15102 ac_ltlibobjs= |
14688 U= | |
14689 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 15103 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
14690 # 1. Remove the extension, and $U if already installed. | 15104 # 1. Remove the extension, and $U if already installed. |
14691 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 15105 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
14692 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 15106 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
14693 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 15107 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
14846 | 15260 |
14847 # CDPATH. | 15261 # CDPATH. |
14848 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 15262 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
14849 | 15263 |
14850 | 15264 |
14851 # as_fn_error STATUS ERROR [LINENO LOG_FD] | 15265 # as_fn_error ERROR [LINENO LOG_FD] |
14852 # ---------------------------------------- | 15266 # --------------------------------- |
14853 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 15267 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
14854 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 15268 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
14855 # script with STATUS, using 1 if that was 0. | 15269 # script with status $?, using 1 if that was 0. |
14856 as_fn_error () | 15270 as_fn_error () |
14857 { | 15271 { |
14858 as_status=$1; test $as_status -eq 0 && as_status=1 | 15272 as_status=$?; test $as_status -eq 0 && as_status=1 |
14859 if test "$4"; then | 15273 if test "$3"; then |
14860 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 15274 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
14861 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 15275 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
14862 fi | 15276 fi |
14863 $as_echo "$as_me: error: $2" >&2 | 15277 $as_echo "$as_me: error: $1" >&2 |
14864 as_fn_exit $as_status | 15278 as_fn_exit $as_status |
14865 } # as_fn_error | 15279 } # as_fn_error |
14866 | 15280 |
14867 | 15281 |
14868 # as_fn_set_status STATUS | 15282 # as_fn_set_status STATUS |
15054 } | 15468 } |
15055 s/.*/./; q'` | 15469 s/.*/./; q'` |
15056 test -d "$as_dir" && break | 15470 test -d "$as_dir" && break |
15057 done | 15471 done |
15058 test -z "$as_dirs" || eval "mkdir $as_dirs" | 15472 test -z "$as_dirs" || eval "mkdir $as_dirs" |
15059 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 15473 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
15060 | 15474 |
15061 | 15475 |
15062 } # as_fn_mkdir_p | 15476 } # as_fn_mkdir_p |
15063 if mkdir -p . 2>/dev/null; then | 15477 if mkdir -p . 2>/dev/null; then |
15064 as_mkdir_p='mkdir -p "$as_dir"' | 15478 as_mkdir_p='mkdir -p "$as_dir"' |
15108 # Save the log message, to keep $0 and so on meaningful, and to | 15522 # Save the log message, to keep $0 and so on meaningful, and to |
15109 # report actual input values of CONFIG_FILES etc. instead of their | 15523 # report actual input values of CONFIG_FILES etc. instead of their |
15110 # values after options handling. | 15524 # values after options handling. |
15111 ac_log=" | 15525 ac_log=" |
15112 This file was extended by emacs $as_me 24.0.50, which was | 15526 This file was extended by emacs $as_me 24.0.50, which was |
15113 generated by GNU Autoconf 2.66. Invocation command line was | 15527 generated by GNU Autoconf 2.65. Invocation command line was |
15114 | 15528 |
15115 CONFIG_FILES = $CONFIG_FILES | 15529 CONFIG_FILES = $CONFIG_FILES |
15116 CONFIG_HEADERS = $CONFIG_HEADERS | 15530 CONFIG_HEADERS = $CONFIG_HEADERS |
15117 CONFIG_LINKS = $CONFIG_LINKS | 15531 CONFIG_LINKS = $CONFIG_LINKS |
15118 CONFIG_COMMANDS = $CONFIG_COMMANDS | 15532 CONFIG_COMMANDS = $CONFIG_COMMANDS |
15174 _ACEOF | 15588 _ACEOF |
15175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 15589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15176 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 15590 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15177 ac_cs_version="\\ | 15591 ac_cs_version="\\ |
15178 emacs config.status 24.0.50 | 15592 emacs config.status 24.0.50 |
15179 configured by $0, generated by GNU Autoconf 2.66, | 15593 configured by $0, generated by GNU Autoconf 2.65, |
15180 with options \\"\$ac_cs_config\\" | 15594 with options \\"\$ac_cs_config\\" |
15181 | 15595 |
15182 Copyright (C) 2010 Free Software Foundation, Inc. | 15596 Copyright (C) 2009 Free Software Foundation, Inc. |
15183 This config.status script is free software; the Free Software Foundation | 15597 This config.status script is free software; the Free Software Foundation |
15184 gives unlimited permission to copy, distribute and modify it." | 15598 gives unlimited permission to copy, distribute and modify it." |
15185 | 15599 |
15186 ac_pwd='$ac_pwd' | 15600 ac_pwd='$ac_pwd' |
15187 srcdir='$srcdir' | 15601 srcdir='$srcdir' |
15231 esac | 15645 esac |
15232 as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 15646 as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
15233 ac_need_defaults=false;; | 15647 ac_need_defaults=false;; |
15234 --he | --h) | 15648 --he | --h) |
15235 # Conflict between --help and --header | 15649 # Conflict between --help and --header |
15236 as_fn_error $? "ambiguous option: \`$1' | 15650 as_fn_error "ambiguous option: \`$1' |
15237 Try \`$0 --help' for more information.";; | 15651 Try \`$0 --help' for more information.";; |
15238 --help | --hel | -h ) | 15652 --help | --hel | -h ) |
15239 $as_echo "$ac_cs_usage"; exit ;; | 15653 $as_echo "$ac_cs_usage"; exit ;; |
15240 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 15654 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
15241 | -silent | --silent | --silen | --sile | --sil | --si | --s) | 15655 | -silent | --silent | --silen | --sile | --sil | --si | --s) |
15242 ac_cs_silent=: ;; | 15656 ac_cs_silent=: ;; |
15243 | 15657 |
15244 # This is an error. | 15658 # This is an error. |
15245 -*) as_fn_error $? "unrecognized option: \`$1' | 15659 -*) as_fn_error "unrecognized option: \`$1' |
15246 Try \`$0 --help' for more information." ;; | 15660 Try \`$0 --help' for more information." ;; |
15247 | 15661 |
15248 *) as_fn_append ac_config_targets " $1" | 15662 *) as_fn_append ac_config_targets " $1" |
15249 ac_need_defaults=false ;; | 15663 ac_need_defaults=false ;; |
15250 | 15664 |
15308 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; | 15722 "lwlib/Makefile") CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;; |
15309 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; | 15723 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;; |
15310 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; | 15724 "leim/Makefile") CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;; |
15311 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; | 15725 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
15312 | 15726 |
15313 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 15727 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
15314 esac | 15728 esac |
15315 done | 15729 done |
15316 | 15730 |
15317 | 15731 |
15318 # If the user did not use the arguments to specify the items to instantiate, | 15732 # If the user did not use the arguments to specify the items to instantiate, |
15346 test -n "$tmp" && test -d "$tmp" | 15760 test -n "$tmp" && test -d "$tmp" |
15347 } || | 15761 } || |
15348 { | 15762 { |
15349 tmp=./conf$$-$RANDOM | 15763 tmp=./conf$$-$RANDOM |
15350 (umask 077 && mkdir "$tmp") | 15764 (umask 077 && mkdir "$tmp") |
15351 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | 15765 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 |
15352 | 15766 |
15353 # Set up the scripts for CONFIG_FILES section. | 15767 # Set up the scripts for CONFIG_FILES section. |
15354 # No need to generate them if there are no CONFIG_FILES. | 15768 # No need to generate them if there are no CONFIG_FILES. |
15355 # This happens for instance with `./config.status config.h'. | 15769 # This happens for instance with `./config.status config.h'. |
15356 if test -n "$CONFIG_FILES"; then | 15770 if test -n "$CONFIG_FILES"; then |
15380 if test "x$ac_cr" = x; then | 15794 if test "x$ac_cr" = x; then |
15381 eval ac_cr=\$\'\\r\' | 15795 eval ac_cr=\$\'\\r\' |
15382 fi | 15796 fi |
15383 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 15797 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
15384 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 15798 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
15385 ac_cs_awk_cr='\\r' | 15799 ac_cs_awk_cr='\r' |
15386 else | 15800 else |
15387 ac_cs_awk_cr=$ac_cr | 15801 ac_cs_awk_cr=$ac_cr |
15388 fi | 15802 fi |
15389 | 15803 |
15390 echo 'BEGIN {' >"$tmp/subs1.awk" && | 15804 echo 'BEGIN {' >"$tmp/subs1.awk" && |
15397 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && | 15811 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' && |
15398 echo "_ACAWK" && | 15812 echo "_ACAWK" && |
15399 echo "_ACEOF" | 15813 echo "_ACEOF" |
15400 } >conf$$files.sh && | 15814 } >conf$$files.sh && |
15401 . ./conf$$files.sh || | 15815 . ./conf$$files.sh || |
15402 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 15816 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15403 rm -f conf$$files.sh | 15817 rm -f conf$$files.sh |
15404 | 15818 |
15405 { | 15819 { |
15406 echo "cat >conf$$subs.awk <<_ACEOF" && | 15820 echo "cat >conf$$subs.awk <<_ACEOF" && |
15407 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 15821 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
15408 echo "_ACEOF" | 15822 echo "_ACEOF" |
15409 } >conf$$subs.sh || | 15823 } >conf$$subs.sh || |
15410 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 15824 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15411 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | 15825 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` |
15412 ac_delim='%!_!# ' | 15826 ac_delim='%!_!# ' |
15413 for ac_last_try in false false false false false :; do | 15827 for ac_last_try in false false false false false :; do |
15414 . ./conf$$subs.sh || | 15828 . ./conf$$subs.sh || |
15415 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 15829 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15416 | 15830 |
15417 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 15831 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
15418 if test $ac_delim_n = $ac_delim_num; then | 15832 if test $ac_delim_n = $ac_delim_num; then |
15419 break | 15833 break |
15420 elif $ac_last_try; then | 15834 elif $ac_last_try; then |
15421 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 15835 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 |
15422 else | 15836 else |
15423 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 15837 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15424 fi | 15838 fi |
15425 done | 15839 done |
15426 rm -f conf$$subs.sh | 15840 rm -f conf$$subs.sh |
15511 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 15925 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
15512 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 15926 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
15513 else | 15927 else |
15514 cat | 15928 cat |
15515 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ | 15929 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ |
15516 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | 15930 || as_fn_error "could not setup config files machinery" "$LINENO" 5 |
15517 _ACEOF | 15931 _ACEOF |
15518 | 15932 |
15519 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | 15933 # VPATH may cause trouble with some makes, so we remove $(srcdir), |
15520 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | 15934 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
15521 # trailing colons and then remove the whole line if VPATH becomes empty | 15935 # trailing colons and then remove the whole line if VPATH becomes empty |
15522 # (actually we leave an empty line to preserve line numbers). | 15936 # (actually we leave an empty line to preserve line numbers). |
15523 if test "x$srcdir" = x.; then | 15937 if test "x$srcdir" = x.; then |
15524 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | 15938 ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
15525 h | 15939 s/:*\$(srcdir):*/:/ |
15526 s/// | 15940 s/:*\${srcdir}:*/:/ |
15527 s/^/:/ | 15941 s/:*@srcdir@:*/:/ |
15528 s/[ ]*$/:/ | 15942 s/^\([^=]*=[ ]*\):*/\1/ |
15529 s/:\$(srcdir):/:/g | |
15530 s/:\${srcdir}:/:/g | |
15531 s/:@srcdir@:/:/g | |
15532 s/^:*// | |
15533 s/:*$// | 15943 s/:*$// |
15534 x | |
15535 s/\(=[ ]*\).*/\1/ | |
15536 G | |
15537 s/\n// | |
15538 s/^[^=]*=[ ]*$// | 15944 s/^[^=]*=[ ]*$// |
15539 }' | 15945 }' |
15540 fi | 15946 fi |
15541 | 15947 |
15542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 15948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15560 for ac_last_try in false false :; do | 15966 for ac_last_try in false false :; do |
15561 ac_t=`sed -n "/$ac_delim/p" confdefs.h` | 15967 ac_t=`sed -n "/$ac_delim/p" confdefs.h` |
15562 if test -z "$ac_t"; then | 15968 if test -z "$ac_t"; then |
15563 break | 15969 break |
15564 elif $ac_last_try; then | 15970 elif $ac_last_try; then |
15565 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | 15971 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 |
15566 else | 15972 else |
15567 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 15973 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
15568 fi | 15974 fi |
15569 done | 15975 done |
15570 | 15976 |
15645 } | 16051 } |
15646 { print } | 16052 { print } |
15647 _ACAWK | 16053 _ACAWK |
15648 _ACEOF | 16054 _ACEOF |
15649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 16055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15650 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | 16056 as_fn_error "could not setup config headers machinery" "$LINENO" 5 |
15651 fi # test -n "$CONFIG_HEADERS" | 16057 fi # test -n "$CONFIG_HEADERS" |
15652 | 16058 |
15653 | 16059 |
15654 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | 16060 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
15655 shift | 16061 shift |
15658 case $ac_tag in | 16064 case $ac_tag in |
15659 :[FHLC]) ac_mode=$ac_tag; continue;; | 16065 :[FHLC]) ac_mode=$ac_tag; continue;; |
15660 esac | 16066 esac |
15661 case $ac_mode$ac_tag in | 16067 case $ac_mode$ac_tag in |
15662 :[FHL]*:*);; | 16068 :[FHL]*:*);; |
15663 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | 16069 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; |
15664 :[FH]-) ac_tag=-:-;; | 16070 :[FH]-) ac_tag=-:-;; |
15665 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 16071 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
15666 esac | 16072 esac |
15667 ac_save_IFS=$IFS | 16073 ac_save_IFS=$IFS |
15668 IFS=: | 16074 IFS=: |
15686 test -f "$ac_f" || | 16092 test -f "$ac_f" || |
15687 case $ac_f in | 16093 case $ac_f in |
15688 [\\/$]*) false;; | 16094 [\\/$]*) false;; |
15689 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 16095 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
15690 esac || | 16096 esac || |
15691 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 16097 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
15692 esac | 16098 esac |
15693 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 16099 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
15694 as_fn_append ac_file_inputs " '$ac_f'" | 16100 as_fn_append ac_file_inputs " '$ac_f'" |
15695 done | 16101 done |
15696 | 16102 |
15713 *) ac_sed_conf_input=$configure_input;; | 16119 *) ac_sed_conf_input=$configure_input;; |
15714 esac | 16120 esac |
15715 | 16121 |
15716 case $ac_tag in | 16122 case $ac_tag in |
15717 *:-:* | *:-) cat >"$tmp/stdin" \ | 16123 *:-:* | *:-) cat >"$tmp/stdin" \ |
15718 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | 16124 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; |
15719 esac | 16125 esac |
15720 ;; | 16126 ;; |
15721 esac | 16127 esac |
15722 | 16128 |
15723 ac_dir=`$as_dirname -- "$ac_file" || | 16129 ac_dir=`$as_dirname -- "$ac_file" || |
15849 if $ac_cs_awk_getline; then | 16255 if $ac_cs_awk_getline; then |
15850 $AWK -f "$tmp/subs.awk" | 16256 $AWK -f "$tmp/subs.awk" |
15851 else | 16257 else |
15852 $AWK -f "$tmp/subs.awk" | $SHELL | 16258 $AWK -f "$tmp/subs.awk" | $SHELL |
15853 fi >$tmp/out \ | 16259 fi >$tmp/out \ |
15854 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 16260 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
15855 | 16261 |
15856 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 16262 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
15857 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && | 16263 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
15858 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && | 16264 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 16265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15860 which seems to be undefined. Please make sure it is defined" >&5 | 16266 which seems to be undefined. Please make sure it is defined." >&5 |
15861 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 16267 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15862 which seems to be undefined. Please make sure it is defined" >&2;} | 16268 which seems to be undefined. Please make sure it is defined." >&2;} |
15863 | 16269 |
15864 rm -f "$tmp/stdin" | 16270 rm -f "$tmp/stdin" |
15865 case $ac_file in | 16271 case $ac_file in |
15866 -) cat "$tmp/out" && rm -f "$tmp/out";; | 16272 -) cat "$tmp/out" && rm -f "$tmp/out";; |
15867 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; | 16273 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; |
15868 esac \ | 16274 esac \ |
15869 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 16275 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
15870 ;; | 16276 ;; |
15871 :H) | 16277 :H) |
15872 # | 16278 # |
15873 # CONFIG_HEADER | 16279 # CONFIG_HEADER |
15874 # | 16280 # |
15875 if test x"$ac_file" != x-; then | 16281 if test x"$ac_file" != x-; then |
15876 { | 16282 { |
15877 $as_echo "/* $configure_input */" \ | 16283 $as_echo "/* $configure_input */" \ |
15878 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" | 16284 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" |
15879 } >"$tmp/config.h" \ | 16285 } >"$tmp/config.h" \ |
15880 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 16286 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
15881 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then | 16287 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then |
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 16288 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
15883 $as_echo "$as_me: $ac_file is unchanged" >&6;} | 16289 $as_echo "$as_me: $ac_file is unchanged" >&6;} |
15884 else | 16290 else |
15885 rm -f "$ac_file" | 16291 rm -f "$ac_file" |
15886 mv "$tmp/config.h" "$ac_file" \ | 16292 mv "$tmp/config.h" "$ac_file" \ |
15887 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 16293 || as_fn_error "could not create $ac_file" "$LINENO" 5 |
15888 fi | 16294 fi |
15889 else | 16295 else |
15890 $as_echo "/* $configure_input */" \ | 16296 $as_echo "/* $configure_input */" \ |
15891 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ | 16297 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ |
15892 || as_fn_error $? "could not create -" "$LINENO" 5 | 16298 || as_fn_error "could not create -" "$LINENO" 5 |
15893 fi | 16299 fi |
15894 ;; | 16300 ;; |
15895 | 16301 |
15896 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 16302 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
15897 $as_echo "$as_me: executing $ac_file commands" >&6;} | 16303 $as_echo "$as_me: executing $ac_file commands" >&6;} |
15924 as_fn_exit 0 | 16330 as_fn_exit 0 |
15925 _ACEOF | 16331 _ACEOF |
15926 ac_clean_files=$ac_clean_files_save | 16332 ac_clean_files=$ac_clean_files_save |
15927 | 16333 |
15928 test $ac_write_fail = 0 || | 16334 test $ac_write_fail = 0 || |
15929 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 16335 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
15930 | 16336 |
15931 | 16337 |
15932 # configure is writing to config.log, and then calls config.status. | 16338 # configure is writing to config.log, and then calls config.status. |
15933 # config.status does its own redirection, appending to config.log. | 16339 # config.status does its own redirection, appending to config.log. |
15934 # Unfortunately, on DOS this fails, as config.log is still kept open | 16340 # Unfortunately, on DOS this fails, as config.log is still kept open |
15945 exec 5>/dev/null | 16351 exec 5>/dev/null |
15946 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 16352 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
15947 exec 5>>config.log | 16353 exec 5>>config.log |
15948 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 16354 # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
15949 # would make configure fail if this is the last instruction. | 16355 # would make configure fail if this is the last instruction. |
15950 $ac_cs_success || as_fn_exit 1 | 16356 $ac_cs_success || as_fn_exit $? |
15951 fi | 16357 fi |
15952 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 16358 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 16359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
15954 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 16360 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
15955 fi | 16361 fi |