comparison configure @ 5495:1f0b15040456

Merge.
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 01 May 2011 18:44:03 +0100
parents 861f2601a38b f5a0b32f4687
children a142ad1a9140
comparison
equal deleted inserted replaced
5494:861f2601a38b 5495:1f0b15040456
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.65 for XEmacs 21.5. 3 # Generated by GNU Autoconf 2.68 for XEmacs 21.5.
4 # 4 #
5 # Report bugs to <xemacs-beta@xemacs.org>. 5 # Report bugs to <xemacs-beta@xemacs.org>.
6 # 6 #
7 # 7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Inc. 10 # Foundation, Inc.
11 # 11 #
12 # 12 #
13 # This configure script is free software; the Free Software Foundation 13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it. 14 # gives unlimited permission to copy, distribute and modify it.
15 # 15 #
32 # 32 #
33 # in the this directory. You must have autoconf version 2.59. 33 # in the this directory. You must have autoconf version 2.59.
34 # 34 #
35 # This file is part of XEmacs. 35 # This file is part of XEmacs.
36 # 36 #
37 # XEmacs is free software; you can redistribute it and/or modify it 37 # XEmacs is free software: you can redistribute it and/or modify it
38 # under the terms of the GNU General Public License as published by 38 # under the terms of the GNU General Public License as published by the
39 # the Free Software Foundation; either version 2, or (at your 39 # Free Software Foundation, either version 3 of the License, or (at your
40 # option) any later version. 40 # option) any later version.
41 # 41 #
42 # XEmacs is distributed in the hope that it will be useful, but 42 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
43 # WITHOUT ANY WARRANTY; without even the implied warranty of 43 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
44 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 44 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
45 # General Public License for more details. 45 # for more details.
46 # 46 #
47 # You should have received a copy of the GNU General Public License 47 # You should have received a copy of the GNU General Public License
48 # along with XEmacs; see the file COPYING. If not, write to the Free 48 # along with XEmacs. If not, see <http://www.gnu.org/licenses/>.
49 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
50 # Boston, MA 02110-1301, USA.
51 # 49 #
52 # For usage, run `./configure --help' 50 # For usage, run `./configure --help'
53 # For more detailed information on building and installing XEmacs, 51 # For more detailed information on building and installing XEmacs,
54 # read the file `INSTALL'. 52 # read the file `INSTALL'.
55 # 53 #
135 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 133 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
136 # splitting by setting IFS to empty value.) 134 # splitting by setting IFS to empty value.)
137 IFS=" "" $as_nl" 135 IFS=" "" $as_nl"
138 136
139 # Find who we are. Look in the path if we contain no directory separator. 137 # Find who we are. Look in the path if we contain no directory separator.
138 as_myself=
140 case $0 in #(( 139 case $0 in #((
141 *[\\/]* ) as_myself=$0 ;; 140 *[\\/]* ) as_myself=$0 ;;
142 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 141 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
143 for as_dir in $PATH 142 for as_dir in $PATH
144 do 143 do
260 259
261 if test "x$CONFIG_SHELL" != x; then : 260 if test "x$CONFIG_SHELL" != x; then :
262 # We cannot yet assume a decent shell, so we have to provide a 261 # We cannot yet assume a decent shell, so we have to provide a
263 # neutralization value for shells without unset; and this also 262 # neutralization value for shells without unset; and this also
264 # works around shells that cannot unset nonexistent variables. 263 # works around shells that cannot unset nonexistent variables.
264 # Preserve -v and -x to the replacement shell.
265 BASH_ENV=/dev/null 265 BASH_ENV=/dev/null
266 ENV=/dev/null 266 ENV=/dev/null
267 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 267 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
268 export CONFIG_SHELL 268 export CONFIG_SHELL
269 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 269 case $- in # ((((
270 *v*x* | *x*v* ) as_opts=-vx ;;
271 *v* ) as_opts=-v ;;
272 *x* ) as_opts=-x ;;
273 * ) as_opts= ;;
274 esac
275 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
270 fi 276 fi
271 277
272 if test x$as_have_required = xno; then : 278 if test x$as_have_required = xno; then :
273 $as_echo "$0: This script requires a shell more modern than all" 279 $as_echo "$0: This script requires a shell more modern than all"
274 $as_echo "$0: the shells that I found on your system." 280 $as_echo "$0: the shells that I found on your system."
363 } 369 }
364 s/.*/./; q'` 370 s/.*/./; q'`
365 test -d "$as_dir" && break 371 test -d "$as_dir" && break
366 done 372 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs" 373 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 374 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
369 375
370 376
371 } # as_fn_mkdir_p 377 } # as_fn_mkdir_p
372 # as_fn_append VAR VALUE 378 # as_fn_append VAR VALUE
373 # ---------------------- 379 # ----------------------
403 as_val=`expr "$@" || test $? -eq 1` 409 as_val=`expr "$@" || test $? -eq 1`
404 } 410 }
405 fi # as_fn_arith 411 fi # as_fn_arith
406 412
407 413
408 # as_fn_error ERROR [LINENO LOG_FD] 414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
409 # --------------------------------- 415 # ----------------------------------------
410 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
411 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
412 # script with status $?, using 1 if that was 0. 418 # script with STATUS, using 1 if that was 0.
413 as_fn_error () 419 as_fn_error ()
414 { 420 {
415 as_status=$?; test $as_status -eq 0 && as_status=1 421 as_status=$1; test $as_status -eq 0 && as_status=1
416 if test "$3"; then 422 if test "$4"; then
417 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
418 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
419 fi 425 fi
420 $as_echo "$as_me: error: $1" >&2 426 $as_echo "$as_me: error: $2" >&2
421 as_fn_exit $as_status 427 as_fn_exit $as_status
422 } # as_fn_error 428 } # as_fn_error
423 429
424 if expr a : '\(a\)' >/dev/null 2>&1 && 430 if expr a : '\(a\)' >/dev/null 2>&1 &&
425 test "X`expr 00001 : '.*\(...\)'`" = X001; then 431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
577 583
578 test -n "$DJDIR" || exec 7<&0 </dev/null 584 test -n "$DJDIR" || exec 7<&0 </dev/null
579 exec 6>&1 585 exec 6>&1
580 586
581 # Name of the host. 587 # Name of the host.
582 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 588 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
583 # so uname gets run too. 589 # so uname gets run too.
584 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 590 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
585 591
586 # 592 #
587 # Initializations. 593 # Initializations.
1003 with_bignum 1009 with_bignum
1004 enable_workshop 1010 enable_workshop
1005 with_workshop 1011 with_workshop
1006 enable_sparcworks 1012 enable_sparcworks
1007 with_sparcworks 1013 with_sparcworks
1008 enable_infodock
1009 with_infodock
1010 enable_debug 1014 enable_debug
1011 with_debug 1015 with_debug
1012 enable_error_checking 1016 enable_error_checking
1013 with_error_checking 1017 with_error_checking
1014 enable_assertions 1018 enable_assertions
1102 ac_prev= 1106 ac_prev=
1103 continue 1107 continue
1104 fi 1108 fi
1105 1109
1106 case $ac_option in 1110 case $ac_option in
1107 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1111 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1108 *) ac_optarg=yes ;; 1112 *=) ac_optarg= ;;
1113 *) ac_optarg=yes ;;
1109 esac 1114 esac
1110 1115
1111 # Accept the important Cygnus configure options, so we can diagnose typos. 1116 # Accept the important Cygnus configure options, so we can diagnose typos.
1112 1117
1113 case $ac_dashdash$ac_option in 1118 case $ac_dashdash$ac_option in
1148 1153
1149 -disable-* | --disable-*) 1154 -disable-* | --disable-*)
1150 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1155 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1151 # Reject names that are not valid shell variable names. 1156 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1153 as_fn_error "invalid feature name: $ac_useropt" 1158 as_fn_error $? "invalid feature name: $ac_useropt"
1154 ac_useropt_orig=$ac_useropt 1159 ac_useropt_orig=$ac_useropt
1155 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1160 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in 1161 case $ac_user_opts in
1157 *" 1162 *"
1158 "enable_$ac_useropt" 1163 "enable_$ac_useropt"
1174 1179
1175 -enable-* | --enable-*) 1180 -enable-* | --enable-*)
1176 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1181 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names. 1182 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179 as_fn_error "invalid feature name: $ac_useropt" 1184 as_fn_error $? "invalid feature name: $ac_useropt"
1180 ac_useropt_orig=$ac_useropt 1185 ac_useropt_orig=$ac_useropt
1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1186 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in 1187 case $ac_user_opts in
1183 *" 1188 *"
1184 "enable_$ac_useropt" 1189 "enable_$ac_useropt"
1378 1383
1379 -with-* | --with-*) 1384 -with-* | --with-*)
1380 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1385 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1381 # Reject names that are not valid shell variable names. 1386 # Reject names that are not valid shell variable names.
1382 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1387 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1383 as_fn_error "invalid package name: $ac_useropt" 1388 as_fn_error $? "invalid package name: $ac_useropt"
1384 ac_useropt_orig=$ac_useropt 1389 ac_useropt_orig=$ac_useropt
1385 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1390 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1386 case $ac_user_opts in 1391 case $ac_user_opts in
1387 *" 1392 *"
1388 "with_$ac_useropt" 1393 "with_$ac_useropt"
1394 1399
1395 -without-* | --without-*) 1400 -without-* | --without-*)
1396 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1401 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1397 # Reject names that are not valid shell variable names. 1402 # Reject names that are not valid shell variable names.
1398 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1403 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1399 as_fn_error "invalid package name: $ac_useropt" 1404 as_fn_error $? "invalid package name: $ac_useropt"
1400 ac_useropt_orig=$ac_useropt 1405 ac_useropt_orig=$ac_useropt
1401 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1406 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1402 case $ac_user_opts in 1407 case $ac_user_opts in
1403 *" 1408 *"
1404 "with_$ac_useropt" 1409 "with_$ac_useropt"
1424 ac_prev=x_libraries ;; 1429 ac_prev=x_libraries ;;
1425 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1430 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1426 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1431 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1427 x_libraries=$ac_optarg ;; 1432 x_libraries=$ac_optarg ;;
1428 1433
1429 -*) as_fn_error "unrecognized option: \`$ac_option' 1434 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1430 Try \`$0 --help' for more information." 1435 Try \`$0 --help' for more information"
1431 ;; 1436 ;;
1432 1437
1433 *=*) 1438 *=*)
1434 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1439 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1435 # Reject names that are not valid shell variable names. 1440 # Reject names that are not valid shell variable names.
1436 case $ac_envvar in #( 1441 case $ac_envvar in #(
1437 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1442 '' | [0-9]* | *[!_$as_cr_alnum]* )
1438 as_fn_error "invalid variable name: \`$ac_envvar'" ;; 1443 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1439 esac 1444 esac
1440 eval $ac_envvar=\$ac_optarg 1445 eval $ac_envvar=\$ac_optarg
1441 export $ac_envvar ;; 1446 export $ac_envvar ;;
1442 1447
1443 *) 1448 *)
1444 # FIXME: should be removed in autoconf 3.0. 1449 # FIXME: should be removed in autoconf 3.0.
1445 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1450 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1446 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1451 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1447 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1452 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1448 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1453 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1449 ;; 1454 ;;
1450 1455
1451 esac 1456 esac
1452 done 1457 done
1453 1458
1454 if test -n "$ac_prev"; then 1459 if test -n "$ac_prev"; then
1455 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1460 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1456 as_fn_error "missing argument to $ac_option" 1461 as_fn_error $? "missing argument to $ac_option"
1457 fi 1462 fi
1458 1463
1459 if test -n "$ac_unrecognized_opts"; then 1464 if test -n "$ac_unrecognized_opts"; then
1460 case $enable_option_checking in 1465 case $enable_option_checking in
1461 no) ;; 1466 no) ;;
1462 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; 1467 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1463 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1468 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1464 esac 1469 esac
1465 fi 1470 fi
1466 1471
1467 # Check all directory arguments for consistency. 1472 # Check all directory arguments for consistency.
1480 # Be sure to have absolute directory names. 1485 # Be sure to have absolute directory names.
1481 case $ac_val in 1486 case $ac_val in
1482 [\\/$]* | ?:[\\/]* ) continue;; 1487 [\\/$]* | ?:[\\/]* ) continue;;
1483 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1488 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1484 esac 1489 esac
1485 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" 1490 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1486 done 1491 done
1487 1492
1488 # There might be people who depend on the old broken behavior: `$host' 1493 # There might be people who depend on the old broken behavior: `$host'
1489 # used to hold the argument of --host etc. 1494 # used to hold the argument of --host etc.
1490 # FIXME: To remove some day. 1495 # FIXME: To remove some day.
1494 1499
1495 # FIXME: To remove some day. 1500 # FIXME: To remove some day.
1496 if test "x$host_alias" != x; then 1501 if test "x$host_alias" != x; then
1497 if test "x$build_alias" = x; then 1502 if test "x$build_alias" = x; then
1498 cross_compiling=maybe 1503 cross_compiling=maybe
1499 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1504 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1500 If a cross compiler is detected then cross compile mode will be used." >&2 1505 If a cross compiler is detected then cross compile mode will be used" >&2
1501 elif test "x$build_alias" != "x$host_alias"; then 1506 elif test "x$build_alias" != "x$host_alias"; then
1502 cross_compiling=yes 1507 cross_compiling=yes
1503 fi 1508 fi
1504 fi 1509 fi
1505 1510
1510 1515
1511 1516
1512 ac_pwd=`pwd` && test -n "$ac_pwd" && 1517 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1513 ac_ls_di=`ls -di .` && 1518 ac_ls_di=`ls -di .` &&
1514 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1519 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1515 as_fn_error "working directory cannot be determined" 1520 as_fn_error $? "working directory cannot be determined"
1516 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1521 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1517 as_fn_error "pwd does not report name of working directory" 1522 as_fn_error $? "pwd does not report name of working directory"
1518 1523
1519 1524
1520 # Find the source files, if location was not specified. 1525 # Find the source files, if location was not specified.
1521 if test -z "$srcdir"; then 1526 if test -z "$srcdir"; then
1522 ac_srcdir_defaulted=yes 1527 ac_srcdir_defaulted=yes
1551 else 1556 else
1552 ac_srcdir_defaulted=no 1557 ac_srcdir_defaulted=no
1553 fi 1558 fi
1554 if test ! -r "$srcdir/$ac_unique_file"; then 1559 if test ! -r "$srcdir/$ac_unique_file"; then
1555 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1560 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1556 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" 1561 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1557 fi 1562 fi
1558 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1563 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1559 ac_abs_confdir=`( 1564 ac_abs_confdir=`(
1560 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" 1565 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1561 pwd)` 1566 pwd)`
1562 # When building in place, set srcdir=. 1567 # When building in place, set srcdir=.
1563 if test "$ac_abs_confdir" = "$ac_pwd"; then 1568 if test "$ac_abs_confdir" = "$ac_pwd"; then
1564 srcdir=. 1569 srcdir=.
1565 fi 1570 fi
1595 Configuration: 1600 Configuration:
1596 -h, --help display this help and exit 1601 -h, --help display this help and exit
1597 --help=short display options specific to this package 1602 --help=short display options specific to this package
1598 --help=recursive display the short help of all the included packages 1603 --help=recursive display the short help of all the included packages
1599 -V, --version display version information and exit 1604 -V, --version display version information and exit
1600 -q, --quiet, --silent do not print \`checking...' messages 1605 -q, --quiet, --silent do not print \`checking ...' messages
1601 --cache-file=FILE cache test results in FILE [disabled] 1606 --cache-file=FILE cache test results in FILE [disabled]
1602 -C, --config-cache alias for \`--cache-file=config.cache' 1607 -C, --config-cache alias for \`--cache-file=config.cache'
1603 -n, --no-create do not create output files 1608 -n, --no-create do not create output files
1604 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1609 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1605 1610
1950 ------------------------- 1955 -------------------------
1951 1956
1952 --with-workshop Support the Sun WorkShop (formerly Sparcworks) 1957 --with-workshop Support the Sun WorkShop (formerly Sparcworks)
1953 development environment. 1958 development environment.
1954 --with-sparcworks Alias for --with-workshop 1959 --with-sparcworks Alias for --with-workshop
1955 --with-infodock Support the Infodock version of XEmacs. Infodock is
1956 a SourceForge project).
1957 1960
1958 Debugging options 1961 Debugging options
1959 ----------------- 1962 -----------------
1960 1963
1961 --with-debug Enable additional debugging information. No 1964 --with-debug Enable additional debugging information. No
1993 --with-memory-usage-stats 1996 --with-memory-usage-stats
1994 Enable LISP memory usage API. 1997 Enable LISP memory usage API.
1995 --with-quick-build Speed up the build cycle by leaving out steps where 1998 --with-quick-build Speed up the build cycle by leaving out steps where
1996 XEmacs will still work (more or less) without them. 1999 XEmacs will still work (more or less) without them.
1997 Potentially dangerous if you don't know what you're 2000 Potentially dangerous if you don't know what you're
1998 doing. This (1) doesn't garbage-collect after 2001 doing. This (1) Doesn't garbage-collect after
1999 loading each file during dumping, (2) doesn't 2002 loading each file during dumping, (2) Doesn't
2000 automatically rebuild the DOC file (remove it by 2003 automatically rebuild the DOC file (remove it by
2001 hand to get it rebuilt), (3) Removes config.h, 2004 hand to get it rebuilt), (3) Removes config.h,
2002 lisp.h and associated files from the dependency 2005 lisp.h and associated files from the dependency
2003 lists, so changes to these files don't automatically 2006 lists, so changes to these files don't automatically
2004 cause all .c files to be rebuilt. 2007 cause all .c files to be rebuilt, (4) Doesn't check
2008 for Lisp shadows.
2005 --with-union-type Use union definition of Lisp_Object type. Known to 2009 --with-union-type Use union definition of Lisp_Object type. Known to
2006 trigger bugs in some compilers. 2010 trigger bugs in some compilers.
2007 --with-quantify Support performance debugging using Quantify. 2011 --with-quantify Support performance debugging using Quantify.
2008 --with-purify Support memory debugging using Purify. 2012 --with-purify Support memory debugging using Purify.
2009 --with-valgrind Support memory debugging using Valgrind. 2013 --with-valgrind Support memory debugging using Valgrind.
2020 nonstandard directory <lib dir> 2024 nonstandard directory <lib dir>
2021 LIBS libraries to pass to the linker, e.g. -l<library> 2025 LIBS libraries to pass to the linker, e.g. -l<library>
2022 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 2026 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2023 you have headers in a nonstandard directory <include dir> 2027 you have headers in a nonstandard directory <include dir>
2024 CPP C preprocessor 2028 CPP C preprocessor
2025 YACC The `Yet Another C Compiler' implementation to use. Defaults to 2029 YACC The `Yet Another Compiler Compiler' implementation to use.
2026 the first program found out of: `bison -y', `byacc', `yacc'. 2030 Defaults to the first program found out of: `bison -y', `byacc',
2031 `yacc'.
2027 YFLAGS The list of arguments that will be passed by default to $YACC. 2032 YFLAGS The list of arguments that will be passed by default to $YACC.
2028 This script will default YFLAGS to the empty string to avoid a 2033 This script will default YFLAGS to the empty string to avoid a
2029 default value of `-d' given by some make applications. 2034 default value of `-d' given by some make applications.
2030 XMKMF Path to xmkmf, Makefile generator for X Window System 2035 XMKMF Path to xmkmf, Makefile generator for X Window System
2031 CXX C++ compiler command 2036 CXX C++ compiler command
2096 2101
2097 test -n "$ac_init_help" && exit $ac_status 2102 test -n "$ac_init_help" && exit $ac_status
2098 if $ac_init_version; then 2103 if $ac_init_version; then
2099 cat <<\_ACEOF 2104 cat <<\_ACEOF
2100 XEmacs configure 21.5 2105 XEmacs configure 21.5
2101 generated by GNU Autoconf 2.65 2106 generated by GNU Autoconf 2.68
2102 2107
2103 Copyright (C) 2009 Free Software Foundation, Inc. 2108 Copyright (C) 2010 Free Software Foundation, Inc.
2104 This configure script is free software; the Free Software Foundation 2109 This configure script is free software; the Free Software Foundation
2105 gives unlimited permission to copy, distribute and modify it. 2110 gives unlimited permission to copy, distribute and modify it.
2106 2111
2107 Configuration script for XEmacs. Largely divergent from FSF. 2112 Configuration script for XEmacs. Largely divergent from FSF.
2108 Guess values for system-dependent variables and create Makefiles. 2113 Guess values for system-dependent variables and create Makefiles.
2123 2128
2124 in the this directory. You must have autoconf version 2.59. 2129 in the this directory. You must have autoconf version 2.59.
2125 2130
2126 This file is part of XEmacs. 2131 This file is part of XEmacs.
2127 2132
2128 XEmacs is free software; you can redistribute it and/or modify it 2133 XEmacs is free software: you can redistribute it and/or modify it
2129 under the terms of the GNU General Public License as published by 2134 under the terms of the GNU General Public License as published by the
2130 the Free Software Foundation; either version 2, or (at your 2135 Free Software Foundation, either version 3 of the License, or (at your
2131 option) any later version. 2136 option) any later version.
2132 2137
2133 XEmacs is distributed in the hope that it will be useful, but 2138 XEmacs is distributed in the hope that it will be useful, but WITHOUT
2134 WITHOUT ANY WARRANTY; without even the implied warranty of 2139 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2135 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2140 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2136 General Public License for more details. 2141 for more details.
2137 2142
2138 You should have received a copy of the GNU General Public License 2143 You should have received a copy of the GNU General Public License
2139 along with XEmacs; see the file COPYING. If not, write to the Free 2144 along with XEmacs. If not, see <http://www.gnu.org/licenses/>.
2140 Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
2141 Boston, MA 02110-1301, USA.
2142 2145
2143 For usage, run `./configure --help' 2146 For usage, run `./configure --help'
2144 For more detailed information on building and installing XEmacs, 2147 For more detailed information on building and installing XEmacs,
2145 read the file `INSTALL'. 2148 read the file `INSTALL'.
2146 2149
2188 $as_echo "$as_me: failed program was:" >&5 2191 $as_echo "$as_me: failed program was:" >&5
2189 sed 's/^/| /' conftest.$ac_ext >&5 2192 sed 's/^/| /' conftest.$ac_ext >&5
2190 2193
2191 ac_retval=1 2194 ac_retval=1
2192 fi 2195 fi
2193 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2196 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2194 as_fn_set_status $ac_retval 2197 as_fn_set_status $ac_retval
2195 2198
2196 } # ac_fn_c_try_compile 2199 } # ac_fn_c_try_compile
2197 2200
2198 # ac_fn_c_try_cpp LINENO 2201 # ac_fn_c_try_cpp LINENO
2214 grep -v '^ *+' conftest.err >conftest.er1 2217 grep -v '^ *+' conftest.err >conftest.er1
2215 cat conftest.er1 >&5 2218 cat conftest.er1 >&5
2216 mv -f conftest.er1 conftest.err 2219 mv -f conftest.er1 conftest.err
2217 fi 2220 fi
2218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2219 test $ac_status = 0; } >/dev/null && { 2222 test $ac_status = 0; } > conftest.i && {
2220 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2223 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2221 test ! -s conftest.err 2224 test ! -s conftest.err
2222 }; then : 2225 }; then :
2223 ac_retval=0 2226 ac_retval=0
2224 else 2227 else
2225 $as_echo "$as_me: failed program was:" >&5 2228 $as_echo "$as_me: failed program was:" >&5
2226 sed 's/^/| /' conftest.$ac_ext >&5 2229 sed 's/^/| /' conftest.$ac_ext >&5
2227 2230
2228 ac_retval=1 2231 ac_retval=1
2229 fi 2232 fi
2230 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2233 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2231 as_fn_set_status $ac_retval 2234 as_fn_set_status $ac_retval
2232 2235
2233 } # ac_fn_c_try_cpp 2236 } # ac_fn_c_try_cpp
2234 2237
2235 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2238 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2238 # the include files in INCLUDES and setting the cache variable VAR 2241 # the include files in INCLUDES and setting the cache variable VAR
2239 # accordingly. 2242 # accordingly.
2240 ac_fn_c_check_header_mongrel () 2243 ac_fn_c_check_header_mongrel ()
2241 { 2244 {
2242 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2245 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2243 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2246 if eval \${$3+:} false; then :
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2245 $as_echo_n "checking for $2... " >&6; } 2248 $as_echo_n "checking for $2... " >&6; }
2246 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2249 if eval \${$3+:} false; then :
2247 $as_echo_n "(cached) " >&6 2250 $as_echo_n "(cached) " >&6
2248 fi 2251 fi
2249 eval ac_res=\$$3 2252 eval ac_res=\$$3
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; } 2254 $as_echo "$ac_res" >&6; }
2277 if ac_fn_c_try_cpp "$LINENO"; then : 2280 if ac_fn_c_try_cpp "$LINENO"; then :
2278 ac_header_preproc=yes 2281 ac_header_preproc=yes
2279 else 2282 else
2280 ac_header_preproc=no 2283 ac_header_preproc=no
2281 fi 2284 fi
2282 rm -f conftest.err conftest.$ac_ext 2285 rm -f conftest.err conftest.i conftest.$ac_ext
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2284 $as_echo "$ac_header_preproc" >&6; } 2287 $as_echo "$ac_header_preproc" >&6; }
2285 2288
2286 # So? What about this header? 2289 # So? What about this header?
2287 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2290 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2300 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2303 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2302 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2305 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2304 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2307 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2305 ( cat <<\_ASBOX 2308 ( $as_echo "## ------------------------------------- ##
2306 ## ------------------------------------- ##
2307 ## Report this to xemacs-beta@xemacs.org ## 2309 ## Report this to xemacs-beta@xemacs.org ##
2308 ## ------------------------------------- ## 2310 ## ------------------------------------- ##"
2309 _ASBOX
2310 ) | sed "s/^/$as_me: WARNING: /" >&2 2311 ) | sed "s/^/$as_me: WARNING: /" >&2
2311 ;; 2312 ;;
2312 esac 2313 esac
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2314 $as_echo_n "checking for $2... " >&6; } 2315 $as_echo_n "checking for $2... " >&6; }
2315 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2316 if eval \${$3+:} false; then :
2316 $as_echo_n "(cached) " >&6 2317 $as_echo_n "(cached) " >&6
2317 else 2318 else
2318 eval "$3=\$ac_header_compiler" 2319 eval "$3=\$ac_header_compiler"
2319 fi 2320 fi
2320 eval ac_res=\$$3 2321 eval ac_res=\$$3
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2322 $as_echo "$ac_res" >&6; } 2323 $as_echo "$ac_res" >&6; }
2323 fi 2324 fi
2324 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2325 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2325 2326
2326 } # ac_fn_c_check_header_mongrel 2327 } # ac_fn_c_check_header_mongrel
2327 2328
2328 # ac_fn_c_try_run LINENO 2329 # ac_fn_c_try_run LINENO
2329 # ---------------------- 2330 # ----------------------
2360 sed 's/^/| /' conftest.$ac_ext >&5 2361 sed 's/^/| /' conftest.$ac_ext >&5
2361 2362
2362 ac_retval=$ac_status 2363 ac_retval=$ac_status
2363 fi 2364 fi
2364 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2365 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2365 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2366 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2366 as_fn_set_status $ac_retval 2367 as_fn_set_status $ac_retval
2367 2368
2368 } # ac_fn_c_try_run 2369 } # ac_fn_c_try_run
2369 2370
2370 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2371 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2374 ac_fn_c_check_header_compile () 2375 ac_fn_c_check_header_compile ()
2375 { 2376 {
2376 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2377 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2378 $as_echo_n "checking for $2... " >&6; } 2379 $as_echo_n "checking for $2... " >&6; }
2379 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2380 if eval \${$3+:} false; then :
2380 $as_echo_n "(cached) " >&6 2381 $as_echo_n "(cached) " >&6
2381 else 2382 else
2382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2383 /* end confdefs.h. */ 2384 /* end confdefs.h. */
2384 $4 2385 $4
2392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2393 fi 2394 fi
2394 eval ac_res=\$$3 2395 eval ac_res=\$$3
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2396 $as_echo "$ac_res" >&6; } 2397 $as_echo "$ac_res" >&6; }
2397 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2398 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2398 2399
2399 } # ac_fn_c_check_header_compile 2400 } # ac_fn_c_check_header_compile
2400 2401
2401 # ac_fn_c_try_link LINENO 2402 # ac_fn_c_try_link LINENO
2402 # ----------------------- 2403 # -----------------------
2437 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2438 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2438 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2439 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2439 # interfere with the next link command; also delete a directory that is 2440 # interfere with the next link command; also delete a directory that is
2440 # left behind by Apple's compiler. We do this before executing the actions. 2441 # left behind by Apple's compiler. We do this before executing the actions.
2441 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2442 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2442 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2443 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2443 as_fn_set_status $ac_retval 2444 as_fn_set_status $ac_retval
2444 2445
2445 } # ac_fn_c_try_link 2446 } # ac_fn_c_try_link
2446 2447
2447 # ac_fn_c_check_func LINENO FUNC VAR 2448 # ac_fn_c_check_func LINENO FUNC VAR
2450 ac_fn_c_check_func () 2451 ac_fn_c_check_func ()
2451 { 2452 {
2452 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2453 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2454 $as_echo_n "checking for $2... " >&6; } 2455 $as_echo_n "checking for $2... " >&6; }
2455 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2456 if eval \${$3+:} false; then :
2456 $as_echo_n "(cached) " >&6 2457 $as_echo_n "(cached) " >&6
2457 else 2458 else
2458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2459 /* end confdefs.h. */ 2460 /* end confdefs.h. */
2460 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2461 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2505 conftest$ac_exeext conftest.$ac_ext 2506 conftest$ac_exeext conftest.$ac_ext
2506 fi 2507 fi
2507 eval ac_res=\$$3 2508 eval ac_res=\$$3
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2509 $as_echo "$ac_res" >&6; } 2510 $as_echo "$ac_res" >&6; }
2510 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2511 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2511 2512
2512 } # ac_fn_c_check_func 2513 } # ac_fn_c_check_func
2513 2514
2514 # ac_fn_c_check_decl LINENO SYMBOL VAR 2515 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2515 # ------------------------------------ 2516 # ---------------------------------------------
2516 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. 2517 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2518 # accordingly.
2517 ac_fn_c_check_decl () 2519 ac_fn_c_check_decl ()
2518 { 2520 {
2519 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 2522 as_decl_name=`echo $2|sed 's/ *(.*//'`
2521 $as_echo_n "checking whether $2 is declared... " >&6; } 2523 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2522 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2525 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2526 if eval \${$3+:} false; then :
2523 $as_echo_n "(cached) " >&6 2527 $as_echo_n "(cached) " >&6
2524 else 2528 else
2525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2526 /* end confdefs.h. */ 2530 /* end confdefs.h. */
2527 $4 2531 $4
2528 int 2532 int
2529 main () 2533 main ()
2530 { 2534 {
2531 #ifndef $2 2535 #ifndef $as_decl_name
2532 (void) $2; 2536 #ifdef __cplusplus
2537 (void) $as_decl_use;
2538 #else
2539 (void) $as_decl_name;
2540 #endif
2533 #endif 2541 #endif
2534 2542
2535 ; 2543 ;
2536 return 0; 2544 return 0;
2537 } 2545 }
2544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2545 fi 2553 fi
2546 eval ac_res=\$$3 2554 eval ac_res=\$$3
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2548 $as_echo "$ac_res" >&6; } 2556 $as_echo "$ac_res" >&6; }
2549 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2550 2558
2551 } # ac_fn_c_check_decl 2559 } # ac_fn_c_check_decl
2552 2560
2553 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2561 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2554 # ------------------------------------------- 2562 # -------------------------------------------
2557 ac_fn_c_check_type () 2565 ac_fn_c_check_type ()
2558 { 2566 {
2559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2561 $as_echo_n "checking for $2... " >&6; } 2569 $as_echo_n "checking for $2... " >&6; }
2562 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : 2570 if eval \${$3+:} false; then :
2563 $as_echo_n "(cached) " >&6 2571 $as_echo_n "(cached) " >&6
2564 else 2572 else
2565 eval "$3=no" 2573 eval "$3=no"
2566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2567 /* end confdefs.h. */ 2575 /* end confdefs.h. */
2598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2599 fi 2607 fi
2600 eval ac_res=\$$3 2608 eval ac_res=\$$3
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2602 $as_echo "$ac_res" >&6; } 2610 $as_echo "$ac_res" >&6; }
2603 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2604 2612
2605 } # ac_fn_c_check_type 2613 } # ac_fn_c_check_type
2606 2614
2607 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES 2615 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2608 # ---------------------------------------------------- 2616 # ----------------------------------------------------
2611 ac_fn_c_check_member () 2619 ac_fn_c_check_member ()
2612 { 2620 {
2613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2615 $as_echo_n "checking for $2.$3... " >&6; } 2623 $as_echo_n "checking for $2.$3... " >&6; }
2616 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then : 2624 if eval \${$4+:} false; then :
2617 $as_echo_n "(cached) " >&6 2625 $as_echo_n "(cached) " >&6
2618 else 2626 else
2619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2620 /* end confdefs.h. */ 2628 /* end confdefs.h. */
2621 $5 2629 $5
2655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2656 fi 2664 fi
2657 eval ac_res=\$$4 2665 eval ac_res=\$$4
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2659 $as_echo "$ac_res" >&6; } 2667 $as_echo "$ac_res" >&6; }
2660 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2661 2669
2662 } # ac_fn_c_check_member 2670 } # ac_fn_c_check_member
2663 2671
2664 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2672 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2665 # -------------------------------------------- 2673 # --------------------------------------------
2832 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2840 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2833 conftest.$ac_objext conftest.beam conftest.$ac_ext 2841 conftest.$ac_objext conftest.beam conftest.$ac_ext
2834 rm -f conftest.val 2842 rm -f conftest.val
2835 2843
2836 fi 2844 fi
2837 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2845 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2838 as_fn_set_status $ac_retval 2846 as_fn_set_status $ac_retval
2839 2847
2840 } # ac_fn_c_compute_int 2848 } # ac_fn_c_compute_int
2841 2849
2842 # ac_fn_cxx_try_compile LINENO 2850 # ac_fn_cxx_try_compile LINENO
2870 $as_echo "$as_me: failed program was:" >&5 2878 $as_echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.$ac_ext >&5 2879 sed 's/^/| /' conftest.$ac_ext >&5
2872 2880
2873 ac_retval=1 2881 ac_retval=1
2874 fi 2882 fi
2875 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2883 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2876 as_fn_set_status $ac_retval 2884 as_fn_set_status $ac_retval
2877 2885
2878 } # ac_fn_cxx_try_compile 2886 } # ac_fn_cxx_try_compile
2879 cat >config.log <<_ACEOF 2887 cat >config.log <<_ACEOF
2880 This file contains any messages produced by compilers while 2888 This file contains any messages produced by compilers while
2881 running configure, to aid debugging if configure makes a mistake. 2889 running configure, to aid debugging if configure makes a mistake.
2882 2890
2883 It was created by XEmacs $as_me 21.5, which was 2891 It was created by XEmacs $as_me 21.5, which was
2884 generated by GNU Autoconf 2.65. Invocation command line was 2892 generated by GNU Autoconf 2.68. Invocation command line was
2885 2893
2886 $ $0 $@ 2894 $ $0 $@
2887 2895
2888 _ACEOF 2896 _ACEOF
2889 exec 5>>config.log 2897 exec 5>>config.log
2989 trap 'exit_status=$? 2997 trap 'exit_status=$?
2990 # Save into config.log some information that might help in debugging. 2998 # Save into config.log some information that might help in debugging.
2991 { 2999 {
2992 echo 3000 echo
2993 3001
2994 cat <<\_ASBOX 3002 $as_echo "## ---------------- ##
2995 ## ---------------- ##
2996 ## Cache variables. ## 3003 ## Cache variables. ##
2997 ## ---------------- ## 3004 ## ---------------- ##"
2998 _ASBOX
2999 echo 3005 echo
3000 # The following way of writing the cache mishandles newlines in values, 3006 # The following way of writing the cache mishandles newlines in values,
3001 ( 3007 (
3002 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 3008 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3003 eval ac_val=\$$ac_var 3009 eval ac_val=\$$ac_var
3027 esac | 3033 esac |
3028 sort 3034 sort
3029 ) 3035 )
3030 echo 3036 echo
3031 3037
3032 cat <<\_ASBOX 3038 $as_echo "## ----------------- ##
3033 ## ----------------- ##
3034 ## Output variables. ## 3039 ## Output variables. ##
3035 ## ----------------- ## 3040 ## ----------------- ##"
3036 _ASBOX
3037 echo 3041 echo
3038 for ac_var in $ac_subst_vars 3042 for ac_var in $ac_subst_vars
3039 do 3043 do
3040 eval ac_val=\$$ac_var 3044 eval ac_val=\$$ac_var
3041 case $ac_val in 3045 case $ac_val in
3044 $as_echo "$ac_var='\''$ac_val'\''" 3048 $as_echo "$ac_var='\''$ac_val'\''"
3045 done | sort 3049 done | sort
3046 echo 3050 echo
3047 3051
3048 if test -n "$ac_subst_files"; then 3052 if test -n "$ac_subst_files"; then
3049 cat <<\_ASBOX 3053 $as_echo "## ------------------- ##
3050 ## ------------------- ##
3051 ## File substitutions. ## 3054 ## File substitutions. ##
3052 ## ------------------- ## 3055 ## ------------------- ##"
3053 _ASBOX
3054 echo 3056 echo
3055 for ac_var in $ac_subst_files 3057 for ac_var in $ac_subst_files
3056 do 3058 do
3057 eval ac_val=\$$ac_var 3059 eval ac_val=\$$ac_var
3058 case $ac_val in 3060 case $ac_val in
3062 done | sort 3064 done | sort
3063 echo 3065 echo
3064 fi 3066 fi
3065 3067
3066 if test -s confdefs.h; then 3068 if test -s confdefs.h; then
3067 cat <<\_ASBOX 3069 $as_echo "## ----------- ##
3068 ## ----------- ##
3069 ## confdefs.h. ## 3070 ## confdefs.h. ##
3070 ## ----------- ## 3071 ## ----------- ##"
3071 _ASBOX
3072 echo 3072 echo
3073 cat confdefs.h 3073 cat confdefs.h
3074 echo 3074 echo
3075 fi 3075 fi
3076 test "$ac_signal" != 0 && 3076 test "$ac_signal" != 0 &&
3121 # Let the site file select an alternate cache file if it wants to. 3121 # Let the site file select an alternate cache file if it wants to.
3122 # Prefer an explicitly selected file to automatically selected ones. 3122 # Prefer an explicitly selected file to automatically selected ones.
3123 ac_site_file1=NONE 3123 ac_site_file1=NONE
3124 ac_site_file2=NONE 3124 ac_site_file2=NONE
3125 if test -n "$CONFIG_SITE"; then 3125 if test -n "$CONFIG_SITE"; then
3126 ac_site_file1=$CONFIG_SITE 3126 # We do not want a PATH search for config.site.
3127 case $CONFIG_SITE in #((
3128 -*) ac_site_file1=./$CONFIG_SITE;;
3129 */*) ac_site_file1=$CONFIG_SITE;;
3130 *) ac_site_file1=./$CONFIG_SITE;;
3131 esac
3127 elif test "x$prefix" != xNONE; then 3132 elif test "x$prefix" != xNONE; then
3128 ac_site_file1=$prefix/share/config.site 3133 ac_site_file1=$prefix/share/config.site
3129 ac_site_file2=$prefix/etc/config.site 3134 ac_site_file2=$prefix/etc/config.site
3130 else 3135 else
3131 ac_site_file1=$ac_default_prefix/share/config.site 3136 ac_site_file1=$ac_default_prefix/share/config.site
3136 test "x$ac_site_file" = xNONE && continue 3141 test "x$ac_site_file" = xNONE && continue
3137 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 3142 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3143 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3139 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 3144 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3140 sed 's/^/| /' "$ac_site_file" >&5 3145 sed 's/^/| /' "$ac_site_file" >&5
3141 . "$ac_site_file" 3146 . "$ac_site_file" \
3147 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3149 as_fn_error $? "failed to load site script $ac_site_file
3150 See \`config.log' for more details" "$LINENO" 5; }
3142 fi 3151 fi
3143 done 3152 done
3144 3153
3145 if test -r "$cache_file"; then 3154 if test -r "$cache_file"; then
3146 # Some versions of bash will fail to source /dev/null (special files 3155 # Some versions of bash will fail to source /dev/null (special files
3212 if $ac_cache_corrupted; then 3221 if $ac_cache_corrupted; then
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3222 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3216 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3225 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3217 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3226 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3218 fi 3227 fi
3219 ## -------------------- ## 3228 ## -------------------- ##
3220 ## Main body of script. ## 3229 ## Main body of script. ##
3221 ## -------------------- ## 3230 ## -------------------- ##
3222 3231
5187 if test "${with_sparcworks+set}" = set; then 5196 if test "${with_sparcworks+set}" = set; then
5188 enableval="$with_sparcworks" 5197 enableval="$with_sparcworks"
5189 withval="$with_sparcworks" 5198 withval="$with_sparcworks"
5190 5199
5191 fi; 5200 fi;
5192 # If --with-infodock or --without-infodock were given then copy the value to the
5193 # equivalent enable_infodock variable.
5194 if test "${with_infodock+set}" = set; then
5195 enable_infodock="$with_infodock"
5196 fi;
5197 # If -enable-infodock or --disable-infodock were given then copy the value to the
5198 # equivalent with_infodock variable.
5199 if test "${enable_infodock+set}" = set; then
5200 with_infodock="$enable_infodock"
5201 fi;
5202 # Check whether --with-infodock or --without-infodock was given.
5203 if test "${with_infodock+set}" = set; then
5204 enableval="$with_infodock"
5205 withval="$with_infodock"
5206
5207 fi;
5208 5201
5209 # If --with-debug or --without-debug were given then copy the value to the 5202 # If --with-debug or --without-debug were given then copy the value to the
5210 # equivalent enable_debug variable. 5203 # equivalent enable_debug variable.
5211 if test "${with_debug+set}" = set; then 5204 if test "${with_debug+set}" = set; then
5212 enable_debug="$with_debug" 5205 enable_debug="$with_debug"
5507 5500
5508 $as_echo "#define LISPDIR_USER_DEFINED 1" >>confdefs.h 5501 $as_echo "#define LISPDIR_USER_DEFINED 1" >>confdefs.h
5509 5502
5510 $as_echo "#define ETCDIR_USER_DEFINED 1" >>confdefs.h 5503 $as_echo "#define ETCDIR_USER_DEFINED 1" >>confdefs.h
5511 5504
5505 $as_echo "#define LATE_PACKAGE_DIRECTORIES_USER_DEFINED 1" >>confdefs.h
5506
5512 fi 5507 fi
5513 5508
5514 if test "x$libdir" != "x\${exec_prefix}/lib" 5509 if test "x$libdir" != "x\${exec_prefix}/lib"
5515 then 5510 then
5516 $as_echo "#define MODULEDIR_USER_DEFINED 1" >>confdefs.h 5511 $as_echo "#define MODULEDIR_USER_DEFINED 1" >>confdefs.h
5531 5526
5532 with_sitelispdir='${datadir}/${inststaticdir}/site-lisp' 5527 with_sitelispdir='${datadir}/${inststaticdir}/site-lisp'
5533 inststaticdir='${PROGNAME}' 5528 inststaticdir='${PROGNAME}'
5534 instvardir='${PROGNAME}-${version}' 5529 instvardir='${PROGNAME}-${version}'
5535 sitemoduledir='${libdir}/${inststaticdir}/site-modules' 5530 sitemoduledir='${libdir}/${inststaticdir}/site-modules'
5531 with_late_packages='${datadir}/${PROGNAME}'
5536 5532
5537 5533
5538 statedir=$with_statedir 5534 statedir=$with_statedir
5539 5535
5540 5536
5596 vpath %.in $(srcdir)' 5592 vpath %.in $(srcdir)'
5597 fi 5593 fi
5598 5594
5599 ac_aux_dir= 5595 ac_aux_dir=
5600 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 5596 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
5601 for ac_t in install-sh install.sh shtool; do 5597 if test -f "$ac_dir/install-sh"; then
5602 if test -f "$ac_dir/$ac_t"; then 5598 ac_aux_dir=$ac_dir
5603 ac_aux_dir=$ac_dir 5599 ac_install_sh="$ac_aux_dir/install-sh -c"
5604 ac_install_sh="$ac_aux_dir/$ac_t -c" 5600 break
5605 break 2 5601 elif test -f "$ac_dir/install.sh"; then
5606 fi 5602 ac_aux_dir=$ac_dir
5607 done 5603 ac_install_sh="$ac_aux_dir/install.sh -c"
5604 break
5605 elif test -f "$ac_dir/shtool"; then
5606 ac_aux_dir=$ac_dir
5607 ac_install_sh="$ac_aux_dir/shtool install -c"
5608 break
5609 fi
5608 done 5610 done
5609 if test -z "$ac_aux_dir"; then 5611 if test -z "$ac_aux_dir"; then
5610 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 5612 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
5611 fi 5613 fi
5612 5614
5613 # These three variables are undocumented and unsupported, 5615 # These three variables are undocumented and unsupported,
5614 # and are intended to be withdrawn in a future Autoconf release. 5616 # and are intended to be withdrawn in a future Autoconf release.
5615 # They can cause serious problems if a builder's source tree is in a directory 5617 # They can cause serious problems if a builder's source tree is in a directory
5619 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 5621 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
5620 5622
5621 5623
5622 # Make sure we can run config.sub. 5624 # Make sure we can run config.sub.
5623 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 5625 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5624 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 5626 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5625 5627
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5627 $as_echo_n "checking build system type... " >&6; } 5629 $as_echo_n "checking build system type... " >&6; }
5628 if test "${ac_cv_build+set}" = set; then : 5630 if ${ac_cv_build+:} false; then :
5629 $as_echo_n "(cached) " >&6 5631 $as_echo_n "(cached) " >&6
5630 else 5632 else
5631 ac_build_alias=$build_alias 5633 ac_build_alias=$build_alias
5632 test "x$ac_build_alias" = x && 5634 test "x$ac_build_alias" = x &&
5633 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 5635 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5634 test "x$ac_build_alias" = x && 5636 test "x$ac_build_alias" = x &&
5635 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 5637 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5636 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 5638 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5637 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 5639 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5638 5640
5639 fi 5641 fi
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5641 $as_echo "$ac_cv_build" >&6; } 5643 $as_echo "$ac_cv_build" >&6; }
5642 case $ac_cv_build in 5644 case $ac_cv_build in
5643 *-*-*) ;; 5645 *-*-*) ;;
5644 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; 5646 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5645 esac 5647 esac
5646 build=$ac_cv_build 5648 build=$ac_cv_build
5647 ac_save_IFS=$IFS; IFS='-' 5649 ac_save_IFS=$IFS; IFS='-'
5648 set x $ac_cv_build 5650 set x $ac_cv_build
5649 shift 5651 shift
5710 cat >>confdefs.h <<_ACEOF 5712 cat >>confdefs.h <<_ACEOF
5711 #define EMACS_VERSION "$version" 5713 #define EMACS_VERSION "$version"
5712 _ACEOF 5714 _ACEOF
5713 5715
5714 5716
5715 if test "$with_infodock" = "yes"; then 5717 PROGNAME=xemacs
5716 if test ! -f ../../ID-INSTALL; then 5718 SHEBANG_PROGNAME=xemacs-script
5717 echo "Cannot build InfoDock without InfoDock sources"
5718 with_infodock=no
5719 fi
5720 fi
5721
5722 if test "$with_infodock" = "yes"; then
5723 cat >>confdefs.h <<_ACEOF
5724 #define INFODOCK_MAJOR_VERSION $infodock_major_version
5725 _ACEOF
5726
5727 cat >>confdefs.h <<_ACEOF
5728 #define INFODOCK_MINOR_VERSION $infodock_minor_version
5729 _ACEOF
5730
5731 cat >>confdefs.h <<_ACEOF
5732 #define INFODOCK_BUILD_VERSION $infodock_build_version
5733 _ACEOF
5734
5735 version=${infodock_major_version}.${infodock_minor_version}.${infodock_build_version}
5736 PROGNAME=infodock
5737 SHEBANG_PROGNAME=infodock-script
5738 CPPFLAGS="$CPPFLAGS -DINFODOCK"
5739 else
5740 PROGNAME=xemacs
5741 SHEBANG_PROGNAME=xemacs-script
5742 fi
5743 5719
5744 5720
5745 5721
5746 cat >>confdefs.h <<_ACEOF 5722 cat >>confdefs.h <<_ACEOF
5747 #define EMACS_PROGNAME "$PROGNAME" 5723 #define EMACS_PROGNAME "$PROGNAME"
6042 if test -n "$ac_tool_prefix"; then 6018 if test -n "$ac_tool_prefix"; then
6043 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 6019 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
6044 set dummy ${ac_tool_prefix}gcc; ac_word=$2 6020 set dummy ${ac_tool_prefix}gcc; ac_word=$2
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046 $as_echo_n "checking for $ac_word... " >&6; } 6022 $as_echo_n "checking for $ac_word... " >&6; }
6047 if test "${ac_cv_prog_CC+set}" = set; then : 6023 if ${ac_cv_prog_CC+:} false; then :
6048 $as_echo_n "(cached) " >&6 6024 $as_echo_n "(cached) " >&6
6049 else 6025 else
6050 if test -n "$CC"; then 6026 if test -n "$CC"; then
6051 ac_cv_prog_CC="$CC" # Let the user override the test. 6027 ac_cv_prog_CC="$CC" # Let the user override the test.
6052 else 6028 else
6082 ac_ct_CC=$CC 6058 ac_ct_CC=$CC
6083 # Extract the first word of "gcc", so it can be a program name with args. 6059 # Extract the first word of "gcc", so it can be a program name with args.
6084 set dummy gcc; ac_word=$2 6060 set dummy gcc; ac_word=$2
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086 $as_echo_n "checking for $ac_word... " >&6; } 6062 $as_echo_n "checking for $ac_word... " >&6; }
6087 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 6063 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6088 $as_echo_n "(cached) " >&6 6064 $as_echo_n "(cached) " >&6
6089 else 6065 else
6090 if test -n "$ac_ct_CC"; then 6066 if test -n "$ac_ct_CC"; then
6091 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 6067 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6092 else 6068 else
6135 if test -n "$ac_tool_prefix"; then 6111 if test -n "$ac_tool_prefix"; then
6136 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 6112 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6137 set dummy ${ac_tool_prefix}cc; ac_word=$2 6113 set dummy ${ac_tool_prefix}cc; ac_word=$2
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6139 $as_echo_n "checking for $ac_word... " >&6; } 6115 $as_echo_n "checking for $ac_word... " >&6; }
6140 if test "${ac_cv_prog_CC+set}" = set; then : 6116 if ${ac_cv_prog_CC+:} false; then :
6141 $as_echo_n "(cached) " >&6 6117 $as_echo_n "(cached) " >&6
6142 else 6118 else
6143 if test -n "$CC"; then 6119 if test -n "$CC"; then
6144 ac_cv_prog_CC="$CC" # Let the user override the test. 6120 ac_cv_prog_CC="$CC" # Let the user override the test.
6145 else 6121 else
6175 if test -z "$CC"; then 6151 if test -z "$CC"; then
6176 # Extract the first word of "cc", so it can be a program name with args. 6152 # Extract the first word of "cc", so it can be a program name with args.
6177 set dummy cc; ac_word=$2 6153 set dummy cc; ac_word=$2
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6179 $as_echo_n "checking for $ac_word... " >&6; } 6155 $as_echo_n "checking for $ac_word... " >&6; }
6180 if test "${ac_cv_prog_CC+set}" = set; then : 6156 if ${ac_cv_prog_CC+:} false; then :
6181 $as_echo_n "(cached) " >&6 6157 $as_echo_n "(cached) " >&6
6182 else 6158 else
6183 if test -n "$CC"; then 6159 if test -n "$CC"; then
6184 ac_cv_prog_CC="$CC" # Let the user override the test. 6160 ac_cv_prog_CC="$CC" # Let the user override the test.
6185 else 6161 else
6234 do 6210 do
6235 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6211 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6236 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6212 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6238 $as_echo_n "checking for $ac_word... " >&6; } 6214 $as_echo_n "checking for $ac_word... " >&6; }
6239 if test "${ac_cv_prog_CC+set}" = set; then : 6215 if ${ac_cv_prog_CC+:} false; then :
6240 $as_echo_n "(cached) " >&6 6216 $as_echo_n "(cached) " >&6
6241 else 6217 else
6242 if test -n "$CC"; then 6218 if test -n "$CC"; then
6243 ac_cv_prog_CC="$CC" # Let the user override the test. 6219 ac_cv_prog_CC="$CC" # Let the user override the test.
6244 else 6220 else
6278 do 6254 do
6279 # Extract the first word of "$ac_prog", so it can be a program name with args. 6255 # Extract the first word of "$ac_prog", so it can be a program name with args.
6280 set dummy $ac_prog; ac_word=$2 6256 set dummy $ac_prog; ac_word=$2
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6282 $as_echo_n "checking for $ac_word... " >&6; } 6258 $as_echo_n "checking for $ac_word... " >&6; }
6283 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 6259 if ${ac_cv_prog_ac_ct_CC+:} false; then :
6284 $as_echo_n "(cached) " >&6 6260 $as_echo_n "(cached) " >&6
6285 else 6261 else
6286 if test -n "$ac_ct_CC"; then 6262 if test -n "$ac_ct_CC"; then
6287 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 6263 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6288 else 6264 else
6332 fi 6308 fi
6333 6309
6334 6310
6335 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6311 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6337 as_fn_error "no acceptable C compiler found in \$PATH 6313 as_fn_error $? "no acceptable C compiler found in \$PATH
6338 See \`config.log' for more details." "$LINENO" 5; } 6314 See \`config.log' for more details" "$LINENO" 5; }
6339 6315
6340 # Provide some information about the compiler. 6316 # Provide some information about the compiler.
6341 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 6317 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6342 set X $ac_compile 6318 set X $ac_compile
6343 ac_compiler=$2 6319 ac_compiler=$2
6447 $as_echo "$as_me: failed program was:" >&5 6423 $as_echo "$as_me: failed program was:" >&5
6448 sed 's/^/| /' conftest.$ac_ext >&5 6424 sed 's/^/| /' conftest.$ac_ext >&5
6449 6425
6450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6452 { as_fn_set_status 77 6428 as_fn_error 77 "C compiler cannot create executables
6453 as_fn_error "C compiler cannot create executables 6429 See \`config.log' for more details" "$LINENO" 5; }
6454 See \`config.log' for more details." "$LINENO" 5; }; }
6455 else 6430 else
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6457 $as_echo "yes" >&6; } 6432 $as_echo "yes" >&6; }
6458 fi 6433 fi
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
6491 esac 6466 esac
6492 done 6467 done
6493 else 6468 else
6494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6496 as_fn_error "cannot compute suffix of executables: cannot compile and link 6471 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
6497 See \`config.log' for more details." "$LINENO" 5; } 6472 See \`config.log' for more details" "$LINENO" 5; }
6498 fi 6473 fi
6499 rm -f conftest conftest$ac_cv_exeext 6474 rm -f conftest conftest$ac_cv_exeext
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
6501 $as_echo "$ac_cv_exeext" >&6; } 6476 $as_echo "$ac_cv_exeext" >&6; }
6502 6477
6549 if test "$cross_compiling" = maybe; then 6524 if test "$cross_compiling" = maybe; then
6550 cross_compiling=yes 6525 cross_compiling=yes
6551 else 6526 else
6552 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6554 as_fn_error "cannot run C compiled programs. 6529 as_fn_error $? "cannot run C compiled programs.
6555 If you meant to cross compile, use \`--host'. 6530 If you meant to cross compile, use \`--host'.
6556 See \`config.log' for more details." "$LINENO" 5; } 6531 See \`config.log' for more details" "$LINENO" 5; }
6557 fi 6532 fi
6558 fi 6533 fi
6559 fi 6534 fi
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
6561 $as_echo "$cross_compiling" >&6; } 6536 $as_echo "$cross_compiling" >&6; }
6562 6537
6563 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 6538 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
6564 ac_clean_files=$ac_clean_files_save 6539 ac_clean_files=$ac_clean_files_save
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
6566 $as_echo_n "checking for suffix of object files... " >&6; } 6541 $as_echo_n "checking for suffix of object files... " >&6; }
6567 if test "${ac_cv_objext+set}" = set; then : 6542 if ${ac_cv_objext+:} false; then :
6568 $as_echo_n "(cached) " >&6 6543 $as_echo_n "(cached) " >&6
6569 else 6544 else
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */ 6546 /* end confdefs.h. */
6572 6547
6602 $as_echo "$as_me: failed program was:" >&5 6577 $as_echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.$ac_ext >&5 6578 sed 's/^/| /' conftest.$ac_ext >&5
6604 6579
6605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6607 as_fn_error "cannot compute suffix of object files: cannot compile 6582 as_fn_error $? "cannot compute suffix of object files: cannot compile
6608 See \`config.log' for more details." "$LINENO" 5; } 6583 See \`config.log' for more details" "$LINENO" 5; }
6609 fi 6584 fi
6610 rm -f conftest.$ac_cv_objext conftest.$ac_ext 6585 rm -f conftest.$ac_cv_objext conftest.$ac_ext
6611 fi 6586 fi
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
6613 $as_echo "$ac_cv_objext" >&6; } 6588 $as_echo "$ac_cv_objext" >&6; }
6614 OBJEXT=$ac_cv_objext 6589 OBJEXT=$ac_cv_objext
6615 ac_objext=$OBJEXT 6590 ac_objext=$OBJEXT
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6617 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 6592 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6618 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 6593 if ${ac_cv_c_compiler_gnu+:} false; then :
6619 $as_echo_n "(cached) " >&6 6594 $as_echo_n "(cached) " >&6
6620 else 6595 else
6621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6622 /* end confdefs.h. */ 6597 /* end confdefs.h. */
6623 6598
6650 fi 6625 fi
6651 ac_test_CFLAGS=${CFLAGS+set} 6626 ac_test_CFLAGS=${CFLAGS+set}
6652 ac_save_CFLAGS=$CFLAGS 6627 ac_save_CFLAGS=$CFLAGS
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6654 $as_echo_n "checking whether $CC accepts -g... " >&6; } 6629 $as_echo_n "checking whether $CC accepts -g... " >&6; }
6655 if test "${ac_cv_prog_cc_g+set}" = set; then : 6630 if ${ac_cv_prog_cc_g+:} false; then :
6656 $as_echo_n "(cached) " >&6 6631 $as_echo_n "(cached) " >&6
6657 else 6632 else
6658 ac_save_c_werror_flag=$ac_c_werror_flag 6633 ac_save_c_werror_flag=$ac_c_werror_flag
6659 ac_c_werror_flag=yes 6634 ac_c_werror_flag=yes
6660 ac_cv_prog_cc_g=no 6635 ac_cv_prog_cc_g=no
6728 CFLAGS= 6703 CFLAGS=
6729 fi 6704 fi
6730 fi 6705 fi
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6732 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 6707 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6733 if test "${ac_cv_prog_cc_c89+set}" = set; then : 6708 if ${ac_cv_prog_cc_c89+:} false; then :
6734 $as_echo_n "(cached) " >&6 6709 $as_echo_n "(cached) " >&6
6735 else 6710 else
6736 ac_cv_prog_cc_c89=no 6711 ac_cv_prog_cc_c89=no
6737 ac_save_CC=$CC 6712 ac_save_CC=$CC
6738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842 # On Suns, sometimes $CPP names a directory. 6817 # On Suns, sometimes $CPP names a directory.
6843 if test -n "$CPP" && test -d "$CPP"; then 6818 if test -n "$CPP" && test -d "$CPP"; then
6844 CPP= 6819 CPP=
6845 fi 6820 fi
6846 if test -z "$CPP"; then 6821 if test -z "$CPP"; then
6847 if test "${ac_cv_prog_CPP+set}" = set; then : 6822 if ${ac_cv_prog_CPP+:} false; then :
6848 $as_echo_n "(cached) " >&6 6823 $as_echo_n "(cached) " >&6
6849 else 6824 else
6850 # Double quotes because CPP needs to be expanded 6825 # Double quotes because CPP needs to be expanded
6851 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 6826 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6852 do 6827 do
6872 6847
6873 else 6848 else
6874 # Broken: fails on valid input. 6849 # Broken: fails on valid input.
6875 continue 6850 continue
6876 fi 6851 fi
6877 rm -f conftest.err conftest.$ac_ext 6852 rm -f conftest.err conftest.i conftest.$ac_ext
6878 6853
6879 # OK, works on sane cases. Now check whether nonexistent headers 6854 # OK, works on sane cases. Now check whether nonexistent headers
6880 # can be detected and how. 6855 # can be detected and how.
6881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6882 /* end confdefs.h. */ 6857 /* end confdefs.h. */
6888 else 6863 else
6889 # Passes both tests. 6864 # Passes both tests.
6890 ac_preproc_ok=: 6865 ac_preproc_ok=:
6891 break 6866 break
6892 fi 6867 fi
6893 rm -f conftest.err conftest.$ac_ext 6868 rm -f conftest.err conftest.i conftest.$ac_ext
6894 6869
6895 done 6870 done
6896 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6871 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6897 rm -f conftest.err conftest.$ac_ext 6872 rm -f conftest.i conftest.err conftest.$ac_ext
6898 if $ac_preproc_ok; then : 6873 if $ac_preproc_ok; then :
6899 break 6874 break
6900 fi 6875 fi
6901 6876
6902 done 6877 done
6931 6906
6932 else 6907 else
6933 # Broken: fails on valid input. 6908 # Broken: fails on valid input.
6934 continue 6909 continue
6935 fi 6910 fi
6936 rm -f conftest.err conftest.$ac_ext 6911 rm -f conftest.err conftest.i conftest.$ac_ext
6937 6912
6938 # OK, works on sane cases. Now check whether nonexistent headers 6913 # OK, works on sane cases. Now check whether nonexistent headers
6939 # can be detected and how. 6914 # can be detected and how.
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6941 /* end confdefs.h. */ 6916 /* end confdefs.h. */
6947 else 6922 else
6948 # Passes both tests. 6923 # Passes both tests.
6949 ac_preproc_ok=: 6924 ac_preproc_ok=:
6950 break 6925 break
6951 fi 6926 fi
6952 rm -f conftest.err conftest.$ac_ext 6927 rm -f conftest.err conftest.i conftest.$ac_ext
6953 6928
6954 done 6929 done
6955 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 6930 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6956 rm -f conftest.err conftest.$ac_ext 6931 rm -f conftest.i conftest.err conftest.$ac_ext
6957 if $ac_preproc_ok; then : 6932 if $ac_preproc_ok; then :
6958 6933
6959 else 6934 else
6960 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6962 as_fn_error "C preprocessor \"$CPP\" fails sanity check 6937 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6963 See \`config.log' for more details." "$LINENO" 5; } 6938 See \`config.log' for more details" "$LINENO" 5; }
6964 fi 6939 fi
6965 6940
6966 ac_ext=c 6941 ac_ext=c
6967 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 6942 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
6968 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 6943 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
6973 ac_compiler_gnu=$ac_cv_c_compiler_gnu 6948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6974 6949
6975 6950
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6977 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 6952 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6978 if test "${ac_cv_path_GREP+set}" = set; then : 6953 if ${ac_cv_path_GREP+:} false; then :
6979 $as_echo_n "(cached) " >&6 6954 $as_echo_n "(cached) " >&6
6980 else 6955 else
6981 if test -z "$GREP"; then 6956 if test -z "$GREP"; then
6982 ac_path_GREP_found=false 6957 ac_path_GREP_found=false
6983 # Loop through the user's path and test for each of PROGNAME-LIST 6958 # Loop through the user's path and test for each of PROGNAME-LIST
7022 done 6997 done
7023 done 6998 done
7024 done 6999 done
7025 IFS=$as_save_IFS 7000 IFS=$as_save_IFS
7026 if test -z "$ac_cv_path_GREP"; then 7001 if test -z "$ac_cv_path_GREP"; then
7027 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 7002 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7028 fi 7003 fi
7029 else 7004 else
7030 ac_cv_path_GREP=$GREP 7005 ac_cv_path_GREP=$GREP
7031 fi 7006 fi
7032 7007
7036 GREP="$ac_cv_path_GREP" 7011 GREP="$ac_cv_path_GREP"
7037 7012
7038 7013
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7040 $as_echo_n "checking for egrep... " >&6; } 7015 $as_echo_n "checking for egrep... " >&6; }
7041 if test "${ac_cv_path_EGREP+set}" = set; then : 7016 if ${ac_cv_path_EGREP+:} false; then :
7042 $as_echo_n "(cached) " >&6 7017 $as_echo_n "(cached) " >&6
7043 else 7018 else
7044 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 7019 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7045 then ac_cv_path_EGREP="$GREP -E" 7020 then ac_cv_path_EGREP="$GREP -E"
7046 else 7021 else
7088 done 7063 done
7089 done 7064 done
7090 done 7065 done
7091 IFS=$as_save_IFS 7066 IFS=$as_save_IFS
7092 if test -z "$ac_cv_path_EGREP"; then 7067 if test -z "$ac_cv_path_EGREP"; then
7093 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 7068 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7094 fi 7069 fi
7095 else 7070 else
7096 ac_cv_path_EGREP=$EGREP 7071 ac_cv_path_EGREP=$EGREP
7097 fi 7072 fi
7098 7073
7103 EGREP="$ac_cv_path_EGREP" 7078 EGREP="$ac_cv_path_EGREP"
7104 7079
7105 7080
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7107 $as_echo_n "checking for ANSI C header files... " >&6; } 7082 $as_echo_n "checking for ANSI C header files... " >&6; }
7108 if test "${ac_cv_header_stdc+set}" = set; then : 7083 if ${ac_cv_header_stdc+:} false; then :
7109 $as_echo_n "(cached) " >&6 7084 $as_echo_n "(cached) " >&6
7110 else 7085 else
7111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7112 /* end confdefs.h. */ 7087 /* end confdefs.h. */
7113 #include <stdlib.h> 7088 #include <stdlib.h>
7220 inttypes.h stdint.h unistd.h 7195 inttypes.h stdint.h unistd.h
7221 do : 7196 do :
7222 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7197 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7198 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7224 " 7199 "
7225 eval as_val=\$$as_ac_Header 7200 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7226 if test "x$as_val" = x""yes; then :
7227 cat >>confdefs.h <<_ACEOF 7201 cat >>confdefs.h <<_ACEOF
7228 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7202 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7229 _ACEOF 7203 _ACEOF
7230 7204
7231 fi 7205 fi
7233 done 7207 done
7234 7208
7235 7209
7236 7210
7237 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 7211 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
7238 if test "x$ac_cv_header_minix_config_h" = x""yes; then : 7212 if test "x$ac_cv_header_minix_config_h" = xyes; then :
7239 MINIX=yes 7213 MINIX=yes
7240 else 7214 else
7241 MINIX= 7215 MINIX=
7242 fi 7216 fi
7243 7217
7255 fi 7229 fi
7256 7230
7257 7231
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
7259 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 7233 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
7260 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then : 7234 if ${ac_cv_safe_to_define___extensions__+:} false; then :
7261 $as_echo_n "(cached) " >&6 7235 $as_echo_n "(cached) " >&6
7262 else 7236 else
7263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7264 /* end confdefs.h. */ 7238 /* end confdefs.h. */
7265 7239
7306 if test -n "$ac_tool_prefix"; then 7280 if test -n "$ac_tool_prefix"; then
7307 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 7281 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
7308 set dummy ${ac_tool_prefix}gcc; ac_word=$2 7282 set dummy ${ac_tool_prefix}gcc; ac_word=$2
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7310 $as_echo_n "checking for $ac_word... " >&6; } 7284 $as_echo_n "checking for $ac_word... " >&6; }
7311 if test "${ac_cv_prog_CC+set}" = set; then : 7285 if ${ac_cv_prog_CC+:} false; then :
7312 $as_echo_n "(cached) " >&6 7286 $as_echo_n "(cached) " >&6
7313 else 7287 else
7314 if test -n "$CC"; then 7288 if test -n "$CC"; then
7315 ac_cv_prog_CC="$CC" # Let the user override the test. 7289 ac_cv_prog_CC="$CC" # Let the user override the test.
7316 else 7290 else
7346 ac_ct_CC=$CC 7320 ac_ct_CC=$CC
7347 # Extract the first word of "gcc", so it can be a program name with args. 7321 # Extract the first word of "gcc", so it can be a program name with args.
7348 set dummy gcc; ac_word=$2 7322 set dummy gcc; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; } 7324 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 7325 if ${ac_cv_prog_ac_ct_CC+:} false; then :
7352 $as_echo_n "(cached) " >&6 7326 $as_echo_n "(cached) " >&6
7353 else 7327 else
7354 if test -n "$ac_ct_CC"; then 7328 if test -n "$ac_ct_CC"; then
7355 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 7329 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7356 else 7330 else
7399 if test -n "$ac_tool_prefix"; then 7373 if test -n "$ac_tool_prefix"; then
7400 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 7374 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7401 set dummy ${ac_tool_prefix}cc; ac_word=$2 7375 set dummy ${ac_tool_prefix}cc; ac_word=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; } 7377 $as_echo_n "checking for $ac_word... " >&6; }
7404 if test "${ac_cv_prog_CC+set}" = set; then : 7378 if ${ac_cv_prog_CC+:} false; then :
7405 $as_echo_n "(cached) " >&6 7379 $as_echo_n "(cached) " >&6
7406 else 7380 else
7407 if test -n "$CC"; then 7381 if test -n "$CC"; then
7408 ac_cv_prog_CC="$CC" # Let the user override the test. 7382 ac_cv_prog_CC="$CC" # Let the user override the test.
7409 else 7383 else
7439 if test -z "$CC"; then 7413 if test -z "$CC"; then
7440 # Extract the first word of "cc", so it can be a program name with args. 7414 # Extract the first word of "cc", so it can be a program name with args.
7441 set dummy cc; ac_word=$2 7415 set dummy cc; ac_word=$2
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443 $as_echo_n "checking for $ac_word... " >&6; } 7417 $as_echo_n "checking for $ac_word... " >&6; }
7444 if test "${ac_cv_prog_CC+set}" = set; then : 7418 if ${ac_cv_prog_CC+:} false; then :
7445 $as_echo_n "(cached) " >&6 7419 $as_echo_n "(cached) " >&6
7446 else 7420 else
7447 if test -n "$CC"; then 7421 if test -n "$CC"; then
7448 ac_cv_prog_CC="$CC" # Let the user override the test. 7422 ac_cv_prog_CC="$CC" # Let the user override the test.
7449 else 7423 else
7498 do 7472 do
7499 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7500 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7502 $as_echo_n "checking for $ac_word... " >&6; } 7476 $as_echo_n "checking for $ac_word... " >&6; }
7503 if test "${ac_cv_prog_CC+set}" = set; then : 7477 if ${ac_cv_prog_CC+:} false; then :
7504 $as_echo_n "(cached) " >&6 7478 $as_echo_n "(cached) " >&6
7505 else 7479 else
7506 if test -n "$CC"; then 7480 if test -n "$CC"; then
7507 ac_cv_prog_CC="$CC" # Let the user override the test. 7481 ac_cv_prog_CC="$CC" # Let the user override the test.
7508 else 7482 else
7542 do 7516 do
7543 # Extract the first word of "$ac_prog", so it can be a program name with args. 7517 # Extract the first word of "$ac_prog", so it can be a program name with args.
7544 set dummy $ac_prog; ac_word=$2 7518 set dummy $ac_prog; ac_word=$2
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7546 $as_echo_n "checking for $ac_word... " >&6; } 7520 $as_echo_n "checking for $ac_word... " >&6; }
7547 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 7521 if ${ac_cv_prog_ac_ct_CC+:} false; then :
7548 $as_echo_n "(cached) " >&6 7522 $as_echo_n "(cached) " >&6
7549 else 7523 else
7550 if test -n "$ac_ct_CC"; then 7524 if test -n "$ac_ct_CC"; then
7551 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 7525 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7552 else 7526 else
7596 fi 7570 fi
7597 7571
7598 7572
7599 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7573 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7601 as_fn_error "no acceptable C compiler found in \$PATH 7575 as_fn_error $? "no acceptable C compiler found in \$PATH
7602 See \`config.log' for more details." "$LINENO" 5; } 7576 See \`config.log' for more details" "$LINENO" 5; }
7603 7577
7604 # Provide some information about the compiler. 7578 # Provide some information about the compiler.
7605 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 7579 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
7606 set X $ac_compile 7580 set X $ac_compile
7607 ac_compiler=$2 7581 ac_compiler=$2
7626 test $ac_status = 0; } 7600 test $ac_status = 0; }
7627 done 7601 done
7628 7602
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
7630 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 7604 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
7631 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 7605 if ${ac_cv_c_compiler_gnu+:} false; then :
7632 $as_echo_n "(cached) " >&6 7606 $as_echo_n "(cached) " >&6
7633 else 7607 else
7634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7635 /* end confdefs.h. */ 7609 /* end confdefs.h. */
7636 7610
7663 fi 7637 fi
7664 ac_test_CFLAGS=${CFLAGS+set} 7638 ac_test_CFLAGS=${CFLAGS+set}
7665 ac_save_CFLAGS=$CFLAGS 7639 ac_save_CFLAGS=$CFLAGS
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
7667 $as_echo_n "checking whether $CC accepts -g... " >&6; } 7641 $as_echo_n "checking whether $CC accepts -g... " >&6; }
7668 if test "${ac_cv_prog_cc_g+set}" = set; then : 7642 if ${ac_cv_prog_cc_g+:} false; then :
7669 $as_echo_n "(cached) " >&6 7643 $as_echo_n "(cached) " >&6
7670 else 7644 else
7671 ac_save_c_werror_flag=$ac_c_werror_flag 7645 ac_save_c_werror_flag=$ac_c_werror_flag
7672 ac_c_werror_flag=yes 7646 ac_c_werror_flag=yes
7673 ac_cv_prog_cc_g=no 7647 ac_cv_prog_cc_g=no
7741 CFLAGS= 7715 CFLAGS=
7742 fi 7716 fi
7743 fi 7717 fi
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
7745 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 7719 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
7746 if test "${ac_cv_prog_cc_c89+set}" = set; then : 7720 if ${ac_cv_prog_cc_c89+:} false; then :
7747 $as_echo_n "(cached) " >&6 7721 $as_echo_n "(cached) " >&6
7748 else 7722 else
7749 ac_cv_prog_cc_c89=no 7723 ac_cv_prog_cc_c89=no
7750 ac_save_CC=$CC 7724 ac_save_CC=$CC
7751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7854 if test -n "$ac_tool_prefix"; then 7828 if test -n "$ac_tool_prefix"; then
7855 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 7829 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
7856 set dummy ${ac_tool_prefix}gcc; ac_word=$2 7830 set dummy ${ac_tool_prefix}gcc; ac_word=$2
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7858 $as_echo_n "checking for $ac_word... " >&6; } 7832 $as_echo_n "checking for $ac_word... " >&6; }
7859 if test "${ac_cv_prog_CC+set}" = set; then : 7833 if ${ac_cv_prog_CC+:} false; then :
7860 $as_echo_n "(cached) " >&6 7834 $as_echo_n "(cached) " >&6
7861 else 7835 else
7862 if test -n "$CC"; then 7836 if test -n "$CC"; then
7863 ac_cv_prog_CC="$CC" # Let the user override the test. 7837 ac_cv_prog_CC="$CC" # Let the user override the test.
7864 else 7838 else
7894 ac_ct_CC=$CC 7868 ac_ct_CC=$CC
7895 # Extract the first word of "gcc", so it can be a program name with args. 7869 # Extract the first word of "gcc", so it can be a program name with args.
7896 set dummy gcc; ac_word=$2 7870 set dummy gcc; ac_word=$2
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7898 $as_echo_n "checking for $ac_word... " >&6; } 7872 $as_echo_n "checking for $ac_word... " >&6; }
7899 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 7873 if ${ac_cv_prog_ac_ct_CC+:} false; then :
7900 $as_echo_n "(cached) " >&6 7874 $as_echo_n "(cached) " >&6
7901 else 7875 else
7902 if test -n "$ac_ct_CC"; then 7876 if test -n "$ac_ct_CC"; then
7903 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 7877 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
7904 else 7878 else
7947 if test -n "$ac_tool_prefix"; then 7921 if test -n "$ac_tool_prefix"; then
7948 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 7922 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
7949 set dummy ${ac_tool_prefix}cc; ac_word=$2 7923 set dummy ${ac_tool_prefix}cc; ac_word=$2
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7951 $as_echo_n "checking for $ac_word... " >&6; } 7925 $as_echo_n "checking for $ac_word... " >&6; }
7952 if test "${ac_cv_prog_CC+set}" = set; then : 7926 if ${ac_cv_prog_CC+:} false; then :
7953 $as_echo_n "(cached) " >&6 7927 $as_echo_n "(cached) " >&6
7954 else 7928 else
7955 if test -n "$CC"; then 7929 if test -n "$CC"; then
7956 ac_cv_prog_CC="$CC" # Let the user override the test. 7930 ac_cv_prog_CC="$CC" # Let the user override the test.
7957 else 7931 else
7987 if test -z "$CC"; then 7961 if test -z "$CC"; then
7988 # Extract the first word of "cc", so it can be a program name with args. 7962 # Extract the first word of "cc", so it can be a program name with args.
7989 set dummy cc; ac_word=$2 7963 set dummy cc; ac_word=$2
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7991 $as_echo_n "checking for $ac_word... " >&6; } 7965 $as_echo_n "checking for $ac_word... " >&6; }
7992 if test "${ac_cv_prog_CC+set}" = set; then : 7966 if ${ac_cv_prog_CC+:} false; then :
7993 $as_echo_n "(cached) " >&6 7967 $as_echo_n "(cached) " >&6
7994 else 7968 else
7995 if test -n "$CC"; then 7969 if test -n "$CC"; then
7996 ac_cv_prog_CC="$CC" # Let the user override the test. 7970 ac_cv_prog_CC="$CC" # Let the user override the test.
7997 else 7971 else
8046 do 8020 do
8047 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8048 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8022 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8050 $as_echo_n "checking for $ac_word... " >&6; } 8024 $as_echo_n "checking for $ac_word... " >&6; }
8051 if test "${ac_cv_prog_CC+set}" = set; then : 8025 if ${ac_cv_prog_CC+:} false; then :
8052 $as_echo_n "(cached) " >&6 8026 $as_echo_n "(cached) " >&6
8053 else 8027 else
8054 if test -n "$CC"; then 8028 if test -n "$CC"; then
8055 ac_cv_prog_CC="$CC" # Let the user override the test. 8029 ac_cv_prog_CC="$CC" # Let the user override the test.
8056 else 8030 else
8090 do 8064 do
8091 # Extract the first word of "$ac_prog", so it can be a program name with args. 8065 # Extract the first word of "$ac_prog", so it can be a program name with args.
8092 set dummy $ac_prog; ac_word=$2 8066 set dummy $ac_prog; ac_word=$2
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8094 $as_echo_n "checking for $ac_word... " >&6; } 8068 $as_echo_n "checking for $ac_word... " >&6; }
8095 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 8069 if ${ac_cv_prog_ac_ct_CC+:} false; then :
8096 $as_echo_n "(cached) " >&6 8070 $as_echo_n "(cached) " >&6
8097 else 8071 else
8098 if test -n "$ac_ct_CC"; then 8072 if test -n "$ac_ct_CC"; then
8099 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 8073 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8100 else 8074 else
8144 fi 8118 fi
8145 8119
8146 8120
8147 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8121 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8149 as_fn_error "no acceptable C compiler found in \$PATH 8123 as_fn_error $? "no acceptable C compiler found in \$PATH
8150 See \`config.log' for more details." "$LINENO" 5; } 8124 See \`config.log' for more details" "$LINENO" 5; }
8151 8125
8152 # Provide some information about the compiler. 8126 # Provide some information about the compiler.
8153 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 8127 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
8154 set X $ac_compile 8128 set X $ac_compile
8155 ac_compiler=$2 8129 ac_compiler=$2
8174 test $ac_status = 0; } 8148 test $ac_status = 0; }
8175 done 8149 done
8176 8150
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 8151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
8178 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 8152 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
8179 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 8153 if ${ac_cv_c_compiler_gnu+:} false; then :
8180 $as_echo_n "(cached) " >&6 8154 $as_echo_n "(cached) " >&6
8181 else 8155 else
8182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8183 /* end confdefs.h. */ 8157 /* end confdefs.h. */
8184 8158
8211 fi 8185 fi
8212 ac_test_CFLAGS=${CFLAGS+set} 8186 ac_test_CFLAGS=${CFLAGS+set}
8213 ac_save_CFLAGS=$CFLAGS 8187 ac_save_CFLAGS=$CFLAGS
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
8215 $as_echo_n "checking whether $CC accepts -g... " >&6; } 8189 $as_echo_n "checking whether $CC accepts -g... " >&6; }
8216 if test "${ac_cv_prog_cc_g+set}" = set; then : 8190 if ${ac_cv_prog_cc_g+:} false; then :
8217 $as_echo_n "(cached) " >&6 8191 $as_echo_n "(cached) " >&6
8218 else 8192 else
8219 ac_save_c_werror_flag=$ac_c_werror_flag 8193 ac_save_c_werror_flag=$ac_c_werror_flag
8220 ac_c_werror_flag=yes 8194 ac_c_werror_flag=yes
8221 ac_cv_prog_cc_g=no 8195 ac_cv_prog_cc_g=no
8289 CFLAGS= 8263 CFLAGS=
8290 fi 8264 fi
8291 fi 8265 fi
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
8293 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 8267 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
8294 if test "${ac_cv_prog_cc_c89+set}" = set; then : 8268 if ${ac_cv_prog_cc_c89+:} false; then :
8295 $as_echo_n "(cached) " >&6 8269 $as_echo_n "(cached) " >&6
8296 else 8270 else
8297 ac_cv_prog_cc_c89=no 8271 ac_cv_prog_cc_c89=no
8298 ac_save_CC=$CC 8272 ac_save_CC=$CC
8299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8402 if test -n "$ac_tool_prefix"; then 8376 if test -n "$ac_tool_prefix"; then
8403 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 8377 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
8404 set dummy ${ac_tool_prefix}gcc; ac_word=$2 8378 set dummy ${ac_tool_prefix}gcc; ac_word=$2
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8406 $as_echo_n "checking for $ac_word... " >&6; } 8380 $as_echo_n "checking for $ac_word... " >&6; }
8407 if test "${ac_cv_prog_CC+set}" = set; then : 8381 if ${ac_cv_prog_CC+:} false; then :
8408 $as_echo_n "(cached) " >&6 8382 $as_echo_n "(cached) " >&6
8409 else 8383 else
8410 if test -n "$CC"; then 8384 if test -n "$CC"; then
8411 ac_cv_prog_CC="$CC" # Let the user override the test. 8385 ac_cv_prog_CC="$CC" # Let the user override the test.
8412 else 8386 else
8442 ac_ct_CC=$CC 8416 ac_ct_CC=$CC
8443 # Extract the first word of "gcc", so it can be a program name with args. 8417 # Extract the first word of "gcc", so it can be a program name with args.
8444 set dummy gcc; ac_word=$2 8418 set dummy gcc; ac_word=$2
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8446 $as_echo_n "checking for $ac_word... " >&6; } 8420 $as_echo_n "checking for $ac_word... " >&6; }
8447 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 8421 if ${ac_cv_prog_ac_ct_CC+:} false; then :
8448 $as_echo_n "(cached) " >&6 8422 $as_echo_n "(cached) " >&6
8449 else 8423 else
8450 if test -n "$ac_ct_CC"; then 8424 if test -n "$ac_ct_CC"; then
8451 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 8425 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8452 else 8426 else
8495 if test -n "$ac_tool_prefix"; then 8469 if test -n "$ac_tool_prefix"; then
8496 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 8470 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
8497 set dummy ${ac_tool_prefix}cc; ac_word=$2 8471 set dummy ${ac_tool_prefix}cc; ac_word=$2
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8499 $as_echo_n "checking for $ac_word... " >&6; } 8473 $as_echo_n "checking for $ac_word... " >&6; }
8500 if test "${ac_cv_prog_CC+set}" = set; then : 8474 if ${ac_cv_prog_CC+:} false; then :
8501 $as_echo_n "(cached) " >&6 8475 $as_echo_n "(cached) " >&6
8502 else 8476 else
8503 if test -n "$CC"; then 8477 if test -n "$CC"; then
8504 ac_cv_prog_CC="$CC" # Let the user override the test. 8478 ac_cv_prog_CC="$CC" # Let the user override the test.
8505 else 8479 else
8535 if test -z "$CC"; then 8509 if test -z "$CC"; then
8536 # Extract the first word of "cc", so it can be a program name with args. 8510 # Extract the first word of "cc", so it can be a program name with args.
8537 set dummy cc; ac_word=$2 8511 set dummy cc; ac_word=$2
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8539 $as_echo_n "checking for $ac_word... " >&6; } 8513 $as_echo_n "checking for $ac_word... " >&6; }
8540 if test "${ac_cv_prog_CC+set}" = set; then : 8514 if ${ac_cv_prog_CC+:} false; then :
8541 $as_echo_n "(cached) " >&6 8515 $as_echo_n "(cached) " >&6
8542 else 8516 else
8543 if test -n "$CC"; then 8517 if test -n "$CC"; then
8544 ac_cv_prog_CC="$CC" # Let the user override the test. 8518 ac_cv_prog_CC="$CC" # Let the user override the test.
8545 else 8519 else
8594 do 8568 do
8595 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 8569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8596 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 8570 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8598 $as_echo_n "checking for $ac_word... " >&6; } 8572 $as_echo_n "checking for $ac_word... " >&6; }
8599 if test "${ac_cv_prog_CC+set}" = set; then : 8573 if ${ac_cv_prog_CC+:} false; then :
8600 $as_echo_n "(cached) " >&6 8574 $as_echo_n "(cached) " >&6
8601 else 8575 else
8602 if test -n "$CC"; then 8576 if test -n "$CC"; then
8603 ac_cv_prog_CC="$CC" # Let the user override the test. 8577 ac_cv_prog_CC="$CC" # Let the user override the test.
8604 else 8578 else
8638 do 8612 do
8639 # Extract the first word of "$ac_prog", so it can be a program name with args. 8613 # Extract the first word of "$ac_prog", so it can be a program name with args.
8640 set dummy $ac_prog; ac_word=$2 8614 set dummy $ac_prog; ac_word=$2
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8642 $as_echo_n "checking for $ac_word... " >&6; } 8616 $as_echo_n "checking for $ac_word... " >&6; }
8643 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 8617 if ${ac_cv_prog_ac_ct_CC+:} false; then :
8644 $as_echo_n "(cached) " >&6 8618 $as_echo_n "(cached) " >&6
8645 else 8619 else
8646 if test -n "$ac_ct_CC"; then 8620 if test -n "$ac_ct_CC"; then
8647 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 8621 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8648 else 8622 else
8692 fi 8666 fi
8693 8667
8694 8668
8695 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8669 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8697 as_fn_error "no acceptable C compiler found in \$PATH 8671 as_fn_error $? "no acceptable C compiler found in \$PATH
8698 See \`config.log' for more details." "$LINENO" 5; } 8672 See \`config.log' for more details" "$LINENO" 5; }
8699 8673
8700 # Provide some information about the compiler. 8674 # Provide some information about the compiler.
8701 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 8675 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
8702 set X $ac_compile 8676 set X $ac_compile
8703 ac_compiler=$2 8677 ac_compiler=$2
8722 test $ac_status = 0; } 8696 test $ac_status = 0; }
8723 done 8697 done
8724 8698
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 8699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
8726 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 8700 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
8727 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 8701 if ${ac_cv_c_compiler_gnu+:} false; then :
8728 $as_echo_n "(cached) " >&6 8702 $as_echo_n "(cached) " >&6
8729 else 8703 else
8730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8731 /* end confdefs.h. */ 8705 /* end confdefs.h. */
8732 8706
8759 fi 8733 fi
8760 ac_test_CFLAGS=${CFLAGS+set} 8734 ac_test_CFLAGS=${CFLAGS+set}
8761 ac_save_CFLAGS=$CFLAGS 8735 ac_save_CFLAGS=$CFLAGS
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
8763 $as_echo_n "checking whether $CC accepts -g... " >&6; } 8737 $as_echo_n "checking whether $CC accepts -g... " >&6; }
8764 if test "${ac_cv_prog_cc_g+set}" = set; then : 8738 if ${ac_cv_prog_cc_g+:} false; then :
8765 $as_echo_n "(cached) " >&6 8739 $as_echo_n "(cached) " >&6
8766 else 8740 else
8767 ac_save_c_werror_flag=$ac_c_werror_flag 8741 ac_save_c_werror_flag=$ac_c_werror_flag
8768 ac_c_werror_flag=yes 8742 ac_c_werror_flag=yes
8769 ac_cv_prog_cc_g=no 8743 ac_cv_prog_cc_g=no
8837 CFLAGS= 8811 CFLAGS=
8838 fi 8812 fi
8839 fi 8813 fi
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
8841 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 8815 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
8842 if test "${ac_cv_prog_cc_c89+set}" = set; then : 8816 if ${ac_cv_prog_cc_c89+:} false; then :
8843 $as_echo_n "(cached) " >&6 8817 $as_echo_n "(cached) " >&6
8844 else 8818 else
8845 ac_cv_prog_cc_c89=no 8819 ac_cv_prog_cc_c89=no
8846 ac_save_CC=$CC 8820 ac_save_CC=$CC
8847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8942 8916
8943 if test "$GCC" = "yes"; then 8917 if test "$GCC" = "yes"; then
8944 if test "$cross_compiling" = yes; then : 8918 if test "$cross_compiling" = yes; then :
8945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8919 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8920 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8947 as_fn_error "cannot run test program while cross compiling 8921 as_fn_error $? "cannot run test program while cross compiling
8948 See \`config.log' for more details." "$LINENO" 5; } 8922 See \`config.log' for more details" "$LINENO" 5; }
8949 else 8923 else
8950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8951 /* end confdefs.h. */ 8925 /* end confdefs.h. */
8952 int main () { 8926 int main () {
8953 return __GNUC__; 8927 return __GNUC__;
8963 fi 8937 fi
8964 8938
8965 if test "$cross_compiling" = yes; then : 8939 if test "$cross_compiling" = yes; then :
8966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8940 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8941 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8968 as_fn_error "cannot run test program while cross compiling 8942 as_fn_error $? "cannot run test program while cross compiling
8969 See \`config.log' for more details." "$LINENO" 5; } 8943 See \`config.log' for more details" "$LINENO" 5; }
8970 else 8944 else
8971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8972 /* end confdefs.h. */ 8946 /* end confdefs.h. */
8973 int main () { 8947 int main () {
8974 return __GNUC_MINOR__; 8948 return __GNUC_MINOR__;
9028 # On Suns, sometimes $CPP names a directory. 9002 # On Suns, sometimes $CPP names a directory.
9029 if test -n "$CPP" && test -d "$CPP"; then 9003 if test -n "$CPP" && test -d "$CPP"; then
9030 CPP= 9004 CPP=
9031 fi 9005 fi
9032 if test -z "$CPP"; then 9006 if test -z "$CPP"; then
9033 if test "${ac_cv_prog_CPP+set}" = set; then : 9007 if ${ac_cv_prog_CPP+:} false; then :
9034 $as_echo_n "(cached) " >&6 9008 $as_echo_n "(cached) " >&6
9035 else 9009 else
9036 # Double quotes because CPP needs to be expanded 9010 # Double quotes because CPP needs to be expanded
9037 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 9011 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9038 do 9012 do
9058 9032
9059 else 9033 else
9060 # Broken: fails on valid input. 9034 # Broken: fails on valid input.
9061 continue 9035 continue
9062 fi 9036 fi
9063 rm -f conftest.err conftest.$ac_ext 9037 rm -f conftest.err conftest.i conftest.$ac_ext
9064 9038
9065 # OK, works on sane cases. Now check whether nonexistent headers 9039 # OK, works on sane cases. Now check whether nonexistent headers
9066 # can be detected and how. 9040 # can be detected and how.
9067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9068 /* end confdefs.h. */ 9042 /* end confdefs.h. */
9074 else 9048 else
9075 # Passes both tests. 9049 # Passes both tests.
9076 ac_preproc_ok=: 9050 ac_preproc_ok=:
9077 break 9051 break
9078 fi 9052 fi
9079 rm -f conftest.err conftest.$ac_ext 9053 rm -f conftest.err conftest.i conftest.$ac_ext
9080 9054
9081 done 9055 done
9082 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 9056 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9083 rm -f conftest.err conftest.$ac_ext 9057 rm -f conftest.i conftest.err conftest.$ac_ext
9084 if $ac_preproc_ok; then : 9058 if $ac_preproc_ok; then :
9085 break 9059 break
9086 fi 9060 fi
9087 9061
9088 done 9062 done
9117 9091
9118 else 9092 else
9119 # Broken: fails on valid input. 9093 # Broken: fails on valid input.
9120 continue 9094 continue
9121 fi 9095 fi
9122 rm -f conftest.err conftest.$ac_ext 9096 rm -f conftest.err conftest.i conftest.$ac_ext
9123 9097
9124 # OK, works on sane cases. Now check whether nonexistent headers 9098 # OK, works on sane cases. Now check whether nonexistent headers
9125 # can be detected and how. 9099 # can be detected and how.
9126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9127 /* end confdefs.h. */ 9101 /* end confdefs.h. */
9133 else 9107 else
9134 # Passes both tests. 9108 # Passes both tests.
9135 ac_preproc_ok=: 9109 ac_preproc_ok=:
9136 break 9110 break
9137 fi 9111 fi
9138 rm -f conftest.err conftest.$ac_ext 9112 rm -f conftest.err conftest.i conftest.$ac_ext
9139 9113
9140 done 9114 done
9141 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 9115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9142 rm -f conftest.err conftest.$ac_ext 9116 rm -f conftest.i conftest.err conftest.$ac_ext
9143 if $ac_preproc_ok; then : 9117 if $ac_preproc_ok; then :
9144 9118
9145 else 9119 else
9146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9148 as_fn_error "C preprocessor \"$CPP\" fails sanity check 9122 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
9149 See \`config.log' for more details." "$LINENO" 5; } 9123 See \`config.log' for more details" "$LINENO" 5; }
9150 fi 9124 fi
9151 9125
9152 ac_ext=c 9126 ac_ext=c
9153 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS' 9127 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
9154 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run' 9128 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
9217 esac 9191 esac
9218 9192
9219 if test "$cross_compiling" = yes; then : 9193 if test "$cross_compiling" = yes; then :
9220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 9194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 9195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9222 as_fn_error "cannot run test program while cross compiling 9196 as_fn_error $? "cannot run test program while cross compiling
9223 See \`config.log' for more details." "$LINENO" 5; } 9197 See \`config.log' for more details" "$LINENO" 5; }
9224 else 9198 else
9225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9226 /* end confdefs.h. */ 9200 /* end confdefs.h. */
9227 int main () { 9201 int main () {
9228 #if defined __SUNPRO_C 9202 #if defined __SUNPRO_C
9706 $as_echo "yes" >&6; } 9680 $as_echo "yes" >&6; }
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't use -O2 with gcc 2.8.1 and egcs 1.0 under SPARC architectures" >&5 9681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't use -O2 with gcc 2.8.1 and egcs 1.0 under SPARC architectures" >&5
9708 $as_echo "$as_me: WARNING: Don't use -O2 with gcc 2.8.1 and egcs 1.0 under SPARC architectures" >&2;} 9682 $as_echo "$as_me: WARNING: Don't use -O2 with gcc 2.8.1 and egcs 1.0 under SPARC architectures" >&2;}
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: without also using -fno-schedule-insns." >&5 9683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: without also using -fno-schedule-insns." >&5
9710 $as_echo "$as_me: WARNING: without also using -fno-schedule-insns." >&2;} 9684 $as_echo "$as_me: WARNING: without also using -fno-schedule-insns." >&2;}
9711 as_fn_error "Aborting due to known problem" "$LINENO" 5 9685 as_fn_error $? "Aborting due to known problem" "$LINENO" 5
9712 ;; 9686 ;;
9713 esac 9687 esac
9714 ;; 9688 ;;
9715 esac 9689 esac
9716 ;; 9690 ;;
9719 $as_echo "yes" >&6; } 9693 $as_echo "yes" >&6; }
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: There have been reports of egcs-1.1 not compiling XEmacs correctly on" >&5 9694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: There have been reports of egcs-1.1 not compiling XEmacs correctly on" >&5
9721 $as_echo "$as_me: WARNING: There have been reports of egcs-1.1 not compiling XEmacs correctly on" >&2;} 9695 $as_echo "$as_me: WARNING: There have been reports of egcs-1.1 not compiling XEmacs correctly on" >&2;}
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Alpha Linux. There have also been reports that egcs-1.0.3a is O.K." >&5 9696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Alpha Linux. There have also been reports that egcs-1.0.3a is O.K." >&5
9723 $as_echo "$as_me: WARNING: Alpha Linux. There have also been reports that egcs-1.0.3a is O.K." >&2;} 9697 $as_echo "$as_me: WARNING: Alpha Linux. There have also been reports that egcs-1.0.3a is O.K." >&2;}
9724 as_fn_error "Aborting due to known problem" "$LINENO" 5 9698 as_fn_error $? "Aborting due to known problem" "$LINENO" 5
9725 ;; 9699 ;;
9726 *:i*86*:2.7.2*) 9700 *:i*86*:2.7.2*)
9727 case "$CFLAGS" in 9701 case "$CFLAGS" in
9728 *-O2*|*-O3*) 9702 *-O2*|*-O3*)
9729 case "$GCC_VERSION" in 9703 case "$GCC_VERSION" in
9735 $as_echo "yes" >&6; } 9709 $as_echo "yes" >&6; }
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using" >&5 9710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using" >&5
9737 $as_echo "$as_me: WARNING: Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using" >&2;} 9711 $as_echo "$as_me: WARNING: Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using" >&2;}
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: -fno-strength-reduce." >&5 9712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: -fno-strength-reduce." >&5
9739 $as_echo "$as_me: WARNING: -fno-strength-reduce." >&2;} 9713 $as_echo "$as_me: WARNING: -fno-strength-reduce." >&2;}
9740 as_fn_error "Aborting due to known problem" "$LINENO" 5 9714 as_fn_error $? "Aborting due to known problem" "$LINENO" 5
9741 ;; 9715 ;;
9742 esac 9716 esac
9743 ;; 9717 ;;
9744 esac 9718 esac
9745 case "$CFLAGS" in 9719 case "$CFLAGS" in
9749 $as_echo "yes" >&6; } 9723 $as_echo "yes" >&6; }
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using" >&5 9724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using" >&5
9751 $as_echo "$as_me: WARNING: Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using" >&2;} 9725 $as_echo "$as_me: WARNING: Don't use -O2 with gcc 2.7.2 under Intel/XXX without also using" >&2;}
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: -fno-caller-saves." >&5 9726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: -fno-caller-saves." >&5
9753 $as_echo "$as_me: WARNING: -fno-caller-saves." >&2;} 9727 $as_echo "$as_me: WARNING: -fno-caller-saves." >&2;}
9754 as_fn_error "Aborting due to known problem" "$LINENO" 5 9728 as_fn_error $? "Aborting due to known problem" "$LINENO" 5
9755 ;; 9729 ;;
9756 esac 9730 esac
9757 ;; 9731 ;;
9758 esac 9732 esac
9759 ;; 9733 ;;
9874 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do 9848 for f in "/usr/lpp/X11/bin/smt.exp" "/usr/bin/X11/smt.exp"; do
9875 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi 9849 if test -r "$f"; then start_flags="${start_flags},-bI:${f}"; break; fi
9876 done 9850 done
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for terminateAndUnload in -lc" >&5 9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for terminateAndUnload in -lc" >&5
9878 $as_echo_n "checking for terminateAndUnload in -lc... " >&6; } 9852 $as_echo_n "checking for terminateAndUnload in -lc... " >&6; }
9879 if test "${ac_cv_lib_c_terminateAndUnload+set}" = set; then : 9853 if ${ac_cv_lib_c_terminateAndUnload+:} false; then :
9880 $as_echo_n "(cached) " >&6 9854 $as_echo_n "(cached) " >&6
9881 else 9855 else
9882 ac_check_lib_save_LIBS=$LIBS 9856 ac_check_lib_save_LIBS=$LIBS
9883 LIBS="-lc $LIBS" 9857 LIBS="-lc $LIBS"
9884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908 conftest$ac_exeext conftest.$ac_ext 9882 conftest$ac_exeext conftest.$ac_ext
9909 LIBS=$ac_check_lib_save_LIBS 9883 LIBS=$ac_check_lib_save_LIBS
9910 fi 9884 fi
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_terminateAndUnload" >&5 9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_terminateAndUnload" >&5
9912 $as_echo "$ac_cv_lib_c_terminateAndUnload" >&6; } 9886 $as_echo "$ac_cv_lib_c_terminateAndUnload" >&6; }
9913 if test "x$ac_cv_lib_c_terminateAndUnload" = x""yes; then : 9887 if test "x$ac_cv_lib_c_terminateAndUnload" = xyes; then :
9914 libs_system="$libs_system -lC" && if test "$verbose" = "yes"; then echo " Appending \"-lC\" to \$libs_system"; fi 9888 libs_system="$libs_system -lC" && if test "$verbose" = "yes"; then echo " Appending \"-lC\" to \$libs_system"; fi
9915 fi 9889 fi
9916 9890
9917 fi 9891 fi
9918 elif test -n "$ld_text_start_addr"; then 9892 elif test -n "$ld_text_start_addr"; then
10229 else 10203 else
10230 doug_lea_malloc=no 10204 doug_lea_malloc=no
10231 fi 10205 fi
10232 after_morecore_hook_exists=yes 10206 after_morecore_hook_exists=yes
10233 ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state" 10207 ac_fn_c_check_func "$LINENO" "malloc_set_state" "ac_cv_func_malloc_set_state"
10234 if test "x$ac_cv_func_malloc_set_state" = x""yes; then : 10208 if test "x$ac_cv_func_malloc_set_state" = xyes; then :
10235 10209
10236 else 10210 else
10237 doug_lea_malloc=no 10211 doug_lea_malloc=no
10238 fi 10212 fi
10239 10213
10292 10266
10293 # Extract the first word of "ar", so it can be a program name with args. 10267 # Extract the first word of "ar", so it can be a program name with args.
10294 set dummy ar; ac_word=$2 10268 set dummy ar; ac_word=$2
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10296 $as_echo_n "checking for $ac_word... " >&6; } 10270 $as_echo_n "checking for $ac_word... " >&6; }
10297 if test "${ac_cv_prog_AR+set}" = set; then : 10271 if ${ac_cv_prog_AR+:} false; then :
10298 $as_echo_n "(cached) " >&6 10272 $as_echo_n "(cached) " >&6
10299 else 10273 else
10300 if test -n "$AR"; then 10274 if test -n "$AR"; then
10301 ac_cv_prog_AR="$AR" # Let the user override the test. 10275 ac_cv_prog_AR="$AR" # Let the user override the test.
10302 else 10276 else
10334 if test -n "$ac_tool_prefix"; then 10308 if test -n "$ac_tool_prefix"; then
10335 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 10309 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
10336 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 10310 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10338 $as_echo_n "checking for $ac_word... " >&6; } 10312 $as_echo_n "checking for $ac_word... " >&6; }
10339 if test "${ac_cv_prog_RANLIB+set}" = set; then : 10313 if ${ac_cv_prog_RANLIB+:} false; then :
10340 $as_echo_n "(cached) " >&6 10314 $as_echo_n "(cached) " >&6
10341 else 10315 else
10342 if test -n "$RANLIB"; then 10316 if test -n "$RANLIB"; then
10343 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 10317 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10344 else 10318 else
10374 ac_ct_RANLIB=$RANLIB 10348 ac_ct_RANLIB=$RANLIB
10375 # Extract the first word of "ranlib", so it can be a program name with args. 10349 # Extract the first word of "ranlib", so it can be a program name with args.
10376 set dummy ranlib; ac_word=$2 10350 set dummy ranlib; ac_word=$2
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10378 $as_echo_n "checking for $ac_word... " >&6; } 10352 $as_echo_n "checking for $ac_word... " >&6; }
10379 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : 10353 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
10380 $as_echo_n "(cached) " >&6 10354 $as_echo_n "(cached) " >&6
10381 else 10355 else
10382 if test -n "$ac_ct_RANLIB"; then 10356 if test -n "$ac_ct_RANLIB"; then
10383 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 10357 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
10384 else 10358 else
10438 # ./install, which can be erroneously created by make from ./install.sh. 10412 # ./install, which can be erroneously created by make from ./install.sh.
10439 # Reject install programs that cannot install multiple files. 10413 # Reject install programs that cannot install multiple files.
10440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 10414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
10441 $as_echo_n "checking for a BSD-compatible install... " >&6; } 10415 $as_echo_n "checking for a BSD-compatible install... " >&6; }
10442 if test -z "$INSTALL"; then 10416 if test -z "$INSTALL"; then
10443 if test "${ac_cv_path_install+set}" = set; then : 10417 if ${ac_cv_path_install+:} false; then :
10444 $as_echo_n "(cached) " >&6 10418 $as_echo_n "(cached) " >&6
10445 else 10419 else
10446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10447 for as_dir in $PATH 10421 for as_dir in $PATH
10448 do 10422 do
10520 do 10494 do
10521 # Extract the first word of "$ac_prog", so it can be a program name with args. 10495 # Extract the first word of "$ac_prog", so it can be a program name with args.
10522 set dummy $ac_prog; ac_word=$2 10496 set dummy $ac_prog; ac_word=$2
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 10497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10524 $as_echo_n "checking for $ac_word... " >&6; } 10498 $as_echo_n "checking for $ac_word... " >&6; }
10525 if test "${ac_cv_prog_YACC+set}" = set; then : 10499 if ${ac_cv_prog_YACC+:} false; then :
10526 $as_echo_n "(cached) " >&6 10500 $as_echo_n "(cached) " >&6
10527 else 10501 else
10528 if test -n "$YACC"; then 10502 if test -n "$YACC"; then
10529 ac_cv_prog_YACC="$YACC" # Let the user override the test. 10503 ac_cv_prog_YACC="$YACC" # Let the user override the test.
10530 else 10504 else
10562 10536
10563 for ac_header in a.out.h elf.h cygwin/version.h fcntl.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/resource.h sys/time.h sys/timeb.h sys/times.h sys/un.h sys/vlimit.h ulimit.h 10537 for ac_header in a.out.h elf.h cygwin/version.h fcntl.h libgen.h locale.h wchar.h mach/mach.h sys/param.h sys/pstat.h sys/resource.h sys/time.h sys/timeb.h sys/times.h sys/un.h sys/vlimit.h ulimit.h
10564 do : 10538 do :
10565 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10539 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10566 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 10540 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10567 eval as_val=\$$as_ac_Header 10541 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10568 if test "x$as_val" = x""yes; then :
10569 cat >>confdefs.h <<_ACEOF 10542 cat >>confdefs.h <<_ACEOF
10570 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10543 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10571 _ACEOF 10544 _ACEOF
10572 10545
10573 fi 10546 fi
10574 10547
10575 done 10548 done
10576 10549
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
10578 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 10551 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
10579 if test "${ac_cv_header_sys_wait_h+set}" = set; then : 10552 if ${ac_cv_header_sys_wait_h+:} false; then :
10580 $as_echo_n "(cached) " >&6 10553 $as_echo_n "(cached) " >&6
10581 else 10554 else
10582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10583 /* end confdefs.h. */ 10556 /* end confdefs.h. */
10584 #include <sys/types.h> 10557 #include <sys/types.h>
10615 10588
10616 fi 10589 fi
10617 10590
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 10591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10619 $as_echo_n "checking for ANSI C header files... " >&6; } 10592 $as_echo_n "checking for ANSI C header files... " >&6; }
10620 if test "${ac_cv_header_stdc+set}" = set; then : 10593 if ${ac_cv_header_stdc+:} false; then :
10621 $as_echo_n "(cached) " >&6 10594 $as_echo_n "(cached) " >&6
10622 else 10595 else
10623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */ 10597 /* end confdefs.h. */
10625 #include <stdlib.h> 10598 #include <stdlib.h>
10727 10700
10728 fi 10701 fi
10729 10702
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
10731 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 10704 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
10732 if test "${ac_cv_header_time+set}" = set; then : 10705 if ${ac_cv_header_time+:} false; then :
10733 $as_echo_n "(cached) " >&6 10706 $as_echo_n "(cached) " >&6
10734 else 10707 else
10735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10736 /* end confdefs.h. */ 10709 /* end confdefs.h. */
10737 #include <sys/types.h> 10710 #include <sys/types.h>
10767 #if HAVE_UNISTD_H 10740 #if HAVE_UNISTD_H
10768 # include <unistd.h> 10741 # include <unistd.h>
10769 #endif 10742 #endif
10770 10743
10771 " 10744 "
10772 if test "x$ac_cv_have_decl_sys_siglist" = x""yes; then : 10745 if test "x$ac_cv_have_decl_sys_siglist" = xyes; then :
10773 ac_have_decl=1 10746 ac_have_decl=1
10774 else 10747 else
10775 ac_have_decl=0 10748 ac_have_decl=0
10776 fi 10749 fi
10777 10750
10804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10805 $as_echo "no" >&6; } 10778 $as_echo "no" >&6; }
10806 for ac_func in utimes 10779 for ac_func in utimes
10807 do : 10780 do :
10808 ac_fn_c_check_func "$LINENO" "utimes" "ac_cv_func_utimes" 10781 ac_fn_c_check_func "$LINENO" "utimes" "ac_cv_func_utimes"
10809 if test "x$ac_cv_func_utimes" = x""yes; then : 10782 if test "x$ac_cv_func_utimes" = xyes; then :
10810 cat >>confdefs.h <<_ACEOF 10783 cat >>confdefs.h <<_ACEOF
10811 #define HAVE_UTIMES 1 10784 #define HAVE_UTIMES 1
10812 _ACEOF 10785 _ACEOF
10813 10786
10814 fi 10787 fi
10818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10819 10792
10820 10793
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 10794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
10822 $as_echo_n "checking return type of signal handlers... " >&6; } 10795 $as_echo_n "checking return type of signal handlers... " >&6; }
10823 if test "${ac_cv_type_signal+set}" = set; then : 10796 if ${ac_cv_type_signal+:} false; then :
10824 $as_echo_n "(cached) " >&6 10797 $as_echo_n "(cached) " >&6
10825 else 10798 else
10826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */ 10800 /* end confdefs.h. */
10828 #include <sys/types.h> 10801 #include <sys/types.h>
10850 #define RETSIGTYPE $ac_cv_type_signal 10823 #define RETSIGTYPE $ac_cv_type_signal
10851 _ACEOF 10824 _ACEOF
10852 10825
10853 10826
10854 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 10827 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
10855 if test "x$ac_cv_type_size_t" = x""yes; then : 10828 if test "x$ac_cv_type_size_t" = xyes; then :
10856 10829
10857 else 10830 else
10858 10831
10859 cat >>confdefs.h <<_ACEOF 10832 cat >>confdefs.h <<_ACEOF
10860 #define size_t unsigned int 10833 #define size_t unsigned int
10861 _ACEOF 10834 _ACEOF
10862 10835
10863 fi 10836 fi
10864 10837
10865 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 10838 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
10866 if test "x$ac_cv_type_pid_t" = x""yes; then : 10839 if test "x$ac_cv_type_pid_t" = xyes; then :
10867 10840
10868 else 10841 else
10869 10842
10870 cat >>confdefs.h <<_ACEOF 10843 cat >>confdefs.h <<_ACEOF
10871 #define pid_t int 10844 #define pid_t int
10873 10846
10874 fi 10847 fi
10875 10848
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
10877 $as_echo_n "checking for uid_t in sys/types.h... " >&6; } 10850 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
10878 if test "${ac_cv_type_uid_t+set}" = set; then : 10851 if ${ac_cv_type_uid_t+:} false; then :
10879 $as_echo_n "(cached) " >&6 10852 $as_echo_n "(cached) " >&6
10880 else 10853 else
10881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 10854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10882 /* end confdefs.h. */ 10855 /* end confdefs.h. */
10883 #include <sys/types.h> 10856 #include <sys/types.h>
10902 $as_echo "#define gid_t int" >>confdefs.h 10875 $as_echo "#define gid_t int" >>confdefs.h
10903 10876
10904 fi 10877 fi
10905 10878
10906 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 10879 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
10907 if test "x$ac_cv_type_mode_t" = x""yes; then : 10880 if test "x$ac_cv_type_mode_t" = xyes; then :
10908 10881
10909 else 10882 else
10910 10883
10911 cat >>confdefs.h <<_ACEOF 10884 cat >>confdefs.h <<_ACEOF
10912 #define mode_t int 10885 #define mode_t int
10913 _ACEOF 10886 _ACEOF
10914 10887
10915 fi 10888 fi
10916 10889
10917 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 10890 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
10918 if test "x$ac_cv_type_off_t" = x""yes; then : 10891 if test "x$ac_cv_type_off_t" = xyes; then :
10919 10892
10920 else 10893 else
10921 10894
10922 cat >>confdefs.h <<_ACEOF 10895 cat >>confdefs.h <<_ACEOF
10923 #define off_t long int 10896 #define off_t long int
10924 _ACEOF 10897 _ACEOF
10925 10898
10926 fi 10899 fi
10927 10900
10928 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" 10901 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
10929 if test "x$ac_cv_type_ssize_t" = x""yes; then : 10902 if test "x$ac_cv_type_ssize_t" = xyes; then :
10930 10903
10931 else 10904 else
10932 10905
10933 cat >>confdefs.h <<_ACEOF 10906 cat >>confdefs.h <<_ACEOF
10934 #define ssize_t int 10907 #define ssize_t int
11031 fi 11004 fi
11032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11033 11006
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
11035 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 11008 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
11036 if test "${ac_cv_struct_tm+set}" = set; then : 11009 if ${ac_cv_struct_tm+:} false; then :
11037 $as_echo_n "(cached) " >&6 11010 $as_echo_n "(cached) " >&6
11038 else 11011 else
11039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11040 /* end confdefs.h. */ 11013 /* end confdefs.h. */
11041 #include <sys/types.h> 11014 #include <sys/types.h>
11068 11041
11069 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h> 11042 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
11070 #include <$ac_cv_struct_tm> 11043 #include <$ac_cv_struct_tm>
11071 11044
11072 " 11045 "
11073 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then : 11046 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes; then :
11074 11047
11075 cat >>confdefs.h <<_ACEOF 11048 cat >>confdefs.h <<_ACEOF
11076 #define HAVE_STRUCT_TM_TM_ZONE 1 11049 #define HAVE_STRUCT_TM_TM_ZONE 1
11077 _ACEOF 11050 _ACEOF
11078 11051
11084 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h 11057 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
11085 11058
11086 else 11059 else
11087 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h> 11060 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
11088 " 11061 "
11089 if test "x$ac_cv_have_decl_tzname" = x""yes; then : 11062 if test "x$ac_cv_have_decl_tzname" = xyes; then :
11090 ac_have_decl=1 11063 ac_have_decl=1
11091 else 11064 else
11092 ac_have_decl=0 11065 ac_have_decl=0
11093 fi 11066 fi
11094 11067
11096 #define HAVE_DECL_TZNAME $ac_have_decl 11069 #define HAVE_DECL_TZNAME $ac_have_decl
11097 _ACEOF 11070 _ACEOF
11098 11071
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5 11072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
11100 $as_echo_n "checking for tzname... " >&6; } 11073 $as_echo_n "checking for tzname... " >&6; }
11101 if test "${ac_cv_var_tzname+set}" = set; then : 11074 if ${ac_cv_var_tzname+:} false; then :
11102 $as_echo_n "(cached) " >&6 11075 $as_echo_n "(cached) " >&6
11103 else 11076 else
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */ 11078 /* end confdefs.h. */
11106 #include <time.h> 11079 #include <time.h>
11134 fi 11107 fi
11135 11108
11136 11109
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 11110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
11138 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } 11111 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11139 if test "${ac_cv_c_const+set}" = set; then : 11112 if ${ac_cv_c_const+:} false; then :
11140 $as_echo_n "(cached) " >&6 11113 $as_echo_n "(cached) " >&6
11141 else 11114 else
11142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11143 /* end confdefs.h. */ 11116 /* end confdefs.h. */
11144 11117
11217 11190
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
11219 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 11192 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
11220 set x ${MAKE-make} 11193 set x ${MAKE-make}
11221 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 11194 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
11222 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : 11195 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
11223 $as_echo_n "(cached) " >&6 11196 $as_echo_n "(cached) " >&6
11224 else 11197 else
11225 cat >conftest.make <<\_ACEOF 11198 cat >conftest.make <<\_ACEOF
11226 SHELL = /bin/sh 11199 SHELL = /bin/sh
11227 all: 11200 all:
11228 @echo '@@@%%%=$(MAKE)=@@@%%%' 11201 @echo '@@@%%%=$(MAKE)=@@@%%%'
11229 _ACEOF 11202 _ACEOF
11230 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 11203 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11231 case `${MAKE-make} -f conftest.make 2>/dev/null` in 11204 case `${MAKE-make} -f conftest.make 2>/dev/null` in
11232 *@@@%%%=?*=@@@%%%*) 11205 *@@@%%%=?*=@@@%%%*)
11233 eval ac_cv_prog_make_${ac_make}_set=yes;; 11206 eval ac_cv_prog_make_${ac_make}_set=yes;;
11234 *) 11207 *)
11235 eval ac_cv_prog_make_${ac_make}_set=no;; 11208 eval ac_cv_prog_make_${ac_make}_set=no;;
11247 fi 11220 fi
11248 11221
11249 11222
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
11251 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } 11224 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
11252 if test "${ac_cv_c_bigendian+set}" = set; then : 11225 if ${ac_cv_c_bigendian+:} false; then :
11253 $as_echo_n "(cached) " >&6 11226 $as_echo_n "(cached) " >&6
11254 else 11227 else
11255 ac_cv_c_bigendian=unknown 11228 ac_cv_c_bigendian=unknown
11256 # See if we're dealing with a universal compiler. 11229 # See if we're dealing with a universal compiler.
11257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11465 11438
11466 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h 11439 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
11467 11440
11468 ;; #( 11441 ;; #(
11469 *) 11442 *)
11470 as_fn_error "unknown endianness 11443 as_fn_error $? "unknown endianness
11471 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 11444 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
11472 esac 11445 esac
11473 11446
11474 11447
11475 # The cast to long int works around a bug in the HP C Compiler 11448 # The cast to long int works around a bug in the HP C Compiler
11476 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 11449 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11477 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 11450 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11478 # This bug is HP SR number 8606223364. 11451 # This bug is HP SR number 8606223364.
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
11480 $as_echo_n "checking size of short... " >&6; } 11453 $as_echo_n "checking size of short... " >&6; }
11481 if test "${ac_cv_sizeof_short+set}" = set; then : 11454 if ${ac_cv_sizeof_short+:} false; then :
11482 $as_echo_n "(cached) " >&6 11455 $as_echo_n "(cached) " >&6
11483 else 11456 else
11484 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : 11457 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
11485 11458
11486 else 11459 else
11487 if test "$ac_cv_type_short" = yes; then 11460 if test "$ac_cv_type_short" = yes; then
11488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11461 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11490 { as_fn_set_status 77 11463 as_fn_error 77 "cannot compute sizeof (short)
11491 as_fn_error "cannot compute sizeof (short) 11464 See \`config.log' for more details" "$LINENO" 5; }
11492 See \`config.log' for more details." "$LINENO" 5; }; }
11493 else 11465 else
11494 ac_cv_sizeof_short=0 11466 ac_cv_sizeof_short=0
11495 fi 11467 fi
11496 fi 11468 fi
11497 11469
11516 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 11488 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11517 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 11489 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11518 # This bug is HP SR number 8606223364. 11490 # This bug is HP SR number 8606223364.
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
11520 $as_echo_n "checking size of int... " >&6; } 11492 $as_echo_n "checking size of int... " >&6; }
11521 if test "${ac_cv_sizeof_int+set}" = set; then : 11493 if ${ac_cv_sizeof_int+:} false; then :
11522 $as_echo_n "(cached) " >&6 11494 $as_echo_n "(cached) " >&6
11523 else 11495 else
11524 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 11496 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
11525 11497
11526 else 11498 else
11527 if test "$ac_cv_type_int" = yes; then 11499 if test "$ac_cv_type_int" = yes; then
11528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11530 { as_fn_set_status 77 11502 as_fn_error 77 "cannot compute sizeof (int)
11531 as_fn_error "cannot compute sizeof (int) 11503 See \`config.log' for more details" "$LINENO" 5; }
11532 See \`config.log' for more details." "$LINENO" 5; }; }
11533 else 11504 else
11534 ac_cv_sizeof_int=0 11505 ac_cv_sizeof_int=0
11535 fi 11506 fi
11536 fi 11507 fi
11537 11508
11550 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 11521 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11551 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 11522 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11552 # This bug is HP SR number 8606223364. 11523 # This bug is HP SR number 8606223364.
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
11554 $as_echo_n "checking size of long... " >&6; } 11525 $as_echo_n "checking size of long... " >&6; }
11555 if test "${ac_cv_sizeof_long+set}" = set; then : 11526 if ${ac_cv_sizeof_long+:} false; then :
11556 $as_echo_n "(cached) " >&6 11527 $as_echo_n "(cached) " >&6
11557 else 11528 else
11558 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 11529 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
11559 11530
11560 else 11531 else
11561 if test "$ac_cv_type_long" = yes; then 11532 if test "$ac_cv_type_long" = yes; then
11562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11564 { as_fn_set_status 77 11535 as_fn_error 77 "cannot compute sizeof (long)
11565 as_fn_error "cannot compute sizeof (long) 11536 See \`config.log' for more details" "$LINENO" 5; }
11566 See \`config.log' for more details." "$LINENO" 5; }; }
11567 else 11537 else
11568 ac_cv_sizeof_long=0 11538 ac_cv_sizeof_long=0
11569 fi 11539 fi
11570 fi 11540 fi
11571 11541
11584 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 11554 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11585 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 11555 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11586 # This bug is HP SR number 8606223364. 11556 # This bug is HP SR number 8606223364.
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
11588 $as_echo_n "checking size of long long... " >&6; } 11558 $as_echo_n "checking size of long long... " >&6; }
11589 if test "${ac_cv_sizeof_long_long+set}" = set; then : 11559 if ${ac_cv_sizeof_long_long+:} false; then :
11590 $as_echo_n "(cached) " >&6 11560 $as_echo_n "(cached) " >&6
11591 else 11561 else
11592 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : 11562 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
11593 11563
11594 else 11564 else
11595 if test "$ac_cv_type_long_long" = yes; then 11565 if test "$ac_cv_type_long_long" = yes; then
11596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11566 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11567 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11598 { as_fn_set_status 77 11568 as_fn_error 77 "cannot compute sizeof (long long)
11599 as_fn_error "cannot compute sizeof (long long) 11569 See \`config.log' for more details" "$LINENO" 5; }
11600 See \`config.log' for more details." "$LINENO" 5; }; }
11601 else 11570 else
11602 ac_cv_sizeof_long_long=0 11571 ac_cv_sizeof_long_long=0
11603 fi 11572 fi
11604 fi 11573 fi
11605 11574
11618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 11587 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11619 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 11588 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11620 # This bug is HP SR number 8606223364. 11589 # This bug is HP SR number 8606223364.
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5 11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
11622 $as_echo_n "checking size of void *... " >&6; } 11591 $as_echo_n "checking size of void *... " >&6; }
11623 if test "${ac_cv_sizeof_void_p+set}" = set; then : 11592 if ${ac_cv_sizeof_void_p+:} false; then :
11624 $as_echo_n "(cached) " >&6 11593 $as_echo_n "(cached) " >&6
11625 else 11594 else
11626 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then : 11595 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
11627 11596
11628 else 11597 else
11629 if test "$ac_cv_type_void_p" = yes; then 11598 if test "$ac_cv_type_void_p" = yes; then
11630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11632 { as_fn_set_status 77 11601 as_fn_error 77 "cannot compute sizeof (void *)
11633 as_fn_error "cannot compute sizeof (void *) 11602 See \`config.log' for more details" "$LINENO" 5; }
11634 See \`config.log' for more details." "$LINENO" 5; }; }
11635 else 11603 else
11636 ac_cv_sizeof_void_p=0 11604 ac_cv_sizeof_void_p=0
11637 fi 11605 fi
11638 fi 11606 fi
11639 11607
11652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 11620 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 11621 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11654 # This bug is HP SR number 8606223364. 11622 # This bug is HP SR number 8606223364.
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5 11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5
11656 $as_echo_n "checking size of double... " >&6; } 11624 $as_echo_n "checking size of double... " >&6; }
11657 if test "${ac_cv_sizeof_double+set}" = set; then : 11625 if ${ac_cv_sizeof_double+:} false; then :
11658 $as_echo_n "(cached) " >&6 11626 $as_echo_n "(cached) " >&6
11659 else 11627 else
11660 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then : 11628 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then :
11661 11629
11662 else 11630 else
11663 if test "$ac_cv_type_double" = yes; then 11631 if test "$ac_cv_type_double" = yes; then
11664 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 11632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 11633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11666 { as_fn_set_status 77 11634 as_fn_error 77 "cannot compute sizeof (double)
11667 as_fn_error "cannot compute sizeof (double) 11635 See \`config.log' for more details" "$LINENO" 5; }
11668 See \`config.log' for more details." "$LINENO" 5; }; }
11669 else 11636 else
11670 ac_cv_sizeof_double=0 11637 ac_cv_sizeof_double=0
11671 fi 11638 fi
11672 fi 11639 fi
11673 11640
11683 11650
11684 11651
11685 11652
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 11653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5
11687 $as_echo_n "checking for long file names... " >&6; } 11654 $as_echo_n "checking for long file names... " >&6; }
11688 if test "${ac_cv_sys_long_file_names+set}" = set; then : 11655 if ${ac_cv_sys_long_file_names+:} false; then :
11689 $as_echo_n "(cached) " >&6 11656 $as_echo_n "(cached) " >&6
11690 else 11657 else
11691 ac_cv_sys_long_file_names=yes 11658 ac_cv_sys_long_file_names=yes
11692 # Test for long file names in all the places we know might matter: 11659 # Test for long file names in all the places we know might matter:
11693 # . the current directory, where building will happen 11660 # . the current directory, where building will happen
11723 11690
11724 fi 11691 fi
11725 11692
11726 11693
11727 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin" 11694 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
11728 if test "x$ac_cv_func_sin" = x""yes; then : 11695 if test "x$ac_cv_func_sin" = xyes; then :
11729 11696
11730 else 11697 else
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 11698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
11732 $as_echo_n "checking for sin in -lm... " >&6; } 11699 $as_echo_n "checking for sin in -lm... " >&6; }
11733 if test "${ac_cv_lib_m_sin+set}" = set; then : 11700 if ${ac_cv_lib_m_sin+:} false; then :
11734 $as_echo_n "(cached) " >&6 11701 $as_echo_n "(cached) " >&6
11735 else 11702 else
11736 ac_check_lib_save_LIBS=$LIBS 11703 ac_check_lib_save_LIBS=$LIBS
11737 LIBS="-lm $LIBS" 11704 LIBS="-lm $LIBS"
11738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11762 conftest$ac_exeext conftest.$ac_ext 11729 conftest$ac_exeext conftest.$ac_ext
11763 LIBS=$ac_check_lib_save_LIBS 11730 LIBS=$ac_check_lib_save_LIBS
11764 fi 11731 fi
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
11766 $as_echo "$ac_cv_lib_m_sin" >&6; } 11733 $as_echo "$ac_cv_lib_m_sin" >&6; }
11767 if test "x$ac_cv_lib_m_sin" = x""yes; then : 11734 if test "x$ac_cv_lib_m_sin" = xyes; then :
11768 cat >>confdefs.h <<_ACEOF 11735 cat >>confdefs.h <<_ACEOF
11769 #define HAVE_LIBM 1 11736 #define HAVE_LIBM 1
11770 _ACEOF 11737 _ACEOF
11771 11738
11772 LIBS="-lm $LIBS" 11739 LIBS="-lm $LIBS"
11795 conftest$ac_exeext conftest.$ac_ext 11762 conftest$ac_exeext conftest.$ac_ext
11796 11763
11797 for ac_func in mkstemp 11764 for ac_func in mkstemp
11798 do : 11765 do :
11799 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp" 11766 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
11800 if test "x$ac_cv_func_mkstemp" = x""yes; then : 11767 if test "x$ac_cv_func_mkstemp" = xyes; then :
11801 cat >>confdefs.h <<_ACEOF 11768 cat >>confdefs.h <<_ACEOF
11802 #define HAVE_MKSTEMP 1 11769 #define HAVE_MKSTEMP 1
11803 _ACEOF 11770 _ACEOF
11804 11771
11805 fi 11772 fi
11812 $as_echo "" >&6; } 11779 $as_echo "" >&6; }
11813 for ac_func in lockf flock 11780 for ac_func in lockf flock
11814 do : 11781 do :
11815 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 11782 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11816 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 11783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
11817 eval as_val=\$$as_ac_var 11784 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
11818 if test "x$as_val" = x""yes; then :
11819 cat >>confdefs.h <<_ACEOF 11785 cat >>confdefs.h <<_ACEOF
11820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 11786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11821 _ACEOF 11787 _ACEOF
11822 11788
11823 fi 11789 fi
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${GTK_CFLAGS}" >&5 11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${GTK_CFLAGS}" >&5
11968 $as_echo "${GTK_CFLAGS}" >&6; } 11934 $as_echo "${GTK_CFLAGS}" >&6; }
11969 11935
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgdk_imlib" >&5 11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgdk_imlib" >&5
11971 $as_echo_n "checking for main in -lgdk_imlib... " >&6; } 11937 $as_echo_n "checking for main in -lgdk_imlib... " >&6; }
11972 if test "${ac_cv_lib_gdk_imlib_main+set}" = set; then : 11938 if ${ac_cv_lib_gdk_imlib_main+:} false; then :
11973 $as_echo_n "(cached) " >&6 11939 $as_echo_n "(cached) " >&6
11974 else 11940 else
11975 ac_check_lib_save_LIBS=$LIBS 11941 ac_check_lib_save_LIBS=$LIBS
11976 LIBS="-lgdk_imlib $LIBS" 11942 LIBS="-lgdk_imlib $LIBS"
11977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995 conftest$ac_exeext conftest.$ac_ext 11961 conftest$ac_exeext conftest.$ac_ext
11996 LIBS=$ac_check_lib_save_LIBS 11962 LIBS=$ac_check_lib_save_LIBS
11997 fi 11963 fi
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_imlib_main" >&5 11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_imlib_main" >&5
11999 $as_echo "$ac_cv_lib_gdk_imlib_main" >&6; } 11965 $as_echo "$ac_cv_lib_gdk_imlib_main" >&6; }
12000 if test "x$ac_cv_lib_gdk_imlib_main" = x""yes; then : 11966 if test "x$ac_cv_lib_gdk_imlib_main" = xyes; then :
12001 libs_gtk="-lgdk_imlib $libs_gtk" && if test "$verbose" = "yes"; then echo " Prepending \"-lgdk_imlib\" to \$libs_gtk"; fi 11967 libs_gtk="-lgdk_imlib $libs_gtk" && if test "$verbose" = "yes"; then echo " Prepending \"-lgdk_imlib\" to \$libs_gtk"; fi
12002 fi 11968 fi
12003 11969
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Imlib_init in -lImlib" >&5 11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Imlib_init in -lImlib" >&5
12005 $as_echo_n "checking for Imlib_init in -lImlib... " >&6; } 11971 $as_echo_n "checking for Imlib_init in -lImlib... " >&6; }
12006 if test "${ac_cv_lib_Imlib_Imlib_init+set}" = set; then : 11972 if ${ac_cv_lib_Imlib_Imlib_init+:} false; then :
12007 $as_echo_n "(cached) " >&6 11973 $as_echo_n "(cached) " >&6
12008 else 11974 else
12009 ac_check_lib_save_LIBS=$LIBS 11975 ac_check_lib_save_LIBS=$LIBS
12010 LIBS="-lImlib $LIBS" 11976 LIBS="-lImlib $LIBS"
12011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12035 conftest$ac_exeext conftest.$ac_ext 12001 conftest$ac_exeext conftest.$ac_ext
12036 LIBS=$ac_check_lib_save_LIBS 12002 LIBS=$ac_check_lib_save_LIBS
12037 fi 12003 fi
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Imlib_Imlib_init" >&5 12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Imlib_Imlib_init" >&5
12039 $as_echo "$ac_cv_lib_Imlib_Imlib_init" >&6; } 12005 $as_echo "$ac_cv_lib_Imlib_Imlib_init" >&6; }
12040 if test "x$ac_cv_lib_Imlib_Imlib_init" = x""yes; then : 12006 if test "x$ac_cv_lib_Imlib_Imlib_init" = xyes; then :
12041 libs_gtk="$libs_gtk -lImlib" && if test "$verbose" = "yes"; then echo " Appending \"-lImlib\" to \$libs_gtk"; fi 12007 libs_gtk="$libs_gtk -lImlib" && if test "$verbose" = "yes"; then echo " Appending \"-lImlib\" to \$libs_gtk"; fi
12042 fi 12008 fi
12043 12009
12044 for ac_func in gdk_imlib_init 12010 for ac_func in gdk_imlib_init
12045 do : 12011 do :
12046 ac_fn_c_check_func "$LINENO" "gdk_imlib_init" "ac_cv_func_gdk_imlib_init" 12012 ac_fn_c_check_func "$LINENO" "gdk_imlib_init" "ac_cv_func_gdk_imlib_init"
12047 if test "x$ac_cv_func_gdk_imlib_init" = x""yes; then : 12013 if test "x$ac_cv_func_gdk_imlib_init" = xyes; then :
12048 cat >>confdefs.h <<_ACEOF 12014 cat >>confdefs.h <<_ACEOF
12049 #define HAVE_GDK_IMLIB_INIT 1 12015 #define HAVE_GDK_IMLIB_INIT 1
12050 _ACEOF 12016 _ACEOF
12051 12017
12052 fi 12018 fi
12097 LDFLAGS="${LDFLAGS} ${GTK_LIBS}" 12063 LDFLAGS="${LDFLAGS} ${GTK_LIBS}"
12098 for ac_header in glade/glade.h glade.h 12064 for ac_header in glade/glade.h glade.h
12099 do : 12065 do :
12100 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 12066 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12101 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 12067 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12102 eval as_val=\$$as_ac_Header 12068 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12103 if test "x$as_val" = x""yes; then :
12104 cat >>confdefs.h <<_ACEOF 12069 cat >>confdefs.h <<_ACEOF
12105 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 12070 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12106 _ACEOF 12071 _ACEOF
12107 12072
12108 fi 12073 fi
12109 12074
12110 done 12075 done
12111 12076
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml" >&5 12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml" >&5
12113 $as_echo_n "checking for main in -lxml... " >&6; } 12078 $as_echo_n "checking for main in -lxml... " >&6; }
12114 if test "${ac_cv_lib_xml_main+set}" = set; then : 12079 if ${ac_cv_lib_xml_main+:} false; then :
12115 $as_echo_n "(cached) " >&6 12080 $as_echo_n "(cached) " >&6
12116 else 12081 else
12117 ac_check_lib_save_LIBS=$LIBS 12082 ac_check_lib_save_LIBS=$LIBS
12118 LIBS="-lxml $LIBS" 12083 LIBS="-lxml $LIBS"
12119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12137 conftest$ac_exeext conftest.$ac_ext 12102 conftest$ac_exeext conftest.$ac_ext
12138 LIBS=$ac_check_lib_save_LIBS 12103 LIBS=$ac_check_lib_save_LIBS
12139 fi 12104 fi
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml_main" >&5 12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml_main" >&5
12141 $as_echo "$ac_cv_lib_xml_main" >&6; } 12106 $as_echo "$ac_cv_lib_xml_main" >&6; }
12142 if test "x$ac_cv_lib_xml_main" = x""yes; then : 12107 if test "x$ac_cv_lib_xml_main" = xyes; then :
12143 libs_gtk="-lxml $libs_gtk" && if test "$verbose" = "yes"; then echo " Prepending \"-lxml\" to \$libs_gtk"; fi 12108 libs_gtk="-lxml $libs_gtk" && if test "$verbose" = "yes"; then echo " Prepending \"-lxml\" to \$libs_gtk"; fi
12144 fi 12109 fi
12145 12110
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lglade" >&5 12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lglade" >&5
12147 $as_echo_n "checking for main in -lglade... " >&6; } 12112 $as_echo_n "checking for main in -lglade... " >&6; }
12148 if test "${ac_cv_lib_glade_main+set}" = set; then : 12113 if ${ac_cv_lib_glade_main+:} false; then :
12149 $as_echo_n "(cached) " >&6 12114 $as_echo_n "(cached) " >&6
12150 else 12115 else
12151 ac_check_lib_save_LIBS=$LIBS 12116 ac_check_lib_save_LIBS=$LIBS
12152 LIBS="-lglade $LIBS" 12117 LIBS="-lglade $LIBS"
12153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 conftest$ac_exeext conftest.$ac_ext 12136 conftest$ac_exeext conftest.$ac_ext
12172 LIBS=$ac_check_lib_save_LIBS 12137 LIBS=$ac_check_lib_save_LIBS
12173 fi 12138 fi
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glade_main" >&5 12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glade_main" >&5
12175 $as_echo "$ac_cv_lib_glade_main" >&6; } 12140 $as_echo "$ac_cv_lib_glade_main" >&6; }
12176 if test "x$ac_cv_lib_glade_main" = x""yes; then : 12141 if test "x$ac_cv_lib_glade_main" = xyes; then :
12177 libs_gtk="-lglade $libs_gtk" && if test "$verbose" = "yes"; then echo " Prepending \"-lglade\" to \$libs_gtk"; fi 12142 libs_gtk="-lglade $libs_gtk" && if test "$verbose" = "yes"; then echo " Prepending \"-lglade\" to \$libs_gtk"; fi
12178 fi 12143 fi
12179 12144
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lglade-gnome" >&5 12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lglade-gnome" >&5
12181 $as_echo_n "checking for main in -lglade-gnome... " >&6; } 12146 $as_echo_n "checking for main in -lglade-gnome... " >&6; }
12182 if test "${ac_cv_lib_glade_gnome_main+set}" = set; then : 12147 if ${ac_cv_lib_glade_gnome_main+:} false; then :
12183 $as_echo_n "(cached) " >&6 12148 $as_echo_n "(cached) " >&6
12184 else 12149 else
12185 ac_check_lib_save_LIBS=$LIBS 12150 ac_check_lib_save_LIBS=$LIBS
12186 LIBS="-lglade-gnome $LIBS" 12151 LIBS="-lglade-gnome $LIBS"
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12205 conftest$ac_exeext conftest.$ac_ext 12170 conftest$ac_exeext conftest.$ac_ext
12206 LIBS=$ac_check_lib_save_LIBS 12171 LIBS=$ac_check_lib_save_LIBS
12207 fi 12172 fi
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glade_gnome_main" >&5 12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_glade_gnome_main" >&5
12209 $as_echo "$ac_cv_lib_glade_gnome_main" >&6; } 12174 $as_echo "$ac_cv_lib_glade_gnome_main" >&6; }
12210 if test "x$ac_cv_lib_glade_gnome_main" = x""yes; then : 12175 if test "x$ac_cv_lib_glade_gnome_main" = xyes; then :
12211 libs_gtk="-lglade-gnome $libs_gtk" && if test "$verbose" = "yes"; then echo " Prepending \"-lglade-gnome\" to \$libs_gtk"; fi 12176 libs_gtk="-lglade-gnome $libs_gtk" && if test "$verbose" = "yes"; then echo " Prepending \"-lglade-gnome\" to \$libs_gtk"; fi
12212 fi 12177 fi
12213 12178
12214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12215 /* end confdefs.h. */ 12180 /* end confdefs.h. */
12273 if test "x$with_x" = xno; then 12238 if test "x$with_x" = xno; then
12274 # The user explicitly disabled X. 12239 # The user explicitly disabled X.
12275 have_x=disabled 12240 have_x=disabled
12276 else 12241 else
12277 case $x_includes,$x_libraries in #( 12242 case $x_includes,$x_libraries in #(
12278 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( 12243 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
12279 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : 12244 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
12280 $as_echo_n "(cached) " >&6 12245 $as_echo_n "(cached) " >&6
12281 else 12246 else
12282 # One or both of the vars are not set, and there is no cached value. 12247 # One or both of the vars are not set, and there is no cached value.
12283 ac_x_includes=no ac_x_libraries=no 12248 ac_x_includes=no ac_x_libraries=no
12284 rm -f -r conftest.dir 12249 rm -f -r conftest.dir
12291 @echo usrlibdir='${USRLIBDIR}' 12256 @echo usrlibdir='${USRLIBDIR}'
12292 libdir: 12257 libdir:
12293 @echo libdir='${LIBDIR}' 12258 @echo libdir='${LIBDIR}'
12294 _ACEOF 12259 _ACEOF
12295 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 12260 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
12296 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 12261 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
12297 for ac_var in incroot usrlibdir libdir; do 12262 for ac_var in incroot usrlibdir libdir; do
12298 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 12263 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
12299 done 12264 done
12300 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 12265 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12301 for ac_extension in a so sl dylib la dll; do 12266 for ac_extension in a so sl dylib la dll; do
12377 ac_x_includes=$ac_dir 12342 ac_x_includes=$ac_dir
12378 break 12343 break
12379 fi 12344 fi
12380 done 12345 done
12381 fi 12346 fi
12382 rm -f conftest.err conftest.$ac_ext 12347 rm -f conftest.err conftest.i conftest.$ac_ext
12383 fi # $ac_x_includes = no 12348 fi # $ac_x_includes = no
12384 12349
12385 if test "$ac_x_libraries" = no; then 12350 if test "$ac_x_libraries" = no; then
12386 # Check for the libraries. 12351 # Check for the libraries.
12387 # See if we find them without any special options. 12352 # See if we find them without any special options.
12551 if ac_fn_c_try_link "$LINENO"; then : 12516 if ac_fn_c_try_link "$LINENO"; then :
12552 12517
12553 else 12518 else
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
12555 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 12520 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
12556 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : 12521 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
12557 $as_echo_n "(cached) " >&6 12522 $as_echo_n "(cached) " >&6
12558 else 12523 else
12559 ac_check_lib_save_LIBS=$LIBS 12524 ac_check_lib_save_LIBS=$LIBS
12560 LIBS="-ldnet $LIBS" 12525 LIBS="-ldnet $LIBS"
12561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12585 conftest$ac_exeext conftest.$ac_ext 12550 conftest$ac_exeext conftest.$ac_ext
12586 LIBS=$ac_check_lib_save_LIBS 12551 LIBS=$ac_check_lib_save_LIBS
12587 fi 12552 fi
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
12589 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 12554 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
12590 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : 12555 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
12591 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 12556 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
12592 fi 12557 fi
12593 12558
12594 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 12559 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
12596 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } 12561 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
12597 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then : 12562 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
12598 $as_echo_n "(cached) " >&6 12563 $as_echo_n "(cached) " >&6
12599 else 12564 else
12600 ac_check_lib_save_LIBS=$LIBS 12565 ac_check_lib_save_LIBS=$LIBS
12601 LIBS="-ldnet_stub $LIBS" 12566 LIBS="-ldnet_stub $LIBS"
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12626 conftest$ac_exeext conftest.$ac_ext 12591 conftest$ac_exeext conftest.$ac_ext
12627 LIBS=$ac_check_lib_save_LIBS 12592 LIBS=$ac_check_lib_save_LIBS
12628 fi 12593 fi
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
12630 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } 12595 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
12631 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then : 12596 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
12632 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 12597 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
12633 fi 12598 fi
12634 12599
12635 fi 12600 fi
12636 fi 12601 fi
12645 # The nsl library prevents programs from opening the X display 12610 # The nsl library prevents programs from opening the X display
12646 # on Irix 5.2, according to T.E. Dickey. 12611 # on Irix 5.2, according to T.E. Dickey.
12647 # The functions gethostbyname, getservbyname, and inet_addr are 12612 # The functions gethostbyname, getservbyname, and inet_addr are
12648 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 12613 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
12649 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 12614 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12650 if test "x$ac_cv_func_gethostbyname" = x""yes; then : 12615 if test "x$ac_cv_func_gethostbyname" = xyes; then :
12651 12616
12652 fi 12617 fi
12653 12618
12654 if test $ac_cv_func_gethostbyname = no; then 12619 if test $ac_cv_func_gethostbyname = no; then
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 12620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
12656 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 12621 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12657 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : 12622 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
12658 $as_echo_n "(cached) " >&6 12623 $as_echo_n "(cached) " >&6
12659 else 12624 else
12660 ac_check_lib_save_LIBS=$LIBS 12625 ac_check_lib_save_LIBS=$LIBS
12661 LIBS="-lnsl $LIBS" 12626 LIBS="-lnsl $LIBS"
12662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12686 conftest$ac_exeext conftest.$ac_ext 12651 conftest$ac_exeext conftest.$ac_ext
12687 LIBS=$ac_check_lib_save_LIBS 12652 LIBS=$ac_check_lib_save_LIBS
12688 fi 12653 fi
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
12690 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 12655 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12691 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : 12656 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
12692 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" 12657 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
12693 fi 12658 fi
12694 12659
12695 if test $ac_cv_lib_nsl_gethostbyname = no; then 12660 if test $ac_cv_lib_nsl_gethostbyname = no; then
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
12697 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } 12662 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
12698 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then : 12663 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
12699 $as_echo_n "(cached) " >&6 12664 $as_echo_n "(cached) " >&6
12700 else 12665 else
12701 ac_check_lib_save_LIBS=$LIBS 12666 ac_check_lib_save_LIBS=$LIBS
12702 LIBS="-lbsd $LIBS" 12667 LIBS="-lbsd $LIBS"
12703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12727 conftest$ac_exeext conftest.$ac_ext 12692 conftest$ac_exeext conftest.$ac_ext
12728 LIBS=$ac_check_lib_save_LIBS 12693 LIBS=$ac_check_lib_save_LIBS
12729 fi 12694 fi
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
12731 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } 12696 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
12732 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then : 12697 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
12733 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 12698 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
12734 fi 12699 fi
12735 12700
12736 fi 12701 fi
12737 fi 12702 fi
12742 # on later versions), says Simon Leinen: it contains gethostby* 12707 # on later versions), says Simon Leinen: it contains gethostby*
12743 # variants that don't use the name server (or something). -lsocket 12708 # variants that don't use the name server (or something). -lsocket
12744 # must be given before -lnsl if both are needed. We assume that 12709 # must be given before -lnsl if both are needed. We assume that
12745 # if connect needs -lnsl, so does gethostbyname. 12710 # if connect needs -lnsl, so does gethostbyname.
12746 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" 12711 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
12747 if test "x$ac_cv_func_connect" = x""yes; then : 12712 if test "x$ac_cv_func_connect" = xyes; then :
12748 12713
12749 fi 12714 fi
12750 12715
12751 if test $ac_cv_func_connect = no; then 12716 if test $ac_cv_func_connect = no; then
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
12753 $as_echo_n "checking for connect in -lsocket... " >&6; } 12718 $as_echo_n "checking for connect in -lsocket... " >&6; }
12754 if test "${ac_cv_lib_socket_connect+set}" = set; then : 12719 if ${ac_cv_lib_socket_connect+:} false; then :
12755 $as_echo_n "(cached) " >&6 12720 $as_echo_n "(cached) " >&6
12756 else 12721 else
12757 ac_check_lib_save_LIBS=$LIBS 12722 ac_check_lib_save_LIBS=$LIBS
12758 LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 12723 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
12759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12783 conftest$ac_exeext conftest.$ac_ext 12748 conftest$ac_exeext conftest.$ac_ext
12784 LIBS=$ac_check_lib_save_LIBS 12749 LIBS=$ac_check_lib_save_LIBS
12785 fi 12750 fi
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
12787 $as_echo "$ac_cv_lib_socket_connect" >&6; } 12752 $as_echo "$ac_cv_lib_socket_connect" >&6; }
12788 if test "x$ac_cv_lib_socket_connect" = x""yes; then : 12753 if test "x$ac_cv_lib_socket_connect" = xyes; then :
12789 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 12754 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
12790 fi 12755 fi
12791 12756
12792 fi 12757 fi
12793 12758
12794 # Guillermo Gomez says -lposix is necessary on A/UX. 12759 # Guillermo Gomez says -lposix is necessary on A/UX.
12795 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" 12760 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
12796 if test "x$ac_cv_func_remove" = x""yes; then : 12761 if test "x$ac_cv_func_remove" = xyes; then :
12797 12762
12798 fi 12763 fi
12799 12764
12800 if test $ac_cv_func_remove = no; then 12765 if test $ac_cv_func_remove = no; then
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
12802 $as_echo_n "checking for remove in -lposix... " >&6; } 12767 $as_echo_n "checking for remove in -lposix... " >&6; }
12803 if test "${ac_cv_lib_posix_remove+set}" = set; then : 12768 if ${ac_cv_lib_posix_remove+:} false; then :
12804 $as_echo_n "(cached) " >&6 12769 $as_echo_n "(cached) " >&6
12805 else 12770 else
12806 ac_check_lib_save_LIBS=$LIBS 12771 ac_check_lib_save_LIBS=$LIBS
12807 LIBS="-lposix $LIBS" 12772 LIBS="-lposix $LIBS"
12808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 conftest$ac_exeext conftest.$ac_ext 12797 conftest$ac_exeext conftest.$ac_ext
12833 LIBS=$ac_check_lib_save_LIBS 12798 LIBS=$ac_check_lib_save_LIBS
12834 fi 12799 fi
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
12836 $as_echo "$ac_cv_lib_posix_remove" >&6; } 12801 $as_echo "$ac_cv_lib_posix_remove" >&6; }
12837 if test "x$ac_cv_lib_posix_remove" = x""yes; then : 12802 if test "x$ac_cv_lib_posix_remove" = xyes; then :
12838 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 12803 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12839 fi 12804 fi
12840 12805
12841 fi 12806 fi
12842 12807
12843 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 12808 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12844 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 12809 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
12845 if test "x$ac_cv_func_shmat" = x""yes; then : 12810 if test "x$ac_cv_func_shmat" = xyes; then :
12846 12811
12847 fi 12812 fi
12848 12813
12849 if test $ac_cv_func_shmat = no; then 12814 if test $ac_cv_func_shmat = no; then
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
12851 $as_echo_n "checking for shmat in -lipc... " >&6; } 12816 $as_echo_n "checking for shmat in -lipc... " >&6; }
12852 if test "${ac_cv_lib_ipc_shmat+set}" = set; then : 12817 if ${ac_cv_lib_ipc_shmat+:} false; then :
12853 $as_echo_n "(cached) " >&6 12818 $as_echo_n "(cached) " >&6
12854 else 12819 else
12855 ac_check_lib_save_LIBS=$LIBS 12820 ac_check_lib_save_LIBS=$LIBS
12856 LIBS="-lipc $LIBS" 12821 LIBS="-lipc $LIBS"
12857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12881 conftest$ac_exeext conftest.$ac_ext 12846 conftest$ac_exeext conftest.$ac_ext
12882 LIBS=$ac_check_lib_save_LIBS 12847 LIBS=$ac_check_lib_save_LIBS
12883 fi 12848 fi
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
12885 $as_echo "$ac_cv_lib_ipc_shmat" >&6; } 12850 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
12886 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then : 12851 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
12887 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 12852 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12888 fi 12853 fi
12889 12854
12890 fi 12855 fi
12891 fi 12856 fi
12899 # These have to be linked with before -lX11, unlike the other 12864 # These have to be linked with before -lX11, unlike the other
12900 # libraries we check for below, so use a different variable. 12865 # libraries we check for below, so use a different variable.
12901 # John Interrante, Karl Berry 12866 # John Interrante, Karl Berry
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
12903 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } 12868 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
12904 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then : 12869 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
12905 $as_echo_n "(cached) " >&6 12870 $as_echo_n "(cached) " >&6
12906 else 12871 else
12907 ac_check_lib_save_LIBS=$LIBS 12872 ac_check_lib_save_LIBS=$LIBS
12908 LIBS="-lICE $X_EXTRA_LIBS $LIBS" 12873 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12933 conftest$ac_exeext conftest.$ac_ext 12898 conftest$ac_exeext conftest.$ac_ext
12934 LIBS=$ac_check_lib_save_LIBS 12899 LIBS=$ac_check_lib_save_LIBS
12935 fi 12900 fi
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12937 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } 12902 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
12938 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then : 12903 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
12939 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 12904 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12940 fi 12905 fi
12941 12906
12942 LDFLAGS=$ac_save_LDFLAGS 12907 LDFLAGS=$ac_save_LDFLAGS
12943 12908
12955 12920
12956 MAKE_SUBDIR="$MAKE_SUBDIR lwlib" && if test "$verbose" = "yes"; then echo " Appending \"lwlib\" to \$MAKE_SUBDIR"; fi 12921 MAKE_SUBDIR="$MAKE_SUBDIR lwlib" && if test "$verbose" = "yes"; then echo " Appending \"lwlib\" to \$MAKE_SUBDIR"; fi
12957 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi 12922 SRC_SUBDIR_DEPS="$SRC_SUBDIR_DEPS lwlib" && if test "$verbose" = "yes"; then echo " Appending \"lwlib\" to \$SRC_SUBDIR_DEPS"; fi
12958 12923
12959 ac_fn_c_check_header_mongrel "$LINENO" "Xm/Xm.h" "ac_cv_header_Xm_Xm_h" "$ac_includes_default" 12924 ac_fn_c_check_header_mongrel "$LINENO" "Xm/Xm.h" "ac_cv_header_Xm_Xm_h" "$ac_includes_default"
12960 if test "x$ac_cv_header_Xm_Xm_h" = x""yes; then : 12925 if test "x$ac_cv_header_Xm_Xm_h" = xyes; then :
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmStringFree in -lXm" >&5 12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmStringFree in -lXm" >&5
12962 $as_echo_n "checking for XmStringFree in -lXm... " >&6; } 12927 $as_echo_n "checking for XmStringFree in -lXm... " >&6; }
12963 if test "${ac_cv_lib_Xm_XmStringFree+set}" = set; then : 12928 if ${ac_cv_lib_Xm_XmStringFree+:} false; then :
12964 $as_echo_n "(cached) " >&6 12929 $as_echo_n "(cached) " >&6
12965 else 12930 else
12966 ac_check_lib_save_LIBS=$LIBS 12931 ac_check_lib_save_LIBS=$LIBS
12967 LIBS="-lXm $LIBS" 12932 LIBS="-lXm $LIBS"
12968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12992 conftest$ac_exeext conftest.$ac_ext 12957 conftest$ac_exeext conftest.$ac_ext
12993 LIBS=$ac_check_lib_save_LIBS 12958 LIBS=$ac_check_lib_save_LIBS
12994 fi 12959 fi
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XmStringFree" >&5 12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XmStringFree" >&5
12996 $as_echo "$ac_cv_lib_Xm_XmStringFree" >&6; } 12961 $as_echo "$ac_cv_lib_Xm_XmStringFree" >&6; }
12997 if test "x$ac_cv_lib_Xm_XmStringFree" = x""yes; then : 12962 if test "x$ac_cv_lib_Xm_XmStringFree" = xyes; then :
12998 got_motif=yes 12963 got_motif=yes
12999 fi 12964 fi
13000 12965
13001 fi 12966 fi
13002 12967
13161 esac 13126 esac
13162 done 13127 done
13163 fi 13128 fi
13164 13129
13165 ac_fn_c_check_header_mongrel "$LINENO" "X11/Intrinsic.h" "ac_cv_header_X11_Intrinsic_h" "$ac_includes_default" 13130 ac_fn_c_check_header_mongrel "$LINENO" "X11/Intrinsic.h" "ac_cv_header_X11_Intrinsic_h" "$ac_includes_default"
13166 if test "x$ac_cv_header_X11_Intrinsic_h" = x""yes; then : 13131 if test "x$ac_cv_header_X11_Intrinsic_h" = xyes; then :
13167 13132
13168 else 13133 else
13169 as_fn_error "Unable to find X11 header files." "$LINENO" 5 13134 as_fn_error $? "Unable to find X11 header files." "$LINENO" 5
13170 fi 13135 fi
13171 13136
13172 13137
13173 13138
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5 13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5
13175 $as_echo_n "checking for XOpenDisplay in -lX11... " >&6; } 13140 $as_echo_n "checking for XOpenDisplay in -lX11... " >&6; }
13176 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then : 13141 if ${ac_cv_lib_X11_XOpenDisplay+:} false; then :
13177 $as_echo_n "(cached) " >&6 13142 $as_echo_n "(cached) " >&6
13178 else 13143 else
13179 ac_check_lib_save_LIBS=$LIBS 13144 ac_check_lib_save_LIBS=$LIBS
13180 LIBS="-lX11 $LIBS" 13145 LIBS="-lX11 $LIBS"
13181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13205 conftest$ac_exeext conftest.$ac_ext 13170 conftest$ac_exeext conftest.$ac_ext
13206 LIBS=$ac_check_lib_save_LIBS 13171 LIBS=$ac_check_lib_save_LIBS
13207 fi 13172 fi
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5 13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5
13209 $as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; } 13174 $as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; }
13210 if test "x$ac_cv_lib_X11_XOpenDisplay" = x""yes; then : 13175 if test "x$ac_cv_lib_X11_XOpenDisplay" = xyes; then :
13211 have_lib_x11=yes 13176 have_lib_x11=yes
13212 fi 13177 fi
13213 13178
13214 if test "$have_lib_x11" != "yes"; then 13179 if test "$have_lib_x11" != "yes"; then
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XGetFontProperty in -lX11" >&5 13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XGetFontProperty in -lX11" >&5
13216 $as_echo_n "checking for XGetFontProperty in -lX11... " >&6; } 13181 $as_echo_n "checking for XGetFontProperty in -lX11... " >&6; }
13217 if test "${ac_cv_lib_X11_XGetFontProperty+set}" = set; then : 13182 if ${ac_cv_lib_X11_XGetFontProperty+:} false; then :
13218 $as_echo_n "(cached) " >&6 13183 $as_echo_n "(cached) " >&6
13219 else 13184 else
13220 ac_check_lib_save_LIBS=$LIBS 13185 ac_check_lib_save_LIBS=$LIBS
13221 LIBS="-lX11 -b i486-linuxaout $LIBS" 13186 LIBS="-lX11 -b i486-linuxaout $LIBS"
13222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13246 conftest$ac_exeext conftest.$ac_ext 13211 conftest$ac_exeext conftest.$ac_ext
13247 LIBS=$ac_check_lib_save_LIBS 13212 LIBS=$ac_check_lib_save_LIBS
13248 fi 13213 fi
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XGetFontProperty" >&5 13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XGetFontProperty" >&5
13250 $as_echo "$ac_cv_lib_X11_XGetFontProperty" >&6; } 13215 $as_echo "$ac_cv_lib_X11_XGetFontProperty" >&6; }
13251 if test "x$ac_cv_lib_X11_XGetFontProperty" = x""yes; then : 13216 if test "x$ac_cv_lib_X11_XGetFontProperty" = xyes; then :
13252 ld_switch_x_site="-b i486-linuxaout $ld_switch_x_site" 13217 ld_switch_x_site="-b i486-linuxaout $ld_switch_x_site"
13253 else 13218 else
13254 as_fn_error "Unable to find X11 libraries." "$LINENO" 5 13219 as_fn_error $? "Unable to find X11 libraries." "$LINENO" 5
13255 fi 13220 fi
13256 13221
13257 fi 13222 fi
13258 libs_x="-lX11" 13223 libs_x="-lX11"
13259 test "$verbose" = "yes" && echo " Setting libs_x to \"-lX11\"" 13224 test "$verbose" = "yes" && echo " Setting libs_x to \"-lX11\""
13260 13225
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeSelectInput in -lXext" >&5 13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeSelectInput in -lXext" >&5
13262 $as_echo_n "checking for XShapeSelectInput in -lXext... " >&6; } 13227 $as_echo_n "checking for XShapeSelectInput in -lXext... " >&6; }
13263 if test "${ac_cv_lib_Xext_XShapeSelectInput+set}" = set; then : 13228 if ${ac_cv_lib_Xext_XShapeSelectInput+:} false; then :
13264 $as_echo_n "(cached) " >&6 13229 $as_echo_n "(cached) " >&6
13265 else 13230 else
13266 ac_check_lib_save_LIBS=$LIBS 13231 ac_check_lib_save_LIBS=$LIBS
13267 LIBS="-lXext $LIBS" 13232 LIBS="-lXext $LIBS"
13268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13292 conftest$ac_exeext conftest.$ac_ext 13257 conftest$ac_exeext conftest.$ac_ext
13293 LIBS=$ac_check_lib_save_LIBS 13258 LIBS=$ac_check_lib_save_LIBS
13294 fi 13259 fi
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeSelectInput" >&5 13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeSelectInput" >&5
13296 $as_echo "$ac_cv_lib_Xext_XShapeSelectInput" >&6; } 13261 $as_echo "$ac_cv_lib_Xext_XShapeSelectInput" >&6; }
13297 if test "x$ac_cv_lib_Xext_XShapeSelectInput" = x""yes; then : 13262 if test "x$ac_cv_lib_Xext_XShapeSelectInput" = xyes; then :
13298 libs_x="-lXext $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXext\" to \$libs_x"; fi 13263 libs_x="-lXext $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXext\" to \$libs_x"; fi
13299 fi 13264 fi
13300 13265
13301 13266
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtOpenDisplay in -lXt" >&5 13267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XtOpenDisplay in -lXt" >&5
13303 $as_echo_n "checking for XtOpenDisplay in -lXt... " >&6; } 13268 $as_echo_n "checking for XtOpenDisplay in -lXt... " >&6; }
13304 if test "${ac_cv_lib_Xt_XtOpenDisplay+set}" = set; then : 13269 if ${ac_cv_lib_Xt_XtOpenDisplay+:} false; then :
13305 $as_echo_n "(cached) " >&6 13270 $as_echo_n "(cached) " >&6
13306 else 13271 else
13307 ac_check_lib_save_LIBS=$LIBS 13272 ac_check_lib_save_LIBS=$LIBS
13308 LIBS="-lXt $LIBS" 13273 LIBS="-lXt $LIBS"
13309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13333 conftest$ac_exeext conftest.$ac_ext 13298 conftest$ac_exeext conftest.$ac_ext
13334 LIBS=$ac_check_lib_save_LIBS 13299 LIBS=$ac_check_lib_save_LIBS
13335 fi 13300 fi
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xt_XtOpenDisplay" >&5 13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xt_XtOpenDisplay" >&5
13337 $as_echo "$ac_cv_lib_Xt_XtOpenDisplay" >&6; } 13302 $as_echo "$ac_cv_lib_Xt_XtOpenDisplay" >&6; }
13338 if test "x$ac_cv_lib_Xt_XtOpenDisplay" = x""yes; then : 13303 if test "x$ac_cv_lib_Xt_XtOpenDisplay" = xyes; then :
13339 libs_x="-lXt $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXt\" to \$libs_x"; fi 13304 libs_x="-lXt $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXt\" to \$libs_x"; fi
13340 else 13305 else
13341 as_fn_error "Unable to find X11 libraries." "$LINENO" 5 13306 as_fn_error $? "Unable to find X11 libraries." "$LINENO" 5
13342 fi 13307 fi
13343 13308
13344 13309
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the version of X11 being used" >&5 13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the version of X11 being used" >&5
13346 $as_echo_n "checking the version of X11 being used... " >&6; } 13311 $as_echo_n "checking the version of X11 being used... " >&6; }
13377 13342
13378 for ac_func in XConvertCase XtRegisterDrawable 13343 for ac_func in XConvertCase XtRegisterDrawable
13379 do : 13344 do :
13380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 13345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13381 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 13346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13382 eval as_val=\$$as_ac_var 13347 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13383 if test "x$as_val" = x""yes; then :
13384 cat >>confdefs.h <<_ACEOF 13348 cat >>confdefs.h <<_ACEOF
13385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 13349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13386 _ACEOF 13350 _ACEOF
13387 13351
13388 fi 13352 fi
13391 13355
13392 for ac_header in X11/Xlocale.h X11/Xfuncproto.h 13356 for ac_header in X11/Xlocale.h X11/Xfuncproto.h
13393 do : 13357 do :
13394 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13358 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13395 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13359 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13396 eval as_val=\$$as_ac_Header 13360 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13397 if test "x$as_val" = x""yes; then :
13398 cat >>confdefs.h <<_ACEOF 13361 cat >>confdefs.h <<_ACEOF
13399 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13362 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13400 _ACEOF 13363 _ACEOF
13401 13364
13402 fi 13365 fi
13405 13368
13406 13369
13407 for ac_func in XRegisterIMInstantiateCallback 13370 for ac_func in XRegisterIMInstantiateCallback
13408 do : 13371 do :
13409 ac_fn_c_check_func "$LINENO" "XRegisterIMInstantiateCallback" "ac_cv_func_XRegisterIMInstantiateCallback" 13372 ac_fn_c_check_func "$LINENO" "XRegisterIMInstantiateCallback" "ac_cv_func_XRegisterIMInstantiateCallback"
13410 if test "x$ac_cv_func_XRegisterIMInstantiateCallback" = x""yes; then : 13373 if test "x$ac_cv_func_XRegisterIMInstantiateCallback" = xyes; then :
13411 cat >>confdefs.h <<_ACEOF 13374 cat >>confdefs.h <<_ACEOF
13412 #define HAVE_XREGISTERIMINSTANTIATECALLBACK 1 13375 #define HAVE_XREGISTERIMINSTANTIATECALLBACK 1
13413 _ACEOF 13376 _ACEOF
13414 13377
13415 fi 13378 fi
13437 fi 13400 fi
13438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13439 13402
13440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuReadBitmapDataFromFile in -lXmu" >&5 13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmuReadBitmapDataFromFile in -lXmu" >&5
13441 $as_echo_n "checking for XmuReadBitmapDataFromFile in -lXmu... " >&6; } 13404 $as_echo_n "checking for XmuReadBitmapDataFromFile in -lXmu... " >&6; }
13442 if test "${ac_cv_lib_Xmu_XmuReadBitmapDataFromFile+set}" = set; then : 13405 if ${ac_cv_lib_Xmu_XmuReadBitmapDataFromFile+:} false; then :
13443 $as_echo_n "(cached) " >&6 13406 $as_echo_n "(cached) " >&6
13444 else 13407 else
13445 ac_check_lib_save_LIBS=$LIBS 13408 ac_check_lib_save_LIBS=$LIBS
13446 LIBS="-lXmu $LIBS" 13409 LIBS="-lXmu $LIBS"
13447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13471 conftest$ac_exeext conftest.$ac_ext 13434 conftest$ac_exeext conftest.$ac_ext
13472 LIBS=$ac_check_lib_save_LIBS 13435 LIBS=$ac_check_lib_save_LIBS
13473 fi 13436 fi
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuReadBitmapDataFromFile" >&5 13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_XmuReadBitmapDataFromFile" >&5
13475 $as_echo "$ac_cv_lib_Xmu_XmuReadBitmapDataFromFile" >&6; } 13438 $as_echo "$ac_cv_lib_Xmu_XmuReadBitmapDataFromFile" >&6; }
13476 if test "x$ac_cv_lib_Xmu_XmuReadBitmapDataFromFile" = x""yes; then : 13439 if test "x$ac_cv_lib_Xmu_XmuReadBitmapDataFromFile" = xyes; then :
13477 with_xmu=yes 13440 with_xmu=yes
13478 else 13441 else
13479 with_xmu=no 13442 with_xmu=no
13480 fi 13443 fi
13481 13444
13482 if test "$with_xmu" = "no"; then 13445 if test "$with_xmu" = "no"; then
13483 as_fn_error "We're sorry, but we thought there were no systems without Xmu by now. 13446 as_fn_error $? "We're sorry, but we thought there were no systems without Xmu by now.
13484 You cannot build this version of XEmacs for X11 without Xmu. Please report 13447 You cannot build this version of XEmacs for X11 without Xmu. Please report
13485 this to xemacs-beta@xemacs.org. As a workaround, revert to XEmacs 21.5.29." "$LINENO" 5 13448 this to xemacs-beta@xemacs.org. As a workaround, revert to XEmacs 21.5.29." "$LINENO" 5
13486 else 13449 else
13487 libs_x="-lXmu $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi 13450 libs_x="-lXmu $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXmu\" to \$libs_x"; fi
13488 fi 13451 fi
13489 13452
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5 13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXbsd" >&5
13491 $as_echo_n "checking for main in -lXbsd... " >&6; } 13454 $as_echo_n "checking for main in -lXbsd... " >&6; }
13492 if test "${ac_cv_lib_Xbsd_main+set}" = set; then : 13455 if ${ac_cv_lib_Xbsd_main+:} false; then :
13493 $as_echo_n "(cached) " >&6 13456 $as_echo_n "(cached) " >&6
13494 else 13457 else
13495 ac_check_lib_save_LIBS=$LIBS 13458 ac_check_lib_save_LIBS=$LIBS
13496 LIBS="-lXbsd $LIBS" 13459 LIBS="-lXbsd $LIBS"
13497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13515 conftest$ac_exeext conftest.$ac_ext 13478 conftest$ac_exeext conftest.$ac_ext
13516 LIBS=$ac_check_lib_save_LIBS 13479 LIBS=$ac_check_lib_save_LIBS
13517 fi 13480 fi
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5 13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xbsd_main" >&5
13519 $as_echo "$ac_cv_lib_Xbsd_main" >&6; } 13482 $as_echo "$ac_cv_lib_Xbsd_main" >&6; }
13520 if test "x$ac_cv_lib_Xbsd_main" = x""yes; then : 13483 if test "x$ac_cv_lib_Xbsd_main" = xyes; then :
13521 libs_x="-lXbsd $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXbsd\" to \$libs_x"; fi 13484 libs_x="-lXbsd $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXbsd\" to \$libs_x"; fi
13522 fi 13485 fi
13523 13486
13524 13487
13525 if test "$unexec" = "unexaix.o" -a "$x11_release" = "6"; then 13488 if test "$unexec" = "unexaix.o" -a "$x11_release" = "6"; then
13550 xft_includes_found=yes 13513 xft_includes_found=yes
13551 else 13514 else
13552 for ac_header in freetype/config/ftheader.h 13515 for ac_header in freetype/config/ftheader.h
13553 do : 13516 do :
13554 ac_fn_c_check_header_mongrel "$LINENO" "freetype/config/ftheader.h" "ac_cv_header_freetype_config_ftheader_h" "$ac_includes_default" 13517 ac_fn_c_check_header_mongrel "$LINENO" "freetype/config/ftheader.h" "ac_cv_header_freetype_config_ftheader_h" "$ac_includes_default"
13555 if test "x$ac_cv_header_freetype_config_ftheader_h" = x""yes; then : 13518 if test "x$ac_cv_header_freetype_config_ftheader_h" = xyes; then :
13556 cat >>confdefs.h <<_ACEOF 13519 cat >>confdefs.h <<_ACEOF
13557 #define HAVE_FREETYPE_CONFIG_FTHEADER_H 1 13520 #define HAVE_FREETYPE_CONFIG_FTHEADER_H 1
13558 _ACEOF 13521 _ACEOF
13559 xft_includes_found=yes 13522 xft_includes_found=yes
13560 else 13523 else
13570 save_c_switch_site="$c_switch_site" 13533 save_c_switch_site="$c_switch_site"
13571 c_switch_site="$c_switch_site -I${freetype_include_top}" 13534 c_switch_site="$c_switch_site -I${freetype_include_top}"
13572 for ac_header in freetype/config/ftheader.h 13535 for ac_header in freetype/config/ftheader.h
13573 do : 13536 do :
13574 ac_fn_c_check_header_mongrel "$LINENO" "freetype/config/ftheader.h" "ac_cv_header_freetype_config_ftheader_h" "$ac_includes_default" 13537 ac_fn_c_check_header_mongrel "$LINENO" "freetype/config/ftheader.h" "ac_cv_header_freetype_config_ftheader_h" "$ac_includes_default"
13575 if test "x$ac_cv_header_freetype_config_ftheader_h" = x""yes; then : 13538 if test "x$ac_cv_header_freetype_config_ftheader_h" = xyes; then :
13576 cat >>confdefs.h <<_ACEOF 13539 cat >>confdefs.h <<_ACEOF
13577 #define HAVE_FREETYPE_CONFIG_FTHEADER_H 1 13540 #define HAVE_FREETYPE_CONFIG_FTHEADER_H 1
13578 _ACEOF 13541 _ACEOF
13579 xft_includes_found=yes 13542 xft_includes_found=yes
13580 else 13543 else
13593 if test "$xft_includes_found" != "yes"; then 13556 if test "$xft_includes_found" != "yes"; then
13594 { echo "Error:" "Unable to find headers for --with-xft" >&2; exit 1; } 13557 { echo "Error:" "Unable to find headers for --with-xft" >&2; exit 1; }
13595 else 13558 else
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5 13559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderQueryExtension in -lXrender" >&5
13597 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; } 13560 $as_echo_n "checking for XRenderQueryExtension in -lXrender... " >&6; }
13598 if test "${ac_cv_lib_Xrender_XRenderQueryExtension+set}" = set; then : 13561 if ${ac_cv_lib_Xrender_XRenderQueryExtension+:} false; then :
13599 $as_echo_n "(cached) " >&6 13562 $as_echo_n "(cached) " >&6
13600 else 13563 else
13601 ac_check_lib_save_LIBS=$LIBS 13564 ac_check_lib_save_LIBS=$LIBS
13602 LIBS="-lXrender $LIBS" 13565 LIBS="-lXrender $LIBS"
13603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13627 conftest$ac_exeext conftest.$ac_ext 13590 conftest$ac_exeext conftest.$ac_ext
13628 LIBS=$ac_check_lib_save_LIBS 13591 LIBS=$ac_check_lib_save_LIBS
13629 fi 13592 fi
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5 13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderQueryExtension" >&5
13631 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; } 13594 $as_echo "$ac_cv_lib_Xrender_XRenderQueryExtension" >&6; }
13632 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = x""yes; then : 13595 if test "x$ac_cv_lib_Xrender_XRenderQueryExtension" = xyes; then :
13633 libs_x="-lXrender $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXrender\" to \$libs_x"; fi 13596 libs_x="-lXrender $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXrender\" to \$libs_x"; fi
13634 else 13597 else
13635 { echo "Error:" "Unable to find libXrender for --with-xft" >&2; exit 1; } 13598 { echo "Error:" "Unable to find libXrender for --with-xft" >&2; exit 1; }
13636 fi 13599 fi
13637 13600
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternCreate in -lfontconfig" >&5 13601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcPatternCreate in -lfontconfig" >&5
13639 $as_echo_n "checking for FcPatternCreate in -lfontconfig... " >&6; } 13602 $as_echo_n "checking for FcPatternCreate in -lfontconfig... " >&6; }
13640 if test "${ac_cv_lib_fontconfig_FcPatternCreate+set}" = set; then : 13603 if ${ac_cv_lib_fontconfig_FcPatternCreate+:} false; then :
13641 $as_echo_n "(cached) " >&6 13604 $as_echo_n "(cached) " >&6
13642 else 13605 else
13643 ac_check_lib_save_LIBS=$LIBS 13606 ac_check_lib_save_LIBS=$LIBS
13644 LIBS="-lfontconfig $LIBS" 13607 LIBS="-lfontconfig $LIBS"
13645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13669 conftest$ac_exeext conftest.$ac_ext 13632 conftest$ac_exeext conftest.$ac_ext
13670 LIBS=$ac_check_lib_save_LIBS 13633 LIBS=$ac_check_lib_save_LIBS
13671 fi 13634 fi
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternCreate" >&5 13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcPatternCreate" >&5
13673 $as_echo "$ac_cv_lib_fontconfig_FcPatternCreate" >&6; } 13636 $as_echo "$ac_cv_lib_fontconfig_FcPatternCreate" >&6; }
13674 if test "x$ac_cv_lib_fontconfig_FcPatternCreate" = x""yes; then : 13637 if test "x$ac_cv_lib_fontconfig_FcPatternCreate" = xyes; then :
13675 libs_x="-lfontconfig $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lfontconfig\" to \$libs_x"; fi 13638 libs_x="-lfontconfig $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lfontconfig\" to \$libs_x"; fi
13676 else 13639 else
13677 { echo "Error:" "Unable to find libfontconfig for --with-xft" >&2; exit 1; } 13640 { echo "Error:" "Unable to find libfontconfig for --with-xft" >&2; exit 1; }
13678 fi 13641 fi
13679 13642
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5 13643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5
13681 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; } 13644 $as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
13682 if test "${ac_cv_lib_Xft_XftFontOpen+set}" = set; then : 13645 if ${ac_cv_lib_Xft_XftFontOpen+:} false; then :
13683 $as_echo_n "(cached) " >&6 13646 $as_echo_n "(cached) " >&6
13684 else 13647 else
13685 ac_check_lib_save_LIBS=$LIBS 13648 ac_check_lib_save_LIBS=$LIBS
13686 LIBS="-lXft $LIBS" 13649 LIBS="-lXft $LIBS"
13687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13711 conftest$ac_exeext conftest.$ac_ext 13674 conftest$ac_exeext conftest.$ac_ext
13712 LIBS=$ac_check_lib_save_LIBS 13675 LIBS=$ac_check_lib_save_LIBS
13713 fi 13676 fi
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5 13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5
13715 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; } 13678 $as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
13716 if test "x$ac_cv_lib_Xft_XftFontOpen" = x""yes; then : 13679 if test "x$ac_cv_lib_Xft_XftFontOpen" = xyes; then :
13717 libs_x="-lXft $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXft\" to \$libs_x"; fi 13680 libs_x="-lXft $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXft\" to \$libs_x"; fi
13718 else 13681 else
13719 { echo "Error:" "Unable to find libXft for --with-xft" >&2; exit 1; } 13682 { echo "Error:" "Unable to find libXft for --with-xft" >&2; exit 1; }
13720 fi 13683 fi
13721 13684
13722 13685
13723 for ac_func in FcConfigGetRescanInterval 13686 for ac_func in FcConfigGetRescanInterval
13724 do : 13687 do :
13725 ac_fn_c_check_func "$LINENO" "FcConfigGetRescanInterval" "ac_cv_func_FcConfigGetRescanInterval" 13688 ac_fn_c_check_func "$LINENO" "FcConfigGetRescanInterval" "ac_cv_func_FcConfigGetRescanInterval"
13726 if test "x$ac_cv_func_FcConfigGetRescanInterval" = x""yes; then : 13689 if test "x$ac_cv_func_FcConfigGetRescanInterval" = xyes; then :
13727 cat >>confdefs.h <<_ACEOF 13690 cat >>confdefs.h <<_ACEOF
13728 #define HAVE_FCCONFIGGETRESCANINTERVAL 1 13691 #define HAVE_FCCONFIGGETRESCANINTERVAL 1
13729 _ACEOF 13692 _ACEOF
13730 13693
13731 fi 13694 fi
13732 done 13695 done
13733 13696
13734 for ac_func in FcConfigSetRescanInterval 13697 for ac_func in FcConfigSetRescanInterval
13735 do : 13698 do :
13736 ac_fn_c_check_func "$LINENO" "FcConfigSetRescanInterval" "ac_cv_func_FcConfigSetRescanInterval" 13699 ac_fn_c_check_func "$LINENO" "FcConfigSetRescanInterval" "ac_cv_func_FcConfigSetRescanInterval"
13737 if test "x$ac_cv_func_FcConfigSetRescanInterval" = x""yes; then : 13700 if test "x$ac_cv_func_FcConfigSetRescanInterval" = xyes; then :
13738 cat >>confdefs.h <<_ACEOF 13701 cat >>confdefs.h <<_ACEOF
13739 #define HAVE_FCCONFIGSETRESCANINTERVAL 1 13702 #define HAVE_FCCONFIGSETRESCANINTERVAL 1
13740 _ACEOF 13703 _ACEOF
13741 13704
13742 fi 13705 fi
13757 $as_echo_n "checking for MS-Windows... " >&6; } 13720 $as_echo_n "checking for MS-Windows... " >&6; }
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13759 $as_echo "" >&6; } 13722 $as_echo "" >&6; }
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgdi32" >&5 13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgdi32" >&5
13761 $as_echo_n "checking for main in -lgdi32... " >&6; } 13724 $as_echo_n "checking for main in -lgdi32... " >&6; }
13762 if test "${ac_cv_lib_gdi32_main+set}" = set; then : 13725 if ${ac_cv_lib_gdi32_main+:} false; then :
13763 $as_echo_n "(cached) " >&6 13726 $as_echo_n "(cached) " >&6
13764 else 13727 else
13765 ac_check_lib_save_LIBS=$LIBS 13728 ac_check_lib_save_LIBS=$LIBS
13766 LIBS="-lgdi32 $LIBS" 13729 LIBS="-lgdi32 $LIBS"
13767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13785 conftest$ac_exeext conftest.$ac_ext 13748 conftest$ac_exeext conftest.$ac_ext
13786 LIBS=$ac_check_lib_save_LIBS 13749 LIBS=$ac_check_lib_save_LIBS
13787 fi 13750 fi
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdi32_main" >&5 13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdi32_main" >&5
13789 $as_echo "$ac_cv_lib_gdi32_main" >&6; } 13752 $as_echo "$ac_cv_lib_gdi32_main" >&6; }
13790 if test "x$ac_cv_lib_gdi32_main" = x""yes; then : 13753 if test "x$ac_cv_lib_gdi32_main" = xyes; then :
13791 with_msw=yes 13754 with_msw=yes
13792 fi 13755 fi
13793 13756
13794 if test "$with_msw" = "yes"; then 13757 if test "$with_msw" = "yes"; then
13795 $as_echo "#define HAVE_MS_WINDOWS 1" >>confdefs.h 13758 $as_echo "#define HAVE_MS_WINDOWS 1" >>confdefs.h
13816 test "$with_widgets" != "no" && with_widgets=msw 13779 test "$with_widgets" != "no" && with_widgets=msw
13817 fi 13780 fi
13818 if test "$cross_compiling" = yes; then : 13781 if test "$cross_compiling" = yes; then :
13819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13821 as_fn_error "cannot run test program while cross compiling 13784 as_fn_error $? "cannot run test program while cross compiling
13822 See \`config.log' for more details." "$LINENO" 5; } 13785 See \`config.log' for more details" "$LINENO" 5; }
13823 else 13786 else
13824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */ 13788 /* end confdefs.h. */
13826 #include <fcntl.h> 13789 #include <fcntl.h>
13827 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; } 13790 int main() { return (open("/dev/windows", O_RDONLY, 0) > 0)? 0 : 1; }
13883 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" " 13846 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "
13884 #include <X11/Xlib.h> 13847 #include <X11/Xlib.h>
13885 #include <X11/Xutil.h> 13848 #include <X11/Xutil.h>
13886 13849
13887 " 13850 "
13888 if test "x$ac_cv_header_X11_extensions_shape_h" = x""yes; then : 13851 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes; then :
13889 13852
13890 $as_echo "#define HAVE_BALLOON_HELP 1" >>confdefs.h 13853 $as_echo "#define HAVE_BALLOON_HELP 1" >>confdefs.h
13891 13854
13892 13855
13893 fi 13856 fi
13920 $as_echo "no" >&6; } 13883 $as_echo "no" >&6; }
13921 fi 13884 fi
13922 13885
13923 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no 13886 test -z "$with_xauth" && test "$window_system" = "none" && with_xauth=no
13924 test -z "$with_xauth" && { ac_fn_c_check_header_mongrel "$LINENO" "X11/Xauth.h" "ac_cv_header_X11_Xauth_h" "$ac_includes_default" 13887 test -z "$with_xauth" && { ac_fn_c_check_header_mongrel "$LINENO" "X11/Xauth.h" "ac_cv_header_X11_Xauth_h" "$ac_includes_default"
13925 if test "x$ac_cv_header_X11_Xauth_h" = x""yes; then : 13888 if test "x$ac_cv_header_X11_Xauth_h" = xyes; then :
13926 13889
13927 else 13890 else
13928 with_xauth=no 13891 with_xauth=no
13929 fi 13892 fi
13930 13893
13931 } 13894 }
13932 test -z "$with_xauth" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauGetAuthByAddr in -lXau" >&5 13895 test -z "$with_xauth" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauGetAuthByAddr in -lXau" >&5
13933 $as_echo_n "checking for XauGetAuthByAddr in -lXau... " >&6; } 13896 $as_echo_n "checking for XauGetAuthByAddr in -lXau... " >&6; }
13934 if test "${ac_cv_lib_Xau_XauGetAuthByAddr+set}" = set; then : 13897 if ${ac_cv_lib_Xau_XauGetAuthByAddr+:} false; then :
13935 $as_echo_n "(cached) " >&6 13898 $as_echo_n "(cached) " >&6
13936 else 13899 else
13937 ac_check_lib_save_LIBS=$LIBS 13900 ac_check_lib_save_LIBS=$LIBS
13938 LIBS="-lXau $LIBS" 13901 LIBS="-lXau $LIBS"
13939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13963 conftest$ac_exeext conftest.$ac_ext 13926 conftest$ac_exeext conftest.$ac_ext
13964 LIBS=$ac_check_lib_save_LIBS 13927 LIBS=$ac_check_lib_save_LIBS
13965 fi 13928 fi
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauGetAuthByAddr" >&5 13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauGetAuthByAddr" >&5
13967 $as_echo "$ac_cv_lib_Xau_XauGetAuthByAddr" >&6; } 13930 $as_echo "$ac_cv_lib_Xau_XauGetAuthByAddr" >&6; }
13968 if test "x$ac_cv_lib_Xau_XauGetAuthByAddr" = x""yes; then : 13931 if test "x$ac_cv_lib_Xau_XauGetAuthByAddr" = xyes; then :
13969 : 13932 :
13970 else 13933 else
13971 with_xauth=no 13934 with_xauth=no
13972 fi 13935 fi
13973 } 13936 }
14005 $as_echo "#define HAVE_DYLD 1" >>confdefs.h 13968 $as_echo "#define HAVE_DYLD 1" >>confdefs.h
14006 13969
14007 ;; 13970 ;;
14008 * ) 13971 * )
14009 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 13972 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
14010 if test "x$ac_cv_header_dlfcn_h" = x""yes; then : 13973 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
14011 13974
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5 13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5
14013 $as_echo_n "checking for dlopen in -lc... " >&6; } 13976 $as_echo_n "checking for dlopen in -lc... " >&6; }
14014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14015 /* end confdefs.h. */ 13978 /* end confdefs.h. */
14086 if test "$have_dl" = "yes"; then 14049 if test "$have_dl" = "yes"; then
14087 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h 14050 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
14088 14051
14089 else 14052 else
14090 ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default" 14053 ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"
14091 if test "x$ac_cv_header_dl_h" = x""yes; then : 14054 if test "x$ac_cv_header_dl_h" = xyes; then :
14092 14055
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -lc" >&5 14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -lc" >&5
14094 $as_echo_n "checking for shl_load in -lc... " >&6; } 14057 $as_echo_n "checking for shl_load in -lc... " >&6; }
14095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14096 /* end confdefs.h. */ 14059 /* end confdefs.h. */
14142 if test "$have_dl" = "yes"; then 14105 if test "$have_dl" = "yes"; then
14143 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h 14106 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
14144 14107
14145 else 14108 else
14146 ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default" 14109 ac_fn_c_check_header_mongrel "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default"
14147 if test "x$ac_cv_header_ltdl_h" = x""yes; then : 14110 if test "x$ac_cv_header_ltdl_h" = xyes; then :
14148 14111
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlinit in -lltdl" >&5 14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dlinit in -lltdl" >&5
14150 $as_echo_n "checking for lt_dlinit in -lltdl... " >&6; } 14113 $as_echo_n "checking for lt_dlinit in -lltdl... " >&6; }
14151 ac_save_LIBS="$LIBS" 14114 ac_save_LIBS="$LIBS"
14152 LIBS="$LIBS -lltdl" 14115 LIBS="$LIBS -lltdl"
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14508 $as_echo "no" >&6; } 14471 $as_echo "no" >&6; }
14509 fi 14472 fi
14510 14473
14511 if test -z "$LTLD" -a "$cc_produces_so" = no; then 14474 if test -z "$LTLD" -a "$cc_produces_so" = no; then
14512 as_fn_error "no acceptable linker found in \$PATH" "$LINENO" 5 14475 as_fn_error $? "no acceptable linker found in \$PATH" "$LINENO" 5
14513 exit 1 14476 exit 1
14514 fi 14477 fi
14515 fi 14478 fi
14516 14479
14517 ld_dynamic_link_flags= 14480 ld_dynamic_link_flags=
14746 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi 14709 test -n "$libdl" && LIBS="-l${libdl} $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-l${libdl}\" to \$LIBS"; fi
14747 for ac_func in dlerror _dlerror 14710 for ac_func in dlerror _dlerror
14748 do : 14711 do :
14749 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 14712 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14750 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 14713 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14751 eval as_val=\$$as_ac_var 14714 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14752 if test "x$as_val" = x""yes; then :
14753 cat >>confdefs.h <<_ACEOF 14715 cat >>confdefs.h <<_ACEOF
14754 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 14716 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14755 _ACEOF 14717 _ACEOF
14756 14718
14757 fi 14719 fi
14793 14755
14794 if test "$with_tooltalk" != "no" ; then 14756 if test "$with_tooltalk" != "no" ; then
14795 for dir in "" "Tt/" "desktop/" ; do 14757 for dir in "" "Tt/" "desktop/" ; do
14796 as_ac_Header=`$as_echo "ac_cv_header_${dir}tt_c.h" | $as_tr_sh` 14758 as_ac_Header=`$as_echo "ac_cv_header_${dir}tt_c.h" | $as_tr_sh`
14797 ac_fn_c_check_header_mongrel "$LINENO" "${dir}tt_c.h" "$as_ac_Header" "$ac_includes_default" 14759 ac_fn_c_check_header_mongrel "$LINENO" "${dir}tt_c.h" "$as_ac_Header" "$ac_includes_default"
14798 eval as_val=\$$as_ac_Header 14760 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14799 if test "x$as_val" = x""yes; then :
14800 tt_c_h_file="${dir}tt_c.h"; break 14761 tt_c_h_file="${dir}tt_c.h"; break
14801 fi 14762 fi
14802 14763
14803 14764
14804 done 14765 done
14813 fi 14774 fi
14814 if test "$with_tooltalk" != "no" ; then 14775 if test "$with_tooltalk" != "no" ; then
14815 for extra_libs in "" "-lI18N -lce" "-lcxx"; do 14776 for extra_libs in "" "-lI18N -lce" "-lcxx"; do
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tt_message_create in -ltt" >&5 14777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tt_message_create in -ltt" >&5
14817 $as_echo_n "checking for tt_message_create in -ltt... " >&6; } 14778 $as_echo_n "checking for tt_message_create in -ltt... " >&6; }
14818 if test "${ac_cv_lib_tt_tt_message_create+set}" = set; then : 14779 if ${ac_cv_lib_tt_tt_message_create+:} false; then :
14819 $as_echo_n "(cached) " >&6 14780 $as_echo_n "(cached) " >&6
14820 else 14781 else
14821 ac_check_lib_save_LIBS=$LIBS 14782 ac_check_lib_save_LIBS=$LIBS
14822 LIBS="-ltt $extra_libs $LIBS" 14783 LIBS="-ltt $extra_libs $LIBS"
14823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 conftest$ac_exeext conftest.$ac_ext 14808 conftest$ac_exeext conftest.$ac_ext
14848 LIBS=$ac_check_lib_save_LIBS 14809 LIBS=$ac_check_lib_save_LIBS
14849 fi 14810 fi
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tt_tt_message_create" >&5 14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tt_tt_message_create" >&5
14851 $as_echo "$ac_cv_lib_tt_tt_message_create" >&6; } 14812 $as_echo "$ac_cv_lib_tt_tt_message_create" >&6; }
14852 if test "x$ac_cv_lib_tt_tt_message_create" = x""yes; then : 14813 if test "x$ac_cv_lib_tt_tt_message_create" = xyes; then :
14853 tt_libs="-ltt $extra_libs"; break 14814 tt_libs="-ltt $extra_libs"; break
14854 else 14815 else
14855 : 14816 :
14856 fi 14817 fi
14857 14818
14875 14836
14876 libs_x="$tt_libs $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi 14837 libs_x="$tt_libs $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"$tt_libs\" to \$libs_x"; fi
14877 fi 14838 fi
14878 14839
14879 test -z "$with_cde" && { ac_fn_c_check_header_mongrel "$LINENO" "Dt/Dt.h" "ac_cv_header_Dt_Dt_h" "$ac_includes_default" 14840 test -z "$with_cde" && { ac_fn_c_check_header_mongrel "$LINENO" "Dt/Dt.h" "ac_cv_header_Dt_Dt_h" "$ac_includes_default"
14880 if test "x$ac_cv_header_Dt_Dt_h" = x""yes; then : 14841 if test "x$ac_cv_header_Dt_Dt_h" = xyes; then :
14881 14842
14882 else 14843 else
14883 with_cde=no 14844 with_cde=no
14884 fi 14845 fi
14885 14846
14886 } 14847 }
14887 test -z "$with_cde" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DtDndDragStart in -lDtSvc" >&5 14848 test -z "$with_cde" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DtDndDragStart in -lDtSvc" >&5
14888 $as_echo_n "checking for DtDndDragStart in -lDtSvc... " >&6; } 14849 $as_echo_n "checking for DtDndDragStart in -lDtSvc... " >&6; }
14889 if test "${ac_cv_lib_DtSvc_DtDndDragStart+set}" = set; then : 14850 if ${ac_cv_lib_DtSvc_DtDndDragStart+:} false; then :
14890 $as_echo_n "(cached) " >&6 14851 $as_echo_n "(cached) " >&6
14891 else 14852 else
14892 ac_check_lib_save_LIBS=$LIBS 14853 ac_check_lib_save_LIBS=$LIBS
14893 LIBS="-lDtSvc $LIBS" 14854 LIBS="-lDtSvc $LIBS"
14894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918 conftest$ac_exeext conftest.$ac_ext 14879 conftest$ac_exeext conftest.$ac_ext
14919 LIBS=$ac_check_lib_save_LIBS 14880 LIBS=$ac_check_lib_save_LIBS
14920 fi 14881 fi
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_DtSvc_DtDndDragStart" >&5 14882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_DtSvc_DtDndDragStart" >&5
14922 $as_echo "$ac_cv_lib_DtSvc_DtDndDragStart" >&6; } 14883 $as_echo "$ac_cv_lib_DtSvc_DtDndDragStart" >&6; }
14923 if test "x$ac_cv_lib_DtSvc_DtDndDragStart" = x""yes; then : 14884 if test "x$ac_cv_lib_DtSvc_DtDndDragStart" = xyes; then :
14924 : 14885 :
14925 else 14886 else
14926 with_cde=no 14887 with_cde=no
14927 fi 14888 fi
14928 } 14889 }
14968 $as_echo_n "checking for LDAP... " >&6; } 14929 $as_echo_n "checking for LDAP... " >&6; }
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14970 $as_echo "" >&6; } 14931 $as_echo "" >&6; }
14971 ldap_libs= 14932 ldap_libs=
14972 test -z "$with_ldap" && { ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default" 14933 test -z "$with_ldap" && { ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
14973 if test "x$ac_cv_header_ldap_h" = x""yes; then : 14934 if test "x$ac_cv_header_ldap_h" = xyes; then :
14974 14935
14975 else 14936 else
14976 with_ldap=no 14937 with_ldap=no
14977 fi 14938 fi
14978 14939
14979 } 14940 }
14980 test -z "$with_ldap" && { ac_fn_c_check_header_mongrel "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default" 14941 test -z "$with_ldap" && { ac_fn_c_check_header_mongrel "$LINENO" "lber.h" "ac_cv_header_lber_h" "$ac_includes_default"
14981 if test "x$ac_cv_header_lber_h" = x""yes; then : 14942 if test "x$ac_cv_header_lber_h" = xyes; then :
14982 14943
14983 else 14944 else
14984 with_ldap=no 14945 with_ldap=no
14985 fi 14946 fi
14986 14947
14987 } 14948 }
14988 if test "$with_ldap" != "no"; then 14949 if test "$with_ldap" != "no"; then
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_search in -lldap" >&5 14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_search in -lldap" >&5
14990 $as_echo_n "checking for ldap_search in -lldap... " >&6; } 14951 $as_echo_n "checking for ldap_search in -lldap... " >&6; }
14991 if test "${ac_cv_lib_ldap_ldap_search+set}" = set; then : 14952 if ${ac_cv_lib_ldap_ldap_search+:} false; then :
14992 $as_echo_n "(cached) " >&6 14953 $as_echo_n "(cached) " >&6
14993 else 14954 else
14994 ac_check_lib_save_LIBS=$LIBS 14955 ac_check_lib_save_LIBS=$LIBS
14995 LIBS="-lldap $LIBS" 14956 LIBS="-lldap $LIBS"
14996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15020 conftest$ac_exeext conftest.$ac_ext 14981 conftest$ac_exeext conftest.$ac_ext
15021 LIBS=$ac_check_lib_save_LIBS 14982 LIBS=$ac_check_lib_save_LIBS
15022 fi 14983 fi
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_search" >&5 14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_search" >&5
15024 $as_echo "$ac_cv_lib_ldap_ldap_search" >&6; } 14985 $as_echo "$ac_cv_lib_ldap_ldap_search" >&6; }
15025 if test "x$ac_cv_lib_ldap_ldap_search" = x""yes; then : 14986 if test "x$ac_cv_lib_ldap_ldap_search" = xyes; then :
15026 with_ldap=yes 14987 with_ldap=yes
15027 fi 14988 fi
15028 14989
15029 test "$with_ldap" != "yes" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_open in -lldap" >&5 14990 test "$with_ldap" != "yes" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_open in -lldap" >&5
15030 $as_echo_n "checking for ldap_open in -lldap... " >&6; } 14991 $as_echo_n "checking for ldap_open in -lldap... " >&6; }
15031 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then : 14992 if ${ac_cv_lib_ldap_ldap_open+:} false; then :
15032 $as_echo_n "(cached) " >&6 14993 $as_echo_n "(cached) " >&6
15033 else 14994 else
15034 ac_check_lib_save_LIBS=$LIBS 14995 ac_check_lib_save_LIBS=$LIBS
15035 LIBS="-lldap -llber $LIBS" 14996 LIBS="-lldap -llber $LIBS"
15036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15060 conftest$ac_exeext conftest.$ac_ext 15021 conftest$ac_exeext conftest.$ac_ext
15061 LIBS=$ac_check_lib_save_LIBS 15022 LIBS=$ac_check_lib_save_LIBS
15062 fi 15023 fi
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_open" >&5 15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_open" >&5
15064 $as_echo "$ac_cv_lib_ldap_ldap_open" >&6; } 15025 $as_echo "$ac_cv_lib_ldap_ldap_open" >&6; }
15065 if test "x$ac_cv_lib_ldap_ldap_open" = x""yes; then : 15026 if test "x$ac_cv_lib_ldap_ldap_open" = xyes; then :
15066 with_ldap=yes with_ldap_lber=yes 15027 with_ldap=yes with_ldap_lber=yes
15067 fi 15028 fi
15068 } 15029 }
15069 test "$with_ldap" != "yes" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_open in -lldap" >&5 15030 test "$with_ldap" != "yes" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_open in -lldap" >&5
15070 $as_echo_n "checking for ldap_open in -lldap... " >&6; } 15031 $as_echo_n "checking for ldap_open in -lldap... " >&6; }
15071 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then : 15032 if ${ac_cv_lib_ldap_ldap_open+:} false; then :
15072 $as_echo_n "(cached) " >&6 15033 $as_echo_n "(cached) " >&6
15073 else 15034 else
15074 ac_check_lib_save_LIBS=$LIBS 15035 ac_check_lib_save_LIBS=$LIBS
15075 LIBS="-lldap -llber -lkrb $LIBS" 15036 LIBS="-lldap -llber -lkrb $LIBS"
15076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15100 conftest$ac_exeext conftest.$ac_ext 15061 conftest$ac_exeext conftest.$ac_ext
15101 LIBS=$ac_check_lib_save_LIBS 15062 LIBS=$ac_check_lib_save_LIBS
15102 fi 15063 fi
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_open" >&5 15064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_open" >&5
15104 $as_echo "$ac_cv_lib_ldap_ldap_open" >&6; } 15065 $as_echo "$ac_cv_lib_ldap_ldap_open" >&6; }
15105 if test "x$ac_cv_lib_ldap_ldap_open" = x""yes; then : 15066 if test "x$ac_cv_lib_ldap_ldap_open" = xyes; then :
15106 with_ldap=yes with_ldap_lber=yes with_ldap_krb=yes 15067 with_ldap=yes with_ldap_lber=yes with_ldap_krb=yes
15107 fi 15068 fi
15108 } 15069 }
15109 test "$with_ldap" != "yes" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_open in -lldap" >&5 15070 test "$with_ldap" != "yes" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_open in -lldap" >&5
15110 $as_echo_n "checking for ldap_open in -lldap... " >&6; } 15071 $as_echo_n "checking for ldap_open in -lldap... " >&6; }
15111 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then : 15072 if ${ac_cv_lib_ldap_ldap_open+:} false; then :
15112 $as_echo_n "(cached) " >&6 15073 $as_echo_n "(cached) " >&6
15113 else 15074 else
15114 ac_check_lib_save_LIBS=$LIBS 15075 ac_check_lib_save_LIBS=$LIBS
15115 LIBS="-lldap -llber -lkrb -ldes $LIBS" 15076 LIBS="-lldap -llber -lkrb -ldes $LIBS"
15116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15140 conftest$ac_exeext conftest.$ac_ext 15101 conftest$ac_exeext conftest.$ac_ext
15141 LIBS=$ac_check_lib_save_LIBS 15102 LIBS=$ac_check_lib_save_LIBS
15142 fi 15103 fi
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_open" >&5 15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_open" >&5
15144 $as_echo "$ac_cv_lib_ldap_ldap_open" >&6; } 15105 $as_echo "$ac_cv_lib_ldap_ldap_open" >&6; }
15145 if test "x$ac_cv_lib_ldap_ldap_open" = x""yes; then : 15106 if test "x$ac_cv_lib_ldap_ldap_open" = xyes; then :
15146 with_ldap=yes with_ldap_lber=yes with_ldap_krb=yes with_ldap_des=yes 15107 with_ldap=yes with_ldap_lber=yes with_ldap_krb=yes with_ldap_des=yes
15147 fi 15108 fi
15148 } 15109 }
15149 test "$with_ldap_lber" != "yes" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_pvt_opt_on in -llber" >&5 15110 test "$with_ldap_lber" != "yes" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_pvt_opt_on in -llber" >&5
15150 $as_echo_n "checking for ber_pvt_opt_on in -llber... " >&6; } 15111 $as_echo_n "checking for ber_pvt_opt_on in -llber... " >&6; }
15151 if test "${ac_cv_lib_lber_ber_pvt_opt_on+set}" = set; then : 15112 if ${ac_cv_lib_lber_ber_pvt_opt_on+:} false; then :
15152 $as_echo_n "(cached) " >&6 15113 $as_echo_n "(cached) " >&6
15153 else 15114 else
15154 ac_check_lib_save_LIBS=$LIBS 15115 ac_check_lib_save_LIBS=$LIBS
15155 LIBS="-llber $LIBS" 15116 LIBS="-llber $LIBS"
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 conftest$ac_exeext conftest.$ac_ext 15141 conftest$ac_exeext conftest.$ac_ext
15181 LIBS=$ac_check_lib_save_LIBS 15142 LIBS=$ac_check_lib_save_LIBS
15182 fi 15143 fi
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_pvt_opt_on" >&5 15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_pvt_opt_on" >&5
15184 $as_echo "$ac_cv_lib_lber_ber_pvt_opt_on" >&6; } 15145 $as_echo "$ac_cv_lib_lber_ber_pvt_opt_on" >&6; }
15185 if test "x$ac_cv_lib_lber_ber_pvt_opt_on" = x""yes; then : 15146 if test "x$ac_cv_lib_lber_ber_pvt_opt_on" = xyes; then :
15186 with_ldap_lber=yes 15147 with_ldap_lber=yes
15187 fi 15148 fi
15188 } 15149 }
15189 fi 15150 fi
15190 if test "$with_ldap" = "yes"; then 15151 if test "$with_ldap" = "yes"; then
15203 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs" 15164 save_LIBS="$LIBS" LIBS="$LIBS $ldap_libs"
15204 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result 15165 for ac_func in ldap_set_option ldap_get_lderrno ldap_result2error ldap_parse_result
15205 do : 15166 do :
15206 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 15167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 15168 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15208 eval as_val=\$$as_ac_var 15169 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15209 if test "x$as_val" = x""yes; then :
15210 cat >>confdefs.h <<_ACEOF 15170 cat >>confdefs.h <<_ACEOF
15211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 15171 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15212 _ACEOF 15172 _ACEOF
15213 15173
15214 fi 15174 fi
15231 $as_echo "" >&6; } 15191 $as_echo "" >&6; }
15232 15192
15233 for header_dir in "" "pgsql/" "postgresql/"; do 15193 for header_dir in "" "pgsql/" "postgresql/"; do
15234 as_ac_Header=`$as_echo "ac_cv_header_${header_dir}libpq-fe.h" | $as_tr_sh` 15194 as_ac_Header=`$as_echo "ac_cv_header_${header_dir}libpq-fe.h" | $as_tr_sh`
15235 ac_fn_c_check_header_mongrel "$LINENO" "${header_dir}libpq-fe.h" "$as_ac_Header" "$ac_includes_default" 15195 ac_fn_c_check_header_mongrel "$LINENO" "${header_dir}libpq-fe.h" "$as_ac_Header" "$ac_includes_default"
15236 eval as_val=\$$as_ac_Header 15196 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15237 if test "x$as_val" = x""yes; then :
15238 libpq_fe_h_file=${header_dir}libpq-fe.h; break 15197 libpq_fe_h_file=${header_dir}libpq-fe.h; break
15239 fi 15198 fi
15240 15199
15241 15200
15242 done 15201 done
15244 pq_libs= 15203 pq_libs=
15245 extra_libs= 15204 extra_libs=
15246 if test -n "$libpq_fe_h_file"; then 15205 if test -n "$libpq_fe_h_file"; then
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectdb in -lpq" >&5 15206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectdb in -lpq" >&5
15248 $as_echo_n "checking for PQconnectdb in -lpq... " >&6; } 15207 $as_echo_n "checking for PQconnectdb in -lpq... " >&6; }
15249 if test "${ac_cv_lib_pq_PQconnectdb+set}" = set; then : 15208 if ${ac_cv_lib_pq_PQconnectdb+:} false; then :
15250 $as_echo_n "(cached) " >&6 15209 $as_echo_n "(cached) " >&6
15251 else 15210 else
15252 ac_check_lib_save_LIBS=$LIBS 15211 ac_check_lib_save_LIBS=$LIBS
15253 LIBS="-lpq $LIBS" 15212 LIBS="-lpq $LIBS"
15254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15278 conftest$ac_exeext conftest.$ac_ext 15237 conftest$ac_exeext conftest.$ac_ext
15279 LIBS=$ac_check_lib_save_LIBS 15238 LIBS=$ac_check_lib_save_LIBS
15280 fi 15239 fi
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectdb" >&5 15240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectdb" >&5
15282 $as_echo "$ac_cv_lib_pq_PQconnectdb" >&6; } 15241 $as_echo "$ac_cv_lib_pq_PQconnectdb" >&6; }
15283 if test "x$ac_cv_lib_pq_PQconnectdb" = x""yes; then : 15242 if test "x$ac_cv_lib_pq_PQconnectdb" = xyes; then :
15284 pq_libs="-lpq" 15243 pq_libs="-lpq"
15285 else 15244 else
15286 15245
15287 unset ac_cv_lib_pq_PQconnectdb; 15246 unset ac_cv_lib_pq_PQconnectdb;
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectdb in -lpq" >&5 15247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectdb in -lpq" >&5
15289 $as_echo_n "checking for PQconnectdb in -lpq... " >&6; } 15248 $as_echo_n "checking for PQconnectdb in -lpq... " >&6; }
15290 if test "${ac_cv_lib_pq_PQconnectdb+set}" = set; then : 15249 if ${ac_cv_lib_pq_PQconnectdb+:} false; then :
15291 $as_echo_n "(cached) " >&6 15250 $as_echo_n "(cached) " >&6
15292 else 15251 else
15293 ac_check_lib_save_LIBS=$LIBS 15252 ac_check_lib_save_LIBS=$LIBS
15294 LIBS="-lpq -lcrypto -lssl $LIBS" 15253 LIBS="-lpq -lcrypto -lssl $LIBS"
15295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15319 conftest$ac_exeext conftest.$ac_ext 15278 conftest$ac_exeext conftest.$ac_ext
15320 LIBS=$ac_check_lib_save_LIBS 15279 LIBS=$ac_check_lib_save_LIBS
15321 fi 15280 fi
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectdb" >&5 15281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectdb" >&5
15323 $as_echo "$ac_cv_lib_pq_PQconnectdb" >&6; } 15282 $as_echo "$ac_cv_lib_pq_PQconnectdb" >&6; }
15324 if test "x$ac_cv_lib_pq_PQconnectdb" = x""yes; then : 15283 if test "x$ac_cv_lib_pq_PQconnectdb" = xyes; then :
15325 pq_libs="-lpq -lcrypto -lssl" 15284 pq_libs="-lpq -lcrypto -lssl"
15326 fi 15285 fi
15327 15286
15328 fi 15287 fi
15329 15288
15338 with_postgresql=yes 15297 with_postgresql=yes
15339 $as_echo "#define HAVE_POSTGRESQL 1" >>confdefs.h 15298 $as_echo "#define HAVE_POSTGRESQL 1" >>confdefs.h
15340 15299
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectStart in -lpq" >&5 15300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PQconnectStart in -lpq" >&5
15342 $as_echo_n "checking for PQconnectStart in -lpq... " >&6; } 15301 $as_echo_n "checking for PQconnectStart in -lpq... " >&6; }
15343 if test "${ac_cv_lib_pq_PQconnectStart+set}" = set; then : 15302 if ${ac_cv_lib_pq_PQconnectStart+:} false; then :
15344 $as_echo_n "(cached) " >&6 15303 $as_echo_n "(cached) " >&6
15345 else 15304 else
15346 ac_check_lib_save_LIBS=$LIBS 15305 ac_check_lib_save_LIBS=$LIBS
15347 LIBS="-lpq $extra_libs $LIBS" 15306 LIBS="-lpq $extra_libs $LIBS"
15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15372 conftest$ac_exeext conftest.$ac_ext 15331 conftest$ac_exeext conftest.$ac_ext
15373 LIBS=$ac_check_lib_save_LIBS 15332 LIBS=$ac_check_lib_save_LIBS
15374 fi 15333 fi
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectStart" >&5 15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pq_PQconnectStart" >&5
15376 $as_echo "$ac_cv_lib_pq_PQconnectStart" >&6; } 15335 $as_echo "$ac_cv_lib_pq_PQconnectStart" >&6; }
15377 if test "x$ac_cv_lib_pq_PQconnectStart" = x""yes; then : 15336 if test "x$ac_cv_lib_pq_PQconnectStart" = xyes; then :
15378 15337
15379 with_postgresqlv7=yes; 15338 with_postgresqlv7=yes;
15380 $as_echo "#define HAVE_POSTGRESQLV7 1" >>confdefs.h 15339 $as_echo "#define HAVE_POSTGRESQLV7 1" >>confdefs.h
15381 15340
15382 else 15341 else
15435 $as_echo_n "checking for Xpm - no older than 3.4f... " >&6; } 15394 $as_echo_n "checking for Xpm - no older than 3.4f... " >&6; }
15436 xe_check_libs="$libname_xpm" 15395 xe_check_libs="$libname_xpm"
15437 if test "$cross_compiling" = yes; then : 15396 if test "$cross_compiling" = yes; then :
15438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15440 as_fn_error "cannot run test program while cross compiling 15399 as_fn_error $? "cannot run test program while cross compiling
15441 See \`config.log' for more details." "$LINENO" 5; } 15400 See \`config.log' for more details" "$LINENO" 5; }
15442 else 15401 else
15443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15444 /* end confdefs.h. */ 15403 /* end confdefs.h. */
15445 #define XPM_NUMBERS 15404 #define XPM_NUMBERS
15446 #include <X11/xpm.h> 15405 #include <X11/xpm.h>
15515 15474
15516 fi 15475 fi
15517 fi 15476 fi
15518 15477
15519 test -z "$with_xface" && { ac_fn_c_check_header_mongrel "$LINENO" "compface.h" "ac_cv_header_compface_h" "$ac_includes_default" 15478 test -z "$with_xface" && { ac_fn_c_check_header_mongrel "$LINENO" "compface.h" "ac_cv_header_compface_h" "$ac_includes_default"
15520 if test "x$ac_cv_header_compface_h" = x""yes; then : 15479 if test "x$ac_cv_header_compface_h" = xyes; then :
15521 15480
15522 else 15481 else
15523 with_xface=no 15482 with_xface=no
15524 fi 15483 fi
15525 15484
15526 } 15485 }
15527 test -z "$with_xface" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UnGenFace in -lcompface" >&5 15486 test -z "$with_xface" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UnGenFace in -lcompface" >&5
15528 $as_echo_n "checking for UnGenFace in -lcompface... " >&6; } 15487 $as_echo_n "checking for UnGenFace in -lcompface... " >&6; }
15529 if test "${ac_cv_lib_compface_UnGenFace+set}" = set; then : 15488 if ${ac_cv_lib_compface_UnGenFace+:} false; then :
15530 $as_echo_n "(cached) " >&6 15489 $as_echo_n "(cached) " >&6
15531 else 15490 else
15532 ac_check_lib_save_LIBS=$LIBS 15491 ac_check_lib_save_LIBS=$LIBS
15533 LIBS="-lcompface $LIBS" 15492 LIBS="-lcompface $LIBS"
15534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15558 conftest$ac_exeext conftest.$ac_ext 15517 conftest$ac_exeext conftest.$ac_ext
15559 LIBS=$ac_check_lib_save_LIBS 15518 LIBS=$ac_check_lib_save_LIBS
15560 fi 15519 fi
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_compface_UnGenFace" >&5 15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_compface_UnGenFace" >&5
15562 $as_echo "$ac_cv_lib_compface_UnGenFace" >&6; } 15521 $as_echo "$ac_cv_lib_compface_UnGenFace" >&6; }
15563 if test "x$ac_cv_lib_compface_UnGenFace" = x""yes; then : 15522 if test "x$ac_cv_lib_compface_UnGenFace" = xyes; then :
15564 : 15523 :
15565 else 15524 else
15566 with_xface=no 15525 with_xface=no
15567 fi 15526 fi
15568 } 15527 }
15572 15531
15573 libs_x="-lcompface $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi 15532 libs_x="-lcompface $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lcompface\" to \$libs_x"; fi
15574 fi 15533 fi
15575 15534
15576 test -z "$with_gif" && { ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default" 15535 test -z "$with_gif" && { ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
15577 if test "x$ac_cv_header_gif_lib_h" = x""yes; then : 15536 if test "x$ac_cv_header_gif_lib_h" = xyes; then :
15578 15537
15579 else 15538 else
15580 with_gif=no 15539 with_gif=no
15581 fi 15540 fi
15582 15541
15583 } 15542 }
15584 if test "$with_gif" != "no"; then 15543 if test "$with_gif" != "no"; then
15585 with_gif="yes" 15544 with_gif="yes"
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5 15545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lgif" >&5
15587 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; } 15546 $as_echo_n "checking for EGifPutExtensionLast in -lgif... " >&6; }
15588 if test "${ac_cv_lib_gif_EGifPutExtensionLast+set}" = set; then : 15547 if ${ac_cv_lib_gif_EGifPutExtensionLast+:} false; then :
15589 $as_echo_n "(cached) " >&6 15548 $as_echo_n "(cached) " >&6
15590 else 15549 else
15591 ac_check_lib_save_LIBS=$LIBS 15550 ac_check_lib_save_LIBS=$LIBS
15592 LIBS="-lgif $LIBS" 15551 LIBS="-lgif $LIBS"
15593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15617 conftest$ac_exeext conftest.$ac_ext 15576 conftest$ac_exeext conftest.$ac_ext
15618 LIBS=$ac_check_lib_save_LIBS 15577 LIBS=$ac_check_lib_save_LIBS
15619 fi 15578 fi
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5 15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_EGifPutExtensionLast" >&5
15621 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; } 15580 $as_echo "$ac_cv_lib_gif_EGifPutExtensionLast" >&6; }
15622 if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = x""yes; then : 15581 if test "x$ac_cv_lib_gif_EGifPutExtensionLast" = xyes; then :
15623 libs_x="-lgif $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi 15582 libs_x="-lgif $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lgif\" to \$libs_x"; fi
15624 else 15583 else
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5 15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGifPutExtensionLast in -lungif" >&5
15626 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; } 15585 $as_echo_n "checking for EGifPutExtensionLast in -lungif... " >&6; }
15627 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then : 15586 if ${ac_cv_lib_ungif_EGifPutExtensionLast+:} false; then :
15628 $as_echo_n "(cached) " >&6 15587 $as_echo_n "(cached) " >&6
15629 else 15588 else
15630 ac_check_lib_save_LIBS=$LIBS 15589 ac_check_lib_save_LIBS=$LIBS
15631 LIBS="-lungif $LIBS" 15590 LIBS="-lungif $LIBS"
15632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15656 conftest$ac_exeext conftest.$ac_ext 15615 conftest$ac_exeext conftest.$ac_ext
15657 LIBS=$ac_check_lib_save_LIBS 15616 LIBS=$ac_check_lib_save_LIBS
15658 fi 15617 fi
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5 15618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
15660 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; } 15619 $as_echo "$ac_cv_lib_ungif_EGifPutExtensionLast" >&6; }
15661 if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = x""yes; then : 15620 if test "x$ac_cv_lib_ungif_EGifPutExtensionLast" = xyes; then :
15662 libs_x="-lungif $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lungif\" to \$libs_x"; fi 15621 libs_x="-lungif $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lungif\" to \$libs_x"; fi
15663 else 15622 else
15664 with_gif=no 15623 with_gif=no
15665 fi 15624 fi
15666 15625
15673 fi 15632 fi
15674 15633
15675 if test "$with_png $with_tiff" != "no no"; then 15634 if test "$with_png $with_tiff" != "no no"; then
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lc" >&5 15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lc" >&5
15677 $as_echo_n "checking for inflate in -lc... " >&6; } 15636 $as_echo_n "checking for inflate in -lc... " >&6; }
15678 if test "${ac_cv_lib_c_inflate+set}" = set; then : 15637 if ${ac_cv_lib_c_inflate+:} false; then :
15679 $as_echo_n "(cached) " >&6 15638 $as_echo_n "(cached) " >&6
15680 else 15639 else
15681 ac_check_lib_save_LIBS=$LIBS 15640 ac_check_lib_save_LIBS=$LIBS
15682 LIBS="-lc $LIBS" 15641 LIBS="-lc $LIBS"
15683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15707 conftest$ac_exeext conftest.$ac_ext 15666 conftest$ac_exeext conftest.$ac_ext
15708 LIBS=$ac_check_lib_save_LIBS 15667 LIBS=$ac_check_lib_save_LIBS
15709 fi 15668 fi
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inflate" >&5 15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inflate" >&5
15711 $as_echo "$ac_cv_lib_c_inflate" >&6; } 15670 $as_echo "$ac_cv_lib_c_inflate" >&6; }
15712 if test "x$ac_cv_lib_c_inflate" = x""yes; then : 15671 if test "x$ac_cv_lib_c_inflate" = xyes; then :
15713 : 15672 :
15714 else 15673 else
15715 15674
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5 15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
15717 $as_echo_n "checking for inflate in -lz... " >&6; } 15676 $as_echo_n "checking for inflate in -lz... " >&6; }
15718 if test "${ac_cv_lib_z_inflate+set}" = set; then : 15677 if ${ac_cv_lib_z_inflate+:} false; then :
15719 $as_echo_n "(cached) " >&6 15678 $as_echo_n "(cached) " >&6
15720 else 15679 else
15721 ac_check_lib_save_LIBS=$LIBS 15680 ac_check_lib_save_LIBS=$LIBS
15722 LIBS="-lz $LIBS" 15681 LIBS="-lz $LIBS"
15723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15747 conftest$ac_exeext conftest.$ac_ext 15706 conftest$ac_exeext conftest.$ac_ext
15748 LIBS=$ac_check_lib_save_LIBS 15707 LIBS=$ac_check_lib_save_LIBS
15749 fi 15708 fi
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5 15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
15751 $as_echo "$ac_cv_lib_z_inflate" >&6; } 15710 $as_echo "$ac_cv_lib_z_inflate" >&6; }
15752 if test "x$ac_cv_lib_z_inflate" = x""yes; then : 15711 if test "x$ac_cv_lib_z_inflate" = xyes; then :
15753 libs_x="-lz $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi 15712 libs_x="-lz $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lz\" to \$libs_x"; fi
15754 else 15713 else
15755 15714
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lgz" >&5 15715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lgz" >&5
15757 $as_echo_n "checking for inflate in -lgz... " >&6; } 15716 $as_echo_n "checking for inflate in -lgz... " >&6; }
15758 if test "${ac_cv_lib_gz_inflate+set}" = set; then : 15717 if ${ac_cv_lib_gz_inflate+:} false; then :
15759 $as_echo_n "(cached) " >&6 15718 $as_echo_n "(cached) " >&6
15760 else 15719 else
15761 ac_check_lib_save_LIBS=$LIBS 15720 ac_check_lib_save_LIBS=$LIBS
15762 LIBS="-lgz $LIBS" 15721 LIBS="-lgz $LIBS"
15763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15787 conftest$ac_exeext conftest.$ac_ext 15746 conftest$ac_exeext conftest.$ac_ext
15788 LIBS=$ac_check_lib_save_LIBS 15747 LIBS=$ac_check_lib_save_LIBS
15789 fi 15748 fi
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gz_inflate" >&5 15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gz_inflate" >&5
15791 $as_echo "$ac_cv_lib_gz_inflate" >&6; } 15750 $as_echo "$ac_cv_lib_gz_inflate" >&6; }
15792 if test "x$ac_cv_lib_gz_inflate" = x""yes; then : 15751 if test "x$ac_cv_lib_gz_inflate" = xyes; then :
15793 libs_x="-lgz $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lgz\" to \$libs_x"; fi 15752 libs_x="-lgz $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lgz\" to \$libs_x"; fi
15794 fi 15753 fi
15795 15754
15796 fi 15755 fi
15797 15756
15798 fi 15757 fi
15799 15758
15800 fi 15759 fi
15801 15760
15802 test -z "$with_jpeg" && { ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default" 15761 test -z "$with_jpeg" && { ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15803 if test "x$ac_cv_header_jpeglib_h" = x""yes; then : 15762 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15804 15763
15805 else 15764 else
15806 with_jpeg=no 15765 with_jpeg=no
15807 fi 15766 fi
15808 15767
15809 } 15768 }
15810 test -z "$with_jpeg" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5 15769 test -z "$with_jpeg" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5
15811 $as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; } 15770 $as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; }
15812 if test "${ac_cv_lib_jpeg_jpeg_destroy_decompress+set}" = set; then : 15771 if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then :
15813 $as_echo_n "(cached) " >&6 15772 $as_echo_n "(cached) " >&6
15814 else 15773 else
15815 ac_check_lib_save_LIBS=$LIBS 15774 ac_check_lib_save_LIBS=$LIBS
15816 LIBS="-ljpeg $LIBS" 15775 LIBS="-ljpeg $LIBS"
15817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15841 conftest$ac_exeext conftest.$ac_ext 15800 conftest$ac_exeext conftest.$ac_ext
15842 LIBS=$ac_check_lib_save_LIBS 15801 LIBS=$ac_check_lib_save_LIBS
15843 fi 15802 fi
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5 15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
15845 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; } 15804 $as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; }
15846 if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = x""yes; then : 15805 if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then :
15847 : 15806 :
15848 else 15807 else
15849 with_jpeg=no 15808 with_jpeg=no
15850 fi 15809 fi
15851 } 15810 }
15856 libs_x="-ljpeg $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi 15815 libs_x="-ljpeg $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-ljpeg\" to \$libs_x"; fi
15857 fi 15816 fi
15858 15817
15859 png_problem="" 15818 png_problem=""
15860 test -z "$with_png" && { ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow" 15819 test -z "$with_png" && { ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
15861 if test "x$ac_cv_func_pow" = x""yes; then : 15820 if test "x$ac_cv_func_pow" = xyes; then :
15862 15821
15863 else 15822 else
15864 with_png=no 15823 with_png=no
15865 fi 15824 fi
15866 } 15825 }
15867 test -z "$with_png" && { ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default" 15826 test -z "$with_png" && { ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15868 if test "x$ac_cv_header_png_h" = x""yes; then : 15827 if test "x$ac_cv_header_png_h" = xyes; then :
15869 15828
15870 else 15829 else
15871 with_png=no 15830 with_png=no
15872 fi 15831 fi
15873 15832
15874 } 15833 }
15875 test -z "$with_png" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_image in -lpng" >&5 15834 test -z "$with_png" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_image in -lpng" >&5
15876 $as_echo_n "checking for png_read_image in -lpng... " >&6; } 15835 $as_echo_n "checking for png_read_image in -lpng... " >&6; }
15877 if test "${ac_cv_lib_png_png_read_image+set}" = set; then : 15836 if ${ac_cv_lib_png_png_read_image+:} false; then :
15878 $as_echo_n "(cached) " >&6 15837 $as_echo_n "(cached) " >&6
15879 else 15838 else
15880 ac_check_lib_save_LIBS=$LIBS 15839 ac_check_lib_save_LIBS=$LIBS
15881 LIBS="-lpng -lz $LIBS" 15840 LIBS="-lpng -lz $LIBS"
15882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 conftest$ac_exeext conftest.$ac_ext 15865 conftest$ac_exeext conftest.$ac_ext
15907 LIBS=$ac_check_lib_save_LIBS 15866 LIBS=$ac_check_lib_save_LIBS
15908 fi 15867 fi
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_image" >&5 15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_image" >&5
15910 $as_echo "$ac_cv_lib_png_png_read_image" >&6; } 15869 $as_echo "$ac_cv_lib_png_png_read_image" >&6; }
15911 if test "x$ac_cv_lib_png_png_read_image" = x""yes; then : 15870 if test "x$ac_cv_lib_png_png_read_image" = xyes; then :
15912 : 15871 :
15913 else 15872 else
15914 with_png=no 15873 with_png=no
15915 fi 15874 fi
15916 } 15875 }
15919 $as_echo_n "checking for workable png version information... " >&6; } 15878 $as_echo_n "checking for workable png version information... " >&6; }
15920 xe_check_libs="-lpng -lz" 15879 xe_check_libs="-lpng -lz"
15921 if test "$cross_compiling" = yes; then : 15880 if test "$cross_compiling" = yes; then :
15922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 15881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 15882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15924 as_fn_error "cannot run test program while cross compiling 15883 as_fn_error $? "cannot run test program while cross compiling
15925 See \`config.log' for more details." "$LINENO" 5; } 15884 See \`config.log' for more details" "$LINENO" 5; }
15926 else 15885 else
15927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15928 /* end confdefs.h. */ 15887 /* end confdefs.h. */
15929 #include <png.h> 15888 #include <png.h>
15930 int main(int c, char **v) { 15889 int main(int c, char **v) {
15965 15924
15966 libs_x="-lpng $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi 15925 libs_x="-lpng $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lpng\" to \$libs_x"; fi
15967 fi 15926 fi
15968 15927
15969 test -z "$with_tiff" && { ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default" 15928 test -z "$with_tiff" && { ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
15970 if test "x$ac_cv_header_tiffio_h" = x""yes; then : 15929 if test "x$ac_cv_header_tiffio_h" = xyes; then :
15971 15930
15972 else 15931 else
15973 with_tiff=no 15932 with_tiff=no
15974 fi 15933 fi
15975 15934
15976 } 15935 }
15977 test -z "$with_tiff" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in -ltiff" >&5 15936 test -z "$with_tiff" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in -ltiff" >&5
15978 $as_echo_n "checking for TIFFClientOpen in -ltiff... " >&6; } 15937 $as_echo_n "checking for TIFFClientOpen in -ltiff... " >&6; }
15979 if test "${ac_cv_lib_tiff_TIFFClientOpen+set}" = set; then : 15938 if ${ac_cv_lib_tiff_TIFFClientOpen+:} false; then :
15980 $as_echo_n "(cached) " >&6 15939 $as_echo_n "(cached) " >&6
15981 else 15940 else
15982 ac_check_lib_save_LIBS=$LIBS 15941 ac_check_lib_save_LIBS=$LIBS
15983 LIBS="-ltiff -lz $LIBS" 15942 LIBS="-ltiff -lz $LIBS"
15984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16008 conftest$ac_exeext conftest.$ac_ext 15967 conftest$ac_exeext conftest.$ac_ext
16009 LIBS=$ac_check_lib_save_LIBS 15968 LIBS=$ac_check_lib_save_LIBS
16010 fi 15969 fi
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFClientOpen" >&5 15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFClientOpen" >&5
16012 $as_echo "$ac_cv_lib_tiff_TIFFClientOpen" >&6; } 15971 $as_echo "$ac_cv_lib_tiff_TIFFClientOpen" >&6; }
16013 if test "x$ac_cv_lib_tiff_TIFFClientOpen" = x""yes; then : 15972 if test "x$ac_cv_lib_tiff_TIFFClientOpen" = xyes; then :
16014 : 15973 :
16015 else 15974 else
16016 with_tiff=no 15975 with_tiff=no
16017 fi 15976 fi
16018 } 15977 }
16025 fi 15984 fi
16026 15985
16027 15986
16028 if test "$with_gtk" = "yes"; then 15987 if test "$with_gtk" = "yes"; then
16029 test -z "$with_xface" && { ac_fn_c_check_header_mongrel "$LINENO" "compface.h" "ac_cv_header_compface_h" "$ac_includes_default" 15988 test -z "$with_xface" && { ac_fn_c_check_header_mongrel "$LINENO" "compface.h" "ac_cv_header_compface_h" "$ac_includes_default"
16030 if test "x$ac_cv_header_compface_h" = x""yes; then : 15989 if test "x$ac_cv_header_compface_h" = xyes; then :
16031 15990
16032 else 15991 else
16033 with_xface=no 15992 with_xface=no
16034 fi 15993 fi
16035 15994
16036 } 15995 }
16037 test -z "$with_xface" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UnGenFace in -lcompface" >&5 15996 test -z "$with_xface" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for UnGenFace in -lcompface" >&5
16038 $as_echo_n "checking for UnGenFace in -lcompface... " >&6; } 15997 $as_echo_n "checking for UnGenFace in -lcompface... " >&6; }
16039 if test "${ac_cv_lib_compface_UnGenFace+set}" = set; then : 15998 if ${ac_cv_lib_compface_UnGenFace+:} false; then :
16040 $as_echo_n "(cached) " >&6 15999 $as_echo_n "(cached) " >&6
16041 else 16000 else
16042 ac_check_lib_save_LIBS=$LIBS 16001 ac_check_lib_save_LIBS=$LIBS
16043 LIBS="-lcompface $LIBS" 16002 LIBS="-lcompface $LIBS"
16044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16068 conftest$ac_exeext conftest.$ac_ext 16027 conftest$ac_exeext conftest.$ac_ext
16069 LIBS=$ac_check_lib_save_LIBS 16028 LIBS=$ac_check_lib_save_LIBS
16070 fi 16029 fi
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_compface_UnGenFace" >&5 16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_compface_UnGenFace" >&5
16072 $as_echo "$ac_cv_lib_compface_UnGenFace" >&6; } 16031 $as_echo "$ac_cv_lib_compface_UnGenFace" >&6; }
16073 if test "x$ac_cv_lib_compface_UnGenFace" = x""yes; then : 16032 if test "x$ac_cv_lib_compface_UnGenFace" = xyes; then :
16074 : 16033 :
16075 else 16034 else
16076 with_xface=no 16035 with_xface=no
16077 fi 16036 fi
16078 } 16037 }
16118 16077
16119 if test "$athena_3d" = "no"; then 16078 if test "$athena_3d" = "no"; then
16120 as_ac_Lib=`$as_echo "ac_cv_lib_$athena_variant''_XawScrollbarSetThumb" | $as_tr_sh` 16079 as_ac_Lib=`$as_echo "ac_cv_lib_$athena_variant''_XawScrollbarSetThumb" | $as_tr_sh`
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawScrollbarSetThumb in -l$athena_variant" >&5 16080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawScrollbarSetThumb in -l$athena_variant" >&5
16122 $as_echo_n "checking for XawScrollbarSetThumb in -l$athena_variant... " >&6; } 16081 $as_echo_n "checking for XawScrollbarSetThumb in -l$athena_variant... " >&6; }
16123 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : 16082 if eval \${$as_ac_Lib+:} false; then :
16124 $as_echo_n "(cached) " >&6 16083 $as_echo_n "(cached) " >&6
16125 else 16084 else
16126 ac_check_lib_save_LIBS=$LIBS 16085 ac_check_lib_save_LIBS=$LIBS
16127 LIBS="-l$athena_variant $LIBS" 16086 LIBS="-l$athena_variant $LIBS"
16128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16153 LIBS=$ac_check_lib_save_LIBS 16112 LIBS=$ac_check_lib_save_LIBS
16154 fi 16113 fi
16155 eval ac_res=\$$as_ac_Lib 16114 eval ac_res=\$$as_ac_Lib
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16157 $as_echo "$ac_res" >&6; } 16116 $as_echo "$ac_res" >&6; }
16158 eval as_val=\$$as_ac_Lib 16117 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
16159 if test "x$as_val" = x""yes; then :
16160 16118
16161 as_ac_Lib=`$as_echo "ac_cv_lib_$athena_variant''_XawSme3dComputeTopShadowRGB" | $as_tr_sh` 16119 as_ac_Lib=`$as_echo "ac_cv_lib_$athena_variant''_XawSme3dComputeTopShadowRGB" | $as_tr_sh`
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawSme3dComputeTopShadowRGB in -l$athena_variant" >&5 16120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawSme3dComputeTopShadowRGB in -l$athena_variant" >&5
16163 $as_echo_n "checking for XawSme3dComputeTopShadowRGB in -l$athena_variant... " >&6; } 16121 $as_echo_n "checking for XawSme3dComputeTopShadowRGB in -l$athena_variant... " >&6; }
16164 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : 16122 if eval \${$as_ac_Lib+:} false; then :
16165 $as_echo_n "(cached) " >&6 16123 $as_echo_n "(cached) " >&6
16166 else 16124 else
16167 ac_check_lib_save_LIBS=$LIBS 16125 ac_check_lib_save_LIBS=$LIBS
16168 LIBS="-l$athena_variant $LIBS" 16126 LIBS="-l$athena_variant $LIBS"
16169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16194 LIBS=$ac_check_lib_save_LIBS 16152 LIBS=$ac_check_lib_save_LIBS
16195 fi 16153 fi
16196 eval ac_res=\$$as_ac_Lib 16154 eval ac_res=\$$as_ac_Lib
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16198 $as_echo "$ac_res" >&6; } 16156 $as_echo "$ac_res" >&6; }
16199 eval as_val=\$$as_ac_Lib 16157 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
16200 if test "x$as_val" = x""yes; then :
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find a non-3d Athena widget library." >&5 16158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find a non-3d Athena widget library." >&5
16202 $as_echo "$as_me: WARNING: Could not find a non-3d Athena widget library." >&2;} 16159 $as_echo "$as_me: WARNING: Could not find a non-3d Athena widget library." >&2;}
16203 else 16160 else
16204 athena_lib=$athena_variant 16161 athena_lib=$athena_variant
16205 fi 16162 fi
16212 16169
16213 else 16170 else
16214 as_ac_Lib=`$as_echo "ac_cv_lib_$athena_variant''_XawSme3dComputeTopShadowRGB" | $as_tr_sh` 16171 as_ac_Lib=`$as_echo "ac_cv_lib_$athena_variant''_XawSme3dComputeTopShadowRGB" | $as_tr_sh`
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawSme3dComputeTopShadowRGB in -l$athena_variant" >&5 16172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawSme3dComputeTopShadowRGB in -l$athena_variant" >&5
16216 $as_echo_n "checking for XawSme3dComputeTopShadowRGB in -l$athena_variant... " >&6; } 16173 $as_echo_n "checking for XawSme3dComputeTopShadowRGB in -l$athena_variant... " >&6; }
16217 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : 16174 if eval \${$as_ac_Lib+:} false; then :
16218 $as_echo_n "(cached) " >&6 16175 $as_echo_n "(cached) " >&6
16219 else 16176 else
16220 ac_check_lib_save_LIBS=$LIBS 16177 ac_check_lib_save_LIBS=$LIBS
16221 LIBS="-l$athena_variant $LIBS" 16178 LIBS="-l$athena_variant $LIBS"
16222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16247 LIBS=$ac_check_lib_save_LIBS 16204 LIBS=$ac_check_lib_save_LIBS
16248 fi 16205 fi
16249 eval ac_res=\$$as_ac_Lib 16206 eval ac_res=\$$as_ac_Lib
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16251 $as_echo "$ac_res" >&6; } 16208 $as_echo "$ac_res" >&6; }
16252 eval as_val=\$$as_ac_Lib 16209 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
16253 if test "x$as_val" = x""yes; then :
16254 athena_lib=$athena_variant 16210 athena_lib=$athena_variant
16255 else 16211 else
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawSme3dComputeTopShadowRGB in -lXaw" >&5 16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XawSme3dComputeTopShadowRGB in -lXaw" >&5
16257 $as_echo_n "checking for XawSme3dComputeTopShadowRGB in -lXaw... " >&6; } 16213 $as_echo_n "checking for XawSme3dComputeTopShadowRGB in -lXaw... " >&6; }
16258 if test "${ac_cv_lib_Xaw_XawSme3dComputeTopShadowRGB+set}" = set; then : 16214 if ${ac_cv_lib_Xaw_XawSme3dComputeTopShadowRGB+:} false; then :
16259 $as_echo_n "(cached) " >&6 16215 $as_echo_n "(cached) " >&6
16260 else 16216 else
16261 ac_check_lib_save_LIBS=$LIBS 16217 ac_check_lib_save_LIBS=$LIBS
16262 LIBS="-lXaw $LIBS" 16218 LIBS="-lXaw $LIBS"
16263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16287 conftest$ac_exeext conftest.$ac_ext 16243 conftest$ac_exeext conftest.$ac_ext
16288 LIBS=$ac_check_lib_save_LIBS 16244 LIBS=$ac_check_lib_save_LIBS
16289 fi 16245 fi
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw_XawSme3dComputeTopShadowRGB" >&5 16246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw_XawSme3dComputeTopShadowRGB" >&5
16291 $as_echo "$ac_cv_lib_Xaw_XawSme3dComputeTopShadowRGB" >&6; } 16247 $as_echo "$ac_cv_lib_Xaw_XawSme3dComputeTopShadowRGB" >&6; }
16292 if test "x$ac_cv_lib_Xaw_XawSme3dComputeTopShadowRGB" = x""yes; then : 16248 if test "x$ac_cv_lib_Xaw_XawSme3dComputeTopShadowRGB" = xyes; then :
16293 16249
16294 athena_lib=Xaw; 16250 athena_lib=Xaw;
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming that libXaw is actually $athena_variant." >&5 16251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming that libXaw is actually $athena_variant." >&5
16296 $as_echo "$as_me: WARNING: Assuming that libXaw is actually $athena_variant." >&2;}; 16252 $as_echo "$as_me: WARNING: Assuming that libXaw is actually $athena_variant." >&2;};
16297 16253
16304 16260
16305 fi 16261 fi
16306 16262
16307 if test "$athena_3d" = "no"; then 16263 if test "$athena_3d" = "no"; then
16308 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xaw/ThreeD.h" "ac_cv_header_X11_Xaw_ThreeD_h" "$ac_includes_default" 16264 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xaw/ThreeD.h" "ac_cv_header_X11_Xaw_ThreeD_h" "$ac_includes_default"
16309 if test "x$ac_cv_header_X11_Xaw_ThreeD_h" = x""yes; then : 16265 if test "x$ac_cv_header_X11_Xaw_ThreeD_h" = xyes; then :
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find a non-3d Athena header set." >&5 16266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find a non-3d Athena header set." >&5
16311 $as_echo "$as_me: WARNING: Could not find a non-3d Athena header set." >&2;} 16267 $as_echo "$as_me: WARNING: Could not find a non-3d Athena header set." >&2;}
16312 else 16268 else
16313 ac_fn_c_check_header_compile "$LINENO" "X11/Xaw/XawInit.h" "ac_cv_header_X11_Xaw_XawInit_h" " 16269 ac_fn_c_check_header_compile "$LINENO" "X11/Xaw/XawInit.h" "ac_cv_header_X11_Xaw_XawInit_h" "
16314 #include <X11/Intrinsic.h> 16270 #include <X11/Intrinsic.h>
16315 16271
16316 " 16272 "
16317 if test "x$ac_cv_header_X11_Xaw_XawInit_h" = x""yes; then : 16273 if test "x$ac_cv_header_X11_Xaw_XawInit_h" = xyes; then :
16318 athena_h_path=X11/Xaw 16274 athena_h_path=X11/Xaw
16319 else 16275 else
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find a non-3d Athena header set." >&5 16276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find a non-3d Athena header set." >&5
16321 $as_echo "$as_me: WARNING: Could not find a non-3d Athena header set." >&2;} 16277 $as_echo "$as_me: WARNING: Could not find a non-3d Athena header set." >&2;}
16322 fi 16278 fi
16332 #include <X11/Xfuncproto.h> 16288 #include <X11/Xfuncproto.h>
16333 #endif 16289 #endif
16334 #include <X11/Intrinsic.h> 16290 #include <X11/Intrinsic.h>
16335 16291
16336 " 16292 "
16337 eval as_val=\$$as_ac_Header 16293 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16338 if test "x$as_val" = x""yes; then :
16339 as_ac_Header=`$as_echo "ac_cv_header_X11/$athena_variant/ThreeD.h" | $as_tr_sh` 16294 as_ac_Header=`$as_echo "ac_cv_header_X11/$athena_variant/ThreeD.h" | $as_tr_sh`
16340 ac_fn_c_check_header_mongrel "$LINENO" "X11/$athena_variant/ThreeD.h" "$as_ac_Header" "$ac_includes_default" 16295 ac_fn_c_check_header_mongrel "$LINENO" "X11/$athena_variant/ThreeD.h" "$as_ac_Header" "$ac_includes_default"
16341 eval as_val=\$$as_ac_Header 16296 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16342 if test "x$as_val" = x""yes; then :
16343 athena_h_path=X11/$athena_variant 16297 athena_h_path=X11/$athena_variant
16344 fi 16298 fi
16345 16299
16346 16300
16347 fi 16301 fi
16355 #include <X11/Xfuncproto.h> 16309 #include <X11/Xfuncproto.h>
16356 #endif 16310 #endif
16357 #include <X11/Intrinsic.h> 16311 #include <X11/Intrinsic.h>
16358 16312
16359 " 16313 "
16360 eval as_val=\$$as_ac_Header 16314 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16361 if test "x$as_val" = x""yes; then :
16362 as_ac_Header=`$as_echo "ac_cv_header_$athena_variant/ThreeD.h" | $as_tr_sh` 16315 as_ac_Header=`$as_echo "ac_cv_header_$athena_variant/ThreeD.h" | $as_tr_sh`
16363 ac_fn_c_check_header_mongrel "$LINENO" "$athena_variant/ThreeD.h" "$as_ac_Header" "$ac_includes_default" 16316 ac_fn_c_check_header_mongrel "$LINENO" "$athena_variant/ThreeD.h" "$as_ac_Header" "$ac_includes_default"
16364 eval as_val=\$$as_ac_Header 16317 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16365 if test "x$as_val" = x""yes; then :
16366 athena_h_path=$athena_variant 16318 athena_h_path=$athena_variant
16367 fi 16319 fi
16368 16320
16369 16321
16370 fi 16322 fi
16378 #include <X11/Xfuncproto.h> 16330 #include <X11/Xfuncproto.h>
16379 #endif 16331 #endif
16380 #include <X11/Intrinsic.h> 16332 #include <X11/Intrinsic.h>
16381 16333
16382 " 16334 "
16383 if test "x$ac_cv_header_X11_Xaw3d_XawInit_h" = x""yes; then : 16335 if test "x$ac_cv_header_X11_Xaw3d_XawInit_h" = xyes; then :
16384 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xaw3d/ThreeD.h" "ac_cv_header_X11_Xaw3d_ThreeD_h" "$ac_includes_default" 16336 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xaw3d/ThreeD.h" "ac_cv_header_X11_Xaw3d_ThreeD_h" "$ac_includes_default"
16385 if test "x$ac_cv_header_X11_Xaw3d_ThreeD_h" = x""yes; then : 16337 if test "x$ac_cv_header_X11_Xaw3d_ThreeD_h" = xyes; then :
16386 16338
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming that X11/Xaw3d headers are suitable for $athena_variant." >&5 16339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming that X11/Xaw3d headers are suitable for $athena_variant." >&5
16388 $as_echo "$as_me: WARNING: Assuming that X11/Xaw3d headers are suitable for $athena_variant." >&2;} 16340 $as_echo "$as_me: WARNING: Assuming that X11/Xaw3d headers are suitable for $athena_variant." >&2;}
16389 athena_h_path=X11/Xaw3d 16341 athena_h_path=X11/Xaw3d
16390 16342
16402 #include <X11/Xfuncproto.h> 16354 #include <X11/Xfuncproto.h>
16403 #endif 16355 #endif
16404 #include <X11/Intrinsic.h> 16356 #include <X11/Intrinsic.h>
16405 16357
16406 " 16358 "
16407 if test "x$ac_cv_header_Xaw3d_XawInit_h" = x""yes; then : 16359 if test "x$ac_cv_header_Xaw3d_XawInit_h" = xyes; then :
16408 ac_fn_c_check_header_mongrel "$LINENO" "Xaw3d/ThreeD.h" "ac_cv_header_Xaw3d_ThreeD_h" "$ac_includes_default" 16360 ac_fn_c_check_header_mongrel "$LINENO" "Xaw3d/ThreeD.h" "ac_cv_header_Xaw3d_ThreeD_h" "$ac_includes_default"
16409 if test "x$ac_cv_header_Xaw3d_ThreeD_h" = x""yes; then : 16361 if test "x$ac_cv_header_Xaw3d_ThreeD_h" = xyes; then :
16410 16362
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming that Xaw3d headers are suitable for $athena_variant." >&5 16363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming that Xaw3d headers are suitable for $athena_variant." >&5
16412 $as_echo "$as_me: WARNING: Assuming that Xaw3d headers are suitable for $athena_variant." >&2;} 16364 $as_echo "$as_me: WARNING: Assuming that Xaw3d headers are suitable for $athena_variant." >&2;}
16413 athena_h_path=Xaw3d 16365 athena_h_path=Xaw3d
16414 16366
16420 16372
16421 fi 16373 fi
16422 16374
16423 if test -z "$athena_h_path"; then 16375 if test -z "$athena_h_path"; then
16424 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xaw/ThreeD.h" "ac_cv_header_X11_Xaw_ThreeD_h" "$ac_includes_default" 16376 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xaw/ThreeD.h" "ac_cv_header_X11_Xaw_ThreeD_h" "$ac_includes_default"
16425 if test "x$ac_cv_header_X11_Xaw_ThreeD_h" = x""yes; then : 16377 if test "x$ac_cv_header_X11_Xaw_ThreeD_h" = xyes; then :
16426 16378
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming that X11/Xaw headers are suitable for $athena_variant." >&5 16379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming that X11/Xaw headers are suitable for $athena_variant." >&5
16428 $as_echo "$as_me: WARNING: Assuming that X11/Xaw headers are suitable for $athena_variant." >&2;} 16380 $as_echo "$as_me: WARNING: Assuming that X11/Xaw headers are suitable for $athena_variant." >&2;}
16429 athena_h_path=X11/Xaw 16381 athena_h_path=X11/Xaw
16430 16382
16446 else 16398 else
16447 have_xaw=no 16399 have_xaw=no
16448 fi 16400 fi
16449 if test "$with_x11" = "yes"; then 16401 if test "$with_x11" = "yes"; then
16450 ac_fn_c_check_header_mongrel "$LINENO" "Xm/Xm.h" "ac_cv_header_Xm_Xm_h" "$ac_includes_default" 16402 ac_fn_c_check_header_mongrel "$LINENO" "Xm/Xm.h" "ac_cv_header_Xm_Xm_h" "$ac_includes_default"
16451 if test "x$ac_cv_header_Xm_Xm_h" = x""yes; then : 16403 if test "x$ac_cv_header_Xm_Xm_h" = xyes; then :
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmStringCreate in -lXm" >&5 16404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmStringCreate in -lXm" >&5
16453 $as_echo_n "checking for XmStringCreate in -lXm... " >&6; } 16405 $as_echo_n "checking for XmStringCreate in -lXm... " >&6; }
16454 if test "${ac_cv_lib_Xm_XmStringCreate+set}" = set; then : 16406 if ${ac_cv_lib_Xm_XmStringCreate+:} false; then :
16455 $as_echo_n "(cached) " >&6 16407 $as_echo_n "(cached) " >&6
16456 else 16408 else
16457 ac_check_lib_save_LIBS=$LIBS 16409 ac_check_lib_save_LIBS=$LIBS
16458 LIBS="-lXm $LIBS" 16410 LIBS="-lXm $LIBS"
16459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16483 conftest$ac_exeext conftest.$ac_ext 16435 conftest$ac_exeext conftest.$ac_ext
16484 LIBS=$ac_check_lib_save_LIBS 16436 LIBS=$ac_check_lib_save_LIBS
16485 fi 16437 fi
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XmStringCreate" >&5 16438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XmStringCreate" >&5
16487 $as_echo "$ac_cv_lib_Xm_XmStringCreate" >&6; } 16439 $as_echo "$ac_cv_lib_Xm_XmStringCreate" >&6; }
16488 if test "x$ac_cv_lib_Xm_XmStringCreate" = x""yes; then : 16440 if test "x$ac_cv_lib_Xm_XmStringCreate" = xyes; then :
16489 have_motif=yes 16441 have_motif=yes
16490 else 16442 else
16491 have_motif=no 16443 have_motif=no
16492 fi 16444 fi
16493 16445
16745 16697
16746 16698
16747 for ac_header in libintl.h 16699 for ac_header in libintl.h
16748 do : 16700 do :
16749 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 16701 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16750 if test "x$ac_cv_header_libintl_h" = x""yes; then : 16702 if test "x$ac_cv_header_libintl_h" = xyes; then :
16751 cat >>confdefs.h <<_ACEOF 16703 cat >>confdefs.h <<_ACEOF
16752 #define HAVE_LIBINTL_H 1 16704 #define HAVE_LIBINTL_H 1
16753 _ACEOF 16705 _ACEOF
16754 16706
16755 fi 16707 fi
16756 16708
16757 done 16709 done
16758 16710
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lintl" >&5 16711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lintl" >&5
16760 $as_echo_n "checking for strerror in -lintl... " >&6; } 16712 $as_echo_n "checking for strerror in -lintl... " >&6; }
16761 if test "${ac_cv_lib_intl_strerror+set}" = set; then : 16713 if ${ac_cv_lib_intl_strerror+:} false; then :
16762 $as_echo_n "(cached) " >&6 16714 $as_echo_n "(cached) " >&6
16763 else 16715 else
16764 ac_check_lib_save_LIBS=$LIBS 16716 ac_check_lib_save_LIBS=$LIBS
16765 LIBS="-lintl $LIBS" 16717 LIBS="-lintl $LIBS"
16766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16790 conftest$ac_exeext conftest.$ac_ext 16742 conftest$ac_exeext conftest.$ac_ext
16791 LIBS=$ac_check_lib_save_LIBS 16743 LIBS=$ac_check_lib_save_LIBS
16792 fi 16744 fi
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strerror" >&5 16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strerror" >&5
16794 $as_echo "$ac_cv_lib_intl_strerror" >&6; } 16746 $as_echo "$ac_cv_lib_intl_strerror" >&6; }
16795 if test "x$ac_cv_lib_intl_strerror" = x""yes; then : 16747 if test "x$ac_cv_lib_intl_strerror" = xyes; then :
16796 cat >>confdefs.h <<_ACEOF 16748 cat >>confdefs.h <<_ACEOF
16797 #define HAVE_LIBINTL 1 16749 #define HAVE_LIBINTL 1
16798 _ACEOF 16750 _ACEOF
16799 16751
16800 LIBS="-lintl $LIBS" 16752 LIBS="-lintl $LIBS"
16807 case "$with_xim" in "" | "yes" ) 16759 case "$with_xim" in "" | "yes" )
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XIM" >&5 16760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XIM" >&5
16809 $as_echo_n "checking for XIM... " >&6; } 16761 $as_echo_n "checking for XIM... " >&6; }
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenIM in -lX11" >&5 16762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenIM in -lX11" >&5
16811 $as_echo_n "checking for XOpenIM in -lX11... " >&6; } 16763 $as_echo_n "checking for XOpenIM in -lX11... " >&6; }
16812 if test "${ac_cv_lib_X11_XOpenIM+set}" = set; then : 16764 if ${ac_cv_lib_X11_XOpenIM+:} false; then :
16813 $as_echo_n "(cached) " >&6 16765 $as_echo_n "(cached) " >&6
16814 else 16766 else
16815 ac_check_lib_save_LIBS=$LIBS 16767 ac_check_lib_save_LIBS=$LIBS
16816 LIBS="-lX11 $LIBS" 16768 LIBS="-lX11 $LIBS"
16817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16841 conftest$ac_exeext conftest.$ac_ext 16793 conftest$ac_exeext conftest.$ac_ext
16842 LIBS=$ac_check_lib_save_LIBS 16794 LIBS=$ac_check_lib_save_LIBS
16843 fi 16795 fi
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenIM" >&5 16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenIM" >&5
16845 $as_echo "$ac_cv_lib_X11_XOpenIM" >&6; } 16797 $as_echo "$ac_cv_lib_X11_XOpenIM" >&6; }
16846 if test "x$ac_cv_lib_X11_XOpenIM" = x""yes; then : 16798 if test "x$ac_cv_lib_X11_XOpenIM" = xyes; then :
16847 with_xim=xlib 16799 with_xim=xlib
16848 else 16800 else
16849 with_xim=no 16801 with_xim=no
16850 fi 16802 fi
16851 16803
16852 if test "$need_motif $have_lesstif" = "yes no"; then 16804 if test "$need_motif $have_lesstif" = "yes no"; then
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmImMbLookupString in -lXm" >&5 16805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmImMbLookupString in -lXm" >&5
16854 $as_echo_n "checking for XmImMbLookupString in -lXm... " >&6; } 16806 $as_echo_n "checking for XmImMbLookupString in -lXm... " >&6; }
16855 if test "${ac_cv_lib_Xm_XmImMbLookupString+set}" = set; then : 16807 if ${ac_cv_lib_Xm_XmImMbLookupString+:} false; then :
16856 $as_echo_n "(cached) " >&6 16808 $as_echo_n "(cached) " >&6
16857 else 16809 else
16858 ac_check_lib_save_LIBS=$LIBS 16810 ac_check_lib_save_LIBS=$LIBS
16859 LIBS="-lXm $LIBS" 16811 LIBS="-lXm $LIBS"
16860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16884 conftest$ac_exeext conftest.$ac_ext 16836 conftest$ac_exeext conftest.$ac_ext
16885 LIBS=$ac_check_lib_save_LIBS 16837 LIBS=$ac_check_lib_save_LIBS
16886 fi 16838 fi
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XmImMbLookupString" >&5 16839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XmImMbLookupString" >&5
16888 $as_echo "$ac_cv_lib_Xm_XmImMbLookupString" >&6; } 16840 $as_echo "$ac_cv_lib_Xm_XmImMbLookupString" >&6; }
16889 if test "x$ac_cv_lib_Xm_XmImMbLookupString" = x""yes; then : 16841 if test "x$ac_cv_lib_Xm_XmImMbLookupString" = xyes; then :
16890 with_xim=motif 16842 with_xim=motif
16891 fi 16843 fi
16892 16844
16893 elif test "$have_motif $have_lesstif $with_xim" = "yes no no"; then 16845 elif test "$have_motif $have_lesstif $with_xim" = "yes no no"; then
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmImMbLookupString in -lXm" >&5 16846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmImMbLookupString in -lXm" >&5
16895 $as_echo_n "checking for XmImMbLookupString in -lXm... " >&6; } 16847 $as_echo_n "checking for XmImMbLookupString in -lXm... " >&6; }
16896 if test "${ac_cv_lib_Xm_XmImMbLookupString+set}" = set; then : 16848 if ${ac_cv_lib_Xm_XmImMbLookupString+:} false; then :
16897 $as_echo_n "(cached) " >&6 16849 $as_echo_n "(cached) " >&6
16898 else 16850 else
16899 ac_check_lib_save_LIBS=$LIBS 16851 ac_check_lib_save_LIBS=$LIBS
16900 LIBS="-lXm $LIBS" 16852 LIBS="-lXm $LIBS"
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 conftest$ac_exeext conftest.$ac_ext 16877 conftest$ac_exeext conftest.$ac_ext
16926 LIBS=$ac_check_lib_save_LIBS 16878 LIBS=$ac_check_lib_save_LIBS
16927 fi 16879 fi
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XmImMbLookupString" >&5 16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xm_XmImMbLookupString" >&5
16929 $as_echo "$ac_cv_lib_Xm_XmImMbLookupString" >&6; } 16881 $as_echo "$ac_cv_lib_Xm_XmImMbLookupString" >&6; }
16930 if test "x$ac_cv_lib_Xm_XmImMbLookupString" = x""yes; then : 16882 if test "x$ac_cv_lib_Xm_XmImMbLookupString" = xyes; then :
16931 with_xim=motif 16883 with_xim=motif
16932 fi 16884 fi
16933 16885
16934 fi ;; 16886 fi ;;
16935 esac 16887 esac
16959 if test "$with_xfs" = "yes" ; then 16911 if test "$with_xfs" = "yes" ; then
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFontSet" >&5 16912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFontSet" >&5
16961 $as_echo_n "checking for XFontSet... " >&6; } 16913 $as_echo_n "checking for XFontSet... " >&6; }
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmbDrawString in -lX11" >&5 16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XmbDrawString in -lX11" >&5
16963 $as_echo_n "checking for XmbDrawString in -lX11... " >&6; } 16915 $as_echo_n "checking for XmbDrawString in -lX11... " >&6; }
16964 if test "${ac_cv_lib_X11_XmbDrawString+set}" = set; then : 16916 if ${ac_cv_lib_X11_XmbDrawString+:} false; then :
16965 $as_echo_n "(cached) " >&6 16917 $as_echo_n "(cached) " >&6
16966 else 16918 else
16967 ac_check_lib_save_LIBS=$LIBS 16919 ac_check_lib_save_LIBS=$LIBS
16968 LIBS="-lX11 $LIBS" 16920 LIBS="-lX11 $LIBS"
16969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 conftest$ac_exeext conftest.$ac_ext 16945 conftest$ac_exeext conftest.$ac_ext
16994 LIBS=$ac_check_lib_save_LIBS 16946 LIBS=$ac_check_lib_save_LIBS
16995 fi 16947 fi
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XmbDrawString" >&5 16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XmbDrawString" >&5
16997 $as_echo "$ac_cv_lib_X11_XmbDrawString" >&6; } 16949 $as_echo "$ac_cv_lib_X11_XmbDrawString" >&6; }
16998 if test "x$ac_cv_lib_X11_XmbDrawString" = x""yes; then : 16950 if test "x$ac_cv_lib_X11_XmbDrawString" = xyes; then :
16999 : 16951 :
17000 else 16952 else
17001 with_xfs=no 16953 with_xfs=no
17002 fi 16954 fi
17003 16955
17011 fi 16963 fi
17012 fi 16964 fi
17013 fi 16965 fi
17014 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 16966 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
17015 test -z "$with_wnn" && { ac_fn_c_check_header_mongrel "$LINENO" "wnn/jllib.h" "ac_cv_header_wnn_jllib_h" "$ac_includes_default" 16967 test -z "$with_wnn" && { ac_fn_c_check_header_mongrel "$LINENO" "wnn/jllib.h" "ac_cv_header_wnn_jllib_h" "$ac_includes_default"
17016 if test "x$ac_cv_header_wnn_jllib_h" = x""yes; then : 16968 if test "x$ac_cv_header_wnn_jllib_h" = xyes; then :
17017 16969
17018 else 16970 else
17019 with_wnn=no 16971 with_wnn=no
17020 fi 16972 fi
17021 16973
17022 } 16974 }
17023 test -z "$with_wnn" && { ac_fn_c_check_header_mongrel "$LINENO" "wnn/commonhd.h" "ac_cv_header_wnn_commonhd_h" "$ac_includes_default" 16975 test -z "$with_wnn" && { ac_fn_c_check_header_mongrel "$LINENO" "wnn/commonhd.h" "ac_cv_header_wnn_commonhd_h" "$ac_includes_default"
17024 if test "x$ac_cv_header_wnn_commonhd_h" = x""yes; then : 16976 if test "x$ac_cv_header_wnn_commonhd_h" = xyes; then :
17025 16977
17026 else 16978 else
17027 with_wnn=no 16979 with_wnn=no
17028 fi 16980 fi
17029 16981
17030 } 16982 }
17031 if test "$with_wnn" != "no"; then 16983 if test "$with_wnn" != "no"; then
17032 for ac_func in crypt 16984 for ac_func in crypt
17033 do : 16985 do :
17034 ac_fn_c_check_func "$LINENO" "crypt" "ac_cv_func_crypt" 16986 ac_fn_c_check_func "$LINENO" "crypt" "ac_cv_func_crypt"
17035 if test "x$ac_cv_func_crypt" = x""yes; then : 16987 if test "x$ac_cv_func_crypt" = xyes; then :
17036 cat >>confdefs.h <<_ACEOF 16988 cat >>confdefs.h <<_ACEOF
17037 #define HAVE_CRYPT 1 16989 #define HAVE_CRYPT 1
17038 _ACEOF 16990 _ACEOF
17039 16991
17040 fi 16992 fi
17041 done 16993 done
17042 16994
17043 test "$ac_cv_func_crypt" != "yes" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5 16995 test "$ac_cv_func_crypt" != "yes" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
17044 $as_echo_n "checking for crypt in -lcrypt... " >&6; } 16996 $as_echo_n "checking for crypt in -lcrypt... " >&6; }
17045 if test "${ac_cv_lib_crypt_crypt+set}" = set; then : 16997 if ${ac_cv_lib_crypt_crypt+:} false; then :
17046 $as_echo_n "(cached) " >&6 16998 $as_echo_n "(cached) " >&6
17047 else 16999 else
17048 ac_check_lib_save_LIBS=$LIBS 17000 ac_check_lib_save_LIBS=$LIBS
17049 LIBS="-lcrypt $LIBS" 17001 LIBS="-lcrypt $LIBS"
17050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 conftest$ac_exeext conftest.$ac_ext 17026 conftest$ac_exeext conftest.$ac_ext
17075 LIBS=$ac_check_lib_save_LIBS 17027 LIBS=$ac_check_lib_save_LIBS
17076 fi 17028 fi
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5 17029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
17078 $as_echo "$ac_cv_lib_crypt_crypt" >&6; } 17030 $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
17079 if test "x$ac_cv_lib_crypt_crypt" = x""yes; then : 17031 if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
17080 cat >>confdefs.h <<_ACEOF 17032 cat >>confdefs.h <<_ACEOF
17081 #define HAVE_LIBCRYPT 1 17033 #define HAVE_LIBCRYPT 1
17082 _ACEOF 17034 _ACEOF
17083 17035
17084 LIBS="-lcrypt $LIBS" 17036 LIBS="-lcrypt $LIBS"
17087 } 17039 }
17088 fi 17040 fi
17089 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then 17041 if test -z "$with_wnn" -o "$with_wnn" = "yes"; then
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jl_dic_list_e in -lwnn" >&5 17042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jl_dic_list_e in -lwnn" >&5
17091 $as_echo_n "checking for jl_dic_list_e in -lwnn... " >&6; } 17043 $as_echo_n "checking for jl_dic_list_e in -lwnn... " >&6; }
17092 if test "${ac_cv_lib_wnn_jl_dic_list_e+set}" = set; then : 17044 if ${ac_cv_lib_wnn_jl_dic_list_e+:} false; then :
17093 $as_echo_n "(cached) " >&6 17045 $as_echo_n "(cached) " >&6
17094 else 17046 else
17095 ac_check_lib_save_LIBS=$LIBS 17047 ac_check_lib_save_LIBS=$LIBS
17096 LIBS="-lwnn $LIBS" 17048 LIBS="-lwnn $LIBS"
17097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17121 conftest$ac_exeext conftest.$ac_ext 17073 conftest$ac_exeext conftest.$ac_ext
17122 LIBS=$ac_check_lib_save_LIBS 17074 LIBS=$ac_check_lib_save_LIBS
17123 fi 17075 fi
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wnn_jl_dic_list_e" >&5 17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wnn_jl_dic_list_e" >&5
17125 $as_echo "$ac_cv_lib_wnn_jl_dic_list_e" >&6; } 17077 $as_echo "$ac_cv_lib_wnn_jl_dic_list_e" >&6; }
17126 if test "x$ac_cv_lib_wnn_jl_dic_list_e" = x""yes; then : 17078 if test "x$ac_cv_lib_wnn_jl_dic_list_e" = xyes; then :
17127 libwnn=wnn 17079 libwnn=wnn
17128 else 17080 else
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jl_dic_list_e in -lwnn4" >&5 17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jl_dic_list_e in -lwnn4" >&5
17130 $as_echo_n "checking for jl_dic_list_e in -lwnn4... " >&6; } 17082 $as_echo_n "checking for jl_dic_list_e in -lwnn4... " >&6; }
17131 if test "${ac_cv_lib_wnn4_jl_dic_list_e+set}" = set; then : 17083 if ${ac_cv_lib_wnn4_jl_dic_list_e+:} false; then :
17132 $as_echo_n "(cached) " >&6 17084 $as_echo_n "(cached) " >&6
17133 else 17085 else
17134 ac_check_lib_save_LIBS=$LIBS 17086 ac_check_lib_save_LIBS=$LIBS
17135 LIBS="-lwnn4 $LIBS" 17087 LIBS="-lwnn4 $LIBS"
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 conftest$ac_exeext conftest.$ac_ext 17112 conftest$ac_exeext conftest.$ac_ext
17161 LIBS=$ac_check_lib_save_LIBS 17113 LIBS=$ac_check_lib_save_LIBS
17162 fi 17114 fi
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wnn4_jl_dic_list_e" >&5 17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wnn4_jl_dic_list_e" >&5
17164 $as_echo "$ac_cv_lib_wnn4_jl_dic_list_e" >&6; } 17116 $as_echo "$ac_cv_lib_wnn4_jl_dic_list_e" >&6; }
17165 if test "x$ac_cv_lib_wnn4_jl_dic_list_e" = x""yes; then : 17117 if test "x$ac_cv_lib_wnn4_jl_dic_list_e" = xyes; then :
17166 libwnn=wnn4 17118 libwnn=wnn4
17167 else 17119 else
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jl_dic_list_e in -lwnn6" >&5 17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jl_dic_list_e in -lwnn6" >&5
17169 $as_echo_n "checking for jl_dic_list_e in -lwnn6... " >&6; } 17121 $as_echo_n "checking for jl_dic_list_e in -lwnn6... " >&6; }
17170 if test "${ac_cv_lib_wnn6_jl_dic_list_e+set}" = set; then : 17122 if ${ac_cv_lib_wnn6_jl_dic_list_e+:} false; then :
17171 $as_echo_n "(cached) " >&6 17123 $as_echo_n "(cached) " >&6
17172 else 17124 else
17173 ac_check_lib_save_LIBS=$LIBS 17125 ac_check_lib_save_LIBS=$LIBS
17174 LIBS="-lwnn6 $LIBS" 17126 LIBS="-lwnn6 $LIBS"
17175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 conftest$ac_exeext conftest.$ac_ext 17151 conftest$ac_exeext conftest.$ac_ext
17200 LIBS=$ac_check_lib_save_LIBS 17152 LIBS=$ac_check_lib_save_LIBS
17201 fi 17153 fi
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wnn6_jl_dic_list_e" >&5 17154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wnn6_jl_dic_list_e" >&5
17203 $as_echo "$ac_cv_lib_wnn6_jl_dic_list_e" >&6; } 17155 $as_echo "$ac_cv_lib_wnn6_jl_dic_list_e" >&6; }
17204 if test "x$ac_cv_lib_wnn6_jl_dic_list_e" = x""yes; then : 17156 if test "x$ac_cv_lib_wnn6_jl_dic_list_e" = xyes; then :
17205 libwnn=wnn6 17157 libwnn=wnn6
17206 else 17158 else
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dic_list_e in -lwnn6_fromsrc" >&5 17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dic_list_e in -lwnn6_fromsrc" >&5
17208 $as_echo_n "checking for dic_list_e in -lwnn6_fromsrc... " >&6; } 17160 $as_echo_n "checking for dic_list_e in -lwnn6_fromsrc... " >&6; }
17209 if test "${ac_cv_lib_wnn6_fromsrc_dic_list_e+set}" = set; then : 17161 if ${ac_cv_lib_wnn6_fromsrc_dic_list_e+:} false; then :
17210 $as_echo_n "(cached) " >&6 17162 $as_echo_n "(cached) " >&6
17211 else 17163 else
17212 ac_check_lib_save_LIBS=$LIBS 17164 ac_check_lib_save_LIBS=$LIBS
17213 LIBS="-lwnn6_fromsrc $LIBS" 17165 LIBS="-lwnn6_fromsrc $LIBS"
17214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17238 conftest$ac_exeext conftest.$ac_ext 17190 conftest$ac_exeext conftest.$ac_ext
17239 LIBS=$ac_check_lib_save_LIBS 17191 LIBS=$ac_check_lib_save_LIBS
17240 fi 17192 fi
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wnn6_fromsrc_dic_list_e" >&5 17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wnn6_fromsrc_dic_list_e" >&5
17242 $as_echo "$ac_cv_lib_wnn6_fromsrc_dic_list_e" >&6; } 17194 $as_echo "$ac_cv_lib_wnn6_fromsrc_dic_list_e" >&6; }
17243 if test "x$ac_cv_lib_wnn6_fromsrc_dic_list_e" = x""yes; then : 17195 if test "x$ac_cv_lib_wnn6_fromsrc_dic_list_e" = xyes; then :
17244 libwnn=wnn6_fromsrc 17196 libwnn=wnn6_fromsrc
17245 else 17197 else
17246 with_wnn=no 17198 with_wnn=no
17247 fi 17199 fi
17248 17200
17260 libs_x="-l$libwnn $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi 17212 libs_x="-l$libwnn $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-l$libwnn\" to \$libs_x"; fi
17261 if test "$with_wnn6" != "no"; then 17213 if test "$with_wnn6" != "no"; then
17262 as_ac_Lib=`$as_echo "ac_cv_lib_$libwnn''_jl_fi_dic_list" | $as_tr_sh` 17214 as_ac_Lib=`$as_echo "ac_cv_lib_$libwnn''_jl_fi_dic_list" | $as_tr_sh`
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jl_fi_dic_list in -l$libwnn" >&5 17215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jl_fi_dic_list in -l$libwnn" >&5
17264 $as_echo_n "checking for jl_fi_dic_list in -l$libwnn... " >&6; } 17216 $as_echo_n "checking for jl_fi_dic_list in -l$libwnn... " >&6; }
17265 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : 17217 if eval \${$as_ac_Lib+:} false; then :
17266 $as_echo_n "(cached) " >&6 17218 $as_echo_n "(cached) " >&6
17267 else 17219 else
17268 ac_check_lib_save_LIBS=$LIBS 17220 ac_check_lib_save_LIBS=$LIBS
17269 LIBS="-l$libwnn $LIBS" 17221 LIBS="-l$libwnn $LIBS"
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17295 LIBS=$ac_check_lib_save_LIBS 17247 LIBS=$ac_check_lib_save_LIBS
17296 fi 17248 fi
17297 eval ac_res=\$$as_ac_Lib 17249 eval ac_res=\$$as_ac_Lib
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 17250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17299 $as_echo "$ac_res" >&6; } 17251 $as_echo "$ac_res" >&6; }
17300 eval as_val=\$$as_ac_Lib 17252 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
17301 if test "x$as_val" = x""yes; then :
17302 with_wnn6=yes 17253 with_wnn6=yes
17303 fi 17254 fi
17304 17255
17305 test "$with_wnn6" = "yes" && $as_echo "#define WNN6 1" >>confdefs.h 17256 test "$with_wnn6" = "yes" && $as_echo "#define WNN6 1" >>confdefs.h
17306 17257
17317 $as_unset ac_cv_header_canna_jrkanji_h 17268 $as_unset ac_cv_header_canna_jrkanji_h
17318 $as_unset ac_cv_header_canna_RK_h 17269 $as_unset ac_cv_header_canna_RK_h
17319 # using $ac_header_compiler is a hack, but autoconf doesn't let us 17270 # using $ac_header_compiler is a hack, but autoconf doesn't let us
17320 # get at this information otherwise :-( 17271 # get at this information otherwise :-(
17321 ac_fn_c_check_header_mongrel "$LINENO" "canna/jrkanji.h" "ac_cv_header_canna_jrkanji_h" "$ac_includes_default" 17272 ac_fn_c_check_header_mongrel "$LINENO" "canna/jrkanji.h" "ac_cv_header_canna_jrkanji_h" "$ac_includes_default"
17322 if test "x$ac_cv_header_canna_jrkanji_h" = x""yes; then : 17273 if test "x$ac_cv_header_canna_jrkanji_h" = xyes; then :
17323 ac_fn_c_check_header_mongrel "$LINENO" "canna/RK.h" "ac_cv_header_canna_RK_h" "$ac_includes_default" 17274 ac_fn_c_check_header_mongrel "$LINENO" "canna/RK.h" "ac_cv_header_canna_RK_h" "$ac_includes_default"
17324 if test "x$ac_cv_header_canna_RK_h" = x""yes; then : 17275 if test "x$ac_cv_header_canna_RK_h" = xyes; then :
17325 have_canna=$ac_header_compiler 17276 have_canna=$ac_header_compiler
17326 fi 17277 fi
17327 17278
17328 17279
17329 fi 17280 fi
17346 fi 17297 fi
17347 fi 17298 fi
17348 17299
17349 test "$have_canna" = "yes" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RkBgnBun in -lRKC" >&5 17300 test "$have_canna" = "yes" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RkBgnBun in -lRKC" >&5
17350 $as_echo_n "checking for RkBgnBun in -lRKC... " >&6; } 17301 $as_echo_n "checking for RkBgnBun in -lRKC... " >&6; }
17351 if test "${ac_cv_lib_RKC_RkBgnBun+set}" = set; then : 17302 if ${ac_cv_lib_RKC_RkBgnBun+:} false; then :
17352 $as_echo_n "(cached) " >&6 17303 $as_echo_n "(cached) " >&6
17353 else 17304 else
17354 ac_check_lib_save_LIBS=$LIBS 17305 ac_check_lib_save_LIBS=$LIBS
17355 LIBS="-lRKC $LIBS" 17306 LIBS="-lRKC $LIBS"
17356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17380 conftest$ac_exeext conftest.$ac_ext 17331 conftest$ac_exeext conftest.$ac_ext
17381 LIBS=$ac_check_lib_save_LIBS 17332 LIBS=$ac_check_lib_save_LIBS
17382 fi 17333 fi
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_RKC_RkBgnBun" >&5 17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_RKC_RkBgnBun" >&5
17384 $as_echo "$ac_cv_lib_RKC_RkBgnBun" >&6; } 17335 $as_echo "$ac_cv_lib_RKC_RkBgnBun" >&6; }
17385 if test "x$ac_cv_lib_RKC_RkBgnBun" = x""yes; then : 17336 if test "x$ac_cv_lib_RKC_RkBgnBun" = xyes; then :
17386 : 17337 :
17387 else 17338 else
17388 have_canna=no 17339 have_canna=no
17389 fi 17340 fi
17390 } 17341 }
17391 test "$have_canna" = "yes" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jrKanjiControl in -lcanna" >&5 17342 test "$have_canna" = "yes" && { { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jrKanjiControl in -lcanna" >&5
17392 $as_echo_n "checking for jrKanjiControl in -lcanna... " >&6; } 17343 $as_echo_n "checking for jrKanjiControl in -lcanna... " >&6; }
17393 if test "${ac_cv_lib_canna_jrKanjiControl+set}" = set; then : 17344 if ${ac_cv_lib_canna_jrKanjiControl+:} false; then :
17394 $as_echo_n "(cached) " >&6 17345 $as_echo_n "(cached) " >&6
17395 else 17346 else
17396 ac_check_lib_save_LIBS=$LIBS 17347 ac_check_lib_save_LIBS=$LIBS
17397 LIBS="-lcanna $LIBS" 17348 LIBS="-lcanna $LIBS"
17398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17422 conftest$ac_exeext conftest.$ac_ext 17373 conftest$ac_exeext conftest.$ac_ext
17423 LIBS=$ac_check_lib_save_LIBS 17374 LIBS=$ac_check_lib_save_LIBS
17424 fi 17375 fi
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_canna_jrKanjiControl" >&5 17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_canna_jrKanjiControl" >&5
17426 $as_echo "$ac_cv_lib_canna_jrKanjiControl" >&6; } 17377 $as_echo "$ac_cv_lib_canna_jrKanjiControl" >&6; }
17427 if test "x$ac_cv_lib_canna_jrKanjiControl" = x""yes; then : 17378 if test "x$ac_cv_lib_canna_jrKanjiControl" = xyes; then :
17428 : 17379 :
17429 else 17380 else
17430 have_canna=no 17381 have_canna=no
17431 fi 17382 fi
17432 } 17383 }
17460 17411
17461 if test "$need_motif" = "yes" ; then 17412 if test "$need_motif" = "yes" ; then
17462 libs_x="-lXm $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi 17413 libs_x="-lXm $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-lXm\" to \$libs_x"; fi
17463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for layout_object_getvalue in -li18n" >&5 17414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for layout_object_getvalue in -li18n" >&5
17464 $as_echo_n "checking for layout_object_getvalue in -li18n... " >&6; } 17415 $as_echo_n "checking for layout_object_getvalue in -li18n... " >&6; }
17465 if test "${ac_cv_lib_i18n_layout_object_getvalue+set}" = set; then : 17416 if ${ac_cv_lib_i18n_layout_object_getvalue+:} false; then :
17466 $as_echo_n "(cached) " >&6 17417 $as_echo_n "(cached) " >&6
17467 else 17418 else
17468 ac_check_lib_save_LIBS=$LIBS 17419 ac_check_lib_save_LIBS=$LIBS
17469 LIBS="-li18n $LIBS" 17420 LIBS="-li18n $LIBS"
17470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17494 conftest$ac_exeext conftest.$ac_ext 17445 conftest$ac_exeext conftest.$ac_ext
17495 LIBS=$ac_check_lib_save_LIBS 17446 LIBS=$ac_check_lib_save_LIBS
17496 fi 17447 fi
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i18n_layout_object_getvalue" >&5 17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i18n_layout_object_getvalue" >&5
17498 $as_echo "$ac_cv_lib_i18n_layout_object_getvalue" >&6; } 17449 $as_echo "$ac_cv_lib_i18n_layout_object_getvalue" >&6; }
17499 if test "x$ac_cv_lib_i18n_layout_object_getvalue" = x""yes; then : 17450 if test "x$ac_cv_lib_i18n_layout_object_getvalue" = xyes; then :
17500 libs_x="-li18n $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-li18n\" to \$libs_x"; fi 17451 libs_x="-li18n $libs_x" && if test "$verbose" = "yes"; then echo " Prepending \"-li18n\" to \$libs_x"; fi
17501 fi 17452 fi
17502 17453
17503 17454
17504 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then 17455 if test "$add_runtime_path" = "yes" -a -n "$dash_r"; then
17565 17516
17566 case "$opsys" in 17517 case "$opsys" in
17567 *cygwin* ) for ac_func in cygwin_conv_path 17518 *cygwin* ) for ac_func in cygwin_conv_path
17568 do : 17519 do :
17569 ac_fn_c_check_func "$LINENO" "cygwin_conv_path" "ac_cv_func_cygwin_conv_path" 17520 ac_fn_c_check_func "$LINENO" "cygwin_conv_path" "ac_cv_func_cygwin_conv_path"
17570 if test "x$ac_cv_func_cygwin_conv_path" = x""yes; then : 17521 if test "x$ac_cv_func_cygwin_conv_path" = xyes; then :
17571 cat >>confdefs.h <<_ACEOF 17522 cat >>confdefs.h <<_ACEOF
17572 #define HAVE_CYGWIN_CONV_PATH 1 17523 #define HAVE_CYGWIN_CONV_PATH 1
17573 _ACEOF 17524 _ACEOF
17574 17525
17575 fi 17526 fi
17581 17532
17582 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen 17533 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen
17583 do : 17534 do :
17584 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17535 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17585 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 17536 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17586 eval as_val=\$$as_ac_var 17537 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17587 if test "x$as_val" = x""yes; then :
17588 cat >>confdefs.h <<_ACEOF 17538 cat >>confdefs.h <<_ACEOF
17589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17590 _ACEOF 17540 _ACEOF
17591 17541
17592 fi 17542 fi
17603 esac 17553 esac
17604 fi 17554 fi
17605 17555
17606 if test "$check_vdb_posix" = "yes" ; then 17556 if test "$check_vdb_posix" = "yes" ; then
17607 ac_fn_c_check_func "$LINENO" "mprotect" "ac_cv_func_mprotect" 17557 ac_fn_c_check_func "$LINENO" "mprotect" "ac_cv_func_mprotect"
17608 if test "x$ac_cv_func_mprotect" = x""yes; then : 17558 if test "x$ac_cv_func_mprotect" = xyes; then :
17609 $as_echo "#define HAVE_MPROTECT 1" >>confdefs.h 17559 $as_echo "#define HAVE_MPROTECT 1" >>confdefs.h
17610 have_vdb_mprotect=yes 17560 have_vdb_mprotect=yes
17611 fi 17561 fi
17612 17562
17613 17563
17614 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction" 17564 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
17615 if test "x$ac_cv_func_sigaction" = x""yes; then : 17565 if test "x$ac_cv_func_sigaction" = xyes; then :
17616 $as_echo "#define HAVE_SIGACTION 1" >>confdefs.h 17566 $as_echo "#define HAVE_SIGACTION 1" >>confdefs.h
17617 have_vdb_sigaction=yes 17567 have_vdb_sigaction=yes
17618 else 17568 else
17619 have_vdb_sigaction=no 17569 have_vdb_sigaction=no
17620 fi 17570 fi
17621 17571
17622 ac_fn_c_check_member "$LINENO" "struct siginfo" "si_addr" "ac_cv_member_struct_siginfo_si_addr" "#include <signal.h> 17572 ac_fn_c_check_member "$LINENO" "struct siginfo" "si_addr" "ac_cv_member_struct_siginfo_si_addr" "#include <signal.h>
17623 " 17573 "
17624 if test "x$ac_cv_member_struct_siginfo_si_addr" = x""yes; then : 17574 if test "x$ac_cv_member_struct_siginfo_si_addr" = xyes; then :
17625 $as_echo "#define HAVE_STRUCT_SIGINFO_SI_ADDR 1" >>confdefs.h 17575 $as_echo "#define HAVE_STRUCT_SIGINFO_SI_ADDR 1" >>confdefs.h
17626 have_si_addr=yes 17576 have_si_addr=yes
17627 fi 17577 fi
17628 17578
17629 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_addr" "ac_cv_member_siginfo_t_si_addr" "#include <signal.h> 17579 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_addr" "ac_cv_member_siginfo_t_si_addr" "#include <signal.h>
17630 " 17580 "
17631 if test "x$ac_cv_member_siginfo_t_si_addr" = x""yes; then : 17581 if test "x$ac_cv_member_siginfo_t_si_addr" = xyes; then :
17632 $as_echo "#define HAVE_SIGINFO_T_SI_ADDR 1" >>confdefs.h 17582 $as_echo "#define HAVE_SIGINFO_T_SI_ADDR 1" >>confdefs.h
17633 have_si_addr=yes 17583 have_si_addr=yes
17634 fi 17584 fi
17635 17585
17636 if test "$have_si_addr" != "yes" ; then 17586 if test "$have_si_addr" != "yes" ; then
17637 have_vdb_sigaction=no 17587 have_vdb_sigaction=no
17638 fi 17588 fi
17639 17589
17640 ac_fn_c_check_func "$LINENO" "signal" "ac_cv_func_signal" 17590 ac_fn_c_check_func "$LINENO" "signal" "ac_cv_func_signal"
17641 if test "x$ac_cv_func_signal" = x""yes; then : 17591 if test "x$ac_cv_func_signal" = xyes; then :
17642 $as_echo "#define HAVE_SIGNAL 1" >>confdefs.h 17592 $as_echo "#define HAVE_SIGNAL 1" >>confdefs.h
17643 have_vdb_signal=yes 17593 have_vdb_signal=yes
17644 fi 17594 fi
17645 17595
17646 ac_fn_c_check_member "$LINENO" "struct sigcontext" "cr2" "ac_cv_member_struct_sigcontext_cr2" "#include <signal.h> 17596 ac_fn_c_check_member "$LINENO" "struct sigcontext" "cr2" "ac_cv_member_struct_sigcontext_cr2" "#include <signal.h>
17647 " 17597 "
17648 if test "x$ac_cv_member_struct_sigcontext_cr2" = x""yes; then : 17598 if test "x$ac_cv_member_struct_sigcontext_cr2" = xyes; then :
17649 $as_echo "#define HAVE_STRUCT_SIGCONTEXT_CR2 1" >>confdefs.h 17599 $as_echo "#define HAVE_STRUCT_SIGCONTEXT_CR2 1" >>confdefs.h
17650 have_cr2=yes 17600 have_cr2=yes
17651 fi 17601 fi
17652 17602
17653 17603
17674 17624
17675 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp 17625 for ac_func in getpt _getpty grantpt unlockpt ptsname killpg tcgetpgrp
17676 do : 17626 do :
17677 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17627 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17678 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 17628 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17679 eval as_val=\$$as_ac_var 17629 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17680 if test "x$as_val" = x""yes; then :
17681 cat >>confdefs.h <<_ACEOF 17630 cat >>confdefs.h <<_ACEOF
17682 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 17631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17683 _ACEOF 17632 _ACEOF
17684 17633
17685 fi 17634 fi
17686 done 17635 done
17687 17636
17688 17637
17689 ac_fn_c_check_func "$LINENO" "openpty" "ac_cv_func_openpty" 17638 ac_fn_c_check_func "$LINENO" "openpty" "ac_cv_func_openpty"
17690 if test "x$ac_cv_func_openpty" = x""yes; then : 17639 if test "x$ac_cv_func_openpty" = xyes; then :
17691 have_openpty=yes 17640 have_openpty=yes
17692 else 17641 else
17693 17642
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5 17643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
17695 $as_echo_n "checking for openpty in -lutil... " >&6; } 17644 $as_echo_n "checking for openpty in -lutil... " >&6; }
17696 if test "${ac_cv_lib_util_openpty+set}" = set; then : 17645 if ${ac_cv_lib_util_openpty+:} false; then :
17697 $as_echo_n "(cached) " >&6 17646 $as_echo_n "(cached) " >&6
17698 else 17647 else
17699 ac_check_lib_save_LIBS=$LIBS 17648 ac_check_lib_save_LIBS=$LIBS
17700 LIBS="-lutil $LIBS" 17649 LIBS="-lutil $LIBS"
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17725 conftest$ac_exeext conftest.$ac_ext 17674 conftest$ac_exeext conftest.$ac_ext
17726 LIBS=$ac_check_lib_save_LIBS 17675 LIBS=$ac_check_lib_save_LIBS
17727 fi 17676 fi
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5 17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
17729 $as_echo "$ac_cv_lib_util_openpty" >&6; } 17678 $as_echo "$ac_cv_lib_util_openpty" >&6; }
17730 if test "x$ac_cv_lib_util_openpty" = x""yes; then : 17679 if test "x$ac_cv_lib_util_openpty" = xyes; then :
17731 have_openpty=yes need_libutil=yes 17680 have_openpty=yes need_libutil=yes
17732 fi 17681 fi
17733 17682
17734 fi 17683 fi
17735 17684
17738 17687
17739 for ac_header in libutil.h util.h 17688 for ac_header in libutil.h util.h
17740 do : 17689 do :
17741 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 17690 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17742 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 17691 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17743 eval as_val=\$$as_ac_Header 17692 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17744 if test "x$as_val" = x""yes; then :
17745 cat >>confdefs.h <<_ACEOF 17693 cat >>confdefs.h <<_ACEOF
17746 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 17694 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17747 _ACEOF 17695 _ACEOF
17748 break 17696 break
17749 fi 17697 fi
17755 17703
17756 case "$opsys" in 17704 case "$opsys" in
17757 hpux*) for ac_header in sys/ptyio.h 17705 hpux*) for ac_header in sys/ptyio.h
17758 do : 17706 do :
17759 ac_fn_c_check_header_mongrel "$LINENO" "sys/ptyio.h" "ac_cv_header_sys_ptyio_h" "$ac_includes_default" 17707 ac_fn_c_check_header_mongrel "$LINENO" "sys/ptyio.h" "ac_cv_header_sys_ptyio_h" "$ac_includes_default"
17760 if test "x$ac_cv_header_sys_ptyio_h" = x""yes; then : 17708 if test "x$ac_cv_header_sys_ptyio_h" = xyes; then :
17761 cat >>confdefs.h <<_ACEOF 17709 cat >>confdefs.h <<_ACEOF
17762 #define HAVE_SYS_PTYIO_H 1 17710 #define HAVE_SYS_PTYIO_H 1
17763 _ACEOF 17711 _ACEOF
17764 17712
17765 fi 17713 fi
17767 done 17715 done
17768 ;; 17716 ;;
17769 *) for ac_header in pty.h 17717 *) for ac_header in pty.h
17770 do : 17718 do :
17771 ac_fn_c_check_header_mongrel "$LINENO" "pty.h" "ac_cv_header_pty_h" "$ac_includes_default" 17719 ac_fn_c_check_header_mongrel "$LINENO" "pty.h" "ac_cv_header_pty_h" "$ac_includes_default"
17772 if test "x$ac_cv_header_pty_h" = x""yes; then : 17720 if test "x$ac_cv_header_pty_h" = xyes; then :
17773 cat >>confdefs.h <<_ACEOF 17721 cat >>confdefs.h <<_ACEOF
17774 #define HAVE_PTY_H 1 17722 #define HAVE_PTY_H 1
17775 _ACEOF 17723 _ACEOF
17776 17724
17777 fi 17725 fi
17779 done 17727 done
17780 17728
17781 test "$ac_cv_header_pty_h" = "no" && for ac_header in sys/pty.h 17729 test "$ac_cv_header_pty_h" = "no" && for ac_header in sys/pty.h
17782 do : 17730 do :
17783 ac_fn_c_check_header_mongrel "$LINENO" "sys/pty.h" "ac_cv_header_sys_pty_h" "$ac_includes_default" 17731 ac_fn_c_check_header_mongrel "$LINENO" "sys/pty.h" "ac_cv_header_sys_pty_h" "$ac_includes_default"
17784 if test "x$ac_cv_header_sys_pty_h" = x""yes; then : 17732 if test "x$ac_cv_header_sys_pty_h" = xyes; then :
17785 cat >>confdefs.h <<_ACEOF 17733 cat >>confdefs.h <<_ACEOF
17786 #define HAVE_SYS_PTY_H 1 17734 #define HAVE_SYS_PTY_H 1
17787 _ACEOF 17735 _ACEOF
17788 17736
17789 fi 17737 fi
17794 esac 17742 esac
17795 17743
17796 for ac_header in stropts.h 17744 for ac_header in stropts.h
17797 do : 17745 do :
17798 ac_fn_c_check_header_mongrel "$LINENO" "stropts.h" "ac_cv_header_stropts_h" "$ac_includes_default" 17746 ac_fn_c_check_header_mongrel "$LINENO" "stropts.h" "ac_cv_header_stropts_h" "$ac_includes_default"
17799 if test "x$ac_cv_header_stropts_h" = x""yes; then : 17747 if test "x$ac_cv_header_stropts_h" = xyes; then :
17800 cat >>confdefs.h <<_ACEOF 17748 cat >>confdefs.h <<_ACEOF
17801 #define HAVE_STROPTS_H 1 17749 #define HAVE_STROPTS_H 1
17802 _ACEOF 17750 _ACEOF
17803 17751
17804 fi 17752 fi
17807 17755
17808 if test "$ac_cv_header_stropts_h" = "yes"; then 17756 if test "$ac_cv_header_stropts_h" = "yes"; then
17809 for ac_func in isastream 17757 for ac_func in isastream
17810 do : 17758 do :
17811 ac_fn_c_check_func "$LINENO" "isastream" "ac_cv_func_isastream" 17759 ac_fn_c_check_func "$LINENO" "isastream" "ac_cv_func_isastream"
17812 if test "x$ac_cv_func_isastream" = x""yes; then : 17760 if test "x$ac_cv_func_isastream" = xyes; then :
17813 cat >>confdefs.h <<_ACEOF 17761 cat >>confdefs.h <<_ACEOF
17814 #define HAVE_ISASTREAM 1 17762 #define HAVE_ISASTREAM 1
17815 _ACEOF 17763 _ACEOF
17816 17764
17817 fi 17765 fi
17818 done 17766 done
17819 17767
17820 for ac_header in strtio.h 17768 for ac_header in strtio.h
17821 do : 17769 do :
17822 ac_fn_c_check_header_mongrel "$LINENO" "strtio.h" "ac_cv_header_strtio_h" "$ac_includes_default" 17770 ac_fn_c_check_header_mongrel "$LINENO" "strtio.h" "ac_cv_header_strtio_h" "$ac_includes_default"
17823 if test "x$ac_cv_header_strtio_h" = x""yes; then : 17771 if test "x$ac_cv_header_strtio_h" = xyes; then :
17824 cat >>confdefs.h <<_ACEOF 17772 cat >>confdefs.h <<_ACEOF
17825 #define HAVE_STRTIO_H 1 17773 #define HAVE_STRTIO_H 1
17826 _ACEOF 17774 _ACEOF
17827 17775
17828 fi 17776 fi
17831 fi 17779 fi
17832 17780
17833 for ac_func in getloadavg 17781 for ac_func in getloadavg
17834 do : 17782 do :
17835 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg" 17783 ac_fn_c_check_func "$LINENO" "getloadavg" "ac_cv_func_getloadavg"
17836 if test "x$ac_cv_func_getloadavg" = x""yes; then : 17784 if test "x$ac_cv_func_getloadavg" = xyes; then :
17837 cat >>confdefs.h <<_ACEOF 17785 cat >>confdefs.h <<_ACEOF
17838 #define HAVE_GETLOADAVG 1 17786 #define HAVE_GETLOADAVG 1
17839 _ACEOF 17787 _ACEOF
17840 17788
17841 fi 17789 fi
17844 17792
17845 if test "$ac_cv_func_getloadavg" = "yes"; then 17793 if test "$ac_cv_func_getloadavg" = "yes"; then
17846 for ac_header in sys/loadavg.h 17794 for ac_header in sys/loadavg.h
17847 do : 17795 do :
17848 ac_fn_c_check_header_mongrel "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default" 17796 ac_fn_c_check_header_mongrel "$LINENO" "sys/loadavg.h" "ac_cv_header_sys_loadavg_h" "$ac_includes_default"
17849 if test "x$ac_cv_header_sys_loadavg_h" = x""yes; then : 17797 if test "x$ac_cv_header_sys_loadavg_h" = xyes; then :
17850 cat >>confdefs.h <<_ACEOF 17798 cat >>confdefs.h <<_ACEOF
17851 #define HAVE_SYS_LOADAVG_H 1 17799 #define HAVE_SYS_LOADAVG_H 1
17852 _ACEOF 17800 _ACEOF
17853 17801
17854 fi 17802 fi
17860 echo " xemacs will be linked with \"getloadavg.o\"" 17808 echo " xemacs will be linked with \"getloadavg.o\""
17861 fi 17809 fi
17862 17810
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5 17811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
17864 $as_echo_n "checking for kstat_open in -lkstat... " >&6; } 17812 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
17865 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then : 17813 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
17866 $as_echo_n "(cached) " >&6 17814 $as_echo_n "(cached) " >&6
17867 else 17815 else
17868 ac_check_lib_save_LIBS=$LIBS 17816 ac_check_lib_save_LIBS=$LIBS
17869 LIBS="-lkstat $LIBS" 17817 LIBS="-lkstat $LIBS"
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17894 conftest$ac_exeext conftest.$ac_ext 17842 conftest$ac_exeext conftest.$ac_ext
17895 LIBS=$ac_check_lib_save_LIBS 17843 LIBS=$ac_check_lib_save_LIBS
17896 fi 17844 fi
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5 17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
17898 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; } 17846 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
17899 if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then : 17847 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
17900 cat >>confdefs.h <<_ACEOF 17848 cat >>confdefs.h <<_ACEOF
17901 #define HAVE_LIBKSTAT 1 17849 #define HAVE_LIBKSTAT 1
17902 _ACEOF 17850 _ACEOF
17903 17851
17904 LIBS="-lkstat $LIBS" 17852 LIBS="-lkstat $LIBS"
17906 fi 17854 fi
17907 17855
17908 for ac_header in kstat.h 17856 for ac_header in kstat.h
17909 do : 17857 do :
17910 ac_fn_c_check_header_mongrel "$LINENO" "kstat.h" "ac_cv_header_kstat_h" "$ac_includes_default" 17858 ac_fn_c_check_header_mongrel "$LINENO" "kstat.h" "ac_cv_header_kstat_h" "$ac_includes_default"
17911 if test "x$ac_cv_header_kstat_h" = x""yes; then : 17859 if test "x$ac_cv_header_kstat_h" = xyes; then :
17912 cat >>confdefs.h <<_ACEOF 17860 cat >>confdefs.h <<_ACEOF
17913 #define HAVE_KSTAT_H 1 17861 #define HAVE_KSTAT_H 1
17914 _ACEOF 17862 _ACEOF
17915 17863
17916 fi 17864 fi
17918 done 17866 done
17919 17867
17920 17868
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_read in -lkvm" >&5 17869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kvm_read in -lkvm" >&5
17922 $as_echo_n "checking for kvm_read in -lkvm... " >&6; } 17870 $as_echo_n "checking for kvm_read in -lkvm... " >&6; }
17923 if test "${ac_cv_lib_kvm_kvm_read+set}" = set; then : 17871 if ${ac_cv_lib_kvm_kvm_read+:} false; then :
17924 $as_echo_n "(cached) " >&6 17872 $as_echo_n "(cached) " >&6
17925 else 17873 else
17926 ac_check_lib_save_LIBS=$LIBS 17874 ac_check_lib_save_LIBS=$LIBS
17927 LIBS="-lkvm $LIBS" 17875 LIBS="-lkvm $LIBS"
17928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17952 conftest$ac_exeext conftest.$ac_ext 17900 conftest$ac_exeext conftest.$ac_ext
17953 LIBS=$ac_check_lib_save_LIBS 17901 LIBS=$ac_check_lib_save_LIBS
17954 fi 17902 fi
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_read" >&5 17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_kvm_read" >&5
17956 $as_echo "$ac_cv_lib_kvm_kvm_read" >&6; } 17904 $as_echo "$ac_cv_lib_kvm_kvm_read" >&6; }
17957 if test "x$ac_cv_lib_kvm_kvm_read" = x""yes; then : 17905 if test "x$ac_cv_lib_kvm_kvm_read" = xyes; then :
17958 cat >>confdefs.h <<_ACEOF 17906 cat >>confdefs.h <<_ACEOF
17959 #define HAVE_LIBKVM 1 17907 #define HAVE_LIBKVM 1
17960 _ACEOF 17908 _ACEOF
17961 17909
17962 LIBS="-lkvm $LIBS" 17910 LIBS="-lkvm $LIBS"
18014 fi 17962 fi
18015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18016 17964
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5 17965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5
18018 $as_echo_n "checking whether localtime caches TZ... " >&6; } 17966 $as_echo_n "checking whether localtime caches TZ... " >&6; }
18019 if test "${emacs_cv_localtime_cache+set}" = set; then : 17967 if ${emacs_cv_localtime_cache+:} false; then :
18020 $as_echo_n "(cached) " >&6 17968 $as_echo_n "(cached) " >&6
18021 else 17969 else
18022 if test "$ac_cv_func_tzset" = "yes"; then 17970 if test "$ac_cv_func_tzset" = "yes"; then
18023 if test "$cross_compiling" = yes; then : 17971 if test "$cross_compiling" = yes; then :
18024 # If we have tzset, assume the worst when cross-compiling. 17972 # If we have tzset, assume the worst when cross-compiling.
18123 fi 18071 fi
18124 18072
18125 18073
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 18074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18127 $as_echo_n "checking for inline... " >&6; } 18075 $as_echo_n "checking for inline... " >&6; }
18128 if test "${ac_cv_c_inline+set}" = set; then : 18076 if ${ac_cv_c_inline+:} false; then :
18129 $as_echo_n "(cached) " >&6 18077 $as_echo_n "(cached) " >&6
18130 else 18078 else
18131 ac_cv_c_inline=no 18079 ac_cv_c_inline=no
18132 for ac_kw in inline __inline__ __inline; do 18080 for ac_kw in inline __inline__ __inline; do
18133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18203 if test "$__DECC" != "yes"; then 18151 if test "$__DECC" != "yes"; then
18204 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 18152 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
18205 # for constant arguments. Useless! 18153 # for constant arguments. Useless!
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 18154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
18207 $as_echo_n "checking for working alloca.h... " >&6; } 18155 $as_echo_n "checking for working alloca.h... " >&6; }
18208 if test "${ac_cv_working_alloca_h+set}" = set; then : 18156 if ${ac_cv_working_alloca_h+:} false; then :
18209 $as_echo_n "(cached) " >&6 18157 $as_echo_n "(cached) " >&6
18210 else 18158 else
18211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h. */ 18160 /* end confdefs.h. */
18213 #include <alloca.h> 18161 #include <alloca.h>
18236 18184
18237 fi 18185 fi
18238 18186
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 18187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
18240 $as_echo_n "checking for alloca... " >&6; } 18188 $as_echo_n "checking for alloca... " >&6; }
18241 if test "${ac_cv_func_alloca_works+set}" = set; then : 18189 if ${ac_cv_func_alloca_works+:} false; then :
18242 $as_echo_n "(cached) " >&6 18190 $as_echo_n "(cached) " >&6
18243 else 18191 else
18244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18245 /* end confdefs.h. */ 18193 /* end confdefs.h. */
18246 #ifdef __GNUC__ 18194 #ifdef __GNUC__
18255 # else 18203 # else
18256 # ifdef _AIX 18204 # ifdef _AIX
18257 #pragma alloca 18205 #pragma alloca
18258 # else 18206 # else
18259 # ifndef alloca /* predefined by HP cc +Olibcalls */ 18207 # ifndef alloca /* predefined by HP cc +Olibcalls */
18260 char *alloca (); 18208 void *alloca (size_t);
18261 # endif 18209 # endif
18262 # endif 18210 # endif
18263 # endif 18211 # endif
18264 # endif 18212 # endif
18265 #endif 18213 #endif
18299 $as_echo "#define C_ALLOCA 1" >>confdefs.h 18247 $as_echo "#define C_ALLOCA 1" >>confdefs.h
18300 18248
18301 18249
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 18250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
18303 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } 18251 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
18304 if test "${ac_cv_os_cray+set}" = set; then : 18252 if ${ac_cv_os_cray+:} false; then :
18305 $as_echo_n "(cached) " >&6 18253 $as_echo_n "(cached) " >&6
18306 else 18254 else
18307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18308 /* end confdefs.h. */ 18256 /* end confdefs.h. */
18309 #if defined CRAY && ! defined CRAY2 18257 #if defined CRAY && ! defined CRAY2
18326 $as_echo "$ac_cv_os_cray" >&6; } 18274 $as_echo "$ac_cv_os_cray" >&6; }
18327 if test $ac_cv_os_cray = yes; then 18275 if test $ac_cv_os_cray = yes; then
18328 for ac_func in _getb67 GETB67 getb67; do 18276 for ac_func in _getb67 GETB67 getb67; do
18329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 18277 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 18278 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18331 eval as_val=\$$as_ac_var 18279 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18332 if test "x$as_val" = x""yes; then :
18333 18280
18334 cat >>confdefs.h <<_ACEOF 18281 cat >>confdefs.h <<_ACEOF
18335 #define CRAY_STACKSEG_END $ac_func 18282 #define CRAY_STACKSEG_END $ac_func
18336 _ACEOF 18283 _ACEOF
18337 18284
18341 done 18288 done
18342 fi 18289 fi
18343 18290
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
18345 $as_echo_n "checking stack direction for C alloca... " >&6; } 18292 $as_echo_n "checking stack direction for C alloca... " >&6; }
18346 if test "${ac_cv_c_stack_direction+set}" = set; then : 18293 if ${ac_cv_c_stack_direction+:} false; then :
18347 $as_echo_n "(cached) " >&6 18294 $as_echo_n "(cached) " >&6
18348 else 18295 else
18349 if test "$cross_compiling" = yes; then : 18296 if test "$cross_compiling" = yes; then :
18350 ac_cv_c_stack_direction=0 18297 ac_cv_c_stack_direction=0
18351 else 18298 else
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca in function calls" >&5 18346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca in function calls" >&5
18400 $as_echo_n "checking for working alloca in function calls... " >&6; } 18347 $as_echo_n "checking for working alloca in function calls... " >&6; }
18401 if test "$cross_compiling" = yes; then : 18348 if test "$cross_compiling" = yes; then :
18402 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18404 as_fn_error "cannot run test program while cross compiling 18351 as_fn_error $? "cannot run test program while cross compiling
18405 See \`config.log' for more details." "$LINENO" 5; } 18352 See \`config.log' for more details" "$LINENO" 5; }
18406 else 18353 else
18407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18408 /* end confdefs.h. */ 18355 /* end confdefs.h. */
18409 18356
18410 #if defined (__CYGWIN__) 18357 #if defined (__CYGWIN__)
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working scanf" >&5 18422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working scanf" >&5
18476 $as_echo_n "checking for working scanf... " >&6; } 18423 $as_echo_n "checking for working scanf... " >&6; }
18477 if test "$cross_compiling" = yes; then : 18424 if test "$cross_compiling" = yes; then :
18478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18480 as_fn_error "cannot run test program while cross compiling 18427 as_fn_error $? "cannot run test program while cross compiling
18481 See \`config.log' for more details." "$LINENO" 5; } 18428 See \`config.log' for more details" "$LINENO" 5; }
18482 else 18429 else
18483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18484 /* end confdefs.h. */ 18431 /* end confdefs.h. */
18485 18432
18486 int 18433 int
18510 $as_echo "#define CYGWIN_SCANF_BUG 1" >>confdefs.h 18457 $as_echo "#define CYGWIN_SCANF_BUG 1" >>confdefs.h
18511 18458
18512 18459
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5 18460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
18514 $as_echo_n "checking for working strcoll... " >&6; } 18461 $as_echo_n "checking for working strcoll... " >&6; }
18515 if test "${ac_cv_func_strcoll_works+set}" = set; then : 18462 if ${ac_cv_func_strcoll_works+:} false; then :
18516 $as_echo_n "(cached) " >&6 18463 $as_echo_n "(cached) " >&6
18517 else 18464 else
18518 if test "$cross_compiling" = yes; then : 18465 if test "$cross_compiling" = yes; then :
18519 ac_cv_func_strcoll_works=no 18466 ac_cv_func_strcoll_works=no
18520 else 18467 else
18551 18498
18552 18499
18553 for ac_func in getpgrp 18500 for ac_func in getpgrp
18554 do : 18501 do :
18555 ac_fn_c_check_func "$LINENO" "getpgrp" "ac_cv_func_getpgrp" 18502 ac_fn_c_check_func "$LINENO" "getpgrp" "ac_cv_func_getpgrp"
18556 if test "x$ac_cv_func_getpgrp" = x""yes; then : 18503 if test "x$ac_cv_func_getpgrp" = xyes; then :
18557 cat >>confdefs.h <<_ACEOF 18504 cat >>confdefs.h <<_ACEOF
18558 #define HAVE_GETPGRP 1 18505 #define HAVE_GETPGRP 1
18559 _ACEOF 18506 _ACEOF
18560 18507
18561 fi 18508 fi
18562 done 18509 done
18563 18510
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5 18511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getpgrp requires zero arguments" >&5
18565 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; } 18512 $as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
18566 if test "${ac_cv_func_getpgrp_void+set}" = set; then : 18513 if ${ac_cv_func_getpgrp_void+:} false; then :
18567 $as_echo_n "(cached) " >&6 18514 $as_echo_n "(cached) " >&6
18568 else 18515 else
18569 # Use it with a single arg. 18516 # Use it with a single arg.
18570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h. */ 18518 /* end confdefs.h. */
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 18545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
18599 $as_echo_n "checking for working mmap... " >&6; } 18546 $as_echo_n "checking for working mmap... " >&6; }
18600 if test "$cross_compiling" = yes; then : 18547 if test "$cross_compiling" = yes; then :
18601 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18548 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18603 as_fn_error "cannot run test program while cross compiling 18550 as_fn_error $? "cannot run test program while cross compiling
18604 See \`config.log' for more details." "$LINENO" 5; } 18551 See \`config.log' for more details" "$LINENO" 5; }
18605 else 18552 else
18606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18607 /* end confdefs.h. */ 18554 /* end confdefs.h. */
18608 #include <stdio.h> 18555 #include <stdio.h>
18609 #include <unistd.h> 18556 #include <unistd.h>
18688 fi 18635 fi
18689 test "$with_rel_alloc" = "yes" && $as_echo "#define REL_ALLOC 1" >>confdefs.h 18636 test "$with_rel_alloc" = "yes" && $as_echo "#define REL_ALLOC 1" >>confdefs.h
18690 18637
18691 18638
18692 ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default" 18639 ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
18693 if test "x$ac_cv_header_termios_h" = x""yes; then : 18640 if test "x$ac_cv_header_termios_h" = xyes; then :
18694 $as_echo "#define HAVE_TERMIOS 1" >>confdefs.h 18641 $as_echo "#define HAVE_TERMIOS 1" >>confdefs.h
18695 18642
18696 $as_echo "#define SIGNALS_VIA_CHARACTERS 1" >>confdefs.h 18643 $as_echo "#define SIGNALS_VIA_CHARACTERS 1" >>confdefs.h
18697 18644
18698 $as_echo "#define NO_TERMIO 1" >>confdefs.h 18645 $as_echo "#define NO_TERMIO 1" >>confdefs.h
18699 18646
18700 else 18647 else
18701 ac_fn_c_check_header_mongrel "$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default" 18648 ac_fn_c_check_header_mongrel "$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
18702 if test "x$ac_cv_header_termio_h" = x""yes; then : 18649 if test "x$ac_cv_header_termio_h" = xyes; then :
18703 $as_echo "#define HAVE_TERMIO 1" >>confdefs.h 18650 $as_echo "#define HAVE_TERMIO 1" >>confdefs.h
18704 18651
18705 fi 18652 fi
18706 18653
18707 18654
18709 18656
18710 18657
18711 18658
18712 18659
18713 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" 18660 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
18714 if test "x$ac_cv_func_socket" = x""yes; then : 18661 if test "x$ac_cv_func_socket" = xyes; then :
18715 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default" 18662 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
18716 if test "x$ac_cv_header_netinet_in_h" = x""yes; then : 18663 if test "x$ac_cv_header_netinet_in_h" = xyes; then :
18717 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default" 18664 ac_fn_c_check_header_mongrel "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
18718 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then : 18665 if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
18719 18666
18720 $as_echo "#define HAVE_SOCKETS 1" >>confdefs.h 18667 $as_echo "#define HAVE_SOCKETS 1" >>confdefs.h
18721 18668
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sun_len member in struct sockaddr_un" >&5 18669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sun_len member in struct sockaddr_un" >&5
18723 $as_echo_n "checking for sun_len member in struct sockaddr_un... " >&6; } 18670 $as_echo_n "checking for sun_len member in struct sockaddr_un... " >&6; }
18780 18727
18781 fi 18728 fi
18782 18729
18783 18730
18784 ac_fn_c_check_func "$LINENO" "msgget" "ac_cv_func_msgget" 18731 ac_fn_c_check_func "$LINENO" "msgget" "ac_cv_func_msgget"
18785 if test "x$ac_cv_func_msgget" = x""yes; then : 18732 if test "x$ac_cv_func_msgget" = xyes; then :
18786 ac_fn_c_check_header_mongrel "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default" 18733 ac_fn_c_check_header_mongrel "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
18787 if test "x$ac_cv_header_sys_ipc_h" = x""yes; then : 18734 if test "x$ac_cv_header_sys_ipc_h" = xyes; then :
18788 ac_fn_c_check_header_mongrel "$LINENO" "sys/msg.h" "ac_cv_header_sys_msg_h" "$ac_includes_default" 18735 ac_fn_c_check_header_mongrel "$LINENO" "sys/msg.h" "ac_cv_header_sys_msg_h" "$ac_includes_default"
18789 if test "x$ac_cv_header_sys_msg_h" = x""yes; then : 18736 if test "x$ac_cv_header_sys_msg_h" = xyes; then :
18790 $as_echo "#define HAVE_SYSVIPC 1" >>confdefs.h 18737 $as_echo "#define HAVE_SYSVIPC 1" >>confdefs.h
18791 18738
18792 fi 18739 fi
18793 18740
18794 18741
18797 18744
18798 fi 18745 fi
18799 18746
18800 18747
18801 ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default" 18748 ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
18802 if test "x$ac_cv_header_dirent_h" = x""yes; then : 18749 if test "x$ac_cv_header_dirent_h" = xyes; then :
18803 $as_echo "#define SYSV_SYSTEM_DIR 1" >>confdefs.h 18750 $as_echo "#define SYSV_SYSTEM_DIR 1" >>confdefs.h
18804 18751
18805 else 18752 else
18806 ac_fn_c_check_header_mongrel "$LINENO" "sys/dir.h" "ac_cv_header_sys_dir_h" "$ac_includes_default" 18753 ac_fn_c_check_header_mongrel "$LINENO" "sys/dir.h" "ac_cv_header_sys_dir_h" "$ac_includes_default"
18807 if test "x$ac_cv_header_sys_dir_h" = x""yes; then : 18754 if test "x$ac_cv_header_sys_dir_h" = xyes; then :
18808 18755
18809 else 18756 else
18810 $as_echo "#define NONSYSTEM_DIR_LIBRARY 1" >>confdefs.h 18757 $as_echo "#define NONSYSTEM_DIR_LIBRARY 1" >>confdefs.h
18811 18758
18812 fi 18759 fi
18815 fi 18762 fi
18816 18763
18817 18764
18818 18765
18819 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default" 18766 ac_fn_c_check_header_mongrel "$LINENO" "nlist.h" "ac_cv_header_nlist_h" "$ac_includes_default"
18820 if test "x$ac_cv_header_nlist_h" = x""yes; then : 18767 if test "x$ac_cv_header_nlist_h" = xyes; then :
18821 $as_echo "#define NLIST_STRUCT 1" >>confdefs.h 18768 $as_echo "#define NLIST_STRUCT 1" >>confdefs.h
18822 18769
18823 fi 18770 fi
18824 18771
18825 18772
18832 test -n "$with_native_sound_lib" && with_sound_native=yes 18779 test -n "$with_native_sound_lib" && with_sound_native=yes
18833 18780
18834 if test "$with_sound_native" != "no"; then 18781 if test "$with_sound_native" != "no"; then
18835 if test -n "$with_native_sound_lib"; then 18782 if test -n "$with_native_sound_lib"; then
18836 ac_fn_c_check_header_mongrel "$LINENO" "multimedia/audio_device.h" "ac_cv_header_multimedia_audio_device_h" "$ac_includes_default" 18783 ac_fn_c_check_header_mongrel "$LINENO" "multimedia/audio_device.h" "ac_cv_header_multimedia_audio_device_h" "$ac_includes_default"
18837 if test "x$ac_cv_header_multimedia_audio_device_h" = x""yes; then : 18784 if test "x$ac_cv_header_multimedia_audio_device_h" = xyes; then :
18838 sound_found=yes sound_cflags="" 18785 sound_found=yes sound_cflags=""
18839 extra_objs="$extra_objs sunplay.o" && if test "$verbose" = "yes"; then 18786 extra_objs="$extra_objs sunplay.o" && if test "$verbose" = "yes"; then
18840 echo " xemacs will be linked with \"sunplay.o\"" 18787 echo " xemacs will be linked with \"sunplay.o\""
18841 fi 18788 fi
18842 fi 18789 fi
18873 case "$ac_cv_build" in 18820 case "$ac_cv_build" in
18874 *-sgi-* ) 18821 *-sgi-* )
18875 if test -z "$with_native_sound_lib"; then 18822 if test -z "$with_native_sound_lib"; then
18876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALopenport in -laudio" >&5 18823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALopenport in -laudio" >&5
18877 $as_echo_n "checking for ALopenport in -laudio... " >&6; } 18824 $as_echo_n "checking for ALopenport in -laudio... " >&6; }
18878 if test "${ac_cv_lib_audio_ALopenport+set}" = set; then : 18825 if ${ac_cv_lib_audio_ALopenport+:} false; then :
18879 $as_echo_n "(cached) " >&6 18826 $as_echo_n "(cached) " >&6
18880 else 18827 else
18881 ac_check_lib_save_LIBS=$LIBS 18828 ac_check_lib_save_LIBS=$LIBS
18882 LIBS="-laudio $LIBS" 18829 LIBS="-laudio $LIBS"
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18907 conftest$ac_exeext conftest.$ac_ext 18854 conftest$ac_exeext conftest.$ac_ext
18908 LIBS=$ac_check_lib_save_LIBS 18855 LIBS=$ac_check_lib_save_LIBS
18909 fi 18856 fi
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_ALopenport" >&5 18857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_ALopenport" >&5
18911 $as_echo "$ac_cv_lib_audio_ALopenport" >&6; } 18858 $as_echo "$ac_cv_lib_audio_ALopenport" >&6; }
18912 if test "x$ac_cv_lib_audio_ALopenport" = x""yes; then : 18859 if test "x$ac_cv_lib_audio_ALopenport" = xyes; then :
18913 with_native_sound_lib="-laudio" 18860 with_native_sound_lib="-laudio"
18914 fi 18861 fi
18915 18862
18916 fi 18863 fi
18917 if test -n "$with_native_sound_lib"; then 18864 if test -n "$with_native_sound_lib"; then
18922 fi ;; 18869 fi ;;
18923 hppa*-hp-hpux* ) 18870 hppa*-hp-hpux* )
18924 if test -z "$with_native_sound_lib"; then 18871 if test -z "$with_native_sound_lib"; then
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AOpenAudio in -lAlib" >&5 18872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AOpenAudio in -lAlib" >&5
18926 $as_echo_n "checking for AOpenAudio in -lAlib... " >&6; } 18873 $as_echo_n "checking for AOpenAudio in -lAlib... " >&6; }
18927 if test "${ac_cv_lib_Alib_AOpenAudio+set}" = set; then : 18874 if ${ac_cv_lib_Alib_AOpenAudio+:} false; then :
18928 $as_echo_n "(cached) " >&6 18875 $as_echo_n "(cached) " >&6
18929 else 18876 else
18930 ac_check_lib_save_LIBS=$LIBS 18877 ac_check_lib_save_LIBS=$LIBS
18931 LIBS="-lAlib $LIBS" 18878 LIBS="-lAlib $LIBS"
18932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18956 conftest$ac_exeext conftest.$ac_ext 18903 conftest$ac_exeext conftest.$ac_ext
18957 LIBS=$ac_check_lib_save_LIBS 18904 LIBS=$ac_check_lib_save_LIBS
18958 fi 18905 fi
18959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Alib_AOpenAudio" >&5 18906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Alib_AOpenAudio" >&5
18960 $as_echo "$ac_cv_lib_Alib_AOpenAudio" >&6; } 18907 $as_echo "$ac_cv_lib_Alib_AOpenAudio" >&6; }
18961 if test "x$ac_cv_lib_Alib_AOpenAudio" = x""yes; then : 18908 if test "x$ac_cv_lib_Alib_AOpenAudio" = xyes; then :
18962 with_native_sound_lib="-lAlib" 18909 with_native_sound_lib="-lAlib"
18963 fi 18910 fi
18964 18911
18965 fi 18912 fi
18966 if test -n "$with_native_sound_lib"; then 18913 if test -n "$with_native_sound_lib"; then
18989 18936
18990 if test -z "$sound_found"; then 18937 if test -z "$sound_found"; then
18991 for dir in "machine" "sys" "linux"; do 18938 for dir in "machine" "sys" "linux"; do
18992 as_ac_Header=`$as_echo "ac_cv_header_${dir}/soundcard.h" | $as_tr_sh` 18939 as_ac_Header=`$as_echo "ac_cv_header_${dir}/soundcard.h" | $as_tr_sh`
18993 ac_fn_c_check_header_mongrel "$LINENO" "${dir}/soundcard.h" "$as_ac_Header" "$ac_includes_default" 18940 ac_fn_c_check_header_mongrel "$LINENO" "${dir}/soundcard.h" "$as_ac_Header" "$ac_includes_default"
18994 eval as_val=\$$as_ac_Header 18941 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18995 if test "x$as_val" = x""yes; then :
18996 18942
18997 sound_found=yes 18943 sound_found=yes
18998 case "${ac_cv_build}" in 18944 case "${ac_cv_build}" in
18999 *netbsd* ) 18945 *netbsd* )
19000 # #### this is probably not the right way to do this 18946 # #### this is probably not the right way to do this
19001 # we should port to native NetBSD stuff 18947 # we should port to native NetBSD stuff
19002 18948
19003 18949
19004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 18950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
19005 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } 18951 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
19006 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then : 18952 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
19007 $as_echo_n "(cached) " >&6 18953 $as_echo_n "(cached) " >&6
19008 else 18954 else
19009 ac_check_lib_save_LIBS=$LIBS 18955 ac_check_lib_save_LIBS=$LIBS
19010 LIBS="-lossaudio $LIBS" 18956 LIBS="-lossaudio $LIBS"
19011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19035 conftest$ac_exeext conftest.$ac_ext 18981 conftest$ac_exeext conftest.$ac_ext
19036 LIBS=$ac_check_lib_save_LIBS 18982 LIBS=$ac_check_lib_save_LIBS
19037 fi 18983 fi
19038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 18984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
19039 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } 18985 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
19040 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then : 18986 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
19041 with_native_sound_lib=-lossaudio 18987 with_native_sound_lib=-lossaudio
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Using NetBSD-deprecated -lossaudio" >&5 18988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Using NetBSD-deprecated -lossaudio" >&5
19043 $as_echo "$as_me: WARNING: Using NetBSD-deprecated -lossaudio" >&2;} 18989 $as_echo "$as_me: WARNING: Using NetBSD-deprecated -lossaudio" >&2;}
19044 else 18990 else
19045 sound_found=no 18991 sound_found=no
19082 test -n "$with_native_sound_lib" && LIBS="$with_native_sound_lib $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"$with_native_sound_lib\" to \$LIBS"; fi 19028 test -n "$with_native_sound_lib" && LIBS="$with_native_sound_lib $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"$with_native_sound_lib\" to \$LIBS"; fi
19083 fi 19029 fi
19084 19030
19085 if test "$with_sound_alsa" != "no"; then 19031 if test "$with_sound_alsa" != "no"; then
19086 ac_fn_c_check_header_mongrel "$LINENO" "alsa/input.h" "ac_cv_header_alsa_input_h" "$ac_includes_default" 19032 ac_fn_c_check_header_mongrel "$LINENO" "alsa/input.h" "ac_cv_header_alsa_input_h" "$ac_includes_default"
19087 if test "x$ac_cv_header_alsa_input_h" = x""yes; then : 19033 if test "x$ac_cv_header_alsa_input_h" = xyes; then :
19088 19034
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_open in -lasound" >&5 19035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_open in -lasound" >&5
19090 $as_echo_n "checking for snd_pcm_open in -lasound... " >&6; } 19036 $as_echo_n "checking for snd_pcm_open in -lasound... " >&6; }
19091 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then : 19037 if ${ac_cv_lib_asound_snd_pcm_open+:} false; then :
19092 $as_echo_n "(cached) " >&6 19038 $as_echo_n "(cached) " >&6
19093 else 19039 else
19094 ac_check_lib_save_LIBS=$LIBS 19040 ac_check_lib_save_LIBS=$LIBS
19095 LIBS="-lasound $LIBS" 19041 LIBS="-lasound $LIBS"
19096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19120 conftest$ac_exeext conftest.$ac_ext 19066 conftest$ac_exeext conftest.$ac_ext
19121 LIBS=$ac_check_lib_save_LIBS 19067 LIBS=$ac_check_lib_save_LIBS
19122 fi 19068 fi
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_open" >&5 19069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_open" >&5
19124 $as_echo "$ac_cv_lib_asound_snd_pcm_open" >&6; } 19070 $as_echo "$ac_cv_lib_asound_snd_pcm_open" >&6; }
19125 if test "x$ac_cv_lib_asound_snd_pcm_open" = x""yes; then : 19071 if test "x$ac_cv_lib_asound_snd_pcm_open" = xyes; then :
19126 have_alsa_sound=yes 19072 have_alsa_sound=yes
19127 fi 19073 fi
19128 19074
19129 fi 19075 fi
19130 19076
19144 fi 19090 fi
19145 fi 19091 fi
19146 19092
19147 if test "$with_sound_nas" != "no"; then 19093 if test "$with_sound_nas" != "no"; then
19148 ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default" 19094 ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
19149 if test "x$ac_cv_header_audio_audiolib_h" = x""yes; then : 19095 if test "x$ac_cv_header_audio_audiolib_h" = xyes; then :
19150 19096
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuOpenServer in -laudio" >&5 19097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuOpenServer in -laudio" >&5
19152 $as_echo_n "checking for AuOpenServer in -laudio... " >&6; } 19098 $as_echo_n "checking for AuOpenServer in -laudio... " >&6; }
19153 if test "${ac_cv_lib_audio_AuOpenServer+set}" = set; then : 19099 if ${ac_cv_lib_audio_AuOpenServer+:} false; then :
19154 $as_echo_n "(cached) " >&6 19100 $as_echo_n "(cached) " >&6
19155 else 19101 else
19156 ac_check_lib_save_LIBS=$LIBS 19102 ac_check_lib_save_LIBS=$LIBS
19157 LIBS="-laudio $LIBS" 19103 LIBS="-laudio $LIBS"
19158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19182 conftest$ac_exeext conftest.$ac_ext 19128 conftest$ac_exeext conftest.$ac_ext
19183 LIBS=$ac_check_lib_save_LIBS 19129 LIBS=$ac_check_lib_save_LIBS
19184 fi 19130 fi
19185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuOpenServer" >&5 19131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuOpenServer" >&5
19186 $as_echo "$ac_cv_lib_audio_AuOpenServer" >&6; } 19132 $as_echo "$ac_cv_lib_audio_AuOpenServer" >&6; }
19187 if test "x$ac_cv_lib_audio_AuOpenServer" = x""yes; then : 19133 if test "x$ac_cv_lib_audio_AuOpenServer" = xyes; then :
19188 have_nas_sound=yes 19134 have_nas_sound=yes
19189 fi 19135 fi
19190 19136
19191 fi 19137 fi
19192 19138
19223 if test "$with_sound_esd" != "no"; then 19169 if test "$with_sound_esd" != "no"; then
19224 # Extract the first word of "esd-config", so it can be a program name with args. 19170 # Extract the first word of "esd-config", so it can be a program name with args.
19225 set dummy esd-config; ac_word=$2 19171 set dummy esd-config; ac_word=$2
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19227 $as_echo_n "checking for $ac_word... " >&6; } 19173 $as_echo_n "checking for $ac_word... " >&6; }
19228 if test "${ac_cv_prog_have_esd_config+set}" = set; then : 19174 if ${ac_cv_prog_have_esd_config+:} false; then :
19229 $as_echo_n "(cached) " >&6 19175 $as_echo_n "(cached) " >&6
19230 else 19176 else
19231 if test -n "$have_esd_config"; then 19177 if test -n "$have_esd_config"; then
19232 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. 19178 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test.
19233 else 19179 else
19262 if test "$have_esd_config" = "yes"; then 19208 if test "$have_esd_config" = "yes"; then
19263 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" 19209 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS"
19264 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi 19210 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi
19265 LIBS="`esd-config --libs` $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi 19211 LIBS="`esd-config --libs` $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi
19266 ac_fn_c_check_func "$LINENO" "esd_play_stream" "ac_cv_func_esd_play_stream" 19212 ac_fn_c_check_func "$LINENO" "esd_play_stream" "ac_cv_func_esd_play_stream"
19267 if test "x$ac_cv_func_esd_play_stream" = x""yes; then : 19213 if test "x$ac_cv_func_esd_play_stream" = xyes; then :
19268 have_esd_sound=yes 19214 have_esd_sound=yes
19269 else 19215 else
19270 c_switch_site="$save_c_switch_site" LIBS="$save_LIBS" 19216 c_switch_site="$save_c_switch_site" LIBS="$save_LIBS"
19271 fi 19217 fi
19272 19218
19303 19249
19304 19250
19305 if test -z "$with_ncurses"; then 19251 if test -z "$with_ncurses"; then
19306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncurses" >&5 19252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncurses" >&5
19307 $as_echo_n "checking for tgetent in -lncurses... " >&6; } 19253 $as_echo_n "checking for tgetent in -lncurses... " >&6; }
19308 if test "${ac_cv_lib_ncurses_tgetent+set}" = set; then : 19254 if ${ac_cv_lib_ncurses_tgetent+:} false; then :
19309 $as_echo_n "(cached) " >&6 19255 $as_echo_n "(cached) " >&6
19310 else 19256 else
19311 ac_check_lib_save_LIBS=$LIBS 19257 ac_check_lib_save_LIBS=$LIBS
19312 LIBS="-lncurses $LIBS" 19258 LIBS="-lncurses $LIBS"
19313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19337 conftest$ac_exeext conftest.$ac_ext 19283 conftest$ac_exeext conftest.$ac_ext
19338 LIBS=$ac_check_lib_save_LIBS 19284 LIBS=$ac_check_lib_save_LIBS
19339 fi 19285 fi
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetent" >&5 19286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetent" >&5
19341 $as_echo "$ac_cv_lib_ncurses_tgetent" >&6; } 19287 $as_echo "$ac_cv_lib_ncurses_tgetent" >&6; }
19342 if test "x$ac_cv_lib_ncurses_tgetent" = x""yes; then : 19288 if test "x$ac_cv_lib_ncurses_tgetent" = xyes; then :
19343 with_ncurses=yes 19289 with_ncurses=yes
19344 else 19290 else
19345 with_ncurses=no 19291 with_ncurses=no
19346 fi 19292 fi
19347 19293
19348 fi 19294 fi
19349 if test "$with_ncurses" = "yes"; then 19295 if test "$with_ncurses" = "yes"; then
19350 $as_echo "#define HAVE_NCURSES 1" >>confdefs.h 19296 $as_echo "#define HAVE_NCURSES 1" >>confdefs.h
19351 19297
19352 ac_fn_c_check_header_mongrel "$LINENO" "ncurses/curses.h" "ac_cv_header_ncurses_curses_h" "$ac_includes_default" 19298 ac_fn_c_check_header_mongrel "$LINENO" "ncurses/curses.h" "ac_cv_header_ncurses_curses_h" "$ac_includes_default"
19353 if test "x$ac_cv_header_ncurses_curses_h" = x""yes; then : 19299 if test "x$ac_cv_header_ncurses_curses_h" = xyes; then :
19354 curses_h_file=ncurses/curses.h 19300 curses_h_file=ncurses/curses.h
19355 fi 19301 fi
19356 19302
19357 19303
19358 ac_fn_c_check_header_mongrel "$LINENO" "ncurses/term.h" "ac_cv_header_ncurses_term_h" "$ac_includes_default" 19304 ac_fn_c_check_header_mongrel "$LINENO" "ncurses/term.h" "ac_cv_header_ncurses_term_h" "$ac_includes_default"
19359 if test "x$ac_cv_header_ncurses_term_h" = x""yes; then : 19305 if test "x$ac_cv_header_ncurses_term_h" = xyes; then :
19360 term_h_file=ncurses/term.h 19306 term_h_file=ncurses/term.h
19361 fi 19307 fi
19362 19308
19363 19309
19364 extra_objs="$extra_objs terminfo.o" && if test "$verbose" = "yes"; then 19310 extra_objs="$extra_objs terminfo.o" && if test "$verbose" = "yes"; then
19368 19314
19369 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 19315 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
19370 save_c_switch_site="$c_switch_site" 19316 save_c_switch_site="$c_switch_site"
19371 c_switch_site="$c_switch_site -I/usr/include/ncurses" 19317 c_switch_site="$c_switch_site -I/usr/include/ncurses"
19372 ac_fn_c_check_header_mongrel "$LINENO" "ncurses/curses.h" "ac_cv_header_ncurses_curses_h" "$ac_includes_default" 19318 ac_fn_c_check_header_mongrel "$LINENO" "ncurses/curses.h" "ac_cv_header_ncurses_curses_h" "$ac_includes_default"
19373 if test "x$ac_cv_header_ncurses_curses_h" = x""yes; then : 19319 if test "x$ac_cv_header_ncurses_curses_h" = xyes; then :
19374 curses_h_file=ncurses/curses.h 19320 curses_h_file=ncurses/curses.h
19375 fi 19321 fi
19376 19322
19377 19323
19378 if test "$ac_cv_header_ncurses_curses_h" = "yes" 19324 if test "$ac_cv_header_ncurses_curses_h" = "yes"
19390 else 19336 else
19391 for lib in curses termlib termcap; do 19337 for lib in curses termlib termcap; do
19392 as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_tgetent" | $as_tr_sh` 19338 as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_tgetent" | $as_tr_sh`
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -l$lib" >&5 19339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -l$lib" >&5
19394 $as_echo_n "checking for tgetent in -l$lib... " >&6; } 19340 $as_echo_n "checking for tgetent in -l$lib... " >&6; }
19395 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : 19341 if eval \${$as_ac_Lib+:} false; then :
19396 $as_echo_n "(cached) " >&6 19342 $as_echo_n "(cached) " >&6
19397 else 19343 else
19398 ac_check_lib_save_LIBS=$LIBS 19344 ac_check_lib_save_LIBS=$LIBS
19399 LIBS="-l$lib $LIBS" 19345 LIBS="-l$lib $LIBS"
19400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19425 LIBS=$ac_check_lib_save_LIBS 19371 LIBS=$ac_check_lib_save_LIBS
19426 fi 19372 fi
19427 eval ac_res=\$$as_ac_Lib 19373 eval ac_res=\$$as_ac_Lib
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 19374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19429 $as_echo "$ac_res" >&6; } 19375 $as_echo "$ac_res" >&6; }
19430 eval as_val=\$$as_ac_Lib 19376 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
19431 if test "x$as_val" = x""yes; then :
19432 LIBS="-l${lib} $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-l${lib}\" to \$LIBS"; fi; break 19377 LIBS="-l${lib} $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-l${lib}\" to \$LIBS"; fi; break
19433 fi 19378 fi
19434 19379
19435 done 19380 done
19436 fi 19381 fi
19441 if test -n "$libs_termcap"; then 19386 if test -n "$libs_termcap"; then
19442 LIBS="$libs_termcap $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 19387 LIBS="$libs_termcap $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
19443 else 19388 else
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lcurses" >&5 19389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lcurses" >&5
19445 $as_echo_n "checking for tgetent in -lcurses... " >&6; } 19390 $as_echo_n "checking for tgetent in -lcurses... " >&6; }
19446 if test "${ac_cv_lib_curses_tgetent+set}" = set; then : 19391 if ${ac_cv_lib_curses_tgetent+:} false; then :
19447 $as_echo_n "(cached) " >&6 19392 $as_echo_n "(cached) " >&6
19448 else 19393 else
19449 ac_check_lib_save_LIBS=$LIBS 19394 ac_check_lib_save_LIBS=$LIBS
19450 LIBS="-lcurses $LIBS" 19395 LIBS="-lcurses $LIBS"
19451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19475 conftest$ac_exeext conftest.$ac_ext 19420 conftest$ac_exeext conftest.$ac_ext
19476 LIBS=$ac_check_lib_save_LIBS 19421 LIBS=$ac_check_lib_save_LIBS
19477 fi 19422 fi
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_tgetent" >&5 19423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_tgetent" >&5
19479 $as_echo "$ac_cv_lib_curses_tgetent" >&6; } 19424 $as_echo "$ac_cv_lib_curses_tgetent" >&6; }
19480 if test "x$ac_cv_lib_curses_tgetent" = x""yes; then : 19425 if test "x$ac_cv_lib_curses_tgetent" = xyes; then :
19481 LIBS="-lcurses $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 19426 LIBS="-lcurses $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
19482 else 19427 else
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5 19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
19484 $as_echo_n "checking for tgetent in -ltermcap... " >&6; } 19429 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
19485 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then : 19430 if ${ac_cv_lib_termcap_tgetent+:} false; then :
19486 $as_echo_n "(cached) " >&6 19431 $as_echo_n "(cached) " >&6
19487 else 19432 else
19488 ac_check_lib_save_LIBS=$LIBS 19433 ac_check_lib_save_LIBS=$LIBS
19489 LIBS="-ltermcap $LIBS" 19434 LIBS="-ltermcap $LIBS"
19490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19514 conftest$ac_exeext conftest.$ac_ext 19459 conftest$ac_exeext conftest.$ac_ext
19515 LIBS=$ac_check_lib_save_LIBS 19460 LIBS=$ac_check_lib_save_LIBS
19516 fi 19461 fi
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5 19462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
19518 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; } 19463 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
19519 if test "x$ac_cv_lib_termcap_tgetent" = x""yes; then : 19464 if test "x$ac_cv_lib_termcap_tgetent" = xyes; then :
19520 LIBS="-ltermcap $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-ltermcap\" to \$LIBS"; fi 19465 LIBS="-ltermcap $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-ltermcap\" to \$LIBS"; fi
19521 else 19466 else
19522 extra_objs="$extra_objs termcap.o" && if test "$verbose" = "yes"; then 19467 extra_objs="$extra_objs termcap.o" && if test "$verbose" = "yes"; then
19523 echo " xemacs will be linked with \"termcap.o\"" 19468 echo " xemacs will be linked with \"termcap.o\""
19524 fi 19469 fi
19538 _ACEOF 19483 _ACEOF
19539 19484
19540 19485
19541 if test "$with_gpm" != "no"; then 19486 if test "$with_gpm" != "no"; then
19542 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default" 19487 ac_fn_c_check_header_mongrel "$LINENO" "gpm.h" "ac_cv_header_gpm_h" "$ac_includes_default"
19543 if test "x$ac_cv_header_gpm_h" = x""yes; then : 19488 if test "x$ac_cv_header_gpm_h" = xyes; then :
19544 19489
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5 19490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Gpm_Open in -lgpm" >&5
19546 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; } 19491 $as_echo_n "checking for Gpm_Open in -lgpm... " >&6; }
19547 if test "${ac_cv_lib_gpm_Gpm_Open+set}" = set; then : 19492 if ${ac_cv_lib_gpm_Gpm_Open+:} false; then :
19548 $as_echo_n "(cached) " >&6 19493 $as_echo_n "(cached) " >&6
19549 else 19494 else
19550 ac_check_lib_save_LIBS=$LIBS 19495 ac_check_lib_save_LIBS=$LIBS
19551 LIBS="-lgpm $LIBS" 19496 LIBS="-lgpm $LIBS"
19552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19576 conftest$ac_exeext conftest.$ac_ext 19521 conftest$ac_exeext conftest.$ac_ext
19577 LIBS=$ac_check_lib_save_LIBS 19522 LIBS=$ac_check_lib_save_LIBS
19578 fi 19523 fi
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5 19524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gpm_Gpm_Open" >&5
19580 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; } 19525 $as_echo "$ac_cv_lib_gpm_Gpm_Open" >&6; }
19581 if test "x$ac_cv_lib_gpm_Gpm_Open" = x""yes; then : 19526 if test "x$ac_cv_lib_gpm_Gpm_Open" = xyes; then :
19582 have_gpm=yes 19527 have_gpm=yes
19583 fi 19528 fi
19584 19529
19585 fi 19530 fi
19586 19531
19616 ndbm_h_file="" 19561 ndbm_h_file=""
19617 for ac_header in ndbm.h gdbm/ndbm.h 19562 for ac_header in ndbm.h gdbm/ndbm.h
19618 do : 19563 do :
19619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19564 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19620 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19565 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19621 eval as_val=\$$as_ac_Header 19566 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19622 if test "x$as_val" = x""yes; then :
19623 cat >>confdefs.h <<_ACEOF 19567 cat >>confdefs.h <<_ACEOF
19624 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19568 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19625 _ACEOF 19569 _ACEOF
19626 ndbm_h_file=$ac_header; break; 19570 ndbm_h_file=$ac_header; break;
19627 fi 19571 fi
19637 fi 19581 fi
19638 19582
19639 if test "$with_database_gdbm" != "no"; then 19583 if test "$with_database_gdbm" != "no"; then
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm" >&5 19584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm" >&5
19641 $as_echo_n "checking for dbm_open in -lgdbm... " >&6; } 19585 $as_echo_n "checking for dbm_open in -lgdbm... " >&6; }
19642 if test "${ac_cv_lib_gdbm_dbm_open+set}" = set; then : 19586 if ${ac_cv_lib_gdbm_dbm_open+:} false; then :
19643 $as_echo_n "(cached) " >&6 19587 $as_echo_n "(cached) " >&6
19644 else 19588 else
19645 ac_check_lib_save_LIBS=$LIBS 19589 ac_check_lib_save_LIBS=$LIBS
19646 LIBS="-lgdbm $LIBS" 19590 LIBS="-lgdbm $LIBS"
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19671 conftest$ac_exeext conftest.$ac_ext 19615 conftest$ac_exeext conftest.$ac_ext
19672 LIBS=$ac_check_lib_save_LIBS 19616 LIBS=$ac_check_lib_save_LIBS
19673 fi 19617 fi
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_dbm_open" >&5 19618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_dbm_open" >&5
19675 $as_echo "$ac_cv_lib_gdbm_dbm_open" >&6; } 19619 $as_echo "$ac_cv_lib_gdbm_dbm_open" >&6; }
19676 if test "x$ac_cv_lib_gdbm_dbm_open" = x""yes; then : 19620 if test "x$ac_cv_lib_gdbm_dbm_open" = xyes; then :
19677 19621
19678 with_database_gdbm=yes with_database_dbm=no libdbm=-lgdbm 19622 with_database_gdbm=yes with_database_dbm=no libdbm=-lgdbm
19679 else 19623 else
19680 19624
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm_compat" >&5 19625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm_compat" >&5
19682 $as_echo_n "checking for dbm_open in -lgdbm_compat... " >&6; } 19626 $as_echo_n "checking for dbm_open in -lgdbm_compat... " >&6; }
19683 if test "${ac_cv_lib_gdbm_compat_dbm_open+set}" = set; then : 19627 if ${ac_cv_lib_gdbm_compat_dbm_open+:} false; then :
19684 $as_echo_n "(cached) " >&6 19628 $as_echo_n "(cached) " >&6
19685 else 19629 else
19686 ac_check_lib_save_LIBS=$LIBS 19630 ac_check_lib_save_LIBS=$LIBS
19687 LIBS="-lgdbm_compat -lgdbm $LIBS" 19631 LIBS="-lgdbm_compat -lgdbm $LIBS"
19688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19712 conftest$ac_exeext conftest.$ac_ext 19656 conftest$ac_exeext conftest.$ac_ext
19713 LIBS=$ac_check_lib_save_LIBS 19657 LIBS=$ac_check_lib_save_LIBS
19714 fi 19658 fi
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_compat_dbm_open" >&5 19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_compat_dbm_open" >&5
19716 $as_echo "$ac_cv_lib_gdbm_compat_dbm_open" >&6; } 19660 $as_echo "$ac_cv_lib_gdbm_compat_dbm_open" >&6; }
19717 if test "x$ac_cv_lib_gdbm_compat_dbm_open" = x""yes; then : 19661 if test "x$ac_cv_lib_gdbm_compat_dbm_open" = xyes; then :
19718 19662
19719 with_database_gdbm=yes with_database_dbm=no libdbm="-lgdbm_compat -lgdbm" 19663 with_database_gdbm=yes with_database_dbm=no libdbm="-lgdbm_compat -lgdbm"
19720 else 19664 else
19721 19665
19722 if test "$with_database_gdbm" = "yes"; then 19666 if test "$with_database_gdbm" = "yes"; then
19730 19674
19731 fi 19675 fi
19732 19676
19733 if test "$with_database_dbm" != "no"; then 19677 if test "$with_database_dbm" != "no"; then
19734 ac_fn_c_check_func "$LINENO" "dbm_open" "ac_cv_func_dbm_open" 19678 ac_fn_c_check_func "$LINENO" "dbm_open" "ac_cv_func_dbm_open"
19735 if test "x$ac_cv_func_dbm_open" = x""yes; then : 19679 if test "x$ac_cv_func_dbm_open" = xyes; then :
19736 with_database_dbm=yes libdbm= 19680 with_database_dbm=yes libdbm=
19737 else 19681 else
19738 19682
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -ldbm" >&5 19683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -ldbm" >&5
19740 $as_echo_n "checking for dbm_open in -ldbm... " >&6; } 19684 $as_echo_n "checking for dbm_open in -ldbm... " >&6; }
19741 if test "${ac_cv_lib_dbm_dbm_open+set}" = set; then : 19685 if ${ac_cv_lib_dbm_dbm_open+:} false; then :
19742 $as_echo_n "(cached) " >&6 19686 $as_echo_n "(cached) " >&6
19743 else 19687 else
19744 ac_check_lib_save_LIBS=$LIBS 19688 ac_check_lib_save_LIBS=$LIBS
19745 LIBS="-ldbm $LIBS" 19689 LIBS="-ldbm $LIBS"
19746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19770 conftest$ac_exeext conftest.$ac_ext 19714 conftest$ac_exeext conftest.$ac_ext
19771 LIBS=$ac_check_lib_save_LIBS 19715 LIBS=$ac_check_lib_save_LIBS
19772 fi 19716 fi
19773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbm_dbm_open" >&5 19717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbm_dbm_open" >&5
19774 $as_echo "$ac_cv_lib_dbm_dbm_open" >&6; } 19718 $as_echo "$ac_cv_lib_dbm_dbm_open" >&6; }
19775 if test "x$ac_cv_lib_dbm_dbm_open" = x""yes; then : 19719 if test "x$ac_cv_lib_dbm_dbm_open" = xyes; then :
19776 with_database_dbm=yes libdbm=-ldbm 19720 with_database_dbm=yes libdbm=-ldbm
19777 else 19721 else
19778 19722
19779 test "$with_database_dbm" = "yes" && \ 19723 test "$with_database_dbm" = "yes" && \
19780 { echo "Error:" "Required DBM support cannot be provided." >&2; exit 1; } 19724 { echo "Error:" "Required DBM support cannot be provided." >&2; exit 1; }
19823 do 19767 do
19824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 19768 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 19769 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19827 $as_echo_n "checking for $ac_word... " >&6; } 19771 $as_echo_n "checking for $ac_word... " >&6; }
19828 if test "${ac_cv_prog_CXX+set}" = set; then : 19772 if ${ac_cv_prog_CXX+:} false; then :
19829 $as_echo_n "(cached) " >&6 19773 $as_echo_n "(cached) " >&6
19830 else 19774 else
19831 if test -n "$CXX"; then 19775 if test -n "$CXX"; then
19832 ac_cv_prog_CXX="$CXX" # Let the user override the test. 19776 ac_cv_prog_CXX="$CXX" # Let the user override the test.
19833 else 19777 else
19867 do 19811 do
19868 # Extract the first word of "$ac_prog", so it can be a program name with args. 19812 # Extract the first word of "$ac_prog", so it can be a program name with args.
19869 set dummy $ac_prog; ac_word=$2 19813 set dummy $ac_prog; ac_word=$2
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19871 $as_echo_n "checking for $ac_word... " >&6; } 19815 $as_echo_n "checking for $ac_word... " >&6; }
19872 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 19816 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
19873 $as_echo_n "(cached) " >&6 19817 $as_echo_n "(cached) " >&6
19874 else 19818 else
19875 if test -n "$ac_ct_CXX"; then 19819 if test -n "$ac_ct_CXX"; then
19876 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 19820 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
19877 else 19821 else
19945 test $ac_status = 0; } 19889 test $ac_status = 0; }
19946 done 19890 done
19947 19891
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 19892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
19949 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 19893 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
19950 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 19894 if ${ac_cv_cxx_compiler_gnu+:} false; then :
19951 $as_echo_n "(cached) " >&6 19895 $as_echo_n "(cached) " >&6
19952 else 19896 else
19953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19954 /* end confdefs.h. */ 19898 /* end confdefs.h. */
19955 19899
19982 fi 19926 fi
19983 ac_test_CXXFLAGS=${CXXFLAGS+set} 19927 ac_test_CXXFLAGS=${CXXFLAGS+set}
19984 ac_save_CXXFLAGS=$CXXFLAGS 19928 ac_save_CXXFLAGS=$CXXFLAGS
19985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 19929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
19986 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 19930 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
19987 if test "${ac_cv_prog_cxx_g+set}" = set; then : 19931 if ${ac_cv_prog_cxx_g+:} false; then :
19988 $as_echo_n "(cached) " >&6 19932 $as_echo_n "(cached) " >&6
19989 else 19933 else
19990 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 19934 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
19991 ac_cxx_werror_flag=yes 19935 ac_cxx_werror_flag=yes
19992 ac_cv_prog_cxx_g=no 19936 ac_cv_prog_cxx_g=no
20110 fi 20054 fi
20111 $as_unset ndbm_h_file 20055 $as_unset ndbm_h_file
20112 fi 20056 fi
20113 20057
20114 ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default" 20058 ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
20115 if test "x$ac_cv_type_u_int8_t" = x""yes; then : 20059 if test "x$ac_cv_type_u_int8_t" = xyes; then :
20116 20060
20117 cat >>confdefs.h <<_ACEOF 20061 cat >>confdefs.h <<_ACEOF
20118 #define HAVE_U_INT8_T 1 20062 #define HAVE_U_INT8_T 1
20119 _ACEOF 20063 _ACEOF
20120 20064
20121 20065
20122 fi 20066 fi
20123 ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default" 20067 ac_fn_c_check_type "$LINENO" "u_int16_t" "ac_cv_type_u_int16_t" "$ac_includes_default"
20124 if test "x$ac_cv_type_u_int16_t" = x""yes; then : 20068 if test "x$ac_cv_type_u_int16_t" = xyes; then :
20125 20069
20126 cat >>confdefs.h <<_ACEOF 20070 cat >>confdefs.h <<_ACEOF
20127 #define HAVE_U_INT16_T 1 20071 #define HAVE_U_INT16_T 1
20128 _ACEOF 20072 _ACEOF
20129 20073
20130 20074
20131 fi 20075 fi
20132 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default" 20076 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "$ac_includes_default"
20133 if test "x$ac_cv_type_u_int32_t" = x""yes; then : 20077 if test "x$ac_cv_type_u_int32_t" = xyes; then :
20134 20078
20135 cat >>confdefs.h <<_ACEOF 20079 cat >>confdefs.h <<_ACEOF
20136 #define HAVE_U_INT32_T 1 20080 #define HAVE_U_INT32_T 1
20137 _ACEOF 20081 _ACEOF
20138 20082
20239 fi 20183 fi
20240 rm -f conftest* 20184 rm -f conftest*
20241 20185
20242 as_ac_var=`$as_echo "ac_cv_func_$dbfunc" | $as_tr_sh` 20186 as_ac_var=`$as_echo "ac_cv_func_$dbfunc" | $as_tr_sh`
20243 ac_fn_c_check_func "$LINENO" "$dbfunc" "$as_ac_var" 20187 ac_fn_c_check_func "$LINENO" "$dbfunc" "$as_ac_var"
20244 eval as_val=\$$as_ac_var 20188 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20245 if test "x$as_val" = x""yes; then :
20246 with_database_berkdb=yes need_libdb=no 20189 with_database_berkdb=yes need_libdb=no
20247 else 20190 else
20248 20191
20249 as_ac_Lib=`$as_echo "ac_cv_lib_db_$dbfunc" | $as_tr_sh` 20192 as_ac_Lib=`$as_echo "ac_cv_lib_db_$dbfunc" | $as_tr_sh`
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dbfunc in -ldb" >&5 20193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dbfunc in -ldb" >&5
20251 $as_echo_n "checking for $dbfunc in -ldb... " >&6; } 20194 $as_echo_n "checking for $dbfunc in -ldb... " >&6; }
20252 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : 20195 if eval \${$as_ac_Lib+:} false; then :
20253 $as_echo_n "(cached) " >&6 20196 $as_echo_n "(cached) " >&6
20254 else 20197 else
20255 ac_check_lib_save_LIBS=$LIBS 20198 ac_check_lib_save_LIBS=$LIBS
20256 LIBS="-ldb $LIBS" 20199 LIBS="-ldb $LIBS"
20257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20282 LIBS=$ac_check_lib_save_LIBS 20225 LIBS=$ac_check_lib_save_LIBS
20283 fi 20226 fi
20284 eval ac_res=\$$as_ac_Lib 20227 eval ac_res=\$$as_ac_Lib
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 20228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20286 $as_echo "$ac_res" >&6; } 20229 $as_echo "$ac_res" >&6; }
20287 eval as_val=\$$as_ac_Lib 20230 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
20288 if test "x$as_val" = x""yes; then :
20289 with_database_berkdb=yes need_libdb=yes 20231 with_database_berkdb=yes need_libdb=yes
20290 fi 20232 fi
20291 20233
20292 fi 20234 fi
20293 20235
20303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"db_create is really $dbfunc\"" >&5 20245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"db_create is really $dbfunc\"" >&5
20304 $as_echo "$as_me: WARNING: \"db_create is really $dbfunc\"" >&2;} 20246 $as_echo "$as_me: WARNING: \"db_create is really $dbfunc\"" >&2;}
20305 as_ac_Lib=`$as_echo "ac_cv_lib_db_$dbfunc" | $as_tr_sh` 20247 as_ac_Lib=`$as_echo "ac_cv_lib_db_$dbfunc" | $as_tr_sh`
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dbfunc in -ldb" >&5 20248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dbfunc in -ldb" >&5
20307 $as_echo_n "checking for $dbfunc in -ldb... " >&6; } 20249 $as_echo_n "checking for $dbfunc in -ldb... " >&6; }
20308 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then : 20250 if eval \${$as_ac_Lib+:} false; then :
20309 $as_echo_n "(cached) " >&6 20251 $as_echo_n "(cached) " >&6
20310 else 20252 else
20311 ac_check_lib_save_LIBS=$LIBS 20253 ac_check_lib_save_LIBS=$LIBS
20312 LIBS="-ldb $LIBS" 20254 LIBS="-ldb $LIBS"
20313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20338 LIBS=$ac_check_lib_save_LIBS 20280 LIBS=$ac_check_lib_save_LIBS
20339 fi 20281 fi
20340 eval ac_res=\$$as_ac_Lib 20282 eval ac_res=\$$as_ac_Lib
20341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 20283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20342 $as_echo "$ac_res" >&6; } 20284 $as_echo "$ac_res" >&6; }
20343 eval as_val=\$$as_ac_Lib 20285 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
20344 if test "x$as_val" = x""yes; then :
20345 with_database_berkdb=yes need_libdb=yes 20286 with_database_berkdb=yes need_libdb=yes
20346 fi 20287 fi
20347 20288
20348 fi 20289 fi
20349 20290
20366 fi 20307 fi
20367 20308
20368 if test "$with_socks" = "yes"; then 20309 if test "$with_socks" = "yes"; then
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOCKSinit in -lsocks" >&5 20310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOCKSinit in -lsocks" >&5
20370 $as_echo_n "checking for SOCKSinit in -lsocks... " >&6; } 20311 $as_echo_n "checking for SOCKSinit in -lsocks... " >&6; }
20371 if test "${ac_cv_lib_socks_SOCKSinit+set}" = set; then : 20312 if ${ac_cv_lib_socks_SOCKSinit+:} false; then :
20372 $as_echo_n "(cached) " >&6 20313 $as_echo_n "(cached) " >&6
20373 else 20314 else
20374 ac_check_lib_save_LIBS=$LIBS 20315 ac_check_lib_save_LIBS=$LIBS
20375 LIBS="-lsocks $LIBS" 20316 LIBS="-lsocks $LIBS"
20376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20400 conftest$ac_exeext conftest.$ac_ext 20341 conftest$ac_exeext conftest.$ac_ext
20401 LIBS=$ac_check_lib_save_LIBS 20342 LIBS=$ac_check_lib_save_LIBS
20402 fi 20343 fi
20403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socks_SOCKSinit" >&5 20344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socks_SOCKSinit" >&5
20404 $as_echo "$ac_cv_lib_socks_SOCKSinit" >&6; } 20345 $as_echo "$ac_cv_lib_socks_SOCKSinit" >&6; }
20405 if test "x$ac_cv_lib_socks_SOCKSinit" = x""yes; then : 20346 if test "x$ac_cv_lib_socks_SOCKSinit" = xyes; then :
20406 cat >>confdefs.h <<_ACEOF 20347 cat >>confdefs.h <<_ACEOF
20407 #define HAVE_LIBSOCKS 1 20348 #define HAVE_LIBSOCKS 1
20408 _ACEOF 20349 _ACEOF
20409 20350
20410 LIBS="-lsocks $LIBS" 20351 LIBS="-lsocks $LIBS"
20421 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi 20362 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi
20422 fi 20363 fi
20423 20364
20424 if test "$with_bignum" = "gmp"; then 20365 if test "$with_bignum" = "gmp"; then
20425 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" 20366 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
20426 if test "x$ac_cv_header_gmp_h" = x""yes; then : 20367 if test "x$ac_cv_header_gmp_h" = xyes; then :
20427 20368
20428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5 20369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
20429 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; } 20370 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
20430 if test "${ac_cv_lib_gmp___gmpz_init+set}" = set; then : 20371 if ${ac_cv_lib_gmp___gmpz_init+:} false; then :
20431 $as_echo_n "(cached) " >&6 20372 $as_echo_n "(cached) " >&6
20432 else 20373 else
20433 ac_check_lib_save_LIBS=$LIBS 20374 ac_check_lib_save_LIBS=$LIBS
20434 LIBS="-lgmp $LIBS" 20375 LIBS="-lgmp $LIBS"
20435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20459 conftest$ac_exeext conftest.$ac_ext 20400 conftest$ac_exeext conftest.$ac_ext
20460 LIBS=$ac_check_lib_save_LIBS 20401 LIBS=$ac_check_lib_save_LIBS
20461 fi 20402 fi
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5 20403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5
20463 $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; } 20404 $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
20464 if test "x$ac_cv_lib_gmp___gmpz_init" = x""yes; then : 20405 if test "x$ac_cv_lib_gmp___gmpz_init" = xyes; then :
20465 have_mpz_init=yes 20406 have_mpz_init=yes
20466 fi 20407 fi
20467 20408
20468 fi 20409 fi
20469 20410
20478 { echo "Error:" "Required GMP numeric support cannot be provided." >&2; exit 1; } 20419 { echo "Error:" "Required GMP numeric support cannot be provided." >&2; exit 1; }
20479 fi 20420 fi
20480 elif test "$with_bignum" = "mp"; then 20421 elif test "$with_bignum" = "mp"; then
20481 for library in "" "-lcrypto"; do 20422 for library in "" "-lcrypto"; do
20482 ac_fn_c_check_header_mongrel "$LINENO" "mp.h" "ac_cv_header_mp_h" "$ac_includes_default" 20423 ac_fn_c_check_header_mongrel "$LINENO" "mp.h" "ac_cv_header_mp_h" "$ac_includes_default"
20483 if test "x$ac_cv_header_mp_h" = x""yes; then : 20424 if test "x$ac_cv_header_mp_h" = xyes; then :
20484 20425
20485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mp_mfree in -lmp" >&5 20426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mp_mfree in -lmp" >&5
20486 $as_echo_n "checking for mp_mfree in -lmp... " >&6; } 20427 $as_echo_n "checking for mp_mfree in -lmp... " >&6; }
20487 if test "${ac_cv_lib_mp_mp_mfree+set}" = set; then : 20428 if ${ac_cv_lib_mp_mp_mfree+:} false; then :
20488 $as_echo_n "(cached) " >&6 20429 $as_echo_n "(cached) " >&6
20489 else 20430 else
20490 ac_check_lib_save_LIBS=$LIBS 20431 ac_check_lib_save_LIBS=$LIBS
20491 LIBS="-lmp $library $LIBS" 20432 LIBS="-lmp $library $LIBS"
20492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20516 conftest$ac_exeext conftest.$ac_ext 20457 conftest$ac_exeext conftest.$ac_ext
20517 LIBS=$ac_check_lib_save_LIBS 20458 LIBS=$ac_check_lib_save_LIBS
20518 fi 20459 fi
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mp_mp_mfree" >&5 20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mp_mp_mfree" >&5
20520 $as_echo "$ac_cv_lib_mp_mp_mfree" >&6; } 20461 $as_echo "$ac_cv_lib_mp_mp_mfree" >&6; }
20521 if test "x$ac_cv_lib_mp_mp_mfree" = x""yes; then : 20462 if test "x$ac_cv_lib_mp_mp_mfree" = xyes; then :
20522 have_mp_mfree=yes; break 20463 have_mp_mfree=yes; break
20523 else 20464 else
20524 20465
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mfree in -lmp" >&5 20466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mfree in -lmp" >&5
20526 $as_echo_n "checking for mfree in -lmp... " >&6; } 20467 $as_echo_n "checking for mfree in -lmp... " >&6; }
20527 if test "${ac_cv_lib_mp_mfree+set}" = set; then : 20468 if ${ac_cv_lib_mp_mfree+:} false; then :
20528 $as_echo_n "(cached) " >&6 20469 $as_echo_n "(cached) " >&6
20529 else 20470 else
20530 ac_check_lib_save_LIBS=$LIBS 20471 ac_check_lib_save_LIBS=$LIBS
20531 LIBS="-lmp $library $LIBS" 20472 LIBS="-lmp $library $LIBS"
20532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20556 conftest$ac_exeext conftest.$ac_ext 20497 conftest$ac_exeext conftest.$ac_ext
20557 LIBS=$ac_check_lib_save_LIBS 20498 LIBS=$ac_check_lib_save_LIBS
20558 fi 20499 fi
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mp_mfree" >&5 20500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mp_mfree" >&5
20560 $as_echo "$ac_cv_lib_mp_mfree" >&6; } 20501 $as_echo "$ac_cv_lib_mp_mfree" >&6; }
20561 if test "x$ac_cv_lib_mp_mfree" = x""yes; then : 20502 if test "x$ac_cv_lib_mp_mfree" = xyes; then :
20562 have_mfree=yes; break 20503 have_mfree=yes; break
20563 fi 20504 fi
20564 20505
20565 fi 20506 fi
20566 20507
20574 LIBS="$LIBS -lmp" && if test "$verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 20515 LIBS="$LIBS -lmp" && if test "$verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
20575 if test "$library" != ""; then 20516 if test "$library" != ""; then
20576 LIBS="$LIBS $library" && if test "$verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi 20517 LIBS="$LIBS $library" && if test "$verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi
20577 fi 20518 fi
20578 ac_fn_c_check_func "$LINENO" "mp_move" "ac_cv_func_mp_move" 20519 ac_fn_c_check_func "$LINENO" "mp_move" "ac_cv_func_mp_move"
20579 if test "x$ac_cv_func_mp_move" = x""yes; then : 20520 if test "x$ac_cv_func_mp_move" = xyes; then :
20580 $as_echo "#define HAVE_MP_MOVE 1" >>confdefs.h 20521 $as_echo "#define HAVE_MP_MOVE 1" >>confdefs.h
20581 20522
20582 fi 20523 fi
20583 20524
20584 elif test "$have_mfree" = "yes"; then 20525 elif test "$have_mfree" = "yes"; then
20585 LIBS="$LIBS -lmp" && if test "$verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi 20526 LIBS="$LIBS -lmp" && if test "$verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi
20586 if test "$library" != ""; then 20527 if test "$library" != ""; then
20587 LIBS="$LIBS $library" && if test "$verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi 20528 LIBS="$LIBS $library" && if test "$verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi
20588 fi 20529 fi
20589 ac_fn_c_check_func "$LINENO" "move" "ac_cv_func_move" 20530 ac_fn_c_check_func "$LINENO" "move" "ac_cv_func_move"
20590 if test "x$ac_cv_func_move" = x""yes; then : 20531 if test "x$ac_cv_func_move" = xyes; then :
20591 $as_echo "#define HAVE_MP_MOVE 1" >>confdefs.h 20532 $as_echo "#define HAVE_MP_MOVE 1" >>confdefs.h
20592 20533
20593 fi 20534 fi
20594 20535
20595 else 20536 else
20602 fi 20543 fi
20603 20544
20604 if test "$cross_compiling" = yes; then : 20545 if test "$cross_compiling" = yes; then :
20605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20607 as_fn_error "cannot run test program while cross compiling 20548 as_fn_error $? "cannot run test program while cross compiling
20608 See \`config.log' for more details." "$LINENO" 5; } 20549 See \`config.log' for more details" "$LINENO" 5; }
20609 else 20550 else
20610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20611 /* end confdefs.h. */ 20552 /* end confdefs.h. */
20612 int main(int c,char **v){return 0;} 20553 int main(int c,char **v){return 0;}
20613 _ACEOF 20554 _ACEOF
21507 t end 21448 t end
21508 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 21449 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21509 :end' >>confcache 21450 :end' >>confcache
21510 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 21451 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21511 if test -w "$cache_file"; then 21452 if test -w "$cache_file"; then
21512 test "x$cache_file" != "x/dev/null" && 21453 if test "x$cache_file" != "x/dev/null"; then
21513 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 21454 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21514 $as_echo "$as_me: updating cache $cache_file" >&6;} 21455 $as_echo "$as_me: updating cache $cache_file" >&6;}
21515 cat confcache >$cache_file 21456 if test ! -f "$cache_file" || test -h "$cache_file"; then
21457 cat confcache >"$cache_file"
21458 else
21459 case $cache_file in #(
21460 */* | ?:*)
21461 mv -f confcache "$cache_file"$$ &&
21462 mv -f "$cache_file"$$ "$cache_file" ;; #(
21463 *)
21464 mv -f confcache "$cache_file" ;;
21465 esac
21466 fi
21467 fi
21516 else 21468 else
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 21469 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21518 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 21470 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21519 fi 21471 fi
21520 fi 21472 fi
21526 21478
21527 DEFS=-DHAVE_CONFIG_H 21479 DEFS=-DHAVE_CONFIG_H
21528 21480
21529 ac_libobjs= 21481 ac_libobjs=
21530 ac_ltlibobjs= 21482 ac_ltlibobjs=
21483 U=
21531 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 21484 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21532 # 1. Remove the extension, and $U if already installed. 21485 # 1. Remove the extension, and $U if already installed.
21533 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 21486 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21534 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 21487 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21535 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 21488 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21542 LTLIBOBJS=$ac_ltlibobjs 21495 LTLIBOBJS=$ac_ltlibobjs
21543 21496
21544 21497
21545 21498
21546 21499
21547 : ${CONFIG_STATUS=./config.status} 21500 : "${CONFIG_STATUS=./config.status}"
21548 ac_write_fail=0 21501 ac_write_fail=0
21549 ac_clean_files_save=$ac_clean_files 21502 ac_clean_files_save=$ac_clean_files
21550 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 21503 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 21504 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21552 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 21505 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21643 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 21596 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21644 # splitting by setting IFS to empty value.) 21597 # splitting by setting IFS to empty value.)
21645 IFS=" "" $as_nl" 21598 IFS=" "" $as_nl"
21646 21599
21647 # Find who we are. Look in the path if we contain no directory separator. 21600 # Find who we are. Look in the path if we contain no directory separator.
21601 as_myself=
21648 case $0 in #(( 21602 case $0 in #((
21649 *[\\/]* ) as_myself=$0 ;; 21603 *[\\/]* ) as_myself=$0 ;;
21650 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 21604 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21651 for as_dir in $PATH 21605 for as_dir in $PATH
21652 do 21606 do
21688 21642
21689 # CDPATH. 21643 # CDPATH.
21690 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 21644 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21691 21645
21692 21646
21693 # as_fn_error ERROR [LINENO LOG_FD] 21647 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21694 # --------------------------------- 21648 # ----------------------------------------
21695 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 21649 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21696 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 21650 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21697 # script with status $?, using 1 if that was 0. 21651 # script with STATUS, using 1 if that was 0.
21698 as_fn_error () 21652 as_fn_error ()
21699 { 21653 {
21700 as_status=$?; test $as_status -eq 0 && as_status=1 21654 as_status=$1; test $as_status -eq 0 && as_status=1
21701 if test "$3"; then 21655 if test "$4"; then
21702 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 21656 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21703 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 21657 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21704 fi 21658 fi
21705 $as_echo "$as_me: error: $1" >&2 21659 $as_echo "$as_me: error: $2" >&2
21706 as_fn_exit $as_status 21660 as_fn_exit $as_status
21707 } # as_fn_error 21661 } # as_fn_error
21708 21662
21709 21663
21710 # as_fn_set_status STATUS 21664 # as_fn_set_status STATUS
21896 } 21850 }
21897 s/.*/./; q'` 21851 s/.*/./; q'`
21898 test -d "$as_dir" && break 21852 test -d "$as_dir" && break
21899 done 21853 done
21900 test -z "$as_dirs" || eval "mkdir $as_dirs" 21854 test -z "$as_dirs" || eval "mkdir $as_dirs"
21901 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" 21855 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21902 21856
21903 21857
21904 } # as_fn_mkdir_p 21858 } # as_fn_mkdir_p
21905 if mkdir -p . 2>/dev/null; then 21859 if mkdir -p . 2>/dev/null; then
21906 as_mkdir_p='mkdir -p "$as_dir"' 21860 as_mkdir_p='mkdir -p "$as_dir"'
21950 # Save the log message, to keep $0 and so on meaningful, and to 21904 # Save the log message, to keep $0 and so on meaningful, and to
21951 # report actual input values of CONFIG_FILES etc. instead of their 21905 # report actual input values of CONFIG_FILES etc. instead of their
21952 # values after options handling. 21906 # values after options handling.
21953 ac_log=" 21907 ac_log="
21954 This file was extended by XEmacs $as_me 21.5, which was 21908 This file was extended by XEmacs $as_me 21.5, which was
21955 generated by GNU Autoconf 2.65. Invocation command line was 21909 generated by GNU Autoconf 2.68. Invocation command line was
21956 21910
21957 CONFIG_FILES = $CONFIG_FILES 21911 CONFIG_FILES = $CONFIG_FILES
21958 CONFIG_HEADERS = $CONFIG_HEADERS 21912 CONFIG_HEADERS = $CONFIG_HEADERS
21959 CONFIG_LINKS = $CONFIG_LINKS 21913 CONFIG_LINKS = $CONFIG_LINKS
21960 CONFIG_COMMANDS = $CONFIG_COMMANDS 21914 CONFIG_COMMANDS = $CONFIG_COMMANDS
22016 _ACEOF 21970 _ACEOF
22017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 21971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22018 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 21972 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22019 ac_cs_version="\\ 21973 ac_cs_version="\\
22020 XEmacs config.status 21.5 21974 XEmacs config.status 21.5
22021 configured by $0, generated by GNU Autoconf 2.65, 21975 configured by $0, generated by GNU Autoconf 2.68,
22022 with options \\"\$ac_cs_config\\" 21976 with options \\"\$ac_cs_config\\"
22023 21977
22024 Copyright (C) 2009 Free Software Foundation, Inc. 21978 Copyright (C) 2010 Free Software Foundation, Inc.
22025 This config.status script is free software; the Free Software Foundation 21979 This config.status script is free software; the Free Software Foundation
22026 gives unlimited permission to copy, distribute and modify it." 21980 gives unlimited permission to copy, distribute and modify it."
22027 21981
22028 ac_pwd='$ac_pwd' 21982 ac_pwd='$ac_pwd'
22029 srcdir='$srcdir' 21983 srcdir='$srcdir'
22035 # The default lists apply if the user does not specify any file. 21989 # The default lists apply if the user does not specify any file.
22036 ac_need_defaults=: 21990 ac_need_defaults=:
22037 while test $# != 0 21991 while test $# != 0
22038 do 21992 do
22039 case $1 in 21993 case $1 in
22040 --*=*) 21994 --*=?*)
22041 ac_option=`expr "X$1" : 'X\([^=]*\)='` 21995 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22042 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 21996 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21997 ac_shift=:
21998 ;;
21999 --*=)
22000 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22001 ac_optarg=
22043 ac_shift=: 22002 ac_shift=:
22044 ;; 22003 ;;
22045 *) 22004 *)
22046 ac_option=$1 22005 ac_option=$1
22047 ac_optarg=$2 22006 ac_optarg=$2
22061 debug=: ;; 22020 debug=: ;;
22062 --file | --fil | --fi | --f ) 22021 --file | --fil | --fi | --f )
22063 $ac_shift 22022 $ac_shift
22064 case $ac_optarg in 22023 case $ac_optarg in
22065 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 22024 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22025 '') as_fn_error $? "missing file argument" ;;
22066 esac 22026 esac
22067 as_fn_append CONFIG_FILES " '$ac_optarg'" 22027 as_fn_append CONFIG_FILES " '$ac_optarg'"
22068 ac_need_defaults=false;; 22028 ac_need_defaults=false;;
22069 --header | --heade | --head | --hea ) 22029 --header | --heade | --head | --hea )
22070 $ac_shift 22030 $ac_shift
22073 esac 22033 esac
22074 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 22034 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22075 ac_need_defaults=false;; 22035 ac_need_defaults=false;;
22076 --he | --h) 22036 --he | --h)
22077 # Conflict between --help and --header 22037 # Conflict between --help and --header
22078 as_fn_error "ambiguous option: \`$1' 22038 as_fn_error $? "ambiguous option: \`$1'
22079 Try \`$0 --help' for more information.";; 22039 Try \`$0 --help' for more information.";;
22080 --help | --hel | -h ) 22040 --help | --hel | -h )
22081 $as_echo "$ac_cs_usage"; exit ;; 22041 $as_echo "$ac_cs_usage"; exit ;;
22082 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 22042 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22083 | -silent | --silent | --silen | --sile | --sil | --si | --s) 22043 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22084 ac_cs_silent=: ;; 22044 ac_cs_silent=: ;;
22085 22045
22086 # This is an error. 22046 # This is an error.
22087 -*) as_fn_error "unrecognized option: \`$1' 22047 -*) as_fn_error $? "unrecognized option: \`$1'
22088 Try \`$0 --help' for more information." ;; 22048 Try \`$0 --help' for more information." ;;
22089 22049
22090 *) as_fn_append ac_config_targets " $1" 22050 *) as_fn_append ac_config_targets " $1"
22091 ac_need_defaults=false ;; 22051 ac_need_defaults=false ;;
22092 22052
22147 "src/xemacs.def.in") CONFIG_FILES="$CONFIG_FILES src/xemacs.def.in" ;; 22107 "src/xemacs.def.in") CONFIG_FILES="$CONFIG_FILES src/xemacs.def.in" ;;
22148 "lib-src/config.values") CONFIG_FILES="$CONFIG_FILES lib-src/config.values" ;; 22108 "lib-src/config.values") CONFIG_FILES="$CONFIG_FILES lib-src/config.values" ;;
22149 "lib-src/ellcc.h") CONFIG_FILES="$CONFIG_FILES lib-src/ellcc.h" ;; 22109 "lib-src/ellcc.h") CONFIG_FILES="$CONFIG_FILES lib-src/ellcc.h" ;;
22150 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 22110 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
22151 22111
22152 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 22112 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22153 esac 22113 esac
22154 done 22114 done
22155 22115
22156 22116
22157 # If the user did not use the arguments to specify the items to instantiate, 22117 # If the user did not use the arguments to specify the items to instantiate,
22170 # Hook for its removal unless debugging. 22130 # Hook for its removal unless debugging.
22171 # Note that there is a small window in which the directory will not be cleaned: 22131 # Note that there is a small window in which the directory will not be cleaned:
22172 # after its creation but before its name has been assigned to `$tmp'. 22132 # after its creation but before its name has been assigned to `$tmp'.
22173 $debug || 22133 $debug ||
22174 { 22134 {
22175 tmp= 22135 tmp= ac_tmp=
22176 trap 'exit_status=$? 22136 trap 'exit_status=$?
22177 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 22137 : "${ac_tmp:=$tmp}"
22138 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22178 ' 0 22139 ' 0
22179 trap 'as_fn_exit 1' 1 2 13 15 22140 trap 'as_fn_exit 1' 1 2 13 15
22180 } 22141 }
22181 # Create a (secure) tmp directory for tmp files. 22142 # Create a (secure) tmp directory for tmp files.
22182 22143
22183 { 22144 {
22184 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 22145 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22185 test -n "$tmp" && test -d "$tmp" 22146 test -d "$tmp"
22186 } || 22147 } ||
22187 { 22148 {
22188 tmp=./conf$$-$RANDOM 22149 tmp=./conf$$-$RANDOM
22189 (umask 077 && mkdir "$tmp") 22150 (umask 077 && mkdir "$tmp")
22190 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 22151 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22152 ac_tmp=$tmp
22191 22153
22192 # Set up the scripts for CONFIG_FILES section. 22154 # Set up the scripts for CONFIG_FILES section.
22193 # No need to generate them if there are no CONFIG_FILES. 22155 # No need to generate them if there are no CONFIG_FILES.
22194 # This happens for instance with `./config.status config.h'. 22156 # This happens for instance with `./config.status config.h'.
22195 if test -n "$CONFIG_FILES"; then 22157 if test -n "$CONFIG_FILES"; then
22202 if test "x$ac_cr" = x; then 22164 if test "x$ac_cr" = x; then
22203 eval ac_cr=\$\'\\r\' 22165 eval ac_cr=\$\'\\r\'
22204 fi 22166 fi
22205 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 22167 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22206 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 22168 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22207 ac_cs_awk_cr='\r' 22169 ac_cs_awk_cr='\\r'
22208 else 22170 else
22209 ac_cs_awk_cr=$ac_cr 22171 ac_cs_awk_cr=$ac_cr
22210 fi 22172 fi
22211 22173
22212 echo 'BEGIN {' >"$tmp/subs1.awk" && 22174 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22213 _ACEOF 22175 _ACEOF
22214 22176
22215 22177
22216 { 22178 {
22217 echo "cat >conf$$subs.awk <<_ACEOF" && 22179 echo "cat >conf$$subs.awk <<_ACEOF" &&
22218 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 22180 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22219 echo "_ACEOF" 22181 echo "_ACEOF"
22220 } >conf$$subs.sh || 22182 } >conf$$subs.sh ||
22221 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 22183 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22222 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` 22184 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22223 ac_delim='%!_!# ' 22185 ac_delim='%!_!# '
22224 for ac_last_try in false false false false false :; do 22186 for ac_last_try in false false false false false :; do
22225 . ./conf$$subs.sh || 22187 . ./conf$$subs.sh ||
22226 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 22188 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22227 22189
22228 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 22190 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22229 if test $ac_delim_n = $ac_delim_num; then 22191 if test $ac_delim_n = $ac_delim_num; then
22230 break 22192 break
22231 elif $ac_last_try; then 22193 elif $ac_last_try; then
22232 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 22194 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22233 else 22195 else
22234 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 22196 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22235 fi 22197 fi
22236 done 22198 done
22237 rm -f conf$$subs.sh 22199 rm -f conf$$subs.sh
22238 22200
22239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22240 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 22202 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22241 _ACEOF 22203 _ACEOF
22242 sed -n ' 22204 sed -n '
22243 h 22205 h
22244 s/^/S["/; s/!.*/"]=/ 22206 s/^/S["/; s/!.*/"]=/
22245 p 22207 p
22283 } 22245 }
22284 ' >>$CONFIG_STATUS || ac_write_fail=1 22246 ' >>$CONFIG_STATUS || ac_write_fail=1
22285 rm -f conf$$subs.awk 22247 rm -f conf$$subs.awk
22286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22287 _ACAWK 22249 _ACAWK
22288 cat >>"\$tmp/subs1.awk" <<_ACAWK && 22250 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22289 for (key in S) S_is_set[key] = 1 22251 for (key in S) S_is_set[key] = 1
22290 FS = "" 22252 FS = ""
22291 22253
22292 } 22254 }
22293 { 22255 {
22315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22316 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 22278 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22317 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 22279 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22318 else 22280 else
22319 cat 22281 cat
22320 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 22282 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22321 || as_fn_error "could not setup config files machinery" "$LINENO" 5 22283 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22322 _ACEOF 22284 _ACEOF
22323 22285
22324 # VPATH may cause trouble with some makes, so we remove $(srcdir), 22286 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22325 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 22287 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22326 # trailing colons and then remove the whole line if VPATH becomes empty 22288 # trailing colons and then remove the whole line if VPATH becomes empty
22327 # (actually we leave an empty line to preserve line numbers). 22289 # (actually we leave an empty line to preserve line numbers).
22328 if test "x$srcdir" = x.; then 22290 if test "x$srcdir" = x.; then
22329 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 22291 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22330 s/:*\$(srcdir):*/:/ 22292 h
22331 s/:*\${srcdir}:*/:/ 22293 s///
22332 s/:*@srcdir@:*/:/ 22294 s/^/:/
22333 s/^\([^=]*=[ ]*\):*/\1/ 22295 s/[ ]*$/:/
22296 s/:\$(srcdir):/:/g
22297 s/:\${srcdir}:/:/g
22298 s/:@srcdir@:/:/g
22299 s/^:*//
22334 s/:*$// 22300 s/:*$//
22301 x
22302 s/\(=[ ]*\).*/\1/
22303 G
22304 s/\n//
22335 s/^[^=]*=[ ]*$// 22305 s/^[^=]*=[ ]*$//
22336 }' 22306 }'
22337 fi 22307 fi
22338 22308
22339 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22341 22311
22342 # Set up the scripts for CONFIG_HEADERS section. 22312 # Set up the scripts for CONFIG_HEADERS section.
22343 # No need to generate them if there are no CONFIG_HEADERS. 22313 # No need to generate them if there are no CONFIG_HEADERS.
22344 # This happens for instance with `./config.status Makefile'. 22314 # This happens for instance with `./config.status Makefile'.
22345 if test -n "$CONFIG_HEADERS"; then 22315 if test -n "$CONFIG_HEADERS"; then
22346 cat >"$tmp/defines.awk" <<\_ACAWK || 22316 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22347 BEGIN { 22317 BEGIN {
22348 _ACEOF 22318 _ACEOF
22349 22319
22350 # Transform confdefs.h into an awk script `defines.awk', embedded as 22320 # Transform confdefs.h into an awk script `defines.awk', embedded as
22351 # here-document in config.status, that substitutes the proper values into 22321 # here-document in config.status, that substitutes the proper values into
22353 22323
22354 # Create a delimiter string that does not exist in confdefs.h, to ease 22324 # Create a delimiter string that does not exist in confdefs.h, to ease
22355 # handling of long lines. 22325 # handling of long lines.
22356 ac_delim='%!_!# ' 22326 ac_delim='%!_!# '
22357 for ac_last_try in false false :; do 22327 for ac_last_try in false false :; do
22358 ac_t=`sed -n "/$ac_delim/p" confdefs.h` 22328 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22359 if test -z "$ac_t"; then 22329 if test -z "$ac_tt"; then
22360 break 22330 break
22361 elif $ac_last_try; then 22331 elif $ac_last_try; then
22362 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 22332 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22363 else 22333 else
22364 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 22334 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22365 fi 22335 fi
22366 done 22336 done
22367 22337
22442 } 22412 }
22443 { print } 22413 { print }
22444 _ACAWK 22414 _ACAWK
22445 _ACEOF 22415 _ACEOF
22446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 22416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22447 as_fn_error "could not setup config headers machinery" "$LINENO" 5 22417 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22448 fi # test -n "$CONFIG_HEADERS" 22418 fi # test -n "$CONFIG_HEADERS"
22449 22419
22450 22420
22451 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 22421 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22452 shift 22422 shift
22455 case $ac_tag in 22425 case $ac_tag in
22456 :[FHLC]) ac_mode=$ac_tag; continue;; 22426 :[FHLC]) ac_mode=$ac_tag; continue;;
22457 esac 22427 esac
22458 case $ac_mode$ac_tag in 22428 case $ac_mode$ac_tag in
22459 :[FHL]*:*);; 22429 :[FHL]*:*);;
22460 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; 22430 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22461 :[FH]-) ac_tag=-:-;; 22431 :[FH]-) ac_tag=-:-;;
22462 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 22432 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22463 esac 22433 esac
22464 ac_save_IFS=$IFS 22434 ac_save_IFS=$IFS
22465 IFS=: 22435 IFS=:
22474 :[FH]) 22444 :[FH])
22475 ac_file_inputs= 22445 ac_file_inputs=
22476 for ac_f 22446 for ac_f
22477 do 22447 do
22478 case $ac_f in 22448 case $ac_f in
22479 -) ac_f="$tmp/stdin";; 22449 -) ac_f="$ac_tmp/stdin";;
22480 *) # Look for the file first in the build tree, then in the source tree 22450 *) # Look for the file first in the build tree, then in the source tree
22481 # (if the path is not absolute). The absolute path cannot be DOS-style, 22451 # (if the path is not absolute). The absolute path cannot be DOS-style,
22482 # because $ac_f cannot contain `:'. 22452 # because $ac_f cannot contain `:'.
22483 test -f "$ac_f" || 22453 test -f "$ac_f" ||
22484 case $ac_f in 22454 case $ac_f in
22485 [\\/$]*) false;; 22455 [\\/$]*) false;;
22486 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 22456 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22487 esac || 22457 esac ||
22488 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; 22458 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22489 esac 22459 esac
22490 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 22460 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22491 as_fn_append ac_file_inputs " '$ac_f'" 22461 as_fn_append ac_file_inputs " '$ac_f'"
22492 done 22462 done
22493 22463
22509 sed 's/[\\\\&|]/\\\\&/g'`;; #( 22479 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22510 *) ac_sed_conf_input=$configure_input;; 22480 *) ac_sed_conf_input=$configure_input;;
22511 esac 22481 esac
22512 22482
22513 case $ac_tag in 22483 case $ac_tag in
22514 *:-:* | *:-) cat >"$tmp/stdin" \ 22484 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22515 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; 22485 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22516 esac 22486 esac
22517 ;; 22487 ;;
22518 esac 22488 esac
22519 22489
22520 ac_dir=`$as_dirname -- "$ac_file" || 22490 ac_dir=`$as_dirname -- "$ac_file" ||
22640 s&@abs_builddir@&$ac_abs_builddir&;t t 22610 s&@abs_builddir@&$ac_abs_builddir&;t t
22641 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 22611 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22642 s&@INSTALL@&$ac_INSTALL&;t t 22612 s&@INSTALL@&$ac_INSTALL&;t t
22643 $ac_datarootdir_hack 22613 $ac_datarootdir_hack
22644 " 22614 "
22645 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 22615 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22646 || as_fn_error "could not create $ac_file" "$LINENO" 5 22616 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22647 22617
22648 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 22618 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22649 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 22619 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22650 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 22620 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22621 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 22622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22652 which seems to be undefined. Please make sure it is defined." >&5 22623 which seems to be undefined. Please make sure it is defined" >&5
22653 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 22624 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22654 which seems to be undefined. Please make sure it is defined." >&2;} 22625 which seems to be undefined. Please make sure it is defined" >&2;}
22655 22626
22656 rm -f "$tmp/stdin" 22627 rm -f "$ac_tmp/stdin"
22657 case $ac_file in 22628 case $ac_file in
22658 -) cat "$tmp/out" && rm -f "$tmp/out";; 22629 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22659 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 22630 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22660 esac \ 22631 esac \
22661 || as_fn_error "could not create $ac_file" "$LINENO" 5 22632 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22662 ;; 22633 ;;
22663 :H) 22634 :H)
22664 # 22635 #
22665 # CONFIG_HEADER 22636 # CONFIG_HEADER
22666 # 22637 #
22667 if test x"$ac_file" != x-; then 22638 if test x"$ac_file" != x-; then
22668 { 22639 {
22669 $as_echo "/* $configure_input */" \ 22640 $as_echo "/* $configure_input */" \
22670 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" 22641 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22671 } >"$tmp/config.h" \ 22642 } >"$ac_tmp/config.h" \
22672 || as_fn_error "could not create $ac_file" "$LINENO" 5 22643 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22673 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then 22644 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22674 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 22645 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22675 $as_echo "$as_me: $ac_file is unchanged" >&6;} 22646 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22676 else 22647 else
22677 rm -f "$ac_file" 22648 rm -f "$ac_file"
22678 mv "$tmp/config.h" "$ac_file" \ 22649 mv "$ac_tmp/config.h" "$ac_file" \
22679 || as_fn_error "could not create $ac_file" "$LINENO" 5 22650 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22680 fi 22651 fi
22681 else 22652 else
22682 $as_echo "/* $configure_input */" \ 22653 $as_echo "/* $configure_input */" \
22683 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ 22654 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22684 || as_fn_error "could not create -" "$LINENO" 5 22655 || as_fn_error $? "could not create -" "$LINENO" 5
22685 fi 22656 fi
22686 ;; 22657 ;;
22687 22658
22688 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 22659 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22689 $as_echo "$as_me: executing $ac_file commands" >&6;} 22660 $as_echo "$as_me: executing $ac_file commands" >&6;}
22846 as_fn_exit 0 22817 as_fn_exit 0
22847 _ACEOF 22818 _ACEOF
22848 ac_clean_files=$ac_clean_files_save 22819 ac_clean_files=$ac_clean_files_save
22849 22820
22850 test $ac_write_fail = 0 || 22821 test $ac_write_fail = 0 ||
22851 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 22822 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22852 22823
22853 22824
22854 # configure is writing to config.log, and then calls config.status. 22825 # configure is writing to config.log, and then calls config.status.
22855 # config.status does its own redirection, appending to config.log. 22826 # config.status does its own redirection, appending to config.log.
22856 # Unfortunately, on DOS this fails, as config.log is still kept open 22827 # Unfortunately, on DOS this fails, as config.log is still kept open
22867 exec 5>/dev/null 22838 exec 5>/dev/null
22868 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 22839 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22869 exec 5>>config.log 22840 exec 5>>config.log
22870 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 22841 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22871 # would make configure fail if this is the last instruction. 22842 # would make configure fail if this is the last instruction.
22872 $ac_cs_success || as_fn_exit $? 22843 $ac_cs_success || as_fn_exit 1
22873 fi 22844 fi
22874 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 22845 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 22846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22876 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 22847 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22877 fi 22848 fi