1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for gtk2 1.0. 4# 5# Report bugs to <clisp-list>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204else 205 as_have_required=no 206fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211as_found=false 212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227fi 228fi 229 done;; 230 esac 231 as_found=false 232done 233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236fi; } 237IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243# neutralization value for shells without unset; and this also 244# works around shells that cannot unset nonexistent variables. 245# Preserve -v and -x to the replacement shell. 246BASH_ENV=/dev/null 247ENV=/dev/null 248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254esac 255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256# Admittedly, this is quite paranoid, since all the known shells bail 257# out after a failed `exec'. 258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259exit 255 260fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and clisp-list about 270$0: your system, including any error possibly output before 271$0: this message. Then install a modern shell, or manually 272$0: run the script under such a shell if you do have one." 273 fi 274 exit 1 275fi 276fi 277fi 278SHELL=${CONFIG_SHELL-/bin/sh} 279export SHELL 280# Unset more variables known to interfere with behavior of common tools. 281CLICOLOR_FORCE= GREP_OPTIONS= 282unset CLICOLOR_FORCE GREP_OPTIONS 283 284## --------------------- ## 285## M4sh Shell Functions. ## 286## --------------------- ## 287# as_fn_unset VAR 288# --------------- 289# Portably unset VAR. 290as_fn_unset () 291{ 292 { eval $1=; unset $1;} 293} 294as_unset=as_fn_unset 295 296# as_fn_set_status STATUS 297# ----------------------- 298# Set $? to STATUS, without forking. 299as_fn_set_status () 300{ 301 return $1 302} # as_fn_set_status 303 304# as_fn_exit STATUS 305# ----------------- 306# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 307as_fn_exit () 308{ 309 set +e 310 as_fn_set_status $1 311 exit $1 312} # as_fn_exit 313 314# as_fn_mkdir_p 315# ------------- 316# Create "$as_dir" as a directory, including parents if necessary. 317as_fn_mkdir_p () 318{ 319 320 case $as_dir in #( 321 -*) as_dir=./$as_dir;; 322 esac 323 test -d "$as_dir" || eval $as_mkdir_p || { 324 as_dirs= 325 while :; do 326 case $as_dir in #( 327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 328 *) as_qdir=$as_dir;; 329 esac 330 as_dirs="'$as_qdir' $as_dirs" 331 as_dir=`$as_dirname -- "$as_dir" || 332$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 333 X"$as_dir" : 'X\(//\)[^/]' \| \ 334 X"$as_dir" : 'X\(//\)$' \| \ 335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 336$as_echo X"$as_dir" | 337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 338 s//\1/ 339 q 340 } 341 /^X\(\/\/\)[^/].*/{ 342 s//\1/ 343 q 344 } 345 /^X\(\/\/\)$/{ 346 s//\1/ 347 q 348 } 349 /^X\(\/\).*/{ 350 s//\1/ 351 q 352 } 353 s/.*/./; q'` 354 test -d "$as_dir" && break 355 done 356 test -z "$as_dirs" || eval "mkdir $as_dirs" 357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 358 359 360} # as_fn_mkdir_p 361 362# as_fn_executable_p FILE 363# ----------------------- 364# Test if FILE is an executable regular file. 365as_fn_executable_p () 366{ 367 test -f "$1" && test -x "$1" 368} # as_fn_executable_p 369# as_fn_append VAR VALUE 370# ---------------------- 371# Append the text in VALUE to the end of the definition contained in VAR. Take 372# advantage of any shell optimizations that allow amortized linear growth over 373# repeated appends, instead of the typical quadratic growth present in naive 374# implementations. 375if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 376 eval 'as_fn_append () 377 { 378 eval $1+=\$2 379 }' 380else 381 as_fn_append () 382 { 383 eval $1=\$$1\$2 384 } 385fi # as_fn_append 386 387# as_fn_arith ARG... 388# ------------------ 389# Perform arithmetic evaluation on the ARGs, and store the result in the 390# global $as_val. Take advantage of shells that can avoid forks. The arguments 391# must be portable across $(()) and expr. 392if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 393 eval 'as_fn_arith () 394 { 395 as_val=$(( $* )) 396 }' 397else 398 as_fn_arith () 399 { 400 as_val=`expr "$@" || test $? -eq 1` 401 } 402fi # as_fn_arith 403 404 405# as_fn_error STATUS ERROR [LINENO LOG_FD] 406# ---------------------------------------- 407# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 408# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 409# script with STATUS, using 1 if that was 0. 410as_fn_error () 411{ 412 as_status=$1; test $as_status -eq 0 && as_status=1 413 if test "$4"; then 414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 416 fi 417 $as_echo "$as_me: error: $2" >&2 418 as_fn_exit $as_status 419} # as_fn_error 420 421if expr a : '\(a\)' >/dev/null 2>&1 && 422 test "X`expr 00001 : '.*\(...\)'`" = X001; then 423 as_expr=expr 424else 425 as_expr=false 426fi 427 428if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 429 as_basename=basename 430else 431 as_basename=false 432fi 433 434if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 435 as_dirname=dirname 436else 437 as_dirname=false 438fi 439 440as_me=`$as_basename -- "$0" || 441$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 442 X"$0" : 'X\(//\)$' \| \ 443 X"$0" : 'X\(/\)' \| . 2>/dev/null || 444$as_echo X/"$0" | 445 sed '/^.*\/\([^/][^/]*\)\/*$/{ 446 s//\1/ 447 q 448 } 449 /^X\/\(\/\/\)$/{ 450 s//\1/ 451 q 452 } 453 /^X\/\(\/\).*/{ 454 s//\1/ 455 q 456 } 457 s/.*/./; q'` 458 459# Avoid depending upon Character Ranges. 460as_cr_letters='abcdefghijklmnopqrstuvwxyz' 461as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 462as_cr_Letters=$as_cr_letters$as_cr_LETTERS 463as_cr_digits='0123456789' 464as_cr_alnum=$as_cr_Letters$as_cr_digits 465 466 467 as_lineno_1=$LINENO as_lineno_1a=$LINENO 468 as_lineno_2=$LINENO as_lineno_2a=$LINENO 469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 472 sed -n ' 473 p 474 /[$]LINENO/= 475 ' <$as_myself | 476 sed ' 477 s/[$]LINENO.*/&-/ 478 t lineno 479 b 480 :lineno 481 N 482 :loop 483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 484 t loop 485 s/-\n.*// 486 ' >$as_me.lineno && 487 chmod +x "$as_me.lineno" || 488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 489 490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 491 # already done that, so ensure we don't try to do so again and fall 492 # in an infinite loop. This has already happened in practice. 493 _as_can_reexec=no; export _as_can_reexec 494 # Don't try to exec as it changes $[0], causing all sort of problems 495 # (the dirname of $[0] is not the place where we might find the 496 # original and so on. Autoconf is especially sensitive to this). 497 . "./$as_me.lineno" 498 # Exit status is that of the last command. 499 exit 500} 501 502ECHO_C= ECHO_N= ECHO_T= 503case `echo -n x` in #((((( 504-n*) 505 case `echo 'xy\c'` in 506 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 507 xy) ECHO_C='\c';; 508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 509 ECHO_T=' ';; 510 esac;; 511*) 512 ECHO_N='-n';; 513esac 514 515rm -f conf$$ conf$$.exe conf$$.file 516if test -d conf$$.dir; then 517 rm -f conf$$.dir/conf$$.file 518else 519 rm -f conf$$.dir 520 mkdir conf$$.dir 2>/dev/null 521fi 522if (echo >conf$$.file) 2>/dev/null; then 523 if ln -s conf$$.file conf$$ 2>/dev/null; then 524 as_ln_s='ln -s' 525 # ... but there are two gotchas: 526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 528 # In both cases, we have to default to `cp -pR'. 529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 530 as_ln_s='cp -pR' 531 elif ln conf$$.file conf$$ 2>/dev/null; then 532 as_ln_s=ln 533 else 534 as_ln_s='cp -pR' 535 fi 536else 537 as_ln_s='cp -pR' 538fi 539rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 540rmdir conf$$.dir 2>/dev/null 541 542if mkdir -p . 2>/dev/null; then 543 as_mkdir_p='mkdir -p "$as_dir"' 544else 545 test -d ./-p && rmdir ./-p 546 as_mkdir_p=false 547fi 548 549as_test_x='test -x' 550as_executable_p=as_fn_executable_p 551 552# Sed expression to map a string onto a valid CPP name. 553as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 554 555# Sed expression to map a string onto a valid variable name. 556as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 557 558 559test -n "$DJDIR" || exec 7<&0 </dev/null 560exec 6>&1 561 562# Name of the host. 563# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 564# so uname gets run too. 565ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 566 567# 568# Initializations. 569# 570ac_default_prefix=/usr/local 571ac_clean_files= 572ac_config_libobj_dir=. 573LIBOBJS= 574cross_compiling=no 575subdirs= 576MFLAGS= 577MAKEFLAGS= 578 579# Identity of this package. 580PACKAGE_NAME='gtk2' 581PACKAGE_TARNAME='gtk2' 582PACKAGE_VERSION='1.0' 583PACKAGE_STRING='gtk2 1.0' 584PACKAGE_BUGREPORT='clisp-list' 585PACKAGE_URL='' 586 587ac_unique_file="gtk.lisp" 588# Factoring default headers for most tests. 589ac_includes_default="\ 590#include <stdio.h> 591#ifdef HAVE_SYS_TYPES_H 592# include <sys/types.h> 593#endif 594#ifdef HAVE_SYS_STAT_H 595# include <sys/stat.h> 596#endif 597#ifdef STDC_HEADERS 598# include <stdlib.h> 599# include <stddef.h> 600#else 601# ifdef HAVE_STDLIB_H 602# include <stdlib.h> 603# endif 604#endif 605#ifdef HAVE_STRING_H 606# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 607# include <memory.h> 608# endif 609# include <string.h> 610#endif 611#ifdef HAVE_STRINGS_H 612# include <strings.h> 613#endif 614#ifdef HAVE_INTTYPES_H 615# include <inttypes.h> 616#endif 617#ifdef HAVE_STDINT_H 618# include <stdint.h> 619#endif 620#ifdef HAVE_UNISTD_H 621# include <unistd.h> 622#endif" 623 624ac_subst_vars='LTLIBOBJS 625LIBOBJS 626LIBGLADE_LIBS 627LIBGLADE_CFLAGS 628GTK_LIBS 629GTK_CFLAGS 630PKG_CONFIG 631EGREP 632GREP 633LN_S 634LN 635CPP 636OBJEXT 637EXEEXT 638ac_ct_CC 639CPPFLAGS 640LDFLAGS 641CFLAGS 642CC 643CLISP_CPPFLAGS 644CLISP_CFLAGS 645CLISP_LIBS 646CLISP_FILES 647CLISP_LINKKIT 648CLISP_LIBDIR 649CLISP 650cl_cv_clisp 651CLISP_DECOLONIZE 652target_alias 653host_alias 654build_alias 655LIBS 656ECHO_T 657ECHO_N 658ECHO_C 659DEFS 660mandir 661localedir 662libdir 663psdir 664pdfdir 665dvidir 666htmldir 667infodir 668docdir 669oldincludedir 670includedir 671localstatedir 672sharedstatedir 673sysconfdir 674datadir 675datarootdir 676libexecdir 677sbindir 678bindir 679program_transform_name 680prefix 681exec_prefix 682PACKAGE_URL 683PACKAGE_BUGREPORT 684PACKAGE_STRING 685PACKAGE_VERSION 686PACKAGE_TARNAME 687PACKAGE_NAME 688PATH_SEPARATOR 689SHELL 690am__quote' 691ac_subst_files='' 692ac_user_opts=' 693enable_option_checking 694with_clisp 695enable_gtktest 696' 697 ac_precious_vars='build_alias 698host_alias 699target_alias 700CC 701CFLAGS 702LDFLAGS 703LIBS 704CPPFLAGS 705CPP 706PKG_CONFIG 707LIBGLADE_CFLAGS 708LIBGLADE_LIBS' 709 710 711# Initialize some variables set by options. 712ac_init_help= 713ac_init_version=false 714ac_unrecognized_opts= 715ac_unrecognized_sep= 716# The variables have the same names as the options, with 717# dashes changed to underlines. 718cache_file=/dev/null 719exec_prefix=NONE 720no_create= 721no_recursion= 722prefix=NONE 723program_prefix=NONE 724program_suffix=NONE 725program_transform_name=s,x,x, 726silent= 727site= 728srcdir= 729verbose= 730x_includes=NONE 731x_libraries=NONE 732 733# Installation directory options. 734# These are left unexpanded so users can "make install exec_prefix=/foo" 735# and all the variables that are supposed to be based on exec_prefix 736# by default will actually change. 737# Use braces instead of parens because sh, perl, etc. also accept them. 738# (The list follows the same order as the GNU Coding Standards.) 739bindir='${exec_prefix}/bin' 740sbindir='${exec_prefix}/sbin' 741libexecdir='${exec_prefix}/libexec' 742datarootdir='${prefix}/share' 743datadir='${datarootdir}' 744sysconfdir='${prefix}/etc' 745sharedstatedir='${prefix}/com' 746localstatedir='${prefix}/var' 747includedir='${prefix}/include' 748oldincludedir='/usr/include' 749docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 750infodir='${datarootdir}/info' 751htmldir='${docdir}' 752dvidir='${docdir}' 753pdfdir='${docdir}' 754psdir='${docdir}' 755libdir='${exec_prefix}/lib' 756localedir='${datarootdir}/locale' 757mandir='${datarootdir}/man' 758 759ac_prev= 760ac_dashdash= 761for ac_option 762do 763 # If the previous option needs an argument, assign it. 764 if test -n "$ac_prev"; then 765 eval $ac_prev=\$ac_option 766 ac_prev= 767 continue 768 fi 769 770 case $ac_option in 771 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 772 *=) ac_optarg= ;; 773 *) ac_optarg=yes ;; 774 esac 775 776 # Accept the important Cygnus configure options, so we can diagnose typos. 777 778 case $ac_dashdash$ac_option in 779 --) 780 ac_dashdash=yes ;; 781 782 -bindir | --bindir | --bindi | --bind | --bin | --bi) 783 ac_prev=bindir ;; 784 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 785 bindir=$ac_optarg ;; 786 787 -build | --build | --buil | --bui | --bu) 788 ac_prev=build_alias ;; 789 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 790 build_alias=$ac_optarg ;; 791 792 -cache-file | --cache-file | --cache-fil | --cache-fi \ 793 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 794 ac_prev=cache_file ;; 795 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 796 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 797 cache_file=$ac_optarg ;; 798 799 --config-cache | -C) 800 cache_file=config.cache ;; 801 802 -datadir | --datadir | --datadi | --datad) 803 ac_prev=datadir ;; 804 -datadir=* | --datadir=* | --datadi=* | --datad=*) 805 datadir=$ac_optarg ;; 806 807 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 808 | --dataroo | --dataro | --datar) 809 ac_prev=datarootdir ;; 810 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 811 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 812 datarootdir=$ac_optarg ;; 813 814 -disable-* | --disable-*) 815 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 816 # Reject names that are not valid shell variable names. 817 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 818 as_fn_error $? "invalid feature name: $ac_useropt" 819 ac_useropt_orig=$ac_useropt 820 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 821 case $ac_user_opts in 822 *" 823"enable_$ac_useropt" 824"*) ;; 825 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 826 ac_unrecognized_sep=', ';; 827 esac 828 eval enable_$ac_useropt=no ;; 829 830 -docdir | --docdir | --docdi | --doc | --do) 831 ac_prev=docdir ;; 832 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 833 docdir=$ac_optarg ;; 834 835 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 836 ac_prev=dvidir ;; 837 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 838 dvidir=$ac_optarg ;; 839 840 -enable-* | --enable-*) 841 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 842 # Reject names that are not valid shell variable names. 843 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 844 as_fn_error $? "invalid feature name: $ac_useropt" 845 ac_useropt_orig=$ac_useropt 846 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 847 case $ac_user_opts in 848 *" 849"enable_$ac_useropt" 850"*) ;; 851 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 852 ac_unrecognized_sep=', ';; 853 esac 854 eval enable_$ac_useropt=\$ac_optarg ;; 855 856 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 857 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 858 | --exec | --exe | --ex) 859 ac_prev=exec_prefix ;; 860 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 861 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 862 | --exec=* | --exe=* | --ex=*) 863 exec_prefix=$ac_optarg ;; 864 865 -gas | --gas | --ga | --g) 866 # Obsolete; use --with-gas. 867 with_gas=yes ;; 868 869 -help | --help | --hel | --he | -h) 870 ac_init_help=long ;; 871 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 872 ac_init_help=recursive ;; 873 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 874 ac_init_help=short ;; 875 876 -host | --host | --hos | --ho) 877 ac_prev=host_alias ;; 878 -host=* | --host=* | --hos=* | --ho=*) 879 host_alias=$ac_optarg ;; 880 881 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 882 ac_prev=htmldir ;; 883 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 884 | --ht=*) 885 htmldir=$ac_optarg ;; 886 887 -includedir | --includedir | --includedi | --included | --include \ 888 | --includ | --inclu | --incl | --inc) 889 ac_prev=includedir ;; 890 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 891 | --includ=* | --inclu=* | --incl=* | --inc=*) 892 includedir=$ac_optarg ;; 893 894 -infodir | --infodir | --infodi | --infod | --info | --inf) 895 ac_prev=infodir ;; 896 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 897 infodir=$ac_optarg ;; 898 899 -libdir | --libdir | --libdi | --libd) 900 ac_prev=libdir ;; 901 -libdir=* | --libdir=* | --libdi=* | --libd=*) 902 libdir=$ac_optarg ;; 903 904 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 905 | --libexe | --libex | --libe) 906 ac_prev=libexecdir ;; 907 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 908 | --libexe=* | --libex=* | --libe=*) 909 libexecdir=$ac_optarg ;; 910 911 -localedir | --localedir | --localedi | --localed | --locale) 912 ac_prev=localedir ;; 913 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 914 localedir=$ac_optarg ;; 915 916 -localstatedir | --localstatedir | --localstatedi | --localstated \ 917 | --localstate | --localstat | --localsta | --localst | --locals) 918 ac_prev=localstatedir ;; 919 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 920 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 921 localstatedir=$ac_optarg ;; 922 923 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 924 ac_prev=mandir ;; 925 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 926 mandir=$ac_optarg ;; 927 928 -nfp | --nfp | --nf) 929 # Obsolete; use --without-fp. 930 with_fp=no ;; 931 932 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 933 | --no-cr | --no-c | -n) 934 no_create=yes ;; 935 936 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 937 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 938 no_recursion=yes ;; 939 940 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 941 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 942 | --oldin | --oldi | --old | --ol | --o) 943 ac_prev=oldincludedir ;; 944 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 945 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 946 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 947 oldincludedir=$ac_optarg ;; 948 949 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 950 ac_prev=prefix ;; 951 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 952 prefix=$ac_optarg ;; 953 954 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 955 | --program-pre | --program-pr | --program-p) 956 ac_prev=program_prefix ;; 957 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 958 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 959 program_prefix=$ac_optarg ;; 960 961 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 962 | --program-suf | --program-su | --program-s) 963 ac_prev=program_suffix ;; 964 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 965 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 966 program_suffix=$ac_optarg ;; 967 968 -program-transform-name | --program-transform-name \ 969 | --program-transform-nam | --program-transform-na \ 970 | --program-transform-n | --program-transform- \ 971 | --program-transform | --program-transfor \ 972 | --program-transfo | --program-transf \ 973 | --program-trans | --program-tran \ 974 | --progr-tra | --program-tr | --program-t) 975 ac_prev=program_transform_name ;; 976 -program-transform-name=* | --program-transform-name=* \ 977 | --program-transform-nam=* | --program-transform-na=* \ 978 | --program-transform-n=* | --program-transform-=* \ 979 | --program-transform=* | --program-transfor=* \ 980 | --program-transfo=* | --program-transf=* \ 981 | --program-trans=* | --program-tran=* \ 982 | --progr-tra=* | --program-tr=* | --program-t=*) 983 program_transform_name=$ac_optarg ;; 984 985 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 986 ac_prev=pdfdir ;; 987 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 988 pdfdir=$ac_optarg ;; 989 990 -psdir | --psdir | --psdi | --psd | --ps) 991 ac_prev=psdir ;; 992 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 993 psdir=$ac_optarg ;; 994 995 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 996 | -silent | --silent | --silen | --sile | --sil) 997 silent=yes ;; 998 999 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1000 ac_prev=sbindir ;; 1001 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1002 | --sbi=* | --sb=*) 1003 sbindir=$ac_optarg ;; 1004 1005 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1006 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1007 | --sharedst | --shareds | --shared | --share | --shar \ 1008 | --sha | --sh) 1009 ac_prev=sharedstatedir ;; 1010 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1011 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1012 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1013 | --sha=* | --sh=*) 1014 sharedstatedir=$ac_optarg ;; 1015 1016 -site | --site | --sit) 1017 ac_prev=site ;; 1018 -site=* | --site=* | --sit=*) 1019 site=$ac_optarg ;; 1020 1021 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1022 ac_prev=srcdir ;; 1023 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1024 srcdir=$ac_optarg ;; 1025 1026 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1027 | --syscon | --sysco | --sysc | --sys | --sy) 1028 ac_prev=sysconfdir ;; 1029 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1030 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1031 sysconfdir=$ac_optarg ;; 1032 1033 -target | --target | --targe | --targ | --tar | --ta | --t) 1034 ac_prev=target_alias ;; 1035 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1036 target_alias=$ac_optarg ;; 1037 1038 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1039 verbose=yes ;; 1040 1041 -version | --version | --versio | --versi | --vers | -V) 1042 ac_init_version=: ;; 1043 1044 -with-* | --with-*) 1045 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1046 # Reject names that are not valid shell variable names. 1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1048 as_fn_error $? "invalid package name: $ac_useropt" 1049 ac_useropt_orig=$ac_useropt 1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1051 case $ac_user_opts in 1052 *" 1053"with_$ac_useropt" 1054"*) ;; 1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1056 ac_unrecognized_sep=', ';; 1057 esac 1058 eval with_$ac_useropt=\$ac_optarg ;; 1059 1060 -without-* | --without-*) 1061 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1062 # Reject names that are not valid shell variable names. 1063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1064 as_fn_error $? "invalid package name: $ac_useropt" 1065 ac_useropt_orig=$ac_useropt 1066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1067 case $ac_user_opts in 1068 *" 1069"with_$ac_useropt" 1070"*) ;; 1071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1072 ac_unrecognized_sep=', ';; 1073 esac 1074 eval with_$ac_useropt=no ;; 1075 1076 --x) 1077 # Obsolete; use --with-x. 1078 with_x=yes ;; 1079 1080 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1081 | --x-incl | --x-inc | --x-in | --x-i) 1082 ac_prev=x_includes ;; 1083 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1084 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1085 x_includes=$ac_optarg ;; 1086 1087 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1088 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1089 ac_prev=x_libraries ;; 1090 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1091 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1092 x_libraries=$ac_optarg ;; 1093 1094 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1095Try \`$0 --help' for more information" 1096 ;; 1097 1098 *=*) 1099 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1100 # Reject names that are not valid shell variable names. 1101 case $ac_envvar in #( 1102 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1103 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1104 esac 1105 eval $ac_envvar=\$ac_optarg 1106 export $ac_envvar ;; 1107 1108 *) 1109 # FIXME: should be removed in autoconf 3.0. 1110 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1111 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1112 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1113 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1114 ;; 1115 1116 esac 1117done 1118 1119if test -n "$ac_prev"; then 1120 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1121 as_fn_error $? "missing argument to $ac_option" 1122fi 1123 1124if test -n "$ac_unrecognized_opts"; then 1125 case $enable_option_checking in 1126 no) ;; 1127 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1128 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1129 esac 1130fi 1131 1132# Check all directory arguments for consistency. 1133for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1134 datadir sysconfdir sharedstatedir localstatedir includedir \ 1135 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1136 libdir localedir mandir 1137do 1138 eval ac_val=\$$ac_var 1139 # Remove trailing slashes. 1140 case $ac_val in 1141 */ ) 1142 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1143 eval $ac_var=\$ac_val;; 1144 esac 1145 # Be sure to have absolute directory names. 1146 case $ac_val in 1147 [\\/$]* | ?:[\\/]* ) continue;; 1148 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1149 esac 1150 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1151done 1152 1153# There might be people who depend on the old broken behavior: `$host' 1154# used to hold the argument of --host etc. 1155# FIXME: To remove some day. 1156build=$build_alias 1157host=$host_alias 1158target=$target_alias 1159 1160# FIXME: To remove some day. 1161if test "x$host_alias" != x; then 1162 if test "x$build_alias" = x; then 1163 cross_compiling=maybe 1164 elif test "x$build_alias" != "x$host_alias"; then 1165 cross_compiling=yes 1166 fi 1167fi 1168 1169ac_tool_prefix= 1170test -n "$host_alias" && ac_tool_prefix=$host_alias- 1171 1172test "$silent" = yes && exec 6>/dev/null 1173 1174 1175ac_pwd=`pwd` && test -n "$ac_pwd" && 1176ac_ls_di=`ls -di .` && 1177ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1178 as_fn_error $? "working directory cannot be determined" 1179test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1180 as_fn_error $? "pwd does not report name of working directory" 1181 1182 1183# Find the source files, if location was not specified. 1184if test -z "$srcdir"; then 1185 ac_srcdir_defaulted=yes 1186 # Try the directory containing this script, then the parent directory. 1187 ac_confdir=`$as_dirname -- "$as_myself" || 1188$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1189 X"$as_myself" : 'X\(//\)[^/]' \| \ 1190 X"$as_myself" : 'X\(//\)$' \| \ 1191 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1192$as_echo X"$as_myself" | 1193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1194 s//\1/ 1195 q 1196 } 1197 /^X\(\/\/\)[^/].*/{ 1198 s//\1/ 1199 q 1200 } 1201 /^X\(\/\/\)$/{ 1202 s//\1/ 1203 q 1204 } 1205 /^X\(\/\).*/{ 1206 s//\1/ 1207 q 1208 } 1209 s/.*/./; q'` 1210 srcdir=$ac_confdir 1211 if test ! -r "$srcdir/$ac_unique_file"; then 1212 srcdir=.. 1213 fi 1214else 1215 ac_srcdir_defaulted=no 1216fi 1217if test ! -r "$srcdir/$ac_unique_file"; then 1218 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1219 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1220fi 1221ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1222ac_abs_confdir=`( 1223 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1224 pwd)` 1225# When building in place, set srcdir=. 1226if test "$ac_abs_confdir" = "$ac_pwd"; then 1227 srcdir=. 1228fi 1229# Remove unnecessary trailing slashes from srcdir. 1230# Double slashes in file names in object file debugging info 1231# mess up M-x gdb in Emacs. 1232case $srcdir in 1233*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1234esac 1235for ac_var in $ac_precious_vars; do 1236 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1237 eval ac_env_${ac_var}_value=\$${ac_var} 1238 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1239 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1240done 1241 1242# 1243# Report the --help message. 1244# 1245if test "$ac_init_help" = "long"; then 1246 # Omit some internal or obsolete options to make the list less imposing. 1247 # This message is too long to be a string in the A/UX 3.1 sh. 1248 cat <<_ACEOF 1249\`configure' configures gtk2 1.0 to adapt to many kinds of systems. 1250 1251Usage: $0 [OPTION]... [VAR=VALUE]... 1252 1253To assign environment variables (e.g., CC, CFLAGS...), specify them as 1254VAR=VALUE. See below for descriptions of some of the useful variables. 1255 1256Defaults for the options are specified in brackets. 1257 1258Configuration: 1259 -h, --help display this help and exit 1260 --help=short display options specific to this package 1261 --help=recursive display the short help of all the included packages 1262 -V, --version display version information and exit 1263 -q, --quiet, --silent do not print \`checking ...' messages 1264 --cache-file=FILE cache test results in FILE [disabled] 1265 -C, --config-cache alias for \`--cache-file=config.cache' 1266 -n, --no-create do not create output files 1267 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1268 1269Installation directories: 1270 --prefix=PREFIX install architecture-independent files in PREFIX 1271 [$ac_default_prefix] 1272 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1273 [PREFIX] 1274 1275By default, \`make install' will install all the files in 1276\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1277an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1278for instance \`--prefix=\$HOME'. 1279 1280For better control, use the options below. 1281 1282Fine tuning of the installation directories: 1283 --bindir=DIR user executables [EPREFIX/bin] 1284 --sbindir=DIR system admin executables [EPREFIX/sbin] 1285 --libexecdir=DIR program executables [EPREFIX/libexec] 1286 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1287 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1288 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1289 --libdir=DIR object code libraries [EPREFIX/lib] 1290 --includedir=DIR C header files [PREFIX/include] 1291 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1292 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1293 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1294 --infodir=DIR info documentation [DATAROOTDIR/info] 1295 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1296 --mandir=DIR man documentation [DATAROOTDIR/man] 1297 --docdir=DIR documentation root [DATAROOTDIR/doc/gtk2] 1298 --htmldir=DIR html documentation [DOCDIR] 1299 --dvidir=DIR dvi documentation [DOCDIR] 1300 --pdfdir=DIR pdf documentation [DOCDIR] 1301 --psdir=DIR ps documentation [DOCDIR] 1302_ACEOF 1303 1304 cat <<\_ACEOF 1305_ACEOF 1306fi 1307 1308if test -n "$ac_init_help"; then 1309 case $ac_init_help in 1310 short | recursive ) echo "Configuration of gtk2 1.0:";; 1311 esac 1312 cat <<\_ACEOF 1313 1314Optional Features: 1315 --disable-option-checking ignore unrecognized --enable/--with options 1316 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1317 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1318 --disable-gtktest do not try to compile and run a test GTK+ program 1319 1320Optional Packages: 1321 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1322 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1323 --with-clisp use a specific CLISP installation 1324 1325Some influential environment variables: 1326 CC C compiler command 1327 CFLAGS C compiler flags 1328 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1329 nonstandard directory <lib dir> 1330 LIBS libraries to pass to the linker, e.g. -l<library> 1331 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1332 you have headers in a nonstandard directory <include dir> 1333 CPP C preprocessor 1334 PKG_CONFIG path to pkg-config utility 1335 LIBGLADE_CFLAGS 1336 C compiler flags for LIBGLADE, overriding pkg-config 1337 LIBGLADE_LIBS 1338 linker flags for LIBGLADE, overriding pkg-config 1339 1340Use these variables to override the choices made by `configure' or to help 1341it to find libraries and programs with nonstandard names/locations. 1342 1343Report bugs to <clisp-list>. 1344_ACEOF 1345ac_status=$? 1346fi 1347 1348if test "$ac_init_help" = "recursive"; then 1349 # If there are subdirs, report their specific --help. 1350 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1351 test -d "$ac_dir" || 1352 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1353 continue 1354 ac_builddir=. 1355 1356case "$ac_dir" in 1357.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1358*) 1359 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1360 # A ".." for each directory in $ac_dir_suffix. 1361 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1362 case $ac_top_builddir_sub in 1363 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1364 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1365 esac ;; 1366esac 1367ac_abs_top_builddir=$ac_pwd 1368ac_abs_builddir=$ac_pwd$ac_dir_suffix 1369# for backward compatibility: 1370ac_top_builddir=$ac_top_build_prefix 1371 1372case $srcdir in 1373 .) # We are building in place. 1374 ac_srcdir=. 1375 ac_top_srcdir=$ac_top_builddir_sub 1376 ac_abs_top_srcdir=$ac_pwd ;; 1377 [\\/]* | ?:[\\/]* ) # Absolute name. 1378 ac_srcdir=$srcdir$ac_dir_suffix; 1379 ac_top_srcdir=$srcdir 1380 ac_abs_top_srcdir=$srcdir ;; 1381 *) # Relative name. 1382 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1383 ac_top_srcdir=$ac_top_build_prefix$srcdir 1384 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1385esac 1386ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1387 1388 cd "$ac_dir" || { ac_status=$?; continue; } 1389 # Check for guested configure. 1390 if test -f "$ac_srcdir/configure.gnu"; then 1391 echo && 1392 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1393 elif test -f "$ac_srcdir/configure"; then 1394 echo && 1395 $SHELL "$ac_srcdir/configure" --help=recursive 1396 else 1397 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1398 fi || ac_status=$? 1399 cd "$ac_pwd" || { ac_status=$?; break; } 1400 done 1401fi 1402 1403test -n "$ac_init_help" && exit $ac_status 1404if $ac_init_version; then 1405 cat <<\_ACEOF 1406gtk2 configure 1.0 1407generated by GNU Autoconf 2.69 1408 1409Copyright (C) 2012 Free Software Foundation, Inc. 1410This configure script is free software; the Free Software Foundation 1411gives unlimited permission to copy, distribute and modify it. 1412_ACEOF 1413 exit 1414fi 1415 1416## ------------------------ ## 1417## Autoconf initialization. ## 1418## ------------------------ ## 1419 1420# ac_fn_c_try_compile LINENO 1421# -------------------------- 1422# Try to compile conftest.$ac_ext, and return whether this succeeded. 1423ac_fn_c_try_compile () 1424{ 1425 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1426 rm -f conftest.$ac_objext 1427 if { { ac_try="$ac_compile" 1428case "(($ac_try" in 1429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1430 *) ac_try_echo=$ac_try;; 1431esac 1432eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1433$as_echo "$ac_try_echo"; } >&5 1434 (eval "$ac_compile") 2>conftest.err 1435 ac_status=$? 1436 if test -s conftest.err; then 1437 grep -v '^ *+' conftest.err >conftest.er1 1438 cat conftest.er1 >&5 1439 mv -f conftest.er1 conftest.err 1440 fi 1441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1442 test $ac_status = 0; } && { 1443 test -z "$ac_c_werror_flag" || 1444 test ! -s conftest.err 1445 } && test -s conftest.$ac_objext; then : 1446 ac_retval=0 1447else 1448 $as_echo "$as_me: failed program was:" >&5 1449sed 's/^/| /' conftest.$ac_ext >&5 1450 1451 ac_retval=1 1452fi 1453 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1454 as_fn_set_status $ac_retval 1455 1456} # ac_fn_c_try_compile 1457 1458# ac_fn_c_try_cpp LINENO 1459# ---------------------- 1460# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1461ac_fn_c_try_cpp () 1462{ 1463 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1464 if { { ac_try="$ac_cpp conftest.$ac_ext" 1465case "(($ac_try" in 1466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1467 *) ac_try_echo=$ac_try;; 1468esac 1469eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1470$as_echo "$ac_try_echo"; } >&5 1471 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1472 ac_status=$? 1473 if test -s conftest.err; then 1474 grep -v '^ *+' conftest.err >conftest.er1 1475 cat conftest.er1 >&5 1476 mv -f conftest.er1 conftest.err 1477 fi 1478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1479 test $ac_status = 0; } > conftest.i && { 1480 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1481 test ! -s conftest.err 1482 }; then : 1483 ac_retval=0 1484else 1485 $as_echo "$as_me: failed program was:" >&5 1486sed 's/^/| /' conftest.$ac_ext >&5 1487 1488 ac_retval=1 1489fi 1490 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1491 as_fn_set_status $ac_retval 1492 1493} # ac_fn_c_try_cpp 1494 1495# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1496# ------------------------------------------------------- 1497# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1498# the include files in INCLUDES and setting the cache variable VAR 1499# accordingly. 1500ac_fn_c_check_header_mongrel () 1501{ 1502 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1503 if eval \${$3+:} false; then : 1504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1505$as_echo_n "checking for $2... " >&6; } 1506if eval \${$3+:} false; then : 1507 $as_echo_n "(cached) " >&6 1508fi 1509eval ac_res=\$$3 1510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1511$as_echo "$ac_res" >&6; } 1512else 1513 # Is the header compilable? 1514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1515$as_echo_n "checking $2 usability... " >&6; } 1516cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1517/* end confdefs.h. */ 1518$4 1519#include <$2> 1520_ACEOF 1521if ac_fn_c_try_compile "$LINENO"; then : 1522 ac_header_compiler=yes 1523else 1524 ac_header_compiler=no 1525fi 1526rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1528$as_echo "$ac_header_compiler" >&6; } 1529 1530# Is the header present? 1531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1532$as_echo_n "checking $2 presence... " >&6; } 1533cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1534/* end confdefs.h. */ 1535#include <$2> 1536_ACEOF 1537if ac_fn_c_try_cpp "$LINENO"; then : 1538 ac_header_preproc=yes 1539else 1540 ac_header_preproc=no 1541fi 1542rm -f conftest.err conftest.i conftest.$ac_ext 1543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1544$as_echo "$ac_header_preproc" >&6; } 1545 1546# So? What about this header? 1547case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1548 yes:no: ) 1549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1550$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1552$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1553 ;; 1554 no:yes:* ) 1555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1556$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1558$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1560$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1562$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1564$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1565( $as_echo "## ------------------------- ## 1566## Report this to clisp-list ## 1567## ------------------------- ##" 1568 ) | sed "s/^/$as_me: WARNING: /" >&2 1569 ;; 1570esac 1571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1572$as_echo_n "checking for $2... " >&6; } 1573if eval \${$3+:} false; then : 1574 $as_echo_n "(cached) " >&6 1575else 1576 eval "$3=\$ac_header_compiler" 1577fi 1578eval ac_res=\$$3 1579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1580$as_echo "$ac_res" >&6; } 1581fi 1582 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1583 1584} # ac_fn_c_check_header_mongrel 1585 1586# ac_fn_c_try_run LINENO 1587# ---------------------- 1588# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1589# that executables *can* be run. 1590ac_fn_c_try_run () 1591{ 1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1593 if { { ac_try="$ac_link" 1594case "(($ac_try" in 1595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1596 *) ac_try_echo=$ac_try;; 1597esac 1598eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1599$as_echo "$ac_try_echo"; } >&5 1600 (eval "$ac_link") 2>&5 1601 ac_status=$? 1602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1603 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1604 { { case "(($ac_try" in 1605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1606 *) ac_try_echo=$ac_try;; 1607esac 1608eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1609$as_echo "$ac_try_echo"; } >&5 1610 (eval "$ac_try") 2>&5 1611 ac_status=$? 1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1613 test $ac_status = 0; }; }; then : 1614 ac_retval=0 1615else 1616 $as_echo "$as_me: program exited with status $ac_status" >&5 1617 $as_echo "$as_me: failed program was:" >&5 1618sed 's/^/| /' conftest.$ac_ext >&5 1619 1620 ac_retval=$ac_status 1621fi 1622 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1624 as_fn_set_status $ac_retval 1625 1626} # ac_fn_c_try_run 1627 1628# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1629# ------------------------------------------------------- 1630# Tests whether HEADER exists and can be compiled using the include files in 1631# INCLUDES, setting the cache variable VAR accordingly. 1632ac_fn_c_check_header_compile () 1633{ 1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1636$as_echo_n "checking for $2... " >&6; } 1637if eval \${$3+:} false; then : 1638 $as_echo_n "(cached) " >&6 1639else 1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1641/* end confdefs.h. */ 1642$4 1643#include <$2> 1644_ACEOF 1645if ac_fn_c_try_compile "$LINENO"; then : 1646 eval "$3=yes" 1647else 1648 eval "$3=no" 1649fi 1650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1651fi 1652eval ac_res=\$$3 1653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1654$as_echo "$ac_res" >&6; } 1655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1656 1657} # ac_fn_c_check_header_compile 1658 1659# ac_fn_c_try_link LINENO 1660# ----------------------- 1661# Try to link conftest.$ac_ext, and return whether this succeeded. 1662ac_fn_c_try_link () 1663{ 1664 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1665 rm -f conftest.$ac_objext conftest$ac_exeext 1666 if { { ac_try="$ac_link" 1667case "(($ac_try" in 1668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1669 *) ac_try_echo=$ac_try;; 1670esac 1671eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1672$as_echo "$ac_try_echo"; } >&5 1673 (eval "$ac_link") 2>conftest.err 1674 ac_status=$? 1675 if test -s conftest.err; then 1676 grep -v '^ *+' conftest.err >conftest.er1 1677 cat conftest.er1 >&5 1678 mv -f conftest.er1 conftest.err 1679 fi 1680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1681 test $ac_status = 0; } && { 1682 test -z "$ac_c_werror_flag" || 1683 test ! -s conftest.err 1684 } && test -s conftest$ac_exeext && { 1685 test "$cross_compiling" = yes || 1686 test -x conftest$ac_exeext 1687 }; then : 1688 ac_retval=0 1689else 1690 $as_echo "$as_me: failed program was:" >&5 1691sed 's/^/| /' conftest.$ac_ext >&5 1692 1693 ac_retval=1 1694fi 1695 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1696 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1697 # interfere with the next link command; also delete a directory that is 1698 # left behind by Apple's compiler. We do this before executing the actions. 1699 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1700 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1701 as_fn_set_status $ac_retval 1702 1703} # ac_fn_c_try_link 1704cat >config.log <<_ACEOF 1705This file contains any messages produced by compilers while 1706running configure, to aid debugging if configure makes a mistake. 1707 1708It was created by gtk2 $as_me 1.0, which was 1709generated by GNU Autoconf 2.69. Invocation command line was 1710 1711 $ $0 $@ 1712 1713_ACEOF 1714exec 5>>config.log 1715{ 1716cat <<_ASUNAME 1717## --------- ## 1718## Platform. ## 1719## --------- ## 1720 1721hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1722uname -m = `(uname -m) 2>/dev/null || echo unknown` 1723uname -r = `(uname -r) 2>/dev/null || echo unknown` 1724uname -s = `(uname -s) 2>/dev/null || echo unknown` 1725uname -v = `(uname -v) 2>/dev/null || echo unknown` 1726 1727/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1728/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1729 1730/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1731/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1732/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1733/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1734/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1735/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1736/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1737 1738_ASUNAME 1739 1740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1741for as_dir in $PATH 1742do 1743 IFS=$as_save_IFS 1744 test -z "$as_dir" && as_dir=. 1745 $as_echo "PATH: $as_dir" 1746 done 1747IFS=$as_save_IFS 1748 1749} >&5 1750 1751cat >&5 <<_ACEOF 1752 1753 1754## ----------- ## 1755## Core tests. ## 1756## ----------- ## 1757 1758_ACEOF 1759 1760 1761# Keep a trace of the command line. 1762# Strip out --no-create and --no-recursion so they do not pile up. 1763# Strip out --silent because we don't want to record it for future runs. 1764# Also quote any args containing shell meta-characters. 1765# Make two passes to allow for proper duplicate-argument suppression. 1766ac_configure_args= 1767ac_configure_args0= 1768ac_configure_args1= 1769ac_must_keep_next=false 1770for ac_pass in 1 2 1771do 1772 for ac_arg 1773 do 1774 case $ac_arg in 1775 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1776 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1777 | -silent | --silent | --silen | --sile | --sil) 1778 continue ;; 1779 *\'*) 1780 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1781 esac 1782 case $ac_pass in 1783 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1784 2) 1785 as_fn_append ac_configure_args1 " '$ac_arg'" 1786 if test $ac_must_keep_next = true; then 1787 ac_must_keep_next=false # Got value, back to normal. 1788 else 1789 case $ac_arg in 1790 *=* | --config-cache | -C | -disable-* | --disable-* \ 1791 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1792 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1793 | -with-* | --with-* | -without-* | --without-* | --x) 1794 case "$ac_configure_args0 " in 1795 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1796 esac 1797 ;; 1798 -* ) ac_must_keep_next=true ;; 1799 esac 1800 fi 1801 as_fn_append ac_configure_args " '$ac_arg'" 1802 ;; 1803 esac 1804 done 1805done 1806{ ac_configure_args0=; unset ac_configure_args0;} 1807{ ac_configure_args1=; unset ac_configure_args1;} 1808 1809# When interrupted or exit'd, cleanup temporary files, and complete 1810# config.log. We remove comments because anyway the quotes in there 1811# would cause problems or look ugly. 1812# WARNING: Use '\'' to represent an apostrophe within the trap. 1813# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1814trap 'exit_status=$? 1815 # Save into config.log some information that might help in debugging. 1816 { 1817 echo 1818 1819 $as_echo "## ---------------- ## 1820## Cache variables. ## 1821## ---------------- ##" 1822 echo 1823 # The following way of writing the cache mishandles newlines in values, 1824( 1825 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1826 eval ac_val=\$$ac_var 1827 case $ac_val in #( 1828 *${as_nl}*) 1829 case $ac_var in #( 1830 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1831$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1832 esac 1833 case $ac_var in #( 1834 _ | IFS | as_nl) ;; #( 1835 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1836 *) { eval $ac_var=; unset $ac_var;} ;; 1837 esac ;; 1838 esac 1839 done 1840 (set) 2>&1 | 1841 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1842 *${as_nl}ac_space=\ *) 1843 sed -n \ 1844 "s/'\''/'\''\\\\'\'''\''/g; 1845 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1846 ;; #( 1847 *) 1848 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1849 ;; 1850 esac | 1851 sort 1852) 1853 echo 1854 1855 $as_echo "## ----------------- ## 1856## Output variables. ## 1857## ----------------- ##" 1858 echo 1859 for ac_var in $ac_subst_vars 1860 do 1861 eval ac_val=\$$ac_var 1862 case $ac_val in 1863 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1864 esac 1865 $as_echo "$ac_var='\''$ac_val'\''" 1866 done | sort 1867 echo 1868 1869 if test -n "$ac_subst_files"; then 1870 $as_echo "## ------------------- ## 1871## File substitutions. ## 1872## ------------------- ##" 1873 echo 1874 for ac_var in $ac_subst_files 1875 do 1876 eval ac_val=\$$ac_var 1877 case $ac_val in 1878 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1879 esac 1880 $as_echo "$ac_var='\''$ac_val'\''" 1881 done | sort 1882 echo 1883 fi 1884 1885 if test -s confdefs.h; then 1886 $as_echo "## ----------- ## 1887## confdefs.h. ## 1888## ----------- ##" 1889 echo 1890 cat confdefs.h 1891 echo 1892 fi 1893 test "$ac_signal" != 0 && 1894 $as_echo "$as_me: caught signal $ac_signal" 1895 $as_echo "$as_me: exit $exit_status" 1896 } >&5 1897 rm -f core *.core core.conftest.* && 1898 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1899 exit $exit_status 1900' 0 1901for ac_signal in 1 2 13 15; do 1902 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1903done 1904ac_signal=0 1905 1906# confdefs.h avoids OS command line length limits that DEFS can exceed. 1907rm -f -r conftest* confdefs.h 1908 1909$as_echo "/* confdefs.h */" > confdefs.h 1910 1911# Predefined preprocessor variables. 1912 1913cat >>confdefs.h <<_ACEOF 1914#define PACKAGE_NAME "$PACKAGE_NAME" 1915_ACEOF 1916 1917cat >>confdefs.h <<_ACEOF 1918#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1919_ACEOF 1920 1921cat >>confdefs.h <<_ACEOF 1922#define PACKAGE_VERSION "$PACKAGE_VERSION" 1923_ACEOF 1924 1925cat >>confdefs.h <<_ACEOF 1926#define PACKAGE_STRING "$PACKAGE_STRING" 1927_ACEOF 1928 1929cat >>confdefs.h <<_ACEOF 1930#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1931_ACEOF 1932 1933cat >>confdefs.h <<_ACEOF 1934#define PACKAGE_URL "$PACKAGE_URL" 1935_ACEOF 1936 1937 1938# Let the site file select an alternate cache file if it wants to. 1939# Prefer an explicitly selected file to automatically selected ones. 1940ac_site_file1=NONE 1941ac_site_file2=NONE 1942if test -n "$CONFIG_SITE"; then 1943 # We do not want a PATH search for config.site. 1944 case $CONFIG_SITE in #(( 1945 -*) ac_site_file1=./$CONFIG_SITE;; 1946 */*) ac_site_file1=$CONFIG_SITE;; 1947 *) ac_site_file1=./$CONFIG_SITE;; 1948 esac 1949elif test "x$prefix" != xNONE; then 1950 ac_site_file1=$prefix/share/config.site 1951 ac_site_file2=$prefix/etc/config.site 1952else 1953 ac_site_file1=$ac_default_prefix/share/config.site 1954 ac_site_file2=$ac_default_prefix/etc/config.site 1955fi 1956for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1957do 1958 test "x$ac_site_file" = xNONE && continue 1959 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1960 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1961$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1962 sed 's/^/| /' "$ac_site_file" >&5 1963 . "$ac_site_file" \ 1964 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1965$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1966as_fn_error $? "failed to load site script $ac_site_file 1967See \`config.log' for more details" "$LINENO" 5; } 1968 fi 1969done 1970 1971if test -r "$cache_file"; then 1972 # Some versions of bash will fail to source /dev/null (special files 1973 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1974 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1975 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1976$as_echo "$as_me: loading cache $cache_file" >&6;} 1977 case $cache_file in 1978 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1979 *) . "./$cache_file";; 1980 esac 1981 fi 1982else 1983 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1984$as_echo "$as_me: creating cache $cache_file" >&6;} 1985 >$cache_file 1986fi 1987 1988# Check that the precious variables saved in the cache have kept the same 1989# value. 1990ac_cache_corrupted=false 1991for ac_var in $ac_precious_vars; do 1992 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1993 eval ac_new_set=\$ac_env_${ac_var}_set 1994 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1995 eval ac_new_val=\$ac_env_${ac_var}_value 1996 case $ac_old_set,$ac_new_set in 1997 set,) 1998 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1999$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2000 ac_cache_corrupted=: ;; 2001 ,set) 2002 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2003$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2004 ac_cache_corrupted=: ;; 2005 ,);; 2006 *) 2007 if test "x$ac_old_val" != "x$ac_new_val"; then 2008 # differences in whitespace do not lead to failure. 2009 ac_old_val_w=`echo x $ac_old_val` 2010 ac_new_val_w=`echo x $ac_new_val` 2011 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2012 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2013$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2014 ac_cache_corrupted=: 2015 else 2016 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2017$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2018 eval $ac_var=\$ac_old_val 2019 fi 2020 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2021$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2022 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2023$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2024 fi;; 2025 esac 2026 # Pass precious variables to config.status. 2027 if test "$ac_new_set" = set; then 2028 case $ac_new_val in 2029 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2030 *) ac_arg=$ac_var=$ac_new_val ;; 2031 esac 2032 case " $ac_configure_args " in 2033 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2034 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2035 esac 2036 fi 2037done 2038if $ac_cache_corrupted; then 2039 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2040$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2042$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2043 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2044fi 2045## -------------------- ## 2046## Main body of script. ## 2047## -------------------- ## 2048 2049ac_ext=c 2050ac_cpp='$CPP $CPPFLAGS' 2051ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2052ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2053ac_compiler_gnu=$ac_cv_c_compiler_gnu 2054 2055 2056 2057ac_config_headers="$ac_config_headers config.h" 2058 2059 2060 2061 2062 case $TERM in 2063 # for the most important terminal types we directly know the sequences 2064 xterm*|vt220*|vt100*) 2065 term_bold=`${AWK:-awk} 'BEGIN { printf("%c%c%c%c", 27, 91, 49, 109); }' </dev/null 2>/dev/null` 2066 term_norm=`${AWK:-awk} 'BEGIN { printf("%c%c%c", 27, 91, 109); }' </dev/null 2>/dev/null` 2067 ;; 2068 # for all others, we try to use a possibly existing `tput' or `tcout' utility 2069 *) 2070 paths=`echo "$PATH" | sed -e 's/:/ /g'` 2071 for tool in tput tcout; do 2072 for dir in $paths; do 2073 if test -r "$dir/$tool"; then 2074 for seq in bold md smso; do # 'smso' is last 2075 bold="`$dir/$tool $seq 2>/dev/null`" 2076 if test -n "$bold"; then 2077 term_bold="$bold" 2078 break 2079 fi 2080 done 2081 if test -n "$term_bold"; then 2082 for seq in sgr0 me rmso reset; do # 'reset' is last 2083 norm="`$dir/$tool $seq 2>/dev/null`" 2084 if test -n "$norm"; then 2085 term_norm="$norm" 2086 break 2087 fi 2088 done 2089 fi 2090 break 2091 fi 2092 done 2093 if test -n "$term_bold" && test -n "$term_norm"; then 2094 break 2095 fi 2096 done 2097 ;; 2098 esac 2099 2100 2101 { $as_echo "$as_me:${as_lineno-$LINENO}: ${term_bold}** GTK2 (Common)${term_norm}" >&5 2102$as_echo "$as_me: ${term_bold}** GTK2 (Common)${term_norm}" >&6;} 2103 2104 2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to remove colons from paths" >&5 2106$as_echo_n "checking how to remove colons from paths... " >&6; } 2107if ${cl_cv_decolonize+:} false; then : 2108 $as_echo_n "(cached) " >&6 2109else 2110 case $ac_cv_build in 2111 *-cygwin) cl_cv_decolonize='cygpath --unix $x' ;; 2112 *-mingw*) 2113 if test "$cross_compiling" = yes; then 2114 cl_cv_decolonize='cygpath --unix $x' 2115 else 2116 cl_cv_decolonize="echo \$x | sed -e 's,\\\\,/,g' -e 's,^\\(.\\):,/\1,'" 2117 fi 2118 ;; 2119 *) cl_cv_decolonize='echo $x' ;; 2120 esac 2121 2122fi 2123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_decolonize" >&5 2124$as_echo "$cl_cv_decolonize" >&6; } 2125 CLISP_DECOLONIZE=$cl_cv_decolonize 2126 2127 2128 2129 2130 2131# Check whether --with-clisp was given. 2132if test "${with_clisp+set}" = set; then : 2133 withval=$with_clisp; cl_use_clisp="$withval" 2134else 2135 cl_use_clisp=default 2136fi 2137 2138 cl_have_clisp=no 2139 if test "$cl_use_clisp" != "no"; then 2140 if test "$cl_use_clisp" = default -o "$cl_use_clisp" = yes; then 2141 # Extract the first word of "clisp", so it can be a program name with args. 2142set dummy clisp; ac_word=$2 2143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2144$as_echo_n "checking for $ac_word... " >&6; } 2145if ${ac_cv_path_cl_cv_clisp+:} false; then : 2146 $as_echo_n "(cached) " >&6 2147else 2148 case $cl_cv_clisp in 2149 [\\/]* | ?:[\\/]*) 2150 ac_cv_path_cl_cv_clisp="$cl_cv_clisp" # Let the user override the test with a path. 2151 ;; 2152 *) 2153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2154for as_dir in $PATH 2155do 2156 IFS=$as_save_IFS 2157 test -z "$as_dir" && as_dir=. 2158 for ac_exec_ext in '' $ac_executable_extensions; do 2159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2160 ac_cv_path_cl_cv_clisp="$as_dir/$ac_word$ac_exec_ext" 2161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2162 break 2 2163 fi 2164done 2165 done 2166IFS=$as_save_IFS 2167 2168 ;; 2169esac 2170fi 2171cl_cv_clisp=$ac_cv_path_cl_cv_clisp 2172if test -n "$cl_cv_clisp"; then 2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp" >&5 2174$as_echo "$cl_cv_clisp" >&6; } 2175else 2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2177$as_echo "no" >&6; } 2178fi 2179 2180 2181 else 2182 cl_cv_clisp="$cl_use_clisp" 2183 fi 2184 if test -n "$cl_cv_clisp"; then 2185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLISP version" >&5 2186$as_echo_n "checking for CLISP version... " >&6; } 2187if ${cl_cv_clisp_version+:} false; then : 2188 $as_echo_n "(cached) " >&6 2189else 2190 if $cl_cv_clisp --version 2>/dev/null | head -n 1 | grep "GNU CLISP" >/dev/null 2>&1; then 2191 cl_cv_clisp_version=`$cl_cv_clisp -q -norc -x '(lisp-implementation-version)' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'` 2192 else 2193 as_fn_error $? "'$cl_cv_clisp' is not a CLISP" "$LINENO" 5 2194 fi 2195 2196fi 2197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_version" >&5 2198$as_echo "$cl_cv_clisp_version" >&6; } 2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLISP libdir" >&5 2200$as_echo_n "checking for CLISP libdir... " >&6; } 2201if ${cl_cv_clisp_libdir+:} false; then : 2202 $as_echo_n "(cached) " >&6 2203else 2204 cl_cv_clisp_libdir=`$cl_cv_clisp -q -norc -x '(namestring *lib-directory*)' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'` 2205 x=$cl_cv_clisp_libdir 2206 cl_cv_clisp_libdir=`eval $cl_cv_decolonize` 2207 # cf src/clisp-link.in:linkkitdir 2208 missing='' 2209 for f in modules.c clisp.h; do 2210 test -r "${cl_cv_clisp_libdir}linkkit/$f" || missing=${missing}' '$f 2211 done 2212 test -n "${missing}" \ 2213 && as_fn_error $? "missing ${missing} in '${cl_cv_clisp_libdir}linkkit'" "$LINENO" 5 2214 2215fi 2216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_libdir" >&5 2217$as_echo "$cl_cv_clisp_libdir" >&6; } 2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLISP linking set" >&5 2219$as_echo_n "checking for CLISP linking set... " >&6; } 2220if ${cl_cv_clisp_linkset+:} false; then : 2221 $as_echo_n "(cached) " >&6 2222else 2223 cl_cv_clisp_linkset=`$cl_cv_clisp -q -norc -x '(sys::program-name)' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'` 2224 cl_cv_clisp_linkset=`dirname ${cl_cv_clisp_linkset}` 2225 missing='' 2226 # cf. src/clisp-link.in:check_linkset (we do not need to check for 2227 # lisp.run because cl_cv_clisp_linkset comes from SYS::PROGRAM-NAME) 2228 for f in lisp.a lispinit.mem modules.h modules.o makevars; do 2229 test -r "${cl_cv_clisp_linkset}/$f" || missing=${missing}' '$f 2230 done 2231 test -n "${missing}" \ 2232 && as_fn_error $? "missing ${missing} in '${cl_cv_clisp_linkset}'" "$LINENO" 5 2233 2234fi 2235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_linkset" >&5 2236$as_echo "$cl_cv_clisp_linkset" >&6; } 2237 CLISP=$cl_cv_clisp 2238 2239 CLISP_LIBDIR="${cl_cv_clisp_libdir}" 2240 2241 CLISP_LINKKIT="${cl_cv_clisp_libdir}linkkit" 2242 2243 sed 's/^/CLISP_/' ${cl_cv_clisp_linkset}/makevars > conftestvars 2244 . ./conftestvars 2245 rm -f conftestvars 2246 2247 2248 2249 2250 test -d "$cl_cv_clisp_libdir" -a -d "$cl_cv_clisp_linkset" && cl_have_clisp=yes 2251 fi 2252 fi 2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLISP" >&5 2254$as_echo_n "checking for CLISP... " >&6; } 2255if ${cl_cv_have_clisp+:} false; then : 2256 $as_echo_n "(cached) " >&6 2257else 2258 cl_cv_have_clisp=$cl_have_clisp 2259fi 2260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_have_clisp" >&5 2261$as_echo "$cl_cv_have_clisp" >&6; } 2262 required=true 2263 ${required} && test $cl_cv_have_clisp = no && as_fn_error $? "CLISP not found" "$LINENO" 5 2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFI in CLISP" >&5 2265$as_echo_n "checking for FFI in CLISP... " >&6; } 2266if ${cl_cv_clisp_FFI+:} false; then : 2267 $as_echo_n "(cached) " >&6 2268else 2269 cl_cv_clisp_FFI=`$cl_cv_clisp -q -norc -x '#+FFI "yes" #-FFI "no"' 2>/dev/null | sed -e 's/^"//' -e 's/"$//'` 2270fi 2271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_clisp_FFI" >&5 2272$as_echo "$cl_cv_clisp_FFI" >&6; } 2273 ${required} && test $cl_cv_clisp_FFI = no \ 2274 && as_fn_error $? "no FFI in CLISP" "$LINENO" 5 2275 2276 2277ac_aux_dir= 2278for ac_dir in $cl_cv_clisp_libdir/build-aux "$srcdir"/$cl_cv_clisp_libdir/build-aux; do 2279 if test -f "$ac_dir/install-sh"; then 2280 ac_aux_dir=$ac_dir 2281 ac_install_sh="$ac_aux_dir/install-sh -c" 2282 break 2283 elif test -f "$ac_dir/install.sh"; then 2284 ac_aux_dir=$ac_dir 2285 ac_install_sh="$ac_aux_dir/install.sh -c" 2286 break 2287 elif test -f "$ac_dir/shtool"; then 2288 ac_aux_dir=$ac_dir 2289 ac_install_sh="$ac_aux_dir/shtool install -c" 2290 break 2291 fi 2292done 2293if test -z "$ac_aux_dir"; then 2294 as_fn_error $? "cannot find install-sh, install.sh, or shtool in $cl_cv_clisp_libdir/build-aux \"$srcdir\"/$cl_cv_clisp_libdir/build-aux" "$LINENO" 5 2295fi 2296 2297# These three variables are undocumented and unsupported, 2298# and are intended to be withdrawn in a future Autoconf release. 2299# They can cause serious problems if a builder's source tree is in a directory 2300# whose full name contains unusual characters. 2301ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2302ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2303ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2304 2305 2306# Expand $ac_aux_dir to an absolute path. 2307am_aux_dir=`cd "$ac_aux_dir" && pwd` 2308 2309ac_ext=c 2310ac_cpp='$CPP $CPPFLAGS' 2311ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2312ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2313ac_compiler_gnu=$ac_cv_c_compiler_gnu 2314if test -n "$ac_tool_prefix"; then 2315 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2316set dummy ${ac_tool_prefix}gcc; ac_word=$2 2317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2318$as_echo_n "checking for $ac_word... " >&6; } 2319if ${ac_cv_prog_CC+:} false; then : 2320 $as_echo_n "(cached) " >&6 2321else 2322 if test -n "$CC"; then 2323 ac_cv_prog_CC="$CC" # Let the user override the test. 2324else 2325as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2326for as_dir in $PATH 2327do 2328 IFS=$as_save_IFS 2329 test -z "$as_dir" && as_dir=. 2330 for ac_exec_ext in '' $ac_executable_extensions; do 2331 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2332 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2334 break 2 2335 fi 2336done 2337 done 2338IFS=$as_save_IFS 2339 2340fi 2341fi 2342CC=$ac_cv_prog_CC 2343if test -n "$CC"; then 2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2345$as_echo "$CC" >&6; } 2346else 2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2348$as_echo "no" >&6; } 2349fi 2350 2351 2352fi 2353if test -z "$ac_cv_prog_CC"; then 2354 ac_ct_CC=$CC 2355 # Extract the first word of "gcc", so it can be a program name with args. 2356set dummy gcc; ac_word=$2 2357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2358$as_echo_n "checking for $ac_word... " >&6; } 2359if ${ac_cv_prog_ac_ct_CC+:} false; then : 2360 $as_echo_n "(cached) " >&6 2361else 2362 if test -n "$ac_ct_CC"; then 2363 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2364else 2365as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2366for as_dir in $PATH 2367do 2368 IFS=$as_save_IFS 2369 test -z "$as_dir" && as_dir=. 2370 for ac_exec_ext in '' $ac_executable_extensions; do 2371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2372 ac_cv_prog_ac_ct_CC="gcc" 2373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2374 break 2 2375 fi 2376done 2377 done 2378IFS=$as_save_IFS 2379 2380fi 2381fi 2382ac_ct_CC=$ac_cv_prog_ac_ct_CC 2383if test -n "$ac_ct_CC"; then 2384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2385$as_echo "$ac_ct_CC" >&6; } 2386else 2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2388$as_echo "no" >&6; } 2389fi 2390 2391 if test "x$ac_ct_CC" = x; then 2392 CC="" 2393 else 2394 case $cross_compiling:$ac_tool_warned in 2395yes:) 2396{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2397$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2398ac_tool_warned=yes ;; 2399esac 2400 CC=$ac_ct_CC 2401 fi 2402else 2403 CC="$ac_cv_prog_CC" 2404fi 2405 2406if test -z "$CC"; then 2407 if test -n "$ac_tool_prefix"; then 2408 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2409set dummy ${ac_tool_prefix}cc; ac_word=$2 2410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2411$as_echo_n "checking for $ac_word... " >&6; } 2412if ${ac_cv_prog_CC+:} false; then : 2413 $as_echo_n "(cached) " >&6 2414else 2415 if test -n "$CC"; then 2416 ac_cv_prog_CC="$CC" # Let the user override the test. 2417else 2418as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2419for as_dir in $PATH 2420do 2421 IFS=$as_save_IFS 2422 test -z "$as_dir" && as_dir=. 2423 for ac_exec_ext in '' $ac_executable_extensions; do 2424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2425 ac_cv_prog_CC="${ac_tool_prefix}cc" 2426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2427 break 2 2428 fi 2429done 2430 done 2431IFS=$as_save_IFS 2432 2433fi 2434fi 2435CC=$ac_cv_prog_CC 2436if test -n "$CC"; then 2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2438$as_echo "$CC" >&6; } 2439else 2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2441$as_echo "no" >&6; } 2442fi 2443 2444 2445 fi 2446fi 2447if test -z "$CC"; then 2448 # Extract the first word of "cc", so it can be a program name with args. 2449set dummy cc; ac_word=$2 2450{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2451$as_echo_n "checking for $ac_word... " >&6; } 2452if ${ac_cv_prog_CC+:} false; then : 2453 $as_echo_n "(cached) " >&6 2454else 2455 if test -n "$CC"; then 2456 ac_cv_prog_CC="$CC" # Let the user override the test. 2457else 2458 ac_prog_rejected=no 2459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2460for as_dir in $PATH 2461do 2462 IFS=$as_save_IFS 2463 test -z "$as_dir" && as_dir=. 2464 for ac_exec_ext in '' $ac_executable_extensions; do 2465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2466 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2467 ac_prog_rejected=yes 2468 continue 2469 fi 2470 ac_cv_prog_CC="cc" 2471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2472 break 2 2473 fi 2474done 2475 done 2476IFS=$as_save_IFS 2477 2478if test $ac_prog_rejected = yes; then 2479 # We found a bogon in the path, so make sure we never use it. 2480 set dummy $ac_cv_prog_CC 2481 shift 2482 if test $# != 0; then 2483 # We chose a different compiler from the bogus one. 2484 # However, it has the same basename, so the bogon will be chosen 2485 # first if we set CC to just the basename; use the full file name. 2486 shift 2487 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2488 fi 2489fi 2490fi 2491fi 2492CC=$ac_cv_prog_CC 2493if test -n "$CC"; then 2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2495$as_echo "$CC" >&6; } 2496else 2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2498$as_echo "no" >&6; } 2499fi 2500 2501 2502fi 2503if test -z "$CC"; then 2504 if test -n "$ac_tool_prefix"; then 2505 for ac_prog in cl.exe 2506 do 2507 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2508set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2510$as_echo_n "checking for $ac_word... " >&6; } 2511if ${ac_cv_prog_CC+:} false; then : 2512 $as_echo_n "(cached) " >&6 2513else 2514 if test -n "$CC"; then 2515 ac_cv_prog_CC="$CC" # Let the user override the test. 2516else 2517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2518for as_dir in $PATH 2519do 2520 IFS=$as_save_IFS 2521 test -z "$as_dir" && as_dir=. 2522 for ac_exec_ext in '' $ac_executable_extensions; do 2523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2524 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2526 break 2 2527 fi 2528done 2529 done 2530IFS=$as_save_IFS 2531 2532fi 2533fi 2534CC=$ac_cv_prog_CC 2535if test -n "$CC"; then 2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2537$as_echo "$CC" >&6; } 2538else 2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2540$as_echo "no" >&6; } 2541fi 2542 2543 2544 test -n "$CC" && break 2545 done 2546fi 2547if test -z "$CC"; then 2548 ac_ct_CC=$CC 2549 for ac_prog in cl.exe 2550do 2551 # Extract the first word of "$ac_prog", so it can be a program name with args. 2552set dummy $ac_prog; ac_word=$2 2553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2554$as_echo_n "checking for $ac_word... " >&6; } 2555if ${ac_cv_prog_ac_ct_CC+:} false; then : 2556 $as_echo_n "(cached) " >&6 2557else 2558 if test -n "$ac_ct_CC"; then 2559 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2560else 2561as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2562for as_dir in $PATH 2563do 2564 IFS=$as_save_IFS 2565 test -z "$as_dir" && as_dir=. 2566 for ac_exec_ext in '' $ac_executable_extensions; do 2567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2568 ac_cv_prog_ac_ct_CC="$ac_prog" 2569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2570 break 2 2571 fi 2572done 2573 done 2574IFS=$as_save_IFS 2575 2576fi 2577fi 2578ac_ct_CC=$ac_cv_prog_ac_ct_CC 2579if test -n "$ac_ct_CC"; then 2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2581$as_echo "$ac_ct_CC" >&6; } 2582else 2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2584$as_echo "no" >&6; } 2585fi 2586 2587 2588 test -n "$ac_ct_CC" && break 2589done 2590 2591 if test "x$ac_ct_CC" = x; then 2592 CC="" 2593 else 2594 case $cross_compiling:$ac_tool_warned in 2595yes:) 2596{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2597$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2598ac_tool_warned=yes ;; 2599esac 2600 CC=$ac_ct_CC 2601 fi 2602fi 2603 2604fi 2605 2606 2607test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2608$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2609as_fn_error $? "no acceptable C compiler found in \$PATH 2610See \`config.log' for more details" "$LINENO" 5; } 2611 2612# Provide some information about the compiler. 2613$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2614set X $ac_compile 2615ac_compiler=$2 2616for ac_option in --version -v -V -qversion; do 2617 { { ac_try="$ac_compiler $ac_option >&5" 2618case "(($ac_try" in 2619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2620 *) ac_try_echo=$ac_try;; 2621esac 2622eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2623$as_echo "$ac_try_echo"; } >&5 2624 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2625 ac_status=$? 2626 if test -s conftest.err; then 2627 sed '10a\ 2628... rest of stderr output deleted ... 2629 10q' conftest.err >conftest.er1 2630 cat conftest.er1 >&5 2631 fi 2632 rm -f conftest.er1 conftest.err 2633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2634 test $ac_status = 0; } 2635done 2636 2637cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2638/* end confdefs.h. */ 2639 2640int 2641main () 2642{ 2643 2644 ; 2645 return 0; 2646} 2647_ACEOF 2648ac_clean_files_save=$ac_clean_files 2649ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2650# Try to create an executable without -o first, disregard a.out. 2651# It will help us diagnose broken compilers, and finding out an intuition 2652# of exeext. 2653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2654$as_echo_n "checking whether the C compiler works... " >&6; } 2655ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2656 2657# The possible output files: 2658ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2659 2660ac_rmfiles= 2661for ac_file in $ac_files 2662do 2663 case $ac_file in 2664 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2665 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2666 esac 2667done 2668rm -f $ac_rmfiles 2669 2670if { { ac_try="$ac_link_default" 2671case "(($ac_try" in 2672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2673 *) ac_try_echo=$ac_try;; 2674esac 2675eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2676$as_echo "$ac_try_echo"; } >&5 2677 (eval "$ac_link_default") 2>&5 2678 ac_status=$? 2679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2680 test $ac_status = 0; }; then : 2681 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2682# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2683# in a Makefile. We should not override ac_cv_exeext if it was cached, 2684# so that the user can short-circuit this test for compilers unknown to 2685# Autoconf. 2686for ac_file in $ac_files '' 2687do 2688 test -f "$ac_file" || continue 2689 case $ac_file in 2690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2691 ;; 2692 [ab].out ) 2693 # We found the default executable, but exeext='' is most 2694 # certainly right. 2695 break;; 2696 *.* ) 2697 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2698 then :; else 2699 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2700 fi 2701 # We set ac_cv_exeext here because the later test for it is not 2702 # safe: cross compilers may not add the suffix if given an `-o' 2703 # argument, so we may need to know it at that point already. 2704 # Even if this section looks crufty: it has the advantage of 2705 # actually working. 2706 break;; 2707 * ) 2708 break;; 2709 esac 2710done 2711test "$ac_cv_exeext" = no && ac_cv_exeext= 2712 2713else 2714 ac_file='' 2715fi 2716if test -z "$ac_file"; then : 2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2718$as_echo "no" >&6; } 2719$as_echo "$as_me: failed program was:" >&5 2720sed 's/^/| /' conftest.$ac_ext >&5 2721 2722{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2723$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2724as_fn_error 77 "C compiler cannot create executables 2725See \`config.log' for more details" "$LINENO" 5; } 2726else 2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2728$as_echo "yes" >&6; } 2729fi 2730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2731$as_echo_n "checking for C compiler default output file name... " >&6; } 2732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2733$as_echo "$ac_file" >&6; } 2734ac_exeext=$ac_cv_exeext 2735 2736rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2737ac_clean_files=$ac_clean_files_save 2738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2739$as_echo_n "checking for suffix of executables... " >&6; } 2740if { { ac_try="$ac_link" 2741case "(($ac_try" in 2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2743 *) ac_try_echo=$ac_try;; 2744esac 2745eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2746$as_echo "$ac_try_echo"; } >&5 2747 (eval "$ac_link") 2>&5 2748 ac_status=$? 2749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2750 test $ac_status = 0; }; then : 2751 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2752# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2753# work properly (i.e., refer to `conftest.exe'), while it won't with 2754# `rm'. 2755for ac_file in conftest.exe conftest conftest.*; do 2756 test -f "$ac_file" || continue 2757 case $ac_file in 2758 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2759 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2760 break;; 2761 * ) break;; 2762 esac 2763done 2764else 2765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2766$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2767as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2768See \`config.log' for more details" "$LINENO" 5; } 2769fi 2770rm -f conftest conftest$ac_cv_exeext 2771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2772$as_echo "$ac_cv_exeext" >&6; } 2773 2774rm -f conftest.$ac_ext 2775EXEEXT=$ac_cv_exeext 2776ac_exeext=$EXEEXT 2777cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2778/* end confdefs.h. */ 2779#include <stdio.h> 2780int 2781main () 2782{ 2783FILE *f = fopen ("conftest.out", "w"); 2784 return ferror (f) || fclose (f) != 0; 2785 2786 ; 2787 return 0; 2788} 2789_ACEOF 2790ac_clean_files="$ac_clean_files conftest.out" 2791# Check that the compiler produces executables we can run. If not, either 2792# the compiler is broken, or we cross compile. 2793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2794$as_echo_n "checking whether we are cross compiling... " >&6; } 2795if test "$cross_compiling" != yes; then 2796 { { ac_try="$ac_link" 2797case "(($ac_try" in 2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2799 *) ac_try_echo=$ac_try;; 2800esac 2801eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2802$as_echo "$ac_try_echo"; } >&5 2803 (eval "$ac_link") 2>&5 2804 ac_status=$? 2805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2806 test $ac_status = 0; } 2807 if { ac_try='./conftest$ac_cv_exeext' 2808 { { case "(($ac_try" in 2809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2810 *) ac_try_echo=$ac_try;; 2811esac 2812eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2813$as_echo "$ac_try_echo"; } >&5 2814 (eval "$ac_try") 2>&5 2815 ac_status=$? 2816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2817 test $ac_status = 0; }; }; then 2818 cross_compiling=no 2819 else 2820 if test "$cross_compiling" = maybe; then 2821 cross_compiling=yes 2822 else 2823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2824$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2825as_fn_error $? "cannot run C compiled programs. 2826If you meant to cross compile, use \`--host'. 2827See \`config.log' for more details" "$LINENO" 5; } 2828 fi 2829 fi 2830fi 2831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2832$as_echo "$cross_compiling" >&6; } 2833 2834rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2835ac_clean_files=$ac_clean_files_save 2836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2837$as_echo_n "checking for suffix of object files... " >&6; } 2838if ${ac_cv_objext+:} false; then : 2839 $as_echo_n "(cached) " >&6 2840else 2841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2842/* end confdefs.h. */ 2843 2844int 2845main () 2846{ 2847 2848 ; 2849 return 0; 2850} 2851_ACEOF 2852rm -f conftest.o conftest.obj 2853if { { ac_try="$ac_compile" 2854case "(($ac_try" in 2855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2856 *) ac_try_echo=$ac_try;; 2857esac 2858eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2859$as_echo "$ac_try_echo"; } >&5 2860 (eval "$ac_compile") 2>&5 2861 ac_status=$? 2862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2863 test $ac_status = 0; }; then : 2864 for ac_file in conftest.o conftest.obj conftest.*; do 2865 test -f "$ac_file" || continue; 2866 case $ac_file in 2867 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2868 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2869 break;; 2870 esac 2871done 2872else 2873 $as_echo "$as_me: failed program was:" >&5 2874sed 's/^/| /' conftest.$ac_ext >&5 2875 2876{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2877$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2878as_fn_error $? "cannot compute suffix of object files: cannot compile 2879See \`config.log' for more details" "$LINENO" 5; } 2880fi 2881rm -f conftest.$ac_cv_objext conftest.$ac_ext 2882fi 2883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2884$as_echo "$ac_cv_objext" >&6; } 2885OBJEXT=$ac_cv_objext 2886ac_objext=$OBJEXT 2887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2888$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2889if ${ac_cv_c_compiler_gnu+:} false; then : 2890 $as_echo_n "(cached) " >&6 2891else 2892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2893/* end confdefs.h. */ 2894 2895int 2896main () 2897{ 2898#ifndef __GNUC__ 2899 choke me 2900#endif 2901 2902 ; 2903 return 0; 2904} 2905_ACEOF 2906if ac_fn_c_try_compile "$LINENO"; then : 2907 ac_compiler_gnu=yes 2908else 2909 ac_compiler_gnu=no 2910fi 2911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2912ac_cv_c_compiler_gnu=$ac_compiler_gnu 2913 2914fi 2915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2916$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2917if test $ac_compiler_gnu = yes; then 2918 GCC=yes 2919else 2920 GCC= 2921fi 2922ac_test_CFLAGS=${CFLAGS+set} 2923ac_save_CFLAGS=$CFLAGS 2924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2925$as_echo_n "checking whether $CC accepts -g... " >&6; } 2926if ${ac_cv_prog_cc_g+:} false; then : 2927 $as_echo_n "(cached) " >&6 2928else 2929 ac_save_c_werror_flag=$ac_c_werror_flag 2930 ac_c_werror_flag=yes 2931 ac_cv_prog_cc_g=no 2932 CFLAGS="-g" 2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2934/* end confdefs.h. */ 2935 2936int 2937main () 2938{ 2939 2940 ; 2941 return 0; 2942} 2943_ACEOF 2944if ac_fn_c_try_compile "$LINENO"; then : 2945 ac_cv_prog_cc_g=yes 2946else 2947 CFLAGS="" 2948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2949/* end confdefs.h. */ 2950 2951int 2952main () 2953{ 2954 2955 ; 2956 return 0; 2957} 2958_ACEOF 2959if ac_fn_c_try_compile "$LINENO"; then : 2960 2961else 2962 ac_c_werror_flag=$ac_save_c_werror_flag 2963 CFLAGS="-g" 2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2965/* end confdefs.h. */ 2966 2967int 2968main () 2969{ 2970 2971 ; 2972 return 0; 2973} 2974_ACEOF 2975if ac_fn_c_try_compile "$LINENO"; then : 2976 ac_cv_prog_cc_g=yes 2977fi 2978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2979fi 2980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2981fi 2982rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2983 ac_c_werror_flag=$ac_save_c_werror_flag 2984fi 2985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2986$as_echo "$ac_cv_prog_cc_g" >&6; } 2987if test "$ac_test_CFLAGS" = set; then 2988 CFLAGS=$ac_save_CFLAGS 2989elif test $ac_cv_prog_cc_g = yes; then 2990 if test "$GCC" = yes; then 2991 CFLAGS="-g -O2" 2992 else 2993 CFLAGS="-g" 2994 fi 2995else 2996 if test "$GCC" = yes; then 2997 CFLAGS="-O2" 2998 else 2999 CFLAGS= 3000 fi 3001fi 3002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3003$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3004if ${ac_cv_prog_cc_c89+:} false; then : 3005 $as_echo_n "(cached) " >&6 3006else 3007 ac_cv_prog_cc_c89=no 3008ac_save_CC=$CC 3009cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3010/* end confdefs.h. */ 3011#include <stdarg.h> 3012#include <stdio.h> 3013struct stat; 3014/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3015struct buf { int x; }; 3016FILE * (*rcsopen) (struct buf *, struct stat *, int); 3017static char *e (p, i) 3018 char **p; 3019 int i; 3020{ 3021 return p[i]; 3022} 3023static char *f (char * (*g) (char **, int), char **p, ...) 3024{ 3025 char *s; 3026 va_list v; 3027 va_start (v,p); 3028 s = g (p, va_arg (v,int)); 3029 va_end (v); 3030 return s; 3031} 3032 3033/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3034 function prototypes and stuff, but not '\xHH' hex character constants. 3035 These don't provoke an error unfortunately, instead are silently treated 3036 as 'x'. The following induces an error, until -std is added to get 3037 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3038 array size at least. It's necessary to write '\x00'==0 to get something 3039 that's true only with -std. */ 3040int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3041 3042/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3043 inside strings and character constants. */ 3044#define FOO(x) 'x' 3045int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3046 3047int test (int i, double x); 3048struct s1 {int (*f) (int a);}; 3049struct s2 {int (*f) (double a);}; 3050int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3051int argc; 3052char **argv; 3053int 3054main () 3055{ 3056return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3057 ; 3058 return 0; 3059} 3060_ACEOF 3061for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3062 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3063do 3064 CC="$ac_save_CC $ac_arg" 3065 if ac_fn_c_try_compile "$LINENO"; then : 3066 ac_cv_prog_cc_c89=$ac_arg 3067fi 3068rm -f core conftest.err conftest.$ac_objext 3069 test "x$ac_cv_prog_cc_c89" != "xno" && break 3070done 3071rm -f conftest.$ac_ext 3072CC=$ac_save_CC 3073 3074fi 3075# AC_CACHE_VAL 3076case "x$ac_cv_prog_cc_c89" in 3077 x) 3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3079$as_echo "none needed" >&6; } ;; 3080 xno) 3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3082$as_echo "unsupported" >&6; } ;; 3083 *) 3084 CC="$CC $ac_cv_prog_cc_c89" 3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3086$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3087esac 3088if test "x$ac_cv_prog_cc_c89" != xno; then : 3089 3090fi 3091 3092ac_ext=c 3093ac_cpp='$CPP $CPPFLAGS' 3094ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3095ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3096ac_compiler_gnu=$ac_cv_c_compiler_gnu 3097 3098ac_ext=c 3099ac_cpp='$CPP $CPPFLAGS' 3100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3101ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3102ac_compiler_gnu=$ac_cv_c_compiler_gnu 3103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3104$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3105if ${am_cv_prog_cc_c_o+:} false; then : 3106 $as_echo_n "(cached) " >&6 3107else 3108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3109/* end confdefs.h. */ 3110 3111int 3112main () 3113{ 3114 3115 ; 3116 return 0; 3117} 3118_ACEOF 3119 # Make sure it works both with $CC and with simple cc. 3120 # Following AC_PROG_CC_C_O, we do the test twice because some 3121 # compilers refuse to overwrite an existing .o file with -o, 3122 # though they will create one. 3123 am_cv_prog_cc_c_o=yes 3124 for am_i in 1 2; do 3125 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3126 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3127 ac_status=$? 3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3129 (exit $ac_status); } \ 3130 && test -f conftest2.$ac_objext; then 3131 : OK 3132 else 3133 am_cv_prog_cc_c_o=no 3134 break 3135 fi 3136 done 3137 rm -f core conftest* 3138 unset am_i 3139fi 3140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3141$as_echo "$am_cv_prog_cc_c_o" >&6; } 3142if test "$am_cv_prog_cc_c_o" != yes; then 3143 # Losing compiler, so override with the script. 3144 # FIXME: It is wrong to rewrite CC. 3145 # But if we don't then we get into trouble of one sort or another. 3146 # A longer-term fix would be to have automake use am__CC in this case, 3147 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3148 CC="$am_aux_dir/compile $CC" 3149fi 3150ac_ext=c 3151ac_cpp='$CPP $CPPFLAGS' 3152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3153ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3154ac_compiler_gnu=$ac_cv_c_compiler_gnu 3155 3156 3157ac_ext=c 3158ac_cpp='$CPP $CPPFLAGS' 3159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3161ac_compiler_gnu=$ac_cv_c_compiler_gnu 3162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3163$as_echo_n "checking how to run the C preprocessor... " >&6; } 3164# On Suns, sometimes $CPP names a directory. 3165if test -n "$CPP" && test -d "$CPP"; then 3166 CPP= 3167fi 3168if test -z "$CPP"; then 3169 if ${ac_cv_prog_CPP+:} false; then : 3170 $as_echo_n "(cached) " >&6 3171else 3172 # Double quotes because CPP needs to be expanded 3173 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3174 do 3175 ac_preproc_ok=false 3176for ac_c_preproc_warn_flag in '' yes 3177do 3178 # Use a header file that comes with gcc, so configuring glibc 3179 # with a fresh cross-compiler works. 3180 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3181 # <limits.h> exists even on freestanding compilers. 3182 # On the NeXT, cc -E runs the code through the compiler's parser, 3183 # not just through cpp. "Syntax error" is here to catch this case. 3184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3185/* end confdefs.h. */ 3186#ifdef __STDC__ 3187# include <limits.h> 3188#else 3189# include <assert.h> 3190#endif 3191 Syntax error 3192_ACEOF 3193if ac_fn_c_try_cpp "$LINENO"; then : 3194 3195else 3196 # Broken: fails on valid input. 3197continue 3198fi 3199rm -f conftest.err conftest.i conftest.$ac_ext 3200 3201 # OK, works on sane cases. Now check whether nonexistent headers 3202 # can be detected and how. 3203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3204/* end confdefs.h. */ 3205#include <ac_nonexistent.h> 3206_ACEOF 3207if ac_fn_c_try_cpp "$LINENO"; then : 3208 # Broken: success on invalid input. 3209continue 3210else 3211 # Passes both tests. 3212ac_preproc_ok=: 3213break 3214fi 3215rm -f conftest.err conftest.i conftest.$ac_ext 3216 3217done 3218# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3219rm -f conftest.i conftest.err conftest.$ac_ext 3220if $ac_preproc_ok; then : 3221 break 3222fi 3223 3224 done 3225 ac_cv_prog_CPP=$CPP 3226 3227fi 3228 CPP=$ac_cv_prog_CPP 3229else 3230 ac_cv_prog_CPP=$CPP 3231fi 3232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3233$as_echo "$CPP" >&6; } 3234ac_preproc_ok=false 3235for ac_c_preproc_warn_flag in '' yes 3236do 3237 # Use a header file that comes with gcc, so configuring glibc 3238 # with a fresh cross-compiler works. 3239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3240 # <limits.h> exists even on freestanding compilers. 3241 # On the NeXT, cc -E runs the code through the compiler's parser, 3242 # not just through cpp. "Syntax error" is here to catch this case. 3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3244/* end confdefs.h. */ 3245#ifdef __STDC__ 3246# include <limits.h> 3247#else 3248# include <assert.h> 3249#endif 3250 Syntax error 3251_ACEOF 3252if ac_fn_c_try_cpp "$LINENO"; then : 3253 3254else 3255 # Broken: fails on valid input. 3256continue 3257fi 3258rm -f conftest.err conftest.i conftest.$ac_ext 3259 3260 # OK, works on sane cases. Now check whether nonexistent headers 3261 # can be detected and how. 3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3263/* end confdefs.h. */ 3264#include <ac_nonexistent.h> 3265_ACEOF 3266if ac_fn_c_try_cpp "$LINENO"; then : 3267 # Broken: success on invalid input. 3268continue 3269else 3270 # Passes both tests. 3271ac_preproc_ok=: 3272break 3273fi 3274rm -f conftest.err conftest.i conftest.$ac_ext 3275 3276done 3277# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3278rm -f conftest.i conftest.err conftest.$ac_ext 3279if $ac_preproc_ok; then : 3280 3281else 3282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3283$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3284as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3285See \`config.log' for more details" "$LINENO" 5; } 3286fi 3287 3288ac_ext=c 3289ac_cpp='$CPP $CPPFLAGS' 3290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3292ac_compiler_gnu=$ac_cv_c_compiler_gnu 3293 3294 3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to make hard links" >&5 3296$as_echo_n "checking how to make hard links... " >&6; } 3297if ${cl_cv_prog_LN+:} false; then : 3298 $as_echo_n "(cached) " >&6 3299else 3300 rm -f conftestdata conftestfile 3301 echo data > conftestfile 3302 if ln conftestfile conftestdata 2>/dev/null; then 3303 cl_cv_prog_LN=ln 3304 else 3305 cl_cv_prog_LN="cp -p" 3306 fi 3307 rm -f conftestdata conftestfile 3308 3309fi 3310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_LN" >&5 3311$as_echo "$cl_cv_prog_LN" >&6; } 3312 LN="$cl_cv_prog_LN" 3313 3314 3315 3316 3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 3318$as_echo_n "checking whether ln -s works... " >&6; } 3319if ${cl_cv_prog_LN_S_works+:} false; then : 3320 $as_echo_n "(cached) " >&6 3321else 3322 rm -f conftestdata 3323 if ln -s X conftestdata 2>/dev/null; then 3324 cl_cv_prog_LN_S_works=yes 3325 else 3326 cl_cv_prog_LN_S_works=no 3327 fi 3328 rm -f conftestdata 3329 3330fi 3331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_LN_S_works" >&5 3332$as_echo "$cl_cv_prog_LN_S_works" >&6; } 3333 if test $cl_cv_prog_LN_S_works = yes; then 3334 LN_S="ln -s" 3335 else 3336 LN_S="$cl_cv_prog_LN" 3337 fi 3338 3339 3340 3341 3342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3343$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3344if ${ac_cv_path_GREP+:} false; then : 3345 $as_echo_n "(cached) " >&6 3346else 3347 if test -z "$GREP"; then 3348 ac_path_GREP_found=false 3349 # Loop through the user's path and test for each of PROGNAME-LIST 3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3351for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3352do 3353 IFS=$as_save_IFS 3354 test -z "$as_dir" && as_dir=. 3355 for ac_prog in grep ggrep; do 3356 for ac_exec_ext in '' $ac_executable_extensions; do 3357 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3358 as_fn_executable_p "$ac_path_GREP" || continue 3359# Check for GNU ac_path_GREP and select it if it is found. 3360 # Check for GNU $ac_path_GREP 3361case `"$ac_path_GREP" --version 2>&1` in 3362*GNU*) 3363 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3364*) 3365 ac_count=0 3366 $as_echo_n 0123456789 >"conftest.in" 3367 while : 3368 do 3369 cat "conftest.in" "conftest.in" >"conftest.tmp" 3370 mv "conftest.tmp" "conftest.in" 3371 cp "conftest.in" "conftest.nl" 3372 $as_echo 'GREP' >> "conftest.nl" 3373 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3374 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3375 as_fn_arith $ac_count + 1 && ac_count=$as_val 3376 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3377 # Best one so far, save it but keep looking for a better one 3378 ac_cv_path_GREP="$ac_path_GREP" 3379 ac_path_GREP_max=$ac_count 3380 fi 3381 # 10*(2^10) chars as input seems more than enough 3382 test $ac_count -gt 10 && break 3383 done 3384 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3385esac 3386 3387 $ac_path_GREP_found && break 3 3388 done 3389 done 3390 done 3391IFS=$as_save_IFS 3392 if test -z "$ac_cv_path_GREP"; then 3393 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3394 fi 3395else 3396 ac_cv_path_GREP=$GREP 3397fi 3398 3399fi 3400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3401$as_echo "$ac_cv_path_GREP" >&6; } 3402 GREP="$ac_cv_path_GREP" 3403 3404 3405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3406$as_echo_n "checking for egrep... " >&6; } 3407if ${ac_cv_path_EGREP+:} false; then : 3408 $as_echo_n "(cached) " >&6 3409else 3410 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3411 then ac_cv_path_EGREP="$GREP -E" 3412 else 3413 if test -z "$EGREP"; then 3414 ac_path_EGREP_found=false 3415 # Loop through the user's path and test for each of PROGNAME-LIST 3416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3417for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3418do 3419 IFS=$as_save_IFS 3420 test -z "$as_dir" && as_dir=. 3421 for ac_prog in egrep; do 3422 for ac_exec_ext in '' $ac_executable_extensions; do 3423 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3424 as_fn_executable_p "$ac_path_EGREP" || continue 3425# Check for GNU ac_path_EGREP and select it if it is found. 3426 # Check for GNU $ac_path_EGREP 3427case `"$ac_path_EGREP" --version 2>&1` in 3428*GNU*) 3429 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3430*) 3431 ac_count=0 3432 $as_echo_n 0123456789 >"conftest.in" 3433 while : 3434 do 3435 cat "conftest.in" "conftest.in" >"conftest.tmp" 3436 mv "conftest.tmp" "conftest.in" 3437 cp "conftest.in" "conftest.nl" 3438 $as_echo 'EGREP' >> "conftest.nl" 3439 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3440 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3441 as_fn_arith $ac_count + 1 && ac_count=$as_val 3442 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3443 # Best one so far, save it but keep looking for a better one 3444 ac_cv_path_EGREP="$ac_path_EGREP" 3445 ac_path_EGREP_max=$ac_count 3446 fi 3447 # 10*(2^10) chars as input seems more than enough 3448 test $ac_count -gt 10 && break 3449 done 3450 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3451esac 3452 3453 $ac_path_EGREP_found && break 3 3454 done 3455 done 3456 done 3457IFS=$as_save_IFS 3458 if test -z "$ac_cv_path_EGREP"; then 3459 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3460 fi 3461else 3462 ac_cv_path_EGREP=$EGREP 3463fi 3464 3465 fi 3466fi 3467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3468$as_echo "$ac_cv_path_EGREP" >&6; } 3469 EGREP="$ac_cv_path_EGREP" 3470 3471 3472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3473$as_echo_n "checking for ANSI C header files... " >&6; } 3474if ${ac_cv_header_stdc+:} false; then : 3475 $as_echo_n "(cached) " >&6 3476else 3477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3478/* end confdefs.h. */ 3479#include <stdlib.h> 3480#include <stdarg.h> 3481#include <string.h> 3482#include <float.h> 3483 3484int 3485main () 3486{ 3487 3488 ; 3489 return 0; 3490} 3491_ACEOF 3492if ac_fn_c_try_compile "$LINENO"; then : 3493 ac_cv_header_stdc=yes 3494else 3495 ac_cv_header_stdc=no 3496fi 3497rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3498 3499if test $ac_cv_header_stdc = yes; then 3500 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3502/* end confdefs.h. */ 3503#include <string.h> 3504 3505_ACEOF 3506if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3507 $EGREP "memchr" >/dev/null 2>&1; then : 3508 3509else 3510 ac_cv_header_stdc=no 3511fi 3512rm -f conftest* 3513 3514fi 3515 3516if test $ac_cv_header_stdc = yes; then 3517 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3519/* end confdefs.h. */ 3520#include <stdlib.h> 3521 3522_ACEOF 3523if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3524 $EGREP "free" >/dev/null 2>&1; then : 3525 3526else 3527 ac_cv_header_stdc=no 3528fi 3529rm -f conftest* 3530 3531fi 3532 3533if test $ac_cv_header_stdc = yes; then 3534 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3535 if test "$cross_compiling" = yes; then : 3536 : 3537else 3538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3539/* end confdefs.h. */ 3540#include <ctype.h> 3541#include <stdlib.h> 3542#if ((' ' & 0x0FF) == 0x020) 3543# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3544# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3545#else 3546# define ISLOWER(c) \ 3547 (('a' <= (c) && (c) <= 'i') \ 3548 || ('j' <= (c) && (c) <= 'r') \ 3549 || ('s' <= (c) && (c) <= 'z')) 3550# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3551#endif 3552 3553#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3554int 3555main () 3556{ 3557 int i; 3558 for (i = 0; i < 256; i++) 3559 if (XOR (islower (i), ISLOWER (i)) 3560 || toupper (i) != TOUPPER (i)) 3561 return 2; 3562 return 0; 3563} 3564_ACEOF 3565if ac_fn_c_try_run "$LINENO"; then : 3566 3567else 3568 ac_cv_header_stdc=no 3569fi 3570rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3571 conftest.$ac_objext conftest.beam conftest.$ac_ext 3572fi 3573 3574fi 3575fi 3576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3577$as_echo "$ac_cv_header_stdc" >&6; } 3578if test $ac_cv_header_stdc = yes; then 3579 3580$as_echo "#define STDC_HEADERS 1" >>confdefs.h 3581 3582fi 3583 3584# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3585for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3586 inttypes.h stdint.h unistd.h 3587do : 3588 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3589ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3590" 3591if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3592 cat >>confdefs.h <<_ACEOF 3593#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3594_ACEOF 3595 3596fi 3597 3598done 3599 3600 3601 3602 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 3603if test "x$ac_cv_header_minix_config_h" = xyes; then : 3604 MINIX=yes 3605else 3606 MINIX= 3607fi 3608 3609 3610 if test "$MINIX" = yes; then 3611 3612$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 3613 3614 3615$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 3616 3617 3618$as_echo "#define _MINIX 1" >>confdefs.h 3619 3620 3621$as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h 3622 3623 fi 3624 3625 3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 3627$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 3628if ${ac_cv_safe_to_define___extensions__+:} false; then : 3629 $as_echo_n "(cached) " >&6 3630else 3631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3632/* end confdefs.h. */ 3633 3634# define __EXTENSIONS__ 1 3635 $ac_includes_default 3636int 3637main () 3638{ 3639 3640 ; 3641 return 0; 3642} 3643_ACEOF 3644if ac_fn_c_try_compile "$LINENO"; then : 3645 ac_cv_safe_to_define___extensions__=yes 3646else 3647 ac_cv_safe_to_define___extensions__=no 3648fi 3649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3650fi 3651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 3652$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 3653 test $ac_cv_safe_to_define___extensions__ = yes && 3654 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 3655 3656 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 3657 3658 $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h 3659 3660 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 3661 3662 $as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h 3663 3664 $as_echo "#define _OPENBSD_SOURCE 1" >>confdefs.h 3665 3666 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 3667 3668 $as_echo "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h 3669 3670 $as_echo "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h 3671 3672 $as_echo "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h 3673 3674 $as_echo "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h 3675 3676 $as_echo "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h 3677 3678 $as_echo "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h 3679 3680 $as_echo "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h 3681 3682 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 3683 3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 3685$as_echo_n "checking whether _XOPEN_SOURCE should be defined... " >&6; } 3686if ${ac_cv_should_define__xopen_source+:} false; then : 3687 $as_echo_n "(cached) " >&6 3688else 3689 ac_cv_should_define__xopen_source=no 3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3691/* end confdefs.h. */ 3692 3693 #include <wchar.h> 3694 mbstate_t x; 3695int 3696main () 3697{ 3698 3699 ; 3700 return 0; 3701} 3702_ACEOF 3703if ac_fn_c_try_compile "$LINENO"; then : 3704 3705else 3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3707/* end confdefs.h. */ 3708 3709 #define _XOPEN_SOURCE 500 3710 #include <wchar.h> 3711 mbstate_t x; 3712int 3713main () 3714{ 3715 3716 ; 3717 return 0; 3718} 3719_ACEOF 3720if ac_fn_c_try_compile "$LINENO"; then : 3721 ac_cv_should_define__xopen_source=yes 3722fi 3723rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3724fi 3725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3726fi 3727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 3728$as_echo "$ac_cv_should_define__xopen_source" >&6; } 3729 test $ac_cv_should_define__xopen_source = yes && 3730 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h 3731 3732 $as_echo "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 3749 if test -n "$ac_tool_prefix"; then 3750 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 3751set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 3752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3753$as_echo_n "checking for $ac_word... " >&6; } 3754if ${ac_cv_path_PKG_CONFIG+:} false; then : 3755 $as_echo_n "(cached) " >&6 3756else 3757 case $PKG_CONFIG in 3758 [\\/]* | ?:[\\/]*) 3759 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 3760 ;; 3761 *) 3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3763for as_dir in $PATH 3764do 3765 IFS=$as_save_IFS 3766 test -z "$as_dir" && as_dir=. 3767 for ac_exec_ext in '' $ac_executable_extensions; do 3768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3769 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3771 break 2 3772 fi 3773done 3774 done 3775IFS=$as_save_IFS 3776 3777 ;; 3778esac 3779fi 3780PKG_CONFIG=$ac_cv_path_PKG_CONFIG 3781if test -n "$PKG_CONFIG"; then 3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 3783$as_echo "$PKG_CONFIG" >&6; } 3784else 3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3786$as_echo "no" >&6; } 3787fi 3788 3789 3790fi 3791if test -z "$ac_cv_path_PKG_CONFIG"; then 3792 ac_pt_PKG_CONFIG=$PKG_CONFIG 3793 # Extract the first word of "pkg-config", so it can be a program name with args. 3794set dummy pkg-config; ac_word=$2 3795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3796$as_echo_n "checking for $ac_word... " >&6; } 3797if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 3798 $as_echo_n "(cached) " >&6 3799else 3800 case $ac_pt_PKG_CONFIG in 3801 [\\/]* | ?:[\\/]*) 3802 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 3803 ;; 3804 *) 3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3806for as_dir in $PATH 3807do 3808 IFS=$as_save_IFS 3809 test -z "$as_dir" && as_dir=. 3810 for ac_exec_ext in '' $ac_executable_extensions; do 3811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3812 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3814 break 2 3815 fi 3816done 3817 done 3818IFS=$as_save_IFS 3819 3820 ;; 3821esac 3822fi 3823ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 3824if test -n "$ac_pt_PKG_CONFIG"; then 3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 3826$as_echo "$ac_pt_PKG_CONFIG" >&6; } 3827else 3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3829$as_echo "no" >&6; } 3830fi 3831 3832 if test "x$ac_pt_PKG_CONFIG" = x; then 3833 PKG_CONFIG="" 3834 else 3835 case $cross_compiling:$ac_tool_warned in 3836yes:) 3837{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3838$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3839ac_tool_warned=yes ;; 3840esac 3841 PKG_CONFIG=$ac_pt_PKG_CONFIG 3842 fi 3843else 3844 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 3845fi 3846 3847fi 3848if test -n "$PKG_CONFIG"; then 3849 _pkg_min_version=0.9.0 3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 3851$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 3852 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3854$as_echo "yes" >&6; } 3855 else 3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3857$as_echo "no" >&6; } 3858 PKG_CONFIG="" 3859 fi 3860 3861fi 3862# Check whether --enable-gtktest was given. 3863if test "${enable_gtktest+set}" = set; then : 3864 enableval=$enable_gtktest; 3865else 3866 enable_gtktest=yes 3867fi 3868 3869 3870 pkg_config_args=gtk+-2.0 3871 for module in . 3872 do 3873 case "$module" in 3874 gthread) 3875 pkg_config_args="$pkg_config_args gthread-2.0" 3876 ;; 3877 esac 3878 done 3879 3880 no_gtk="" 3881 3882 3883 3884 3885if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 3886 if test -n "$ac_tool_prefix"; then 3887 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 3888set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 3889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3890$as_echo_n "checking for $ac_word... " >&6; } 3891if ${ac_cv_path_PKG_CONFIG+:} false; then : 3892 $as_echo_n "(cached) " >&6 3893else 3894 case $PKG_CONFIG in 3895 [\\/]* | ?:[\\/]*) 3896 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 3897 ;; 3898 *) 3899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3900for as_dir in $PATH 3901do 3902 IFS=$as_save_IFS 3903 test -z "$as_dir" && as_dir=. 3904 for ac_exec_ext in '' $ac_executable_extensions; do 3905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3906 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3908 break 2 3909 fi 3910done 3911 done 3912IFS=$as_save_IFS 3913 3914 ;; 3915esac 3916fi 3917PKG_CONFIG=$ac_cv_path_PKG_CONFIG 3918if test -n "$PKG_CONFIG"; then 3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 3920$as_echo "$PKG_CONFIG" >&6; } 3921else 3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3923$as_echo "no" >&6; } 3924fi 3925 3926 3927fi 3928if test -z "$ac_cv_path_PKG_CONFIG"; then 3929 ac_pt_PKG_CONFIG=$PKG_CONFIG 3930 # Extract the first word of "pkg-config", so it can be a program name with args. 3931set dummy pkg-config; ac_word=$2 3932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3933$as_echo_n "checking for $ac_word... " >&6; } 3934if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 3935 $as_echo_n "(cached) " >&6 3936else 3937 case $ac_pt_PKG_CONFIG in 3938 [\\/]* | ?:[\\/]*) 3939 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 3940 ;; 3941 *) 3942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3943for as_dir in $PATH 3944do 3945 IFS=$as_save_IFS 3946 test -z "$as_dir" && as_dir=. 3947 for ac_exec_ext in '' $ac_executable_extensions; do 3948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3949 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3951 break 2 3952 fi 3953done 3954 done 3955IFS=$as_save_IFS 3956 3957 ;; 3958esac 3959fi 3960ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 3961if test -n "$ac_pt_PKG_CONFIG"; then 3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 3963$as_echo "$ac_pt_PKG_CONFIG" >&6; } 3964else 3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3966$as_echo "no" >&6; } 3967fi 3968 3969 if test "x$ac_pt_PKG_CONFIG" = x; then 3970 PKG_CONFIG="" 3971 else 3972 case $cross_compiling:$ac_tool_warned in 3973yes:) 3974{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3975$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3976ac_tool_warned=yes ;; 3977esac 3978 PKG_CONFIG=$ac_pt_PKG_CONFIG 3979 fi 3980else 3981 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 3982fi 3983 3984fi 3985if test -n "$PKG_CONFIG"; then 3986 _pkg_min_version=0.7 3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 3988$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 3989 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3991$as_echo "yes" >&6; } 3992 else 3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3994$as_echo "no" >&6; } 3995 PKG_CONFIG="" 3996 fi 3997 3998fi 3999 4000 min_gtk_version=2.0.0 4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5 4002$as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; } 4003 4004 if test x$PKG_CONFIG != xno ; then 4005 ## don't try to run the test against uninstalled libtool libs 4006 if $PKG_CONFIG --uninstalled $pkg_config_args; then 4007 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH" 4008 enable_gtktest=no 4009 fi 4010 4011 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then 4012 : 4013 else 4014 no_gtk=yes 4015 fi 4016 fi 4017 4018 if test x"$no_gtk" = x ; then 4019 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` 4020 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs` 4021 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ 4022 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` 4023 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ 4024 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` 4025 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \ 4026 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` 4027 if test "x$enable_gtktest" = "xyes" ; then 4028 ac_save_CFLAGS="$CFLAGS" 4029 ac_save_LIBS="$LIBS" 4030 CFLAGS="$CFLAGS $GTK_CFLAGS" 4031 LIBS="$GTK_LIBS $LIBS" 4032 rm -f conf.gtktest 4033 if test "$cross_compiling" = yes; then : 4034 echo $ac_n "cross compiling; assumed OK... $ac_c" 4035else 4036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4037/* end confdefs.h. */ 4038 4039#include <gtk/gtk.h> 4040#include <stdio.h> 4041#include <stdlib.h> 4042 4043int 4044main () 4045{ 4046 int major, minor, micro; 4047 char *tmp_version; 4048 4049 fclose (fopen ("conf.gtktest", "w")); 4050 4051 /* HP/UX 9 (%@#!) writes to sscanf strings */ 4052 tmp_version = g_strdup("$min_gtk_version"); 4053 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { 4054 printf("%s, bad version string\n", "$min_gtk_version"); 4055 exit(1); 4056 } 4057 4058 if ((gtk_major_version != $gtk_config_major_version) || 4059 (gtk_minor_version != $gtk_config_minor_version) || 4060 (gtk_micro_version != $gtk_config_micro_version)) 4061 { 4062 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n", 4063 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version, 4064 gtk_major_version, gtk_minor_version, gtk_micro_version); 4065 printf ("*** was found! If pkg-config was correct, then it is best\n"); 4066 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n"); 4067 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); 4068 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); 4069 printf("*** required on your system.\n"); 4070 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); 4071 printf("*** to point to the correct configuration files\n"); 4072 } 4073 else if ((gtk_major_version != GTK_MAJOR_VERSION) || 4074 (gtk_minor_version != GTK_MINOR_VERSION) || 4075 (gtk_micro_version != GTK_MICRO_VERSION)) 4076 { 4077 printf("*** GTK+ header files (version %d.%d.%d) do not match\n", 4078 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); 4079 printf("*** library (version %d.%d.%d)\n", 4080 gtk_major_version, gtk_minor_version, gtk_micro_version); 4081 } 4082 else 4083 { 4084 if ((gtk_major_version > major) || 4085 ((gtk_major_version == major) && (gtk_minor_version > minor)) || 4086 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro))) 4087 { 4088 return 0; 4089 } 4090 else 4091 { 4092 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n", 4093 gtk_major_version, gtk_minor_version, gtk_micro_version); 4094 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n", 4095 major, minor, micro); 4096 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n"); 4097 printf("***\n"); 4098 printf("*** If you have already installed a sufficiently new version, this error\n"); 4099 printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); 4100 printf("*** being found. The easiest way to fix this is to remove the old version\n"); 4101 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n"); 4102 printf("*** correct copy of pkg-config. (In this case, you will have to\n"); 4103 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); 4104 printf("*** so that the correct libraries are found at run-time))\n"); 4105 } 4106 } 4107 return 1; 4108} 4109 4110_ACEOF 4111if ac_fn_c_try_run "$LINENO"; then : 4112 4113else 4114 no_gtk=yes 4115fi 4116rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4117 conftest.$ac_objext conftest.beam conftest.$ac_ext 4118fi 4119 4120 CFLAGS="$ac_save_CFLAGS" 4121 LIBS="$ac_save_LIBS" 4122 fi 4123 fi 4124 if test "x$no_gtk" = x ; then 4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5 4126$as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; } 4127 : 4128 else 4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4130$as_echo "no" >&6; } 4131 if test "$PKG_CONFIG" = "no" ; then 4132 echo "*** A new enough version of pkg-config was not found." 4133 echo "*** See http://pkgconfig.sourceforge.net" 4134 else 4135 if test -f conf.gtktest ; then 4136 : 4137 else 4138 echo "*** Could not run GTK+ test program, checking why..." 4139 ac_save_CFLAGS="$CFLAGS" 4140 ac_save_LIBS="$LIBS" 4141 CFLAGS="$CFLAGS $GTK_CFLAGS" 4142 LIBS="$LIBS $GTK_LIBS" 4143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4144/* end confdefs.h. */ 4145 4146#include <gtk/gtk.h> 4147#include <stdio.h> 4148 4149int 4150main () 4151{ 4152 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); 4153 ; 4154 return 0; 4155} 4156_ACEOF 4157if ac_fn_c_try_link "$LINENO"; then : 4158 echo "*** The test program compiled, but did not run. This usually means" 4159 echo "*** that the run-time linker is not finding GTK+ or finding the wrong" 4160 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your" 4161 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" 4162 echo "*** to the installed location Also, make sure you have run ldconfig if that" 4163 echo "*** is required on your system" 4164 echo "***" 4165 echo "*** If you have an old version installed, it is best to remove it, although" 4166 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" 4167else 4168 echo "*** The test program failed to compile or link. See the file config.log for the" 4169 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed." 4170fi 4171rm -f core conftest.err conftest.$ac_objext \ 4172 conftest$ac_exeext conftest.$ac_ext 4173 CFLAGS="$ac_save_CFLAGS" 4174 LIBS="$ac_save_LIBS" 4175 fi 4176 fi 4177 GTK_CFLAGS="" 4178 GTK_LIBS="" 4179 as_fn_error $? "cannot find GTK2" "$LINENO" 5 4180 fi 4181 4182 4183 rm -f conf.gtktest 4184 4185 4186pkg_failed=no 4187{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGLADE" >&5 4188$as_echo_n "checking for LIBGLADE... " >&6; } 4189 4190if test -n "$LIBGLADE_CFLAGS"; then 4191 pkg_cv_LIBGLADE_CFLAGS="$LIBGLADE_CFLAGS" 4192 elif test -n "$PKG_CONFIG"; then 4193 if test -n "$PKG_CONFIG" && \ 4194 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0\""; } >&5 4195 ($PKG_CONFIG --exists --print-errors "libglade-2.0") 2>&5 4196 ac_status=$? 4197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4198 test $ac_status = 0; }; then 4199 pkg_cv_LIBGLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0" 2>/dev/null` 4200else 4201 pkg_failed=yes 4202fi 4203 else 4204 pkg_failed=untried 4205fi 4206if test -n "$LIBGLADE_LIBS"; then 4207 pkg_cv_LIBGLADE_LIBS="$LIBGLADE_LIBS" 4208 elif test -n "$PKG_CONFIG"; then 4209 if test -n "$PKG_CONFIG" && \ 4210 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0\""; } >&5 4211 ($PKG_CONFIG --exists --print-errors "libglade-2.0") 2>&5 4212 ac_status=$? 4213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4214 test $ac_status = 0; }; then 4215 pkg_cv_LIBGLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0" 2>/dev/null` 4216else 4217 pkg_failed=yes 4218fi 4219 else 4220 pkg_failed=untried 4221fi 4222 4223 4224 4225if test $pkg_failed = yes; then 4226 4227if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4228 _pkg_short_errors_supported=yes 4229else 4230 _pkg_short_errors_supported=no 4231fi 4232 if test $_pkg_short_errors_supported = yes; then 4233 LIBGLADE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libglade-2.0" 2>&1` 4234 else 4235 LIBGLADE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libglade-2.0" 2>&1` 4236 fi 4237 # Put the nasty error message in config.log where it belongs 4238 echo "$LIBGLADE_PKG_ERRORS" >&5 4239 4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4241$as_echo "no" >&6; } 4242 as_fn_error $? "cannot find LIBGLADE" "$LINENO" 5 4243elif test $pkg_failed = untried; then 4244 as_fn_error $? "cannot find LIBGLADE" "$LINENO" 5 4245else 4246 LIBGLADE_CFLAGS=$pkg_cv_LIBGLADE_CFLAGS 4247 LIBGLADE_LIBS=$pkg_cv_LIBGLADE_LIBS 4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4249$as_echo "yes" >&6; } 4250 : 4251fi 4252 4253 4254 4255 4256 { $as_echo "$as_me:${as_lineno-$LINENO}: ${term_bold}** GTK2 (Output)${term_norm}" >&5 4257$as_echo "$as_me: ${term_bold}** GTK2 (Output)${term_norm}" >&6;} 4258 4259ac_config_files="$ac_config_files Makefile link.sh" 4260 4261cat >confcache <<\_ACEOF 4262# This file is a shell script that caches the results of configure 4263# tests run on this system so they can be shared between configure 4264# scripts and configure runs, see configure's option --config-cache. 4265# It is not useful on other systems. If it contains results you don't 4266# want to keep, you may remove or edit it. 4267# 4268# config.status only pays attention to the cache file if you give it 4269# the --recheck option to rerun configure. 4270# 4271# `ac_cv_env_foo' variables (set or unset) will be overridden when 4272# loading this file, other *unset* `ac_cv_foo' will be assigned the 4273# following values. 4274 4275_ACEOF 4276 4277# The following way of writing the cache mishandles newlines in values, 4278# but we know of no workaround that is simple, portable, and efficient. 4279# So, we kill variables containing newlines. 4280# Ultrix sh set writes to stderr and can't be redirected directly, 4281# and sets the high bit in the cache file unless we assign to the vars. 4282( 4283 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4284 eval ac_val=\$$ac_var 4285 case $ac_val in #( 4286 *${as_nl}*) 4287 case $ac_var in #( 4288 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4289$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4290 esac 4291 case $ac_var in #( 4292 _ | IFS | as_nl) ;; #( 4293 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4294 *) { eval $ac_var=; unset $ac_var;} ;; 4295 esac ;; 4296 esac 4297 done 4298 4299 (set) 2>&1 | 4300 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4301 *${as_nl}ac_space=\ *) 4302 # `set' does not quote correctly, so add quotes: double-quote 4303 # substitution turns \\\\ into \\, and sed turns \\ into \. 4304 sed -n \ 4305 "s/'/'\\\\''/g; 4306 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4307 ;; #( 4308 *) 4309 # `set' quotes correctly as required by POSIX, so do not add quotes. 4310 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4311 ;; 4312 esac | 4313 sort 4314) | 4315 sed ' 4316 /^ac_cv_env_/b end 4317 t clear 4318 :clear 4319 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4320 t end 4321 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4322 :end' >>confcache 4323if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4324 if test -w "$cache_file"; then 4325 if test "x$cache_file" != "x/dev/null"; then 4326 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4327$as_echo "$as_me: updating cache $cache_file" >&6;} 4328 if test ! -f "$cache_file" || test -h "$cache_file"; then 4329 cat confcache >"$cache_file" 4330 else 4331 case $cache_file in #( 4332 */* | ?:*) 4333 mv -f confcache "$cache_file"$$ && 4334 mv -f "$cache_file"$$ "$cache_file" ;; #( 4335 *) 4336 mv -f confcache "$cache_file" ;; 4337 esac 4338 fi 4339 fi 4340 else 4341 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4342$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4343 fi 4344fi 4345rm -f confcache 4346 4347test "x$prefix" = xNONE && prefix=$ac_default_prefix 4348# Let make expand exec_prefix. 4349test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4350 4351DEFS=-DHAVE_CONFIG_H 4352 4353ac_libobjs= 4354ac_ltlibobjs= 4355U= 4356for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4357 # 1. Remove the extension, and $U if already installed. 4358 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4359 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4360 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4361 # will be set to the directory where LIBOBJS objects are built. 4362 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4363 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4364done 4365LIBOBJS=$ac_libobjs 4366 4367LTLIBOBJS=$ac_ltlibobjs 4368 4369 4370 4371: "${CONFIG_STATUS=./config.status}" 4372ac_write_fail=0 4373ac_clean_files_save=$ac_clean_files 4374ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4375{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4376$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4377as_write_fail=0 4378cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4379#! $SHELL 4380# Generated by $as_me. 4381# Run this file to recreate the current configuration. 4382# Compiler output produced by configure, useful for debugging 4383# configure, is in config.log if it exists. 4384 4385debug=false 4386ac_cs_recheck=false 4387ac_cs_silent=false 4388 4389SHELL=\${CONFIG_SHELL-$SHELL} 4390export SHELL 4391_ASEOF 4392cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4393## -------------------- ## 4394## M4sh Initialization. ## 4395## -------------------- ## 4396 4397# Be more Bourne compatible 4398DUALCASE=1; export DUALCASE # for MKS sh 4399if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4400 emulate sh 4401 NULLCMD=: 4402 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4403 # is contrary to our usage. Disable this feature. 4404 alias -g '${1+"$@"}'='"$@"' 4405 setopt NO_GLOB_SUBST 4406else 4407 case `(set -o) 2>/dev/null` in #( 4408 *posix*) : 4409 set -o posix ;; #( 4410 *) : 4411 ;; 4412esac 4413fi 4414 4415 4416as_nl=' 4417' 4418export as_nl 4419# Printing a long string crashes Solaris 7 /usr/bin/printf. 4420as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4421as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4422as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4423# Prefer a ksh shell builtin over an external printf program on Solaris, 4424# but without wasting forks for bash or zsh. 4425if test -z "$BASH_VERSION$ZSH_VERSION" \ 4426 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4427 as_echo='print -r --' 4428 as_echo_n='print -rn --' 4429elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4430 as_echo='printf %s\n' 4431 as_echo_n='printf %s' 4432else 4433 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4434 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4435 as_echo_n='/usr/ucb/echo -n' 4436 else 4437 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4438 as_echo_n_body='eval 4439 arg=$1; 4440 case $arg in #( 4441 *"$as_nl"*) 4442 expr "X$arg" : "X\\(.*\\)$as_nl"; 4443 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4444 esac; 4445 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4446 ' 4447 export as_echo_n_body 4448 as_echo_n='sh -c $as_echo_n_body as_echo' 4449 fi 4450 export as_echo_body 4451 as_echo='sh -c $as_echo_body as_echo' 4452fi 4453 4454# The user is always right. 4455if test "${PATH_SEPARATOR+set}" != set; then 4456 PATH_SEPARATOR=: 4457 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4458 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4459 PATH_SEPARATOR=';' 4460 } 4461fi 4462 4463 4464# IFS 4465# We need space, tab and new line, in precisely that order. Quoting is 4466# there to prevent editors from complaining about space-tab. 4467# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4468# splitting by setting IFS to empty value.) 4469IFS=" "" $as_nl" 4470 4471# Find who we are. Look in the path if we contain no directory separator. 4472as_myself= 4473case $0 in #(( 4474 *[\\/]* ) as_myself=$0 ;; 4475 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4476for as_dir in $PATH 4477do 4478 IFS=$as_save_IFS 4479 test -z "$as_dir" && as_dir=. 4480 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4481 done 4482IFS=$as_save_IFS 4483 4484 ;; 4485esac 4486# We did not find ourselves, most probably we were run as `sh COMMAND' 4487# in which case we are not to be found in the path. 4488if test "x$as_myself" = x; then 4489 as_myself=$0 4490fi 4491if test ! -f "$as_myself"; then 4492 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4493 exit 1 4494fi 4495 4496# Unset variables that we do not need and which cause bugs (e.g. in 4497# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4498# suppresses any "Segmentation fault" message there. '((' could 4499# trigger a bug in pdksh 5.2.14. 4500for as_var in BASH_ENV ENV MAIL MAILPATH 4501do eval test x\${$as_var+set} = xset \ 4502 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4503done 4504PS1='$ ' 4505PS2='> ' 4506PS4='+ ' 4507 4508# NLS nuisances. 4509LC_ALL=C 4510export LC_ALL 4511LANGUAGE=C 4512export LANGUAGE 4513 4514# CDPATH. 4515(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4516 4517 4518# as_fn_error STATUS ERROR [LINENO LOG_FD] 4519# ---------------------------------------- 4520# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4521# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4522# script with STATUS, using 1 if that was 0. 4523as_fn_error () 4524{ 4525 as_status=$1; test $as_status -eq 0 && as_status=1 4526 if test "$4"; then 4527 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4528 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4529 fi 4530 $as_echo "$as_me: error: $2" >&2 4531 as_fn_exit $as_status 4532} # as_fn_error 4533 4534 4535# as_fn_set_status STATUS 4536# ----------------------- 4537# Set $? to STATUS, without forking. 4538as_fn_set_status () 4539{ 4540 return $1 4541} # as_fn_set_status 4542 4543# as_fn_exit STATUS 4544# ----------------- 4545# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 4546as_fn_exit () 4547{ 4548 set +e 4549 as_fn_set_status $1 4550 exit $1 4551} # as_fn_exit 4552 4553# as_fn_unset VAR 4554# --------------- 4555# Portably unset VAR. 4556as_fn_unset () 4557{ 4558 { eval $1=; unset $1;} 4559} 4560as_unset=as_fn_unset 4561# as_fn_append VAR VALUE 4562# ---------------------- 4563# Append the text in VALUE to the end of the definition contained in VAR. Take 4564# advantage of any shell optimizations that allow amortized linear growth over 4565# repeated appends, instead of the typical quadratic growth present in naive 4566# implementations. 4567if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4568 eval 'as_fn_append () 4569 { 4570 eval $1+=\$2 4571 }' 4572else 4573 as_fn_append () 4574 { 4575 eval $1=\$$1\$2 4576 } 4577fi # as_fn_append 4578 4579# as_fn_arith ARG... 4580# ------------------ 4581# Perform arithmetic evaluation on the ARGs, and store the result in the 4582# global $as_val. Take advantage of shells that can avoid forks. The arguments 4583# must be portable across $(()) and expr. 4584if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4585 eval 'as_fn_arith () 4586 { 4587 as_val=$(( $* )) 4588 }' 4589else 4590 as_fn_arith () 4591 { 4592 as_val=`expr "$@" || test $? -eq 1` 4593 } 4594fi # as_fn_arith 4595 4596 4597if expr a : '\(a\)' >/dev/null 2>&1 && 4598 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4599 as_expr=expr 4600else 4601 as_expr=false 4602fi 4603 4604if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4605 as_basename=basename 4606else 4607 as_basename=false 4608fi 4609 4610if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4611 as_dirname=dirname 4612else 4613 as_dirname=false 4614fi 4615 4616as_me=`$as_basename -- "$0" || 4617$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4618 X"$0" : 'X\(//\)$' \| \ 4619 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4620$as_echo X/"$0" | 4621 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4622 s//\1/ 4623 q 4624 } 4625 /^X\/\(\/\/\)$/{ 4626 s//\1/ 4627 q 4628 } 4629 /^X\/\(\/\).*/{ 4630 s//\1/ 4631 q 4632 } 4633 s/.*/./; q'` 4634 4635# Avoid depending upon Character Ranges. 4636as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4637as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4638as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4639as_cr_digits='0123456789' 4640as_cr_alnum=$as_cr_Letters$as_cr_digits 4641 4642ECHO_C= ECHO_N= ECHO_T= 4643case `echo -n x` in #((((( 4644-n*) 4645 case `echo 'xy\c'` in 4646 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4647 xy) ECHO_C='\c';; 4648 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4649 ECHO_T=' ';; 4650 esac;; 4651*) 4652 ECHO_N='-n';; 4653esac 4654 4655rm -f conf$$ conf$$.exe conf$$.file 4656if test -d conf$$.dir; then 4657 rm -f conf$$.dir/conf$$.file 4658else 4659 rm -f conf$$.dir 4660 mkdir conf$$.dir 2>/dev/null 4661fi 4662if (echo >conf$$.file) 2>/dev/null; then 4663 if ln -s conf$$.file conf$$ 2>/dev/null; then 4664 as_ln_s='ln -s' 4665 # ... but there are two gotchas: 4666 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4667 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4668 # In both cases, we have to default to `cp -pR'. 4669 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4670 as_ln_s='cp -pR' 4671 elif ln conf$$.file conf$$ 2>/dev/null; then 4672 as_ln_s=ln 4673 else 4674 as_ln_s='cp -pR' 4675 fi 4676else 4677 as_ln_s='cp -pR' 4678fi 4679rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4680rmdir conf$$.dir 2>/dev/null 4681 4682 4683# as_fn_mkdir_p 4684# ------------- 4685# Create "$as_dir" as a directory, including parents if necessary. 4686as_fn_mkdir_p () 4687{ 4688 4689 case $as_dir in #( 4690 -*) as_dir=./$as_dir;; 4691 esac 4692 test -d "$as_dir" || eval $as_mkdir_p || { 4693 as_dirs= 4694 while :; do 4695 case $as_dir in #( 4696 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 4697 *) as_qdir=$as_dir;; 4698 esac 4699 as_dirs="'$as_qdir' $as_dirs" 4700 as_dir=`$as_dirname -- "$as_dir" || 4701$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4702 X"$as_dir" : 'X\(//\)[^/]' \| \ 4703 X"$as_dir" : 'X\(//\)$' \| \ 4704 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4705$as_echo X"$as_dir" | 4706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4707 s//\1/ 4708 q 4709 } 4710 /^X\(\/\/\)[^/].*/{ 4711 s//\1/ 4712 q 4713 } 4714 /^X\(\/\/\)$/{ 4715 s//\1/ 4716 q 4717 } 4718 /^X\(\/\).*/{ 4719 s//\1/ 4720 q 4721 } 4722 s/.*/./; q'` 4723 test -d "$as_dir" && break 4724 done 4725 test -z "$as_dirs" || eval "mkdir $as_dirs" 4726 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 4727 4728 4729} # as_fn_mkdir_p 4730if mkdir -p . 2>/dev/null; then 4731 as_mkdir_p='mkdir -p "$as_dir"' 4732else 4733 test -d ./-p && rmdir ./-p 4734 as_mkdir_p=false 4735fi 4736 4737 4738# as_fn_executable_p FILE 4739# ----------------------- 4740# Test if FILE is an executable regular file. 4741as_fn_executable_p () 4742{ 4743 test -f "$1" && test -x "$1" 4744} # as_fn_executable_p 4745as_test_x='test -x' 4746as_executable_p=as_fn_executable_p 4747 4748# Sed expression to map a string onto a valid CPP name. 4749as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4750 4751# Sed expression to map a string onto a valid variable name. 4752as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4753 4754 4755exec 6>&1 4756## ----------------------------------- ## 4757## Main body of $CONFIG_STATUS script. ## 4758## ----------------------------------- ## 4759_ASEOF 4760test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4761 4762cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4763# Save the log message, to keep $0 and so on meaningful, and to 4764# report actual input values of CONFIG_FILES etc. instead of their 4765# values after options handling. 4766ac_log=" 4767This file was extended by gtk2 $as_me 1.0, which was 4768generated by GNU Autoconf 2.69. Invocation command line was 4769 4770 CONFIG_FILES = $CONFIG_FILES 4771 CONFIG_HEADERS = $CONFIG_HEADERS 4772 CONFIG_LINKS = $CONFIG_LINKS 4773 CONFIG_COMMANDS = $CONFIG_COMMANDS 4774 $ $0 $@ 4775 4776on `(hostname || uname -n) 2>/dev/null | sed 1q` 4777" 4778 4779_ACEOF 4780 4781case $ac_config_files in *" 4782"*) set x $ac_config_files; shift; ac_config_files=$*;; 4783esac 4784 4785case $ac_config_headers in *" 4786"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 4787esac 4788 4789 4790cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4791# Files that config.status was made for. 4792config_files="$ac_config_files" 4793config_headers="$ac_config_headers" 4794 4795_ACEOF 4796 4797cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4798ac_cs_usage="\ 4799\`$as_me' instantiates files and other configuration actions 4800from templates according to the current configuration. Unless the files 4801and actions are specified as TAGs, all are instantiated by default. 4802 4803Usage: $0 [OPTION]... [TAG]... 4804 4805 -h, --help print this help, then exit 4806 -V, --version print version number and configuration settings, then exit 4807 --config print configuration, then exit 4808 -q, --quiet, --silent 4809 do not print progress messages 4810 -d, --debug don't remove temporary files 4811 --recheck update $as_me by reconfiguring in the same conditions 4812 --file=FILE[:TEMPLATE] 4813 instantiate the configuration file FILE 4814 --header=FILE[:TEMPLATE] 4815 instantiate the configuration header FILE 4816 4817Configuration files: 4818$config_files 4819 4820Configuration headers: 4821$config_headers 4822 4823Report bugs to <clisp-list>." 4824 4825_ACEOF 4826cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4827ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4828ac_cs_version="\\ 4829gtk2 config.status 1.0 4830configured by $0, generated by GNU Autoconf 2.69, 4831 with options \\"\$ac_cs_config\\" 4832 4833Copyright (C) 2012 Free Software Foundation, Inc. 4834This config.status script is free software; the Free Software Foundation 4835gives unlimited permission to copy, distribute and modify it." 4836 4837ac_pwd='$ac_pwd' 4838srcdir='$srcdir' 4839test -n "\$AWK" || AWK=awk 4840_ACEOF 4841 4842cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4843# The default lists apply if the user does not specify any file. 4844ac_need_defaults=: 4845while test $# != 0 4846do 4847 case $1 in 4848 --*=?*) 4849 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4850 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4851 ac_shift=: 4852 ;; 4853 --*=) 4854 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4855 ac_optarg= 4856 ac_shift=: 4857 ;; 4858 *) 4859 ac_option=$1 4860 ac_optarg=$2 4861 ac_shift=shift 4862 ;; 4863 esac 4864 4865 case $ac_option in 4866 # Handling of the options. 4867 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4868 ac_cs_recheck=: ;; 4869 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4870 $as_echo "$ac_cs_version"; exit ;; 4871 --config | --confi | --conf | --con | --co | --c ) 4872 $as_echo "$ac_cs_config"; exit ;; 4873 --debug | --debu | --deb | --de | --d | -d ) 4874 debug=: ;; 4875 --file | --fil | --fi | --f ) 4876 $ac_shift 4877 case $ac_optarg in 4878 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4879 '') as_fn_error $? "missing file argument" ;; 4880 esac 4881 as_fn_append CONFIG_FILES " '$ac_optarg'" 4882 ac_need_defaults=false;; 4883 --header | --heade | --head | --hea ) 4884 $ac_shift 4885 case $ac_optarg in 4886 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4887 esac 4888 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 4889 ac_need_defaults=false;; 4890 --he | --h) 4891 # Conflict between --help and --header 4892 as_fn_error $? "ambiguous option: \`$1' 4893Try \`$0 --help' for more information.";; 4894 --help | --hel | -h ) 4895 $as_echo "$ac_cs_usage"; exit ;; 4896 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4897 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4898 ac_cs_silent=: ;; 4899 4900 # This is an error. 4901 -*) as_fn_error $? "unrecognized option: \`$1' 4902Try \`$0 --help' for more information." ;; 4903 4904 *) as_fn_append ac_config_targets " $1" 4905 ac_need_defaults=false ;; 4906 4907 esac 4908 shift 4909done 4910 4911ac_configure_extra_args= 4912 4913if $ac_cs_silent; then 4914 exec 6>/dev/null 4915 ac_configure_extra_args="$ac_configure_extra_args --silent" 4916fi 4917 4918_ACEOF 4919cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4920if \$ac_cs_recheck; then 4921 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4922 shift 4923 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4924 CONFIG_SHELL='$SHELL' 4925 export CONFIG_SHELL 4926 exec "\$@" 4927fi 4928 4929_ACEOF 4930cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4931exec 5>>config.log 4932{ 4933 echo 4934 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4935## Running $as_me. ## 4936_ASBOX 4937 $as_echo "$ac_log" 4938} >&5 4939 4940_ACEOF 4941cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4942_ACEOF 4943 4944cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4945 4946# Handling of arguments. 4947for ac_config_target in $ac_config_targets 4948do 4949 case $ac_config_target in 4950 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 4951 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4952 "link.sh") CONFIG_FILES="$CONFIG_FILES link.sh" ;; 4953 4954 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4955 esac 4956done 4957 4958 4959# If the user did not use the arguments to specify the items to instantiate, 4960# then the envvar interface is used. Set only those that are not. 4961# We use the long form for the default assignment because of an extremely 4962# bizarre bug on SunOS 4.1.3. 4963if $ac_need_defaults; then 4964 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4965 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 4966fi 4967 4968# Have a temporary directory for convenience. Make it in the build tree 4969# simply because there is no reason against having it here, and in addition, 4970# creating and moving files from /tmp can sometimes cause problems. 4971# Hook for its removal unless debugging. 4972# Note that there is a small window in which the directory will not be cleaned: 4973# after its creation but before its name has been assigned to `$tmp'. 4974$debug || 4975{ 4976 tmp= ac_tmp= 4977 trap 'exit_status=$? 4978 : "${ac_tmp:=$tmp}" 4979 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4980' 0 4981 trap 'as_fn_exit 1' 1 2 13 15 4982} 4983# Create a (secure) tmp directory for tmp files. 4984 4985{ 4986 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4987 test -d "$tmp" 4988} || 4989{ 4990 tmp=./conf$$-$RANDOM 4991 (umask 077 && mkdir "$tmp") 4992} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4993ac_tmp=$tmp 4994 4995# Set up the scripts for CONFIG_FILES section. 4996# No need to generate them if there are no CONFIG_FILES. 4997# This happens for instance with `./config.status config.h'. 4998if test -n "$CONFIG_FILES"; then 4999 5000 5001ac_cr=`echo X | tr X '\015'` 5002# On cygwin, bash can eat \r inside `` if the user requested igncr. 5003# But we know of no other shell where ac_cr would be empty at this 5004# point, so we can use a bashism as a fallback. 5005if test "x$ac_cr" = x; then 5006 eval ac_cr=\$\'\\r\' 5007fi 5008ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 5009if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 5010 ac_cs_awk_cr='\\r' 5011else 5012 ac_cs_awk_cr=$ac_cr 5013fi 5014 5015echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 5016_ACEOF 5017 5018 5019{ 5020 echo "cat >conf$$subs.awk <<_ACEOF" && 5021 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 5022 echo "_ACEOF" 5023} >conf$$subs.sh || 5024 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5025ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 5026ac_delim='%!_!# ' 5027for ac_last_try in false false false false false :; do 5028 . ./conf$$subs.sh || 5029 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5030 5031 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 5032 if test $ac_delim_n = $ac_delim_num; then 5033 break 5034 elif $ac_last_try; then 5035 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 5036 else 5037 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5038 fi 5039done 5040rm -f conf$$subs.sh 5041 5042cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5043cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 5044_ACEOF 5045sed -n ' 5046h 5047s/^/S["/; s/!.*/"]=/ 5048p 5049g 5050s/^[^!]*!// 5051:repl 5052t repl 5053s/'"$ac_delim"'$// 5054t delim 5055:nl 5056h 5057s/\(.\{148\}\)..*/\1/ 5058t more1 5059s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 5060p 5061n 5062b repl 5063:more1 5064s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5065p 5066g 5067s/.\{148\}// 5068t nl 5069:delim 5070h 5071s/\(.\{148\}\)..*/\1/ 5072t more2 5073s/["\\]/\\&/g; s/^/"/; s/$/"/ 5074p 5075b 5076:more2 5077s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 5078p 5079g 5080s/.\{148\}// 5081t delim 5082' <conf$$subs.awk | sed ' 5083/^[^""]/{ 5084 N 5085 s/\n// 5086} 5087' >>$CONFIG_STATUS || ac_write_fail=1 5088rm -f conf$$subs.awk 5089cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5090_ACAWK 5091cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 5092 for (key in S) S_is_set[key] = 1 5093 FS = "" 5094 5095} 5096{ 5097 line = $ 0 5098 nfields = split(line, field, "@") 5099 substed = 0 5100 len = length(field[1]) 5101 for (i = 2; i < nfields; i++) { 5102 key = field[i] 5103 keylen = length(key) 5104 if (S_is_set[key]) { 5105 value = S[key] 5106 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 5107 len += length(value) + length(field[++i]) 5108 substed = 1 5109 } else 5110 len += 1 + keylen 5111 } 5112 5113 print line 5114} 5115 5116_ACAWK 5117_ACEOF 5118cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5119if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 5120 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 5121else 5122 cat 5123fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 5124 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 5125_ACEOF 5126 5127# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 5128# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 5129# trailing colons and then remove the whole line if VPATH becomes empty 5130# (actually we leave an empty line to preserve line numbers). 5131if test "x$srcdir" = x.; then 5132 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 5133h 5134s/// 5135s/^/:/ 5136s/[ ]*$/:/ 5137s/:\$(srcdir):/:/g 5138s/:\${srcdir}:/:/g 5139s/:@srcdir@:/:/g 5140s/^:*// 5141s/:*$// 5142x 5143s/\(=[ ]*\).*/\1/ 5144G 5145s/\n// 5146s/^[^=]*=[ ]*$// 5147}' 5148fi 5149 5150cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5151fi # test -n "$CONFIG_FILES" 5152 5153# Set up the scripts for CONFIG_HEADERS section. 5154# No need to generate them if there are no CONFIG_HEADERS. 5155# This happens for instance with `./config.status Makefile'. 5156if test -n "$CONFIG_HEADERS"; then 5157cat >"$ac_tmp/defines.awk" <<\_ACAWK || 5158BEGIN { 5159_ACEOF 5160 5161# Transform confdefs.h into an awk script `defines.awk', embedded as 5162# here-document in config.status, that substitutes the proper values into 5163# config.h.in to produce config.h. 5164 5165# Create a delimiter string that does not exist in confdefs.h, to ease 5166# handling of long lines. 5167ac_delim='%!_!# ' 5168for ac_last_try in false false :; do 5169 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 5170 if test -z "$ac_tt"; then 5171 break 5172 elif $ac_last_try; then 5173 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 5174 else 5175 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 5176 fi 5177done 5178 5179# For the awk script, D is an array of macro values keyed by name, 5180# likewise P contains macro parameters if any. Preserve backslash 5181# newline sequences. 5182 5183ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 5184sed -n ' 5185s/.\{148\}/&'"$ac_delim"'/g 5186t rset 5187:rset 5188s/^[ ]*#[ ]*define[ ][ ]*/ / 5189t def 5190d 5191:def 5192s/\\$// 5193t bsnl 5194s/["\\]/\\&/g 5195s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5196D["\1"]=" \3"/p 5197s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 5198d 5199:bsnl 5200s/["\\]/\\&/g 5201s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 5202D["\1"]=" \3\\\\\\n"\\/p 5203t cont 5204s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 5205t cont 5206d 5207:cont 5208n 5209s/.\{148\}/&'"$ac_delim"'/g 5210t clear 5211:clear 5212s/\\$// 5213t bsnlc 5214s/["\\]/\\&/g; s/^/"/; s/$/"/p 5215d 5216:bsnlc 5217s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 5218b cont 5219' <confdefs.h | sed ' 5220s/'"$ac_delim"'/"\\\ 5221"/g' >>$CONFIG_STATUS || ac_write_fail=1 5222 5223cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5224 for (key in D) D_is_set[key] = 1 5225 FS = "" 5226} 5227/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 5228 line = \$ 0 5229 split(line, arg, " ") 5230 if (arg[1] == "#") { 5231 defundef = arg[2] 5232 mac1 = arg[3] 5233 } else { 5234 defundef = substr(arg[1], 2) 5235 mac1 = arg[2] 5236 } 5237 split(mac1, mac2, "(") #) 5238 macro = mac2[1] 5239 prefix = substr(line, 1, index(line, defundef) - 1) 5240 if (D_is_set[macro]) { 5241 # Preserve the white space surrounding the "#". 5242 print prefix "define", macro P[macro] D[macro] 5243 next 5244 } else { 5245 # Replace #undef with comments. This is necessary, for example, 5246 # in the case of _POSIX_SOURCE, which is predefined and required 5247 # on some systems where configure will not decide to define it. 5248 if (defundef == "undef") { 5249 print "/*", prefix defundef, macro, "*/" 5250 next 5251 } 5252 } 5253} 5254{ print } 5255_ACAWK 5256_ACEOF 5257cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5258 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 5259fi # test -n "$CONFIG_HEADERS" 5260 5261 5262eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 5263shift 5264for ac_tag 5265do 5266 case $ac_tag in 5267 :[FHLC]) ac_mode=$ac_tag; continue;; 5268 esac 5269 case $ac_mode$ac_tag in 5270 :[FHL]*:*);; 5271 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5272 :[FH]-) ac_tag=-:-;; 5273 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5274 esac 5275 ac_save_IFS=$IFS 5276 IFS=: 5277 set x $ac_tag 5278 IFS=$ac_save_IFS 5279 shift 5280 ac_file=$1 5281 shift 5282 5283 case $ac_mode in 5284 :L) ac_source=$1;; 5285 :[FH]) 5286 ac_file_inputs= 5287 for ac_f 5288 do 5289 case $ac_f in 5290 -) ac_f="$ac_tmp/stdin";; 5291 *) # Look for the file first in the build tree, then in the source tree 5292 # (if the path is not absolute). The absolute path cannot be DOS-style, 5293 # because $ac_f cannot contain `:'. 5294 test -f "$ac_f" || 5295 case $ac_f in 5296 [\\/$]*) false;; 5297 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5298 esac || 5299 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5300 esac 5301 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5302 as_fn_append ac_file_inputs " '$ac_f'" 5303 done 5304 5305 # Let's still pretend it is `configure' which instantiates (i.e., don't 5306 # use $as_me), people would be surprised to read: 5307 # /* config.h. Generated by config.status. */ 5308 configure_input='Generated from '` 5309 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5310 `' by configure.' 5311 if test x"$ac_file" != x-; then 5312 configure_input="$ac_file. $configure_input" 5313 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5314$as_echo "$as_me: creating $ac_file" >&6;} 5315 fi 5316 # Neutralize special characters interpreted by sed in replacement strings. 5317 case $configure_input in #( 5318 *\&* | *\|* | *\\* ) 5319 ac_sed_conf_input=`$as_echo "$configure_input" | 5320 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5321 *) ac_sed_conf_input=$configure_input;; 5322 esac 5323 5324 case $ac_tag in 5325 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5326 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5327 esac 5328 ;; 5329 esac 5330 5331 ac_dir=`$as_dirname -- "$ac_file" || 5332$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5333 X"$ac_file" : 'X\(//\)[^/]' \| \ 5334 X"$ac_file" : 'X\(//\)$' \| \ 5335 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5336$as_echo X"$ac_file" | 5337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5338 s//\1/ 5339 q 5340 } 5341 /^X\(\/\/\)[^/].*/{ 5342 s//\1/ 5343 q 5344 } 5345 /^X\(\/\/\)$/{ 5346 s//\1/ 5347 q 5348 } 5349 /^X\(\/\).*/{ 5350 s//\1/ 5351 q 5352 } 5353 s/.*/./; q'` 5354 as_dir="$ac_dir"; as_fn_mkdir_p 5355 ac_builddir=. 5356 5357case "$ac_dir" in 5358.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5359*) 5360 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5361 # A ".." for each directory in $ac_dir_suffix. 5362 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5363 case $ac_top_builddir_sub in 5364 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5365 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5366 esac ;; 5367esac 5368ac_abs_top_builddir=$ac_pwd 5369ac_abs_builddir=$ac_pwd$ac_dir_suffix 5370# for backward compatibility: 5371ac_top_builddir=$ac_top_build_prefix 5372 5373case $srcdir in 5374 .) # We are building in place. 5375 ac_srcdir=. 5376 ac_top_srcdir=$ac_top_builddir_sub 5377 ac_abs_top_srcdir=$ac_pwd ;; 5378 [\\/]* | ?:[\\/]* ) # Absolute name. 5379 ac_srcdir=$srcdir$ac_dir_suffix; 5380 ac_top_srcdir=$srcdir 5381 ac_abs_top_srcdir=$srcdir ;; 5382 *) # Relative name. 5383 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5384 ac_top_srcdir=$ac_top_build_prefix$srcdir 5385 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5386esac 5387ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5388 5389 5390 case $ac_mode in 5391 :F) 5392 # 5393 # CONFIG_FILE 5394 # 5395 5396_ACEOF 5397 5398cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5399# If the template does not know about datarootdir, expand it. 5400# FIXME: This hack should be removed a few years after 2.60. 5401ac_datarootdir_hack=; ac_datarootdir_seen= 5402ac_sed_dataroot=' 5403/datarootdir/ { 5404 p 5405 q 5406} 5407/@datadir@/p 5408/@docdir@/p 5409/@infodir@/p 5410/@localedir@/p 5411/@mandir@/p' 5412case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5413*datarootdir*) ac_datarootdir_seen=yes;; 5414*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5416$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5417_ACEOF 5418cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5419 ac_datarootdir_hack=' 5420 s&@datadir@&$datadir&g 5421 s&@docdir@&$docdir&g 5422 s&@infodir@&$infodir&g 5423 s&@localedir@&$localedir&g 5424 s&@mandir@&$mandir&g 5425 s&\\\${datarootdir}&$datarootdir&g' ;; 5426esac 5427_ACEOF 5428 5429# Neutralize VPATH when `$srcdir' = `.'. 5430# Shell code in configure.ac might set extrasub. 5431# FIXME: do we really want to maintain this feature? 5432cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5433ac_sed_extra="$ac_vpsub 5434$extrasub 5435_ACEOF 5436cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5437:t 5438/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5439s|@configure_input@|$ac_sed_conf_input|;t t 5440s&@top_builddir@&$ac_top_builddir_sub&;t t 5441s&@top_build_prefix@&$ac_top_build_prefix&;t t 5442s&@srcdir@&$ac_srcdir&;t t 5443s&@abs_srcdir@&$ac_abs_srcdir&;t t 5444s&@top_srcdir@&$ac_top_srcdir&;t t 5445s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5446s&@builddir@&$ac_builddir&;t t 5447s&@abs_builddir@&$ac_abs_builddir&;t t 5448s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5449$ac_datarootdir_hack 5450" 5451eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 5452 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5453 5454test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5455 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5456 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5457 "$ac_tmp/out"`; test -z "$ac_out"; } && 5458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5459which seems to be undefined. Please make sure it is defined" >&5 5460$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5461which seems to be undefined. Please make sure it is defined" >&2;} 5462 5463 rm -f "$ac_tmp/stdin" 5464 case $ac_file in 5465 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5466 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 5467 esac \ 5468 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5469 ;; 5470 :H) 5471 # 5472 # CONFIG_HEADER 5473 # 5474 if test x"$ac_file" != x-; then 5475 { 5476 $as_echo "/* $configure_input */" \ 5477 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 5478 } >"$ac_tmp/config.h" \ 5479 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5480 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 5481 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 5482$as_echo "$as_me: $ac_file is unchanged" >&6;} 5483 else 5484 rm -f "$ac_file" 5485 mv "$ac_tmp/config.h" "$ac_file" \ 5486 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5487 fi 5488 else 5489 $as_echo "/* $configure_input */" \ 5490 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 5491 || as_fn_error $? "could not create -" "$LINENO" 5 5492 fi 5493# Compute "$ac_file"'s index in $config_headers. 5494_am_arg="$ac_file" 5495_am_stamp_count=1 5496for _am_header in $config_headers :; do 5497 case $_am_header in 5498 $_am_arg | $_am_arg:* ) 5499 break ;; 5500 * ) 5501 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 5502 esac 5503done 5504echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 5505$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5506 X"$_am_arg" : 'X\(//\)[^/]' \| \ 5507 X"$_am_arg" : 'X\(//\)$' \| \ 5508 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 5509$as_echo X"$_am_arg" | 5510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5511 s//\1/ 5512 q 5513 } 5514 /^X\(\/\/\)[^/].*/{ 5515 s//\1/ 5516 q 5517 } 5518 /^X\(\/\/\)$/{ 5519 s//\1/ 5520 q 5521 } 5522 /^X\(\/\).*/{ 5523 s//\1/ 5524 q 5525 } 5526 s/.*/./; q'`/stamp-h$_am_stamp_count 5527 ;; 5528 5529 5530 esac 5531 5532done # for ac_tag 5533 5534 5535as_fn_exit 0 5536_ACEOF 5537ac_clean_files=$ac_clean_files_save 5538 5539test $ac_write_fail = 0 || 5540 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 5541 5542 5543# configure is writing to config.log, and then calls config.status. 5544# config.status does its own redirection, appending to config.log. 5545# Unfortunately, on DOS this fails, as config.log is still kept open 5546# by configure, so config.status won't be able to write to it; its 5547# output is simply discarded. So we exec the FD to /dev/null, 5548# effectively closing config.log, so it can be properly (re)opened and 5549# appended to by config.status. When coming back to configure, we 5550# need to make the FD available again. 5551if test "$no_create" != yes; then 5552 ac_cs_success=: 5553 ac_config_status_args= 5554 test "$silent" = yes && 5555 ac_config_status_args="$ac_config_status_args --quiet" 5556 exec 5>/dev/null 5557 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5558 exec 5>>config.log 5559 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5560 # would make configure fail if this is the last instruction. 5561 $ac_cs_success || as_fn_exit 1 5562fi 5563if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5565$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5566fi 5567 5568 5569 5570 { $as_echo "$as_me:${as_lineno-$LINENO}: ${term_bold}** GTK2 (Done)${term_norm}" >&5 5571$as_echo "$as_me: ${term_bold}** GTK2 (Done)${term_norm}" >&6;} 5572 5573