1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for gtkada 2016. 4# 5# Report bugs to <report@adacore.com>. 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" 201 if (eval "$as_required") 2>/dev/null; then : 202 as_have_required=yes 203else 204 as_have_required=no 205fi 206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 207 208else 209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 210as_found=false 211for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 212do 213 IFS=$as_save_IFS 214 test -z "$as_dir" && as_dir=. 215 as_found=: 216 case $as_dir in #( 217 /*) 218 for as_base in sh bash ksh sh5; do 219 # Try only shells that exist, to save several forks. 220 as_shell=$as_dir/$as_base 221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 223 CONFIG_SHELL=$as_shell as_have_required=yes 224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 225 break 2 226fi 227fi 228 done;; 229 esac 230 as_found=false 231done 232$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 234 CONFIG_SHELL=$SHELL as_have_required=yes 235fi; } 236IFS=$as_save_IFS 237 238 239 if test "x$CONFIG_SHELL" != x; then : 240 export CONFIG_SHELL 241 # We cannot yet assume a decent shell, so we have to provide a 242# neutralization value for shells without unset; and this also 243# works around shells that cannot unset nonexistent variables. 244# Preserve -v and -x to the replacement shell. 245BASH_ENV=/dev/null 246ENV=/dev/null 247(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 248case $- in # (((( 249 *v*x* | *x*v* ) as_opts=-vx ;; 250 *v* ) as_opts=-v ;; 251 *x* ) as_opts=-x ;; 252 * ) as_opts= ;; 253esac 254exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 255# Admittedly, this is quite paranoid, since all the known shells bail 256# out after a failed `exec'. 257$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 258exit 255 259fi 260 261 if test x$as_have_required = xno; then : 262 $as_echo "$0: This script requires a shell more modern than all" 263 $as_echo "$0: the shells that I found on your system." 264 if test x${ZSH_VERSION+set} = xset ; then 265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 266 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 267 else 268 $as_echo "$0: Please tell bug-autoconf@gnu.org and report@adacore.com 269$0: about your system, including any error possibly output 270$0: before this message. Then install a modern shell, or 271$0: manually run the script under such a shell if you do 272$0: 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='gtkada' 581PACKAGE_TARNAME='gtkada' 582PACKAGE_VERSION='2016' 583PACKAGE_STRING='gtkada 2016' 584PACKAGE_BUGREPORT='report@adacore.com' 585PACKAGE_URL='' 586 587ac_subst_vars='LTLIBOBJS 588LIBOBJS 589GL_CFLAGS_GPR 590GL_LIBS_GPR 591HAVE_OPENGL 592GL_CFLAGS 593GL_LIBS 594GTK_LIBS_GPR 595GTK_CFLAGS_GPR 596GTK_LIBS 597GTK_CFLAGS 598GTK_PREFIX 599PKG_CONFIG 600HAVE_GETTEXT 601GETTEXT_INTL 602USE_NLS 603BUILD_TYPE 604GPRINSTALL 605GPRBUILD 606ac_ct_OBJC 607OBJCFLAGS 608OBJC 609OBJEXT 610EXEEXT 611ac_ct_CC 612CPPFLAGS 613LDFLAGS 614CFLAGS 615CC 616NEED_OBJECTIVE_C 617TARGET_LFLAGS 618SO_OPTS 619SO_EXT 620BUILD_SHARED 621BUILD_STATIC 622OS_SPECIFIC_LINK_OPTIONS 623DEFAULT_LIBRARY_TYPE 624TARGET 625target_os 626target_vendor 627target_cpu 628target 629host_os 630host_vendor 631host_cpu 632host 633build_os 634build_vendor 635build_cpu 636build 637target_alias 638host_alias 639build_alias 640LIBS 641ECHO_T 642ECHO_N 643ECHO_C 644DEFS 645mandir 646localedir 647libdir 648psdir 649pdfdir 650dvidir 651htmldir 652infodir 653docdir 654oldincludedir 655includedir 656localstatedir 657sharedstatedir 658sysconfdir 659datadir 660datarootdir 661libexecdir 662sbindir 663bindir 664program_transform_name 665prefix 666exec_prefix 667PACKAGE_URL 668PACKAGE_BUGREPORT 669PACKAGE_STRING 670PACKAGE_VERSION 671PACKAGE_TARNAME 672PACKAGE_NAME 673PATH_SEPARATOR 674SHELL' 675ac_subst_files='' 676ac_user_opts=' 677enable_option_checking 678enable_static 679enable_shared 680enable_build 681enable_nls 682with_GL 683with_GL_prefix 684' 685 ac_precious_vars='build_alias 686host_alias 687target_alias 688CC 689CFLAGS 690LDFLAGS 691LIBS 692CPPFLAGS 693OBJC 694OBJCFLAGS' 695 696 697# Initialize some variables set by options. 698ac_init_help= 699ac_init_version=false 700ac_unrecognized_opts= 701ac_unrecognized_sep= 702# The variables have the same names as the options, with 703# dashes changed to underlines. 704cache_file=/dev/null 705exec_prefix=NONE 706no_create= 707no_recursion= 708prefix=NONE 709program_prefix=NONE 710program_suffix=NONE 711program_transform_name=s,x,x, 712silent= 713site= 714srcdir= 715verbose= 716x_includes=NONE 717x_libraries=NONE 718 719# Installation directory options. 720# These are left unexpanded so users can "make install exec_prefix=/foo" 721# and all the variables that are supposed to be based on exec_prefix 722# by default will actually change. 723# Use braces instead of parens because sh, perl, etc. also accept them. 724# (The list follows the same order as the GNU Coding Standards.) 725bindir='${exec_prefix}/bin' 726sbindir='${exec_prefix}/sbin' 727libexecdir='${exec_prefix}/libexec' 728datarootdir='${prefix}/share' 729datadir='${datarootdir}' 730sysconfdir='${prefix}/etc' 731sharedstatedir='${prefix}/com' 732localstatedir='${prefix}/var' 733includedir='${prefix}/include' 734oldincludedir='/usr/include' 735docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 736infodir='${datarootdir}/info' 737htmldir='${docdir}' 738dvidir='${docdir}' 739pdfdir='${docdir}' 740psdir='${docdir}' 741libdir='${exec_prefix}/lib' 742localedir='${datarootdir}/locale' 743mandir='${datarootdir}/man' 744 745ac_prev= 746ac_dashdash= 747for ac_option 748do 749 # If the previous option needs an argument, assign it. 750 if test -n "$ac_prev"; then 751 eval $ac_prev=\$ac_option 752 ac_prev= 753 continue 754 fi 755 756 case $ac_option in 757 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 758 *=) ac_optarg= ;; 759 *) ac_optarg=yes ;; 760 esac 761 762 # Accept the important Cygnus configure options, so we can diagnose typos. 763 764 case $ac_dashdash$ac_option in 765 --) 766 ac_dashdash=yes ;; 767 768 -bindir | --bindir | --bindi | --bind | --bin | --bi) 769 ac_prev=bindir ;; 770 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 771 bindir=$ac_optarg ;; 772 773 -build | --build | --buil | --bui | --bu) 774 ac_prev=build_alias ;; 775 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 776 build_alias=$ac_optarg ;; 777 778 -cache-file | --cache-file | --cache-fil | --cache-fi \ 779 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 780 ac_prev=cache_file ;; 781 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 782 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 783 cache_file=$ac_optarg ;; 784 785 --config-cache | -C) 786 cache_file=config.cache ;; 787 788 -datadir | --datadir | --datadi | --datad) 789 ac_prev=datadir ;; 790 -datadir=* | --datadir=* | --datadi=* | --datad=*) 791 datadir=$ac_optarg ;; 792 793 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 794 | --dataroo | --dataro | --datar) 795 ac_prev=datarootdir ;; 796 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 797 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 798 datarootdir=$ac_optarg ;; 799 800 -disable-* | --disable-*) 801 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 802 # Reject names that are not valid shell variable names. 803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 804 as_fn_error $? "invalid feature name: $ac_useropt" 805 ac_useropt_orig=$ac_useropt 806 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 807 case $ac_user_opts in 808 *" 809"enable_$ac_useropt" 810"*) ;; 811 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 812 ac_unrecognized_sep=', ';; 813 esac 814 eval enable_$ac_useropt=no ;; 815 816 -docdir | --docdir | --docdi | --doc | --do) 817 ac_prev=docdir ;; 818 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 819 docdir=$ac_optarg ;; 820 821 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 822 ac_prev=dvidir ;; 823 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 824 dvidir=$ac_optarg ;; 825 826 -enable-* | --enable-*) 827 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 828 # Reject names that are not valid shell variable names. 829 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 830 as_fn_error $? "invalid feature name: $ac_useropt" 831 ac_useropt_orig=$ac_useropt 832 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 833 case $ac_user_opts in 834 *" 835"enable_$ac_useropt" 836"*) ;; 837 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 838 ac_unrecognized_sep=', ';; 839 esac 840 eval enable_$ac_useropt=\$ac_optarg ;; 841 842 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 843 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 844 | --exec | --exe | --ex) 845 ac_prev=exec_prefix ;; 846 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 847 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 848 | --exec=* | --exe=* | --ex=*) 849 exec_prefix=$ac_optarg ;; 850 851 -gas | --gas | --ga | --g) 852 # Obsolete; use --with-gas. 853 with_gas=yes ;; 854 855 -help | --help | --hel | --he | -h) 856 ac_init_help=long ;; 857 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 858 ac_init_help=recursive ;; 859 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 860 ac_init_help=short ;; 861 862 -host | --host | --hos | --ho) 863 ac_prev=host_alias ;; 864 -host=* | --host=* | --hos=* | --ho=*) 865 host_alias=$ac_optarg ;; 866 867 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 868 ac_prev=htmldir ;; 869 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 870 | --ht=*) 871 htmldir=$ac_optarg ;; 872 873 -includedir | --includedir | --includedi | --included | --include \ 874 | --includ | --inclu | --incl | --inc) 875 ac_prev=includedir ;; 876 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 877 | --includ=* | --inclu=* | --incl=* | --inc=*) 878 includedir=$ac_optarg ;; 879 880 -infodir | --infodir | --infodi | --infod | --info | --inf) 881 ac_prev=infodir ;; 882 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 883 infodir=$ac_optarg ;; 884 885 -libdir | --libdir | --libdi | --libd) 886 ac_prev=libdir ;; 887 -libdir=* | --libdir=* | --libdi=* | --libd=*) 888 libdir=$ac_optarg ;; 889 890 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 891 | --libexe | --libex | --libe) 892 ac_prev=libexecdir ;; 893 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 894 | --libexe=* | --libex=* | --libe=*) 895 libexecdir=$ac_optarg ;; 896 897 -localedir | --localedir | --localedi | --localed | --locale) 898 ac_prev=localedir ;; 899 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 900 localedir=$ac_optarg ;; 901 902 -localstatedir | --localstatedir | --localstatedi | --localstated \ 903 | --localstate | --localstat | --localsta | --localst | --locals) 904 ac_prev=localstatedir ;; 905 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 906 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 907 localstatedir=$ac_optarg ;; 908 909 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 910 ac_prev=mandir ;; 911 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 912 mandir=$ac_optarg ;; 913 914 -nfp | --nfp | --nf) 915 # Obsolete; use --without-fp. 916 with_fp=no ;; 917 918 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 919 | --no-cr | --no-c | -n) 920 no_create=yes ;; 921 922 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 923 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 924 no_recursion=yes ;; 925 926 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 927 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 928 | --oldin | --oldi | --old | --ol | --o) 929 ac_prev=oldincludedir ;; 930 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 931 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 932 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 933 oldincludedir=$ac_optarg ;; 934 935 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 936 ac_prev=prefix ;; 937 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 938 prefix=$ac_optarg ;; 939 940 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 941 | --program-pre | --program-pr | --program-p) 942 ac_prev=program_prefix ;; 943 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 944 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 945 program_prefix=$ac_optarg ;; 946 947 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 948 | --program-suf | --program-su | --program-s) 949 ac_prev=program_suffix ;; 950 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 951 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 952 program_suffix=$ac_optarg ;; 953 954 -program-transform-name | --program-transform-name \ 955 | --program-transform-nam | --program-transform-na \ 956 | --program-transform-n | --program-transform- \ 957 | --program-transform | --program-transfor \ 958 | --program-transfo | --program-transf \ 959 | --program-trans | --program-tran \ 960 | --progr-tra | --program-tr | --program-t) 961 ac_prev=program_transform_name ;; 962 -program-transform-name=* | --program-transform-name=* \ 963 | --program-transform-nam=* | --program-transform-na=* \ 964 | --program-transform-n=* | --program-transform-=* \ 965 | --program-transform=* | --program-transfor=* \ 966 | --program-transfo=* | --program-transf=* \ 967 | --program-trans=* | --program-tran=* \ 968 | --progr-tra=* | --program-tr=* | --program-t=*) 969 program_transform_name=$ac_optarg ;; 970 971 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 972 ac_prev=pdfdir ;; 973 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 974 pdfdir=$ac_optarg ;; 975 976 -psdir | --psdir | --psdi | --psd | --ps) 977 ac_prev=psdir ;; 978 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 979 psdir=$ac_optarg ;; 980 981 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 982 | -silent | --silent | --silen | --sile | --sil) 983 silent=yes ;; 984 985 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 986 ac_prev=sbindir ;; 987 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 988 | --sbi=* | --sb=*) 989 sbindir=$ac_optarg ;; 990 991 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 992 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 993 | --sharedst | --shareds | --shared | --share | --shar \ 994 | --sha | --sh) 995 ac_prev=sharedstatedir ;; 996 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 997 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 998 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 999 | --sha=* | --sh=*) 1000 sharedstatedir=$ac_optarg ;; 1001 1002 -site | --site | --sit) 1003 ac_prev=site ;; 1004 -site=* | --site=* | --sit=*) 1005 site=$ac_optarg ;; 1006 1007 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1008 ac_prev=srcdir ;; 1009 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1010 srcdir=$ac_optarg ;; 1011 1012 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1013 | --syscon | --sysco | --sysc | --sys | --sy) 1014 ac_prev=sysconfdir ;; 1015 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1016 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1017 sysconfdir=$ac_optarg ;; 1018 1019 -target | --target | --targe | --targ | --tar | --ta | --t) 1020 ac_prev=target_alias ;; 1021 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1022 target_alias=$ac_optarg ;; 1023 1024 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1025 verbose=yes ;; 1026 1027 -version | --version | --versio | --versi | --vers | -V) 1028 ac_init_version=: ;; 1029 1030 -with-* | --with-*) 1031 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1032 # Reject names that are not valid shell variable names. 1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1034 as_fn_error $? "invalid package name: $ac_useropt" 1035 ac_useropt_orig=$ac_useropt 1036 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1037 case $ac_user_opts in 1038 *" 1039"with_$ac_useropt" 1040"*) ;; 1041 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1042 ac_unrecognized_sep=', ';; 1043 esac 1044 eval with_$ac_useropt=\$ac_optarg ;; 1045 1046 -without-* | --without-*) 1047 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1048 # Reject names that are not valid shell variable names. 1049 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1050 as_fn_error $? "invalid package name: $ac_useropt" 1051 ac_useropt_orig=$ac_useropt 1052 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1053 case $ac_user_opts in 1054 *" 1055"with_$ac_useropt" 1056"*) ;; 1057 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1058 ac_unrecognized_sep=', ';; 1059 esac 1060 eval with_$ac_useropt=no ;; 1061 1062 --x) 1063 # Obsolete; use --with-x. 1064 with_x=yes ;; 1065 1066 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1067 | --x-incl | --x-inc | --x-in | --x-i) 1068 ac_prev=x_includes ;; 1069 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1070 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1071 x_includes=$ac_optarg ;; 1072 1073 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1074 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1075 ac_prev=x_libraries ;; 1076 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1077 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1078 x_libraries=$ac_optarg ;; 1079 1080 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1081Try \`$0 --help' for more information" 1082 ;; 1083 1084 *=*) 1085 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1086 # Reject names that are not valid shell variable names. 1087 case $ac_envvar in #( 1088 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1089 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1090 esac 1091 eval $ac_envvar=\$ac_optarg 1092 export $ac_envvar ;; 1093 1094 *) 1095 # FIXME: should be removed in autoconf 3.0. 1096 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1097 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1098 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1099 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1100 ;; 1101 1102 esac 1103done 1104 1105if test -n "$ac_prev"; then 1106 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1107 as_fn_error $? "missing argument to $ac_option" 1108fi 1109 1110if test -n "$ac_unrecognized_opts"; then 1111 case $enable_option_checking in 1112 no) ;; 1113 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1114 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1115 esac 1116fi 1117 1118# Check all directory arguments for consistency. 1119for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1120 datadir sysconfdir sharedstatedir localstatedir includedir \ 1121 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1122 libdir localedir mandir 1123do 1124 eval ac_val=\$$ac_var 1125 # Remove trailing slashes. 1126 case $ac_val in 1127 */ ) 1128 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1129 eval $ac_var=\$ac_val;; 1130 esac 1131 # Be sure to have absolute directory names. 1132 case $ac_val in 1133 [\\/$]* | ?:[\\/]* ) continue;; 1134 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1135 esac 1136 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1137done 1138 1139# There might be people who depend on the old broken behavior: `$host' 1140# used to hold the argument of --host etc. 1141# FIXME: To remove some day. 1142build=$build_alias 1143host=$host_alias 1144target=$target_alias 1145 1146# FIXME: To remove some day. 1147if test "x$host_alias" != x; then 1148 if test "x$build_alias" = x; then 1149 cross_compiling=maybe 1150 elif test "x$build_alias" != "x$host_alias"; then 1151 cross_compiling=yes 1152 fi 1153fi 1154 1155ac_tool_prefix= 1156test -n "$host_alias" && ac_tool_prefix=$host_alias- 1157 1158test "$silent" = yes && exec 6>/dev/null 1159 1160 1161ac_pwd=`pwd` && test -n "$ac_pwd" && 1162ac_ls_di=`ls -di .` && 1163ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1164 as_fn_error $? "working directory cannot be determined" 1165test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1166 as_fn_error $? "pwd does not report name of working directory" 1167 1168 1169# Find the source files, if location was not specified. 1170if test -z "$srcdir"; then 1171 ac_srcdir_defaulted=yes 1172 # Try the directory containing this script, then the parent directory. 1173 ac_confdir=`$as_dirname -- "$as_myself" || 1174$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1175 X"$as_myself" : 'X\(//\)[^/]' \| \ 1176 X"$as_myself" : 'X\(//\)$' \| \ 1177 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1178$as_echo X"$as_myself" | 1179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1180 s//\1/ 1181 q 1182 } 1183 /^X\(\/\/\)[^/].*/{ 1184 s//\1/ 1185 q 1186 } 1187 /^X\(\/\/\)$/{ 1188 s//\1/ 1189 q 1190 } 1191 /^X\(\/\).*/{ 1192 s//\1/ 1193 q 1194 } 1195 s/.*/./; q'` 1196 srcdir=$ac_confdir 1197 if test ! -r "$srcdir/$ac_unique_file"; then 1198 srcdir=.. 1199 fi 1200else 1201 ac_srcdir_defaulted=no 1202fi 1203if test ! -r "$srcdir/$ac_unique_file"; then 1204 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1205 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1206fi 1207ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1208ac_abs_confdir=`( 1209 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1210 pwd)` 1211# When building in place, set srcdir=. 1212if test "$ac_abs_confdir" = "$ac_pwd"; then 1213 srcdir=. 1214fi 1215# Remove unnecessary trailing slashes from srcdir. 1216# Double slashes in file names in object file debugging info 1217# mess up M-x gdb in Emacs. 1218case $srcdir in 1219*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1220esac 1221for ac_var in $ac_precious_vars; do 1222 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1223 eval ac_env_${ac_var}_value=\$${ac_var} 1224 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1225 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1226done 1227 1228# 1229# Report the --help message. 1230# 1231if test "$ac_init_help" = "long"; then 1232 # Omit some internal or obsolete options to make the list less imposing. 1233 # This message is too long to be a string in the A/UX 3.1 sh. 1234 cat <<_ACEOF 1235\`configure' configures gtkada 2016 to adapt to many kinds of systems. 1236 1237Usage: $0 [OPTION]... [VAR=VALUE]... 1238 1239To assign environment variables (e.g., CC, CFLAGS...), specify them as 1240VAR=VALUE. See below for descriptions of some of the useful variables. 1241 1242Defaults for the options are specified in brackets. 1243 1244Configuration: 1245 -h, --help display this help and exit 1246 --help=short display options specific to this package 1247 --help=recursive display the short help of all the included packages 1248 -V, --version display version information and exit 1249 -q, --quiet, --silent do not print \`checking ...' messages 1250 --cache-file=FILE cache test results in FILE [disabled] 1251 -C, --config-cache alias for \`--cache-file=config.cache' 1252 -n, --no-create do not create output files 1253 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1254 1255Installation directories: 1256 --prefix=PREFIX install architecture-independent files in PREFIX 1257 [$ac_default_prefix] 1258 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1259 [PREFIX] 1260 1261By default, \`make install' will install all the files in 1262\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1263an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1264for instance \`--prefix=\$HOME'. 1265 1266For better control, use the options below. 1267 1268Fine tuning of the installation directories: 1269 --bindir=DIR user executables [EPREFIX/bin] 1270 --sbindir=DIR system admin executables [EPREFIX/sbin] 1271 --libexecdir=DIR program executables [EPREFIX/libexec] 1272 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1273 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1274 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1275 --libdir=DIR object code libraries [EPREFIX/lib] 1276 --includedir=DIR C header files [PREFIX/include] 1277 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1278 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1279 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1280 --infodir=DIR info documentation [DATAROOTDIR/info] 1281 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1282 --mandir=DIR man documentation [DATAROOTDIR/man] 1283 --docdir=DIR documentation root [DATAROOTDIR/doc/gtkada] 1284 --htmldir=DIR html documentation [DOCDIR] 1285 --dvidir=DIR dvi documentation [DOCDIR] 1286 --pdfdir=DIR pdf documentation [DOCDIR] 1287 --psdir=DIR ps documentation [DOCDIR] 1288_ACEOF 1289 1290 cat <<\_ACEOF 1291 1292System types: 1293 --build=BUILD configure for building on BUILD [guessed] 1294 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1295 --target=TARGET configure for building compilers for TARGET [HOST] 1296_ACEOF 1297fi 1298 1299if test -n "$ac_init_help"; then 1300 case $ac_init_help in 1301 short | recursive ) echo "Configuration of gtkada 2016:";; 1302 esac 1303 cat <<\_ACEOF 1304 1305Optional Features: 1306 --disable-option-checking ignore unrecognized --enable/--with options 1307 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1308 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1309 --disable-static Disable building of static libraries. 1310 --enable-static Build static libraries (default). 1311 --disable-shared Disable building of shared libraries (default is to 1312 build them if supported on the target) 1313 --enable-shared Build shared libraries if supported on the target 1314 and make them preselected in project files (static 1315 libraries are preselected by default 1316 --enable-build=<type> Default build type for the library (Debug, 1317 Production) 1318 --disable-nls do not use Native Language Support 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-GL=value Which OpenGL library to compile GtkAda with (auto,GL,GL32,MesaGL,,no) 1324 --with-GL-prefix=DIR Prefix where GL/MesaGL is installed 1325 1326Some influential environment variables: 1327 CC C compiler command 1328 CFLAGS C compiler flags 1329 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1330 nonstandard directory <lib dir> 1331 LIBS libraries to pass to the linker, e.g. -l<library> 1332 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1333 you have headers in a nonstandard directory <include dir> 1334 OBJC Objective C compiler command 1335 OBJCFLAGS Objective C compiler flags 1336 1337Use these variables to override the choices made by `configure' or to help 1338it to find libraries and programs with nonstandard names/locations. 1339 1340Report bugs to <report@adacore.com>. 1341_ACEOF 1342ac_status=$? 1343fi 1344 1345if test "$ac_init_help" = "recursive"; then 1346 # If there are subdirs, report their specific --help. 1347 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1348 test -d "$ac_dir" || 1349 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1350 continue 1351 ac_builddir=. 1352 1353case "$ac_dir" in 1354.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1355*) 1356 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1357 # A ".." for each directory in $ac_dir_suffix. 1358 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1359 case $ac_top_builddir_sub in 1360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1362 esac ;; 1363esac 1364ac_abs_top_builddir=$ac_pwd 1365ac_abs_builddir=$ac_pwd$ac_dir_suffix 1366# for backward compatibility: 1367ac_top_builddir=$ac_top_build_prefix 1368 1369case $srcdir in 1370 .) # We are building in place. 1371 ac_srcdir=. 1372 ac_top_srcdir=$ac_top_builddir_sub 1373 ac_abs_top_srcdir=$ac_pwd ;; 1374 [\\/]* | ?:[\\/]* ) # Absolute name. 1375 ac_srcdir=$srcdir$ac_dir_suffix; 1376 ac_top_srcdir=$srcdir 1377 ac_abs_top_srcdir=$srcdir ;; 1378 *) # Relative name. 1379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1380 ac_top_srcdir=$ac_top_build_prefix$srcdir 1381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1382esac 1383ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1384 1385 cd "$ac_dir" || { ac_status=$?; continue; } 1386 # Check for guested configure. 1387 if test -f "$ac_srcdir/configure.gnu"; then 1388 echo && 1389 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1390 elif test -f "$ac_srcdir/configure"; then 1391 echo && 1392 $SHELL "$ac_srcdir/configure" --help=recursive 1393 else 1394 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1395 fi || ac_status=$? 1396 cd "$ac_pwd" || { ac_status=$?; break; } 1397 done 1398fi 1399 1400test -n "$ac_init_help" && exit $ac_status 1401if $ac_init_version; then 1402 cat <<\_ACEOF 1403gtkada configure 2016 1404generated by GNU Autoconf 2.69 1405 1406Copyright (C) 2012 Free Software Foundation, Inc. 1407This configure script is free software; the Free Software Foundation 1408gives unlimited permission to copy, distribute and modify it. 1409_ACEOF 1410 exit 1411fi 1412 1413## ------------------------ ## 1414## Autoconf initialization. ## 1415## ------------------------ ## 1416 1417# ac_fn_c_try_compile LINENO 1418# -------------------------- 1419# Try to compile conftest.$ac_ext, and return whether this succeeded. 1420ac_fn_c_try_compile () 1421{ 1422 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1423 rm -f conftest.$ac_objext 1424 if { { ac_try="$ac_compile" 1425case "(($ac_try" in 1426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1427 *) ac_try_echo=$ac_try;; 1428esac 1429eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1430$as_echo "$ac_try_echo"; } >&5 1431 (eval "$ac_compile") 2>conftest.err 1432 ac_status=$? 1433 if test -s conftest.err; then 1434 grep -v '^ *+' conftest.err >conftest.er1 1435 cat conftest.er1 >&5 1436 mv -f conftest.er1 conftest.err 1437 fi 1438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1439 test $ac_status = 0; } && { 1440 test -z "$ac_c_werror_flag" || 1441 test ! -s conftest.err 1442 } && test -s conftest.$ac_objext; then : 1443 ac_retval=0 1444else 1445 $as_echo "$as_me: failed program was:" >&5 1446sed 's/^/| /' conftest.$ac_ext >&5 1447 1448 ac_retval=1 1449fi 1450 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1451 as_fn_set_status $ac_retval 1452 1453} # ac_fn_c_try_compile 1454 1455# ac_fn_objc_try_compile LINENO 1456# ----------------------------- 1457# Try to compile conftest.$ac_ext, and return whether this succeeded. 1458ac_fn_objc_try_compile () 1459{ 1460 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1461 rm -f conftest.$ac_objext 1462 if { { ac_try="$ac_compile" 1463case "(($ac_try" in 1464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1465 *) ac_try_echo=$ac_try;; 1466esac 1467eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1468$as_echo "$ac_try_echo"; } >&5 1469 (eval "$ac_compile") 2>conftest.err 1470 ac_status=$? 1471 if test -s conftest.err; then 1472 grep -v '^ *+' conftest.err >conftest.er1 1473 cat conftest.er1 >&5 1474 mv -f conftest.er1 conftest.err 1475 fi 1476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1477 test $ac_status = 0; } && { 1478 test -z "$ac_objc_werror_flag" || 1479 test ! -s conftest.err 1480 } && test -s conftest.$ac_objext; then : 1481 ac_retval=0 1482else 1483 $as_echo "$as_me: failed program was:" >&5 1484sed 's/^/| /' conftest.$ac_ext >&5 1485 1486 ac_retval=1 1487fi 1488 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1489 as_fn_set_status $ac_retval 1490 1491} # ac_fn_objc_try_compile 1492 1493# ac_fn_c_try_link LINENO 1494# ----------------------- 1495# Try to link conftest.$ac_ext, and return whether this succeeded. 1496ac_fn_c_try_link () 1497{ 1498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1499 rm -f conftest.$ac_objext conftest$ac_exeext 1500 if { { ac_try="$ac_link" 1501case "(($ac_try" in 1502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1503 *) ac_try_echo=$ac_try;; 1504esac 1505eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1506$as_echo "$ac_try_echo"; } >&5 1507 (eval "$ac_link") 2>conftest.err 1508 ac_status=$? 1509 if test -s conftest.err; then 1510 grep -v '^ *+' conftest.err >conftest.er1 1511 cat conftest.er1 >&5 1512 mv -f conftest.er1 conftest.err 1513 fi 1514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1515 test $ac_status = 0; } && { 1516 test -z "$ac_c_werror_flag" || 1517 test ! -s conftest.err 1518 } && test -s conftest$ac_exeext && { 1519 test "$cross_compiling" = yes || 1520 test -x conftest$ac_exeext 1521 }; then : 1522 ac_retval=0 1523else 1524 $as_echo "$as_me: failed program was:" >&5 1525sed 's/^/| /' conftest.$ac_ext >&5 1526 1527 ac_retval=1 1528fi 1529 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1530 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1531 # interfere with the next link command; also delete a directory that is 1532 # left behind by Apple's compiler. We do this before executing the actions. 1533 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1534 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1535 as_fn_set_status $ac_retval 1536 1537} # ac_fn_c_try_link 1538cat >config.log <<_ACEOF 1539This file contains any messages produced by compilers while 1540running configure, to aid debugging if configure makes a mistake. 1541 1542It was created by gtkada $as_me 2016, which was 1543generated by GNU Autoconf 2.69. Invocation command line was 1544 1545 $ $0 $@ 1546 1547_ACEOF 1548exec 5>>config.log 1549{ 1550cat <<_ASUNAME 1551## --------- ## 1552## Platform. ## 1553## --------- ## 1554 1555hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1556uname -m = `(uname -m) 2>/dev/null || echo unknown` 1557uname -r = `(uname -r) 2>/dev/null || echo unknown` 1558uname -s = `(uname -s) 2>/dev/null || echo unknown` 1559uname -v = `(uname -v) 2>/dev/null || echo unknown` 1560 1561/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1562/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1563 1564/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1565/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1566/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1567/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1568/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1569/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1570/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1571 1572_ASUNAME 1573 1574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1575for as_dir in $PATH 1576do 1577 IFS=$as_save_IFS 1578 test -z "$as_dir" && as_dir=. 1579 $as_echo "PATH: $as_dir" 1580 done 1581IFS=$as_save_IFS 1582 1583} >&5 1584 1585cat >&5 <<_ACEOF 1586 1587 1588## ----------- ## 1589## Core tests. ## 1590## ----------- ## 1591 1592_ACEOF 1593 1594 1595# Keep a trace of the command line. 1596# Strip out --no-create and --no-recursion so they do not pile up. 1597# Strip out --silent because we don't want to record it for future runs. 1598# Also quote any args containing shell meta-characters. 1599# Make two passes to allow for proper duplicate-argument suppression. 1600ac_configure_args= 1601ac_configure_args0= 1602ac_configure_args1= 1603ac_must_keep_next=false 1604for ac_pass in 1 2 1605do 1606 for ac_arg 1607 do 1608 case $ac_arg in 1609 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1610 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1611 | -silent | --silent | --silen | --sile | --sil) 1612 continue ;; 1613 *\'*) 1614 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1615 esac 1616 case $ac_pass in 1617 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1618 2) 1619 as_fn_append ac_configure_args1 " '$ac_arg'" 1620 if test $ac_must_keep_next = true; then 1621 ac_must_keep_next=false # Got value, back to normal. 1622 else 1623 case $ac_arg in 1624 *=* | --config-cache | -C | -disable-* | --disable-* \ 1625 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1626 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1627 | -with-* | --with-* | -without-* | --without-* | --x) 1628 case "$ac_configure_args0 " in 1629 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1630 esac 1631 ;; 1632 -* ) ac_must_keep_next=true ;; 1633 esac 1634 fi 1635 as_fn_append ac_configure_args " '$ac_arg'" 1636 ;; 1637 esac 1638 done 1639done 1640{ ac_configure_args0=; unset ac_configure_args0;} 1641{ ac_configure_args1=; unset ac_configure_args1;} 1642 1643# When interrupted or exit'd, cleanup temporary files, and complete 1644# config.log. We remove comments because anyway the quotes in there 1645# would cause problems or look ugly. 1646# WARNING: Use '\'' to represent an apostrophe within the trap. 1647# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1648trap 'exit_status=$? 1649 # Save into config.log some information that might help in debugging. 1650 { 1651 echo 1652 1653 $as_echo "## ---------------- ## 1654## Cache variables. ## 1655## ---------------- ##" 1656 echo 1657 # The following way of writing the cache mishandles newlines in values, 1658( 1659 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1660 eval ac_val=\$$ac_var 1661 case $ac_val in #( 1662 *${as_nl}*) 1663 case $ac_var in #( 1664 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1665$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1666 esac 1667 case $ac_var in #( 1668 _ | IFS | as_nl) ;; #( 1669 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1670 *) { eval $ac_var=; unset $ac_var;} ;; 1671 esac ;; 1672 esac 1673 done 1674 (set) 2>&1 | 1675 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1676 *${as_nl}ac_space=\ *) 1677 sed -n \ 1678 "s/'\''/'\''\\\\'\'''\''/g; 1679 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1680 ;; #( 1681 *) 1682 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1683 ;; 1684 esac | 1685 sort 1686) 1687 echo 1688 1689 $as_echo "## ----------------- ## 1690## Output variables. ## 1691## ----------------- ##" 1692 echo 1693 for ac_var in $ac_subst_vars 1694 do 1695 eval ac_val=\$$ac_var 1696 case $ac_val in 1697 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1698 esac 1699 $as_echo "$ac_var='\''$ac_val'\''" 1700 done | sort 1701 echo 1702 1703 if test -n "$ac_subst_files"; then 1704 $as_echo "## ------------------- ## 1705## File substitutions. ## 1706## ------------------- ##" 1707 echo 1708 for ac_var in $ac_subst_files 1709 do 1710 eval ac_val=\$$ac_var 1711 case $ac_val in 1712 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1713 esac 1714 $as_echo "$ac_var='\''$ac_val'\''" 1715 done | sort 1716 echo 1717 fi 1718 1719 if test -s confdefs.h; then 1720 $as_echo "## ----------- ## 1721## confdefs.h. ## 1722## ----------- ##" 1723 echo 1724 cat confdefs.h 1725 echo 1726 fi 1727 test "$ac_signal" != 0 && 1728 $as_echo "$as_me: caught signal $ac_signal" 1729 $as_echo "$as_me: exit $exit_status" 1730 } >&5 1731 rm -f core *.core core.conftest.* && 1732 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1733 exit $exit_status 1734' 0 1735for ac_signal in 1 2 13 15; do 1736 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1737done 1738ac_signal=0 1739 1740# confdefs.h avoids OS command line length limits that DEFS can exceed. 1741rm -f -r conftest* confdefs.h 1742 1743$as_echo "/* confdefs.h */" > confdefs.h 1744 1745# Predefined preprocessor variables. 1746 1747cat >>confdefs.h <<_ACEOF 1748#define PACKAGE_NAME "$PACKAGE_NAME" 1749_ACEOF 1750 1751cat >>confdefs.h <<_ACEOF 1752#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1753_ACEOF 1754 1755cat >>confdefs.h <<_ACEOF 1756#define PACKAGE_VERSION "$PACKAGE_VERSION" 1757_ACEOF 1758 1759cat >>confdefs.h <<_ACEOF 1760#define PACKAGE_STRING "$PACKAGE_STRING" 1761_ACEOF 1762 1763cat >>confdefs.h <<_ACEOF 1764#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1765_ACEOF 1766 1767cat >>confdefs.h <<_ACEOF 1768#define PACKAGE_URL "$PACKAGE_URL" 1769_ACEOF 1770 1771 1772# Let the site file select an alternate cache file if it wants to. 1773# Prefer an explicitly selected file to automatically selected ones. 1774ac_site_file1=NONE 1775ac_site_file2=NONE 1776if test -n "$CONFIG_SITE"; then 1777 # We do not want a PATH search for config.site. 1778 case $CONFIG_SITE in #(( 1779 -*) ac_site_file1=./$CONFIG_SITE;; 1780 */*) ac_site_file1=$CONFIG_SITE;; 1781 *) ac_site_file1=./$CONFIG_SITE;; 1782 esac 1783elif test "x$prefix" != xNONE; then 1784 ac_site_file1=$prefix/share/config.site 1785 ac_site_file2=$prefix/etc/config.site 1786else 1787 ac_site_file1=$ac_default_prefix/share/config.site 1788 ac_site_file2=$ac_default_prefix/etc/config.site 1789fi 1790for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1791do 1792 test "x$ac_site_file" = xNONE && continue 1793 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1794 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1795$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1796 sed 's/^/| /' "$ac_site_file" >&5 1797 . "$ac_site_file" \ 1798 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1799$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1800as_fn_error $? "failed to load site script $ac_site_file 1801See \`config.log' for more details" "$LINENO" 5; } 1802 fi 1803done 1804 1805if test -r "$cache_file"; then 1806 # Some versions of bash will fail to source /dev/null (special files 1807 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1808 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1809 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1810$as_echo "$as_me: loading cache $cache_file" >&6;} 1811 case $cache_file in 1812 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1813 *) . "./$cache_file";; 1814 esac 1815 fi 1816else 1817 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1818$as_echo "$as_me: creating cache $cache_file" >&6;} 1819 >$cache_file 1820fi 1821 1822# Check that the precious variables saved in the cache have kept the same 1823# value. 1824ac_cache_corrupted=false 1825for ac_var in $ac_precious_vars; do 1826 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1827 eval ac_new_set=\$ac_env_${ac_var}_set 1828 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1829 eval ac_new_val=\$ac_env_${ac_var}_value 1830 case $ac_old_set,$ac_new_set in 1831 set,) 1832 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1833$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1834 ac_cache_corrupted=: ;; 1835 ,set) 1836 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1837$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1838 ac_cache_corrupted=: ;; 1839 ,);; 1840 *) 1841 if test "x$ac_old_val" != "x$ac_new_val"; then 1842 # differences in whitespace do not lead to failure. 1843 ac_old_val_w=`echo x $ac_old_val` 1844 ac_new_val_w=`echo x $ac_new_val` 1845 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1846 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1847$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1848 ac_cache_corrupted=: 1849 else 1850 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1851$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1852 eval $ac_var=\$ac_old_val 1853 fi 1854 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1855$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1856 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1857$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1858 fi;; 1859 esac 1860 # Pass precious variables to config.status. 1861 if test "$ac_new_set" = set; then 1862 case $ac_new_val in 1863 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1864 *) ac_arg=$ac_var=$ac_new_val ;; 1865 esac 1866 case " $ac_configure_args " in 1867 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1868 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1869 esac 1870 fi 1871done 1872if $ac_cache_corrupted; then 1873 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1874$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1875 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1876$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1877 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1878fi 1879## -------------------- ## 1880## Main body of script. ## 1881## -------------------- ## 1882 1883ac_ext=c 1884ac_cpp='$CPP $CPPFLAGS' 1885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1887ac_compiler_gnu=$ac_cv_c_compiler_gnu 1888 1889 1890ac_aux_dir= 1891for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1892 if test -f "$ac_dir/install-sh"; then 1893 ac_aux_dir=$ac_dir 1894 ac_install_sh="$ac_aux_dir/install-sh -c" 1895 break 1896 elif test -f "$ac_dir/install.sh"; then 1897 ac_aux_dir=$ac_dir 1898 ac_install_sh="$ac_aux_dir/install.sh -c" 1899 break 1900 elif test -f "$ac_dir/shtool"; then 1901 ac_aux_dir=$ac_dir 1902 ac_install_sh="$ac_aux_dir/shtool install -c" 1903 break 1904 fi 1905done 1906if test -z "$ac_aux_dir"; then 1907 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1908fi 1909 1910# These three variables are undocumented and unsupported, 1911# and are intended to be withdrawn in a future Autoconf release. 1912# They can cause serious problems if a builder's source tree is in a directory 1913# whose full name contains unusual characters. 1914ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1915ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1916ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1917 1918 1919# Make sure we can run config.sub. 1920$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 1921 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 1922 1923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 1924$as_echo_n "checking build system type... " >&6; } 1925if ${ac_cv_build+:} false; then : 1926 $as_echo_n "(cached) " >&6 1927else 1928 ac_build_alias=$build_alias 1929test "x$ac_build_alias" = x && 1930 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 1931test "x$ac_build_alias" = x && 1932 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 1933ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 1934 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 1935 1936fi 1937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 1938$as_echo "$ac_cv_build" >&6; } 1939case $ac_cv_build in 1940*-*-*) ;; 1941*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 1942esac 1943build=$ac_cv_build 1944ac_save_IFS=$IFS; IFS='-' 1945set x $ac_cv_build 1946shift 1947build_cpu=$1 1948build_vendor=$2 1949shift; shift 1950# Remember, the first character of IFS is used to create $*, 1951# except with old shells: 1952build_os=$* 1953IFS=$ac_save_IFS 1954case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 1955 1956 1957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 1958$as_echo_n "checking host system type... " >&6; } 1959if ${ac_cv_host+:} false; then : 1960 $as_echo_n "(cached) " >&6 1961else 1962 if test "x$host_alias" = x; then 1963 ac_cv_host=$ac_cv_build 1964else 1965 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 1966 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 1967fi 1968 1969fi 1970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 1971$as_echo "$ac_cv_host" >&6; } 1972case $ac_cv_host in 1973*-*-*) ;; 1974*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 1975esac 1976host=$ac_cv_host 1977ac_save_IFS=$IFS; IFS='-' 1978set x $ac_cv_host 1979shift 1980host_cpu=$1 1981host_vendor=$2 1982shift; shift 1983# Remember, the first character of IFS is used to create $*, 1984# except with old shells: 1985host_os=$* 1986IFS=$ac_save_IFS 1987case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 1988 1989 1990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 1991$as_echo_n "checking target system type... " >&6; } 1992if ${ac_cv_target+:} false; then : 1993 $as_echo_n "(cached) " >&6 1994else 1995 if test "x$target_alias" = x; then 1996 ac_cv_target=$ac_cv_host 1997else 1998 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || 1999 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 2000fi 2001 2002fi 2003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 2004$as_echo "$ac_cv_target" >&6; } 2005case $ac_cv_target in 2006*-*-*) ;; 2007*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 2008esac 2009target=$ac_cv_target 2010ac_save_IFS=$IFS; IFS='-' 2011set x $ac_cv_target 2012shift 2013target_cpu=$1 2014target_vendor=$2 2015shift; shift 2016# Remember, the first character of IFS is used to create $*, 2017# except with old shells: 2018target_os=$* 2019IFS=$ac_save_IFS 2020case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac 2021 2022 2023# The aliases save the names the user supplied, while $host etc. 2024# will get canonicalized. 2025test -n "$target_alias" && 2026 test "$program_prefix$program_suffix$program_transform_name" = \ 2027 NONENONEs,x,x, && 2028 program_prefix=${target_alias}- 2029 2030 2031TARGET="" 2032if test x$host != x$target ; then 2033 TARGET=${target} 2034fi 2035 2036 2037 2038 SO_EXT=.so 2039 SO_OPTS=-Wl,-soname, 2040 TARGET_LFLAGS= 2041 DEFAULT_LIBRARY_TYPE=static 2042 NEED_OBJECTIVE_C=no 2043 2044 # Check whether --enable-static was given. 2045if test "${enable_static+set}" = set; then : 2046 enableval=$enable_static; BUILD_STATIC=$enableval 2047 if test $enableval = no; then 2048 DEFAULT_LIBRARY_TYPE=relocatable 2049 fi 2050else 2051 BUILD_STATIC=yes 2052fi 2053 2054 2055 # Check whether --enable-shared was given. 2056if test "${enable_shared+set}" = set; then : 2057 enableval=$enable_shared; CAN_BUILD_SHARED=$enableval 2058 if test $enableval = yes; then 2059 DEFAULT_LIBRARY_TYPE=relocatable 2060 fi 2061else 2062 CAN_BUILD_SHARED=yes 2063fi 2064 2065 2066 BUILD_SHARED=$CAN_BUILD_SHARED 2067 2068 case $build_os in 2069 aix*) 2070 BUILD_SHARED=no 2071 OS_SPECIFIC_LINK_OPTIONS=-Wl,-bexpall,-berok 2072 TARGET_LFLAGS=-Wl,-bbigtoc 2073 SO_OPTS="-o " 2074 ;; 2075 hp*) 2076 SO_EXT=.sl 2077 SO_OPTS=-Wl,+h, 2078 BUILD_SHARED=no 2079 ;; 2080 *sysv4uw* | *sysv5uw*) 2081 SO_OPTS=-Wl,-h, 2082 BUILD_SHARED=no 2083 ;; 2084 *solaris*) 2085 SO_OPTS=-Wl,-h, 2086 ;; 2087 *irix*) 2088 ;; 2089 *osf*) 2090 OS_SPECIFIC_LINK_OPTIONS=-Wl,-expect_unresolved,\* 2091 ;; 2092 *mingw*) 2093 if test x$CAN_BUILD_SHARED = xyes ; then 2094 BUILD_SHARED=yes 2095 fi 2096 SO_EXT=.dll 2097 ac_tmp_GNATDIR=`which gcc | sed 's,/gcc$,,'` 2098 ac_GNATDIR=`cygpath --mixed $ac_tmp_GNATDIR` 2099 count=`cd $ac_GNATDIR; ls libgnat-*.dll | wc -l` 2100 if test $count -gt 1 ; then 2101 echo "Too many libgnat.dll, in $ac_GNATDIR" 2102 echo Found: `cd $ac_GNATDIR; ls libgnat-*.dll` 2103 exit 1 2104 fi 2105 ac_GNATLIB=`cd $ac_GNATDIR; ls libgnat-*.dll | sed 's,lib,,;s,.dll,,'` 2106 OS_SPECIFIC_LINK_OPTIONS=-Wl,-L$ac_GNATDIR,-l$ac_GNATLIB 2107 ;; 2108 *dragonfly*|*bsd*) 2109 if test x$CAN_BUILD_SHARED = xyes ; then 2110 BUILD_SHARED=yes 2111 fi 2112 ;; 2113 *darwin*) 2114 SO_EXT=.dylib 2115 NEED_OBJECTIVE_C=yes 2116 if test x$CAN_BUILD_SHARED = xyes ; then 2117 BUILD_SHARED=yes 2118 fi 2119 SO_OPTS="-Wl,-undefined,dynamic_lookup -dynamiclib -Wl,-dylib_install_name," 2120 LDFLAGS="-Wl,-framework,Cocoa" 2121 TARGET_LFLAGS="-Wl,-framework,Cocoa" 2122 ;; 2123 # ??? The following case has been introduced because of an elaboration 2124 # problem with the GtkAda dynamic library and GPS (see E511-010). This 2125 # is a workaround, and shall be removed as soon as the bug is fixed. 2126 *linux*) 2127 case $build_cpu in 2128 *ia64*) 2129 BUILD_SHARED=no 2130 ;; 2131 esac 2132 ;; 2133 esac 2134 2135 if test x$BUILD_SHARED = xno ; then 2136 DEFAULT_LIBRARY_TYPE=static 2137 fi 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151# checking for local tools 2152ac_ext=c 2153ac_cpp='$CPP $CPPFLAGS' 2154ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2155ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2156ac_compiler_gnu=$ac_cv_c_compiler_gnu 2157if test -n "$ac_tool_prefix"; then 2158 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2159set dummy ${ac_tool_prefix}gcc; ac_word=$2 2160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2161$as_echo_n "checking for $ac_word... " >&6; } 2162if ${ac_cv_prog_CC+:} false; then : 2163 $as_echo_n "(cached) " >&6 2164else 2165 if test -n "$CC"; then 2166 ac_cv_prog_CC="$CC" # Let the user override the test. 2167else 2168as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2169for as_dir in $PATH 2170do 2171 IFS=$as_save_IFS 2172 test -z "$as_dir" && as_dir=. 2173 for ac_exec_ext in '' $ac_executable_extensions; do 2174 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2175 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2177 break 2 2178 fi 2179done 2180 done 2181IFS=$as_save_IFS 2182 2183fi 2184fi 2185CC=$ac_cv_prog_CC 2186if test -n "$CC"; then 2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2188$as_echo "$CC" >&6; } 2189else 2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2191$as_echo "no" >&6; } 2192fi 2193 2194 2195fi 2196if test -z "$ac_cv_prog_CC"; then 2197 ac_ct_CC=$CC 2198 # Extract the first word of "gcc", so it can be a program name with args. 2199set dummy gcc; ac_word=$2 2200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2201$as_echo_n "checking for $ac_word... " >&6; } 2202if ${ac_cv_prog_ac_ct_CC+:} false; then : 2203 $as_echo_n "(cached) " >&6 2204else 2205 if test -n "$ac_ct_CC"; then 2206 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2207else 2208as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2209for as_dir in $PATH 2210do 2211 IFS=$as_save_IFS 2212 test -z "$as_dir" && as_dir=. 2213 for ac_exec_ext in '' $ac_executable_extensions; do 2214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2215 ac_cv_prog_ac_ct_CC="gcc" 2216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2217 break 2 2218 fi 2219done 2220 done 2221IFS=$as_save_IFS 2222 2223fi 2224fi 2225ac_ct_CC=$ac_cv_prog_ac_ct_CC 2226if test -n "$ac_ct_CC"; then 2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2228$as_echo "$ac_ct_CC" >&6; } 2229else 2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2231$as_echo "no" >&6; } 2232fi 2233 2234 if test "x$ac_ct_CC" = x; then 2235 CC="" 2236 else 2237 case $cross_compiling:$ac_tool_warned in 2238yes:) 2239{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2240$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2241ac_tool_warned=yes ;; 2242esac 2243 CC=$ac_ct_CC 2244 fi 2245else 2246 CC="$ac_cv_prog_CC" 2247fi 2248 2249if test -z "$CC"; then 2250 if test -n "$ac_tool_prefix"; then 2251 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2252set dummy ${ac_tool_prefix}cc; ac_word=$2 2253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2254$as_echo_n "checking for $ac_word... " >&6; } 2255if ${ac_cv_prog_CC+:} false; then : 2256 $as_echo_n "(cached) " >&6 2257else 2258 if test -n "$CC"; then 2259 ac_cv_prog_CC="$CC" # Let the user override the test. 2260else 2261as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2262for as_dir in $PATH 2263do 2264 IFS=$as_save_IFS 2265 test -z "$as_dir" && as_dir=. 2266 for ac_exec_ext in '' $ac_executable_extensions; do 2267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2268 ac_cv_prog_CC="${ac_tool_prefix}cc" 2269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2270 break 2 2271 fi 2272done 2273 done 2274IFS=$as_save_IFS 2275 2276fi 2277fi 2278CC=$ac_cv_prog_CC 2279if test -n "$CC"; then 2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2281$as_echo "$CC" >&6; } 2282else 2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2284$as_echo "no" >&6; } 2285fi 2286 2287 2288 fi 2289fi 2290if test -z "$CC"; then 2291 # Extract the first word of "cc", so it can be a program name with args. 2292set dummy cc; ac_word=$2 2293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2294$as_echo_n "checking for $ac_word... " >&6; } 2295if ${ac_cv_prog_CC+:} false; then : 2296 $as_echo_n "(cached) " >&6 2297else 2298 if test -n "$CC"; then 2299 ac_cv_prog_CC="$CC" # Let the user override the test. 2300else 2301 ac_prog_rejected=no 2302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2303for as_dir in $PATH 2304do 2305 IFS=$as_save_IFS 2306 test -z "$as_dir" && as_dir=. 2307 for ac_exec_ext in '' $ac_executable_extensions; do 2308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2309 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2310 ac_prog_rejected=yes 2311 continue 2312 fi 2313 ac_cv_prog_CC="cc" 2314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2315 break 2 2316 fi 2317done 2318 done 2319IFS=$as_save_IFS 2320 2321if test $ac_prog_rejected = yes; then 2322 # We found a bogon in the path, so make sure we never use it. 2323 set dummy $ac_cv_prog_CC 2324 shift 2325 if test $# != 0; then 2326 # We chose a different compiler from the bogus one. 2327 # However, it has the same basename, so the bogon will be chosen 2328 # first if we set CC to just the basename; use the full file name. 2329 shift 2330 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2331 fi 2332fi 2333fi 2334fi 2335CC=$ac_cv_prog_CC 2336if test -n "$CC"; then 2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2338$as_echo "$CC" >&6; } 2339else 2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2341$as_echo "no" >&6; } 2342fi 2343 2344 2345fi 2346if test -z "$CC"; then 2347 if test -n "$ac_tool_prefix"; then 2348 for ac_prog in cl.exe 2349 do 2350 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2351set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2353$as_echo_n "checking for $ac_word... " >&6; } 2354if ${ac_cv_prog_CC+:} false; then : 2355 $as_echo_n "(cached) " >&6 2356else 2357 if test -n "$CC"; then 2358 ac_cv_prog_CC="$CC" # Let the user override the test. 2359else 2360as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2361for as_dir in $PATH 2362do 2363 IFS=$as_save_IFS 2364 test -z "$as_dir" && as_dir=. 2365 for ac_exec_ext in '' $ac_executable_extensions; do 2366 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2367 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2369 break 2 2370 fi 2371done 2372 done 2373IFS=$as_save_IFS 2374 2375fi 2376fi 2377CC=$ac_cv_prog_CC 2378if test -n "$CC"; then 2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2380$as_echo "$CC" >&6; } 2381else 2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2383$as_echo "no" >&6; } 2384fi 2385 2386 2387 test -n "$CC" && break 2388 done 2389fi 2390if test -z "$CC"; then 2391 ac_ct_CC=$CC 2392 for ac_prog in cl.exe 2393do 2394 # Extract the first word of "$ac_prog", so it can be a program name with args. 2395set dummy $ac_prog; ac_word=$2 2396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2397$as_echo_n "checking for $ac_word... " >&6; } 2398if ${ac_cv_prog_ac_ct_CC+:} false; then : 2399 $as_echo_n "(cached) " >&6 2400else 2401 if test -n "$ac_ct_CC"; then 2402 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2403else 2404as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2405for as_dir in $PATH 2406do 2407 IFS=$as_save_IFS 2408 test -z "$as_dir" && as_dir=. 2409 for ac_exec_ext in '' $ac_executable_extensions; do 2410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2411 ac_cv_prog_ac_ct_CC="$ac_prog" 2412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2413 break 2 2414 fi 2415done 2416 done 2417IFS=$as_save_IFS 2418 2419fi 2420fi 2421ac_ct_CC=$ac_cv_prog_ac_ct_CC 2422if test -n "$ac_ct_CC"; then 2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2424$as_echo "$ac_ct_CC" >&6; } 2425else 2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2427$as_echo "no" >&6; } 2428fi 2429 2430 2431 test -n "$ac_ct_CC" && break 2432done 2433 2434 if test "x$ac_ct_CC" = x; then 2435 CC="" 2436 else 2437 case $cross_compiling:$ac_tool_warned in 2438yes:) 2439{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2440$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2441ac_tool_warned=yes ;; 2442esac 2443 CC=$ac_ct_CC 2444 fi 2445fi 2446 2447fi 2448 2449 2450test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2451$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2452as_fn_error $? "no acceptable C compiler found in \$PATH 2453See \`config.log' for more details" "$LINENO" 5; } 2454 2455# Provide some information about the compiler. 2456$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2457set X $ac_compile 2458ac_compiler=$2 2459for ac_option in --version -v -V -qversion; do 2460 { { ac_try="$ac_compiler $ac_option >&5" 2461case "(($ac_try" in 2462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2463 *) ac_try_echo=$ac_try;; 2464esac 2465eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2466$as_echo "$ac_try_echo"; } >&5 2467 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2468 ac_status=$? 2469 if test -s conftest.err; then 2470 sed '10a\ 2471... rest of stderr output deleted ... 2472 10q' conftest.err >conftest.er1 2473 cat conftest.er1 >&5 2474 fi 2475 rm -f conftest.er1 conftest.err 2476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2477 test $ac_status = 0; } 2478done 2479 2480cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2481/* end confdefs.h. */ 2482 2483int 2484main () 2485{ 2486 2487 ; 2488 return 0; 2489} 2490_ACEOF 2491ac_clean_files_save=$ac_clean_files 2492ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2493# Try to create an executable without -o first, disregard a.out. 2494# It will help us diagnose broken compilers, and finding out an intuition 2495# of exeext. 2496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2497$as_echo_n "checking whether the C compiler works... " >&6; } 2498ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2499 2500# The possible output files: 2501ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2502 2503ac_rmfiles= 2504for ac_file in $ac_files 2505do 2506 case $ac_file in 2507 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2508 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2509 esac 2510done 2511rm -f $ac_rmfiles 2512 2513if { { ac_try="$ac_link_default" 2514case "(($ac_try" in 2515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2516 *) ac_try_echo=$ac_try;; 2517esac 2518eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2519$as_echo "$ac_try_echo"; } >&5 2520 (eval "$ac_link_default") 2>&5 2521 ac_status=$? 2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2523 test $ac_status = 0; }; then : 2524 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2525# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2526# in a Makefile. We should not override ac_cv_exeext if it was cached, 2527# so that the user can short-circuit this test for compilers unknown to 2528# Autoconf. 2529for ac_file in $ac_files '' 2530do 2531 test -f "$ac_file" || continue 2532 case $ac_file in 2533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2534 ;; 2535 [ab].out ) 2536 # We found the default executable, but exeext='' is most 2537 # certainly right. 2538 break;; 2539 *.* ) 2540 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2541 then :; else 2542 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2543 fi 2544 # We set ac_cv_exeext here because the later test for it is not 2545 # safe: cross compilers may not add the suffix if given an `-o' 2546 # argument, so we may need to know it at that point already. 2547 # Even if this section looks crufty: it has the advantage of 2548 # actually working. 2549 break;; 2550 * ) 2551 break;; 2552 esac 2553done 2554test "$ac_cv_exeext" = no && ac_cv_exeext= 2555 2556else 2557 ac_file='' 2558fi 2559if test -z "$ac_file"; then : 2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2561$as_echo "no" >&6; } 2562$as_echo "$as_me: failed program was:" >&5 2563sed 's/^/| /' conftest.$ac_ext >&5 2564 2565{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2566$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2567as_fn_error 77 "C compiler cannot create executables 2568See \`config.log' for more details" "$LINENO" 5; } 2569else 2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2571$as_echo "yes" >&6; } 2572fi 2573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2574$as_echo_n "checking for C compiler default output file name... " >&6; } 2575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2576$as_echo "$ac_file" >&6; } 2577ac_exeext=$ac_cv_exeext 2578 2579rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2580ac_clean_files=$ac_clean_files_save 2581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2582$as_echo_n "checking for suffix of executables... " >&6; } 2583if { { ac_try="$ac_link" 2584case "(($ac_try" in 2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2586 *) ac_try_echo=$ac_try;; 2587esac 2588eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2589$as_echo "$ac_try_echo"; } >&5 2590 (eval "$ac_link") 2>&5 2591 ac_status=$? 2592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2593 test $ac_status = 0; }; then : 2594 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2595# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2596# work properly (i.e., refer to `conftest.exe'), while it won't with 2597# `rm'. 2598for ac_file in conftest.exe conftest conftest.*; do 2599 test -f "$ac_file" || continue 2600 case $ac_file in 2601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2602 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2603 break;; 2604 * ) break;; 2605 esac 2606done 2607else 2608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2609$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2610as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2611See \`config.log' for more details" "$LINENO" 5; } 2612fi 2613rm -f conftest conftest$ac_cv_exeext 2614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2615$as_echo "$ac_cv_exeext" >&6; } 2616 2617rm -f conftest.$ac_ext 2618EXEEXT=$ac_cv_exeext 2619ac_exeext=$EXEEXT 2620cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2621/* end confdefs.h. */ 2622#include <stdio.h> 2623int 2624main () 2625{ 2626FILE *f = fopen ("conftest.out", "w"); 2627 return ferror (f) || fclose (f) != 0; 2628 2629 ; 2630 return 0; 2631} 2632_ACEOF 2633ac_clean_files="$ac_clean_files conftest.out" 2634# Check that the compiler produces executables we can run. If not, either 2635# the compiler is broken, or we cross compile. 2636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2637$as_echo_n "checking whether we are cross compiling... " >&6; } 2638if test "$cross_compiling" != yes; then 2639 { { ac_try="$ac_link" 2640case "(($ac_try" in 2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2642 *) ac_try_echo=$ac_try;; 2643esac 2644eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2645$as_echo "$ac_try_echo"; } >&5 2646 (eval "$ac_link") 2>&5 2647 ac_status=$? 2648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2649 test $ac_status = 0; } 2650 if { ac_try='./conftest$ac_cv_exeext' 2651 { { case "(($ac_try" in 2652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2653 *) ac_try_echo=$ac_try;; 2654esac 2655eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2656$as_echo "$ac_try_echo"; } >&5 2657 (eval "$ac_try") 2>&5 2658 ac_status=$? 2659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2660 test $ac_status = 0; }; }; then 2661 cross_compiling=no 2662 else 2663 if test "$cross_compiling" = maybe; then 2664 cross_compiling=yes 2665 else 2666 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2667$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2668as_fn_error $? "cannot run C compiled programs. 2669If you meant to cross compile, use \`--host'. 2670See \`config.log' for more details" "$LINENO" 5; } 2671 fi 2672 fi 2673fi 2674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2675$as_echo "$cross_compiling" >&6; } 2676 2677rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2678ac_clean_files=$ac_clean_files_save 2679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2680$as_echo_n "checking for suffix of object files... " >&6; } 2681if ${ac_cv_objext+:} false; then : 2682 $as_echo_n "(cached) " >&6 2683else 2684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2685/* end confdefs.h. */ 2686 2687int 2688main () 2689{ 2690 2691 ; 2692 return 0; 2693} 2694_ACEOF 2695rm -f conftest.o conftest.obj 2696if { { ac_try="$ac_compile" 2697case "(($ac_try" in 2698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2699 *) ac_try_echo=$ac_try;; 2700esac 2701eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2702$as_echo "$ac_try_echo"; } >&5 2703 (eval "$ac_compile") 2>&5 2704 ac_status=$? 2705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2706 test $ac_status = 0; }; then : 2707 for ac_file in conftest.o conftest.obj conftest.*; do 2708 test -f "$ac_file" || continue; 2709 case $ac_file in 2710 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2711 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2712 break;; 2713 esac 2714done 2715else 2716 $as_echo "$as_me: failed program was:" >&5 2717sed 's/^/| /' conftest.$ac_ext >&5 2718 2719{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2720$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2721as_fn_error $? "cannot compute suffix of object files: cannot compile 2722See \`config.log' for more details" "$LINENO" 5; } 2723fi 2724rm -f conftest.$ac_cv_objext conftest.$ac_ext 2725fi 2726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2727$as_echo "$ac_cv_objext" >&6; } 2728OBJEXT=$ac_cv_objext 2729ac_objext=$OBJEXT 2730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2731$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2732if ${ac_cv_c_compiler_gnu+:} false; then : 2733 $as_echo_n "(cached) " >&6 2734else 2735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2736/* end confdefs.h. */ 2737 2738int 2739main () 2740{ 2741#ifndef __GNUC__ 2742 choke me 2743#endif 2744 2745 ; 2746 return 0; 2747} 2748_ACEOF 2749if ac_fn_c_try_compile "$LINENO"; then : 2750 ac_compiler_gnu=yes 2751else 2752 ac_compiler_gnu=no 2753fi 2754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2755ac_cv_c_compiler_gnu=$ac_compiler_gnu 2756 2757fi 2758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2759$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2760if test $ac_compiler_gnu = yes; then 2761 GCC=yes 2762else 2763 GCC= 2764fi 2765ac_test_CFLAGS=${CFLAGS+set} 2766ac_save_CFLAGS=$CFLAGS 2767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2768$as_echo_n "checking whether $CC accepts -g... " >&6; } 2769if ${ac_cv_prog_cc_g+:} false; then : 2770 $as_echo_n "(cached) " >&6 2771else 2772 ac_save_c_werror_flag=$ac_c_werror_flag 2773 ac_c_werror_flag=yes 2774 ac_cv_prog_cc_g=no 2775 CFLAGS="-g" 2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2777/* end confdefs.h. */ 2778 2779int 2780main () 2781{ 2782 2783 ; 2784 return 0; 2785} 2786_ACEOF 2787if ac_fn_c_try_compile "$LINENO"; then : 2788 ac_cv_prog_cc_g=yes 2789else 2790 CFLAGS="" 2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2792/* end confdefs.h. */ 2793 2794int 2795main () 2796{ 2797 2798 ; 2799 return 0; 2800} 2801_ACEOF 2802if ac_fn_c_try_compile "$LINENO"; then : 2803 2804else 2805 ac_c_werror_flag=$ac_save_c_werror_flag 2806 CFLAGS="-g" 2807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2808/* end confdefs.h. */ 2809 2810int 2811main () 2812{ 2813 2814 ; 2815 return 0; 2816} 2817_ACEOF 2818if ac_fn_c_try_compile "$LINENO"; then : 2819 ac_cv_prog_cc_g=yes 2820fi 2821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2822fi 2823rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2824fi 2825rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2826 ac_c_werror_flag=$ac_save_c_werror_flag 2827fi 2828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2829$as_echo "$ac_cv_prog_cc_g" >&6; } 2830if test "$ac_test_CFLAGS" = set; then 2831 CFLAGS=$ac_save_CFLAGS 2832elif test $ac_cv_prog_cc_g = yes; then 2833 if test "$GCC" = yes; then 2834 CFLAGS="-g -O2" 2835 else 2836 CFLAGS="-g" 2837 fi 2838else 2839 if test "$GCC" = yes; then 2840 CFLAGS="-O2" 2841 else 2842 CFLAGS= 2843 fi 2844fi 2845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2846$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2847if ${ac_cv_prog_cc_c89+:} false; then : 2848 $as_echo_n "(cached) " >&6 2849else 2850 ac_cv_prog_cc_c89=no 2851ac_save_CC=$CC 2852cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2853/* end confdefs.h. */ 2854#include <stdarg.h> 2855#include <stdio.h> 2856struct stat; 2857/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2858struct buf { int x; }; 2859FILE * (*rcsopen) (struct buf *, struct stat *, int); 2860static char *e (p, i) 2861 char **p; 2862 int i; 2863{ 2864 return p[i]; 2865} 2866static char *f (char * (*g) (char **, int), char **p, ...) 2867{ 2868 char *s; 2869 va_list v; 2870 va_start (v,p); 2871 s = g (p, va_arg (v,int)); 2872 va_end (v); 2873 return s; 2874} 2875 2876/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2877 function prototypes and stuff, but not '\xHH' hex character constants. 2878 These don't provoke an error unfortunately, instead are silently treated 2879 as 'x'. The following induces an error, until -std is added to get 2880 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2881 array size at least. It's necessary to write '\x00'==0 to get something 2882 that's true only with -std. */ 2883int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2884 2885/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2886 inside strings and character constants. */ 2887#define FOO(x) 'x' 2888int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2889 2890int test (int i, double x); 2891struct s1 {int (*f) (int a);}; 2892struct s2 {int (*f) (double a);}; 2893int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2894int argc; 2895char **argv; 2896int 2897main () 2898{ 2899return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2900 ; 2901 return 0; 2902} 2903_ACEOF 2904for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2905 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2906do 2907 CC="$ac_save_CC $ac_arg" 2908 if ac_fn_c_try_compile "$LINENO"; then : 2909 ac_cv_prog_cc_c89=$ac_arg 2910fi 2911rm -f core conftest.err conftest.$ac_objext 2912 test "x$ac_cv_prog_cc_c89" != "xno" && break 2913done 2914rm -f conftest.$ac_ext 2915CC=$ac_save_CC 2916 2917fi 2918# AC_CACHE_VAL 2919case "x$ac_cv_prog_cc_c89" in 2920 x) 2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2922$as_echo "none needed" >&6; } ;; 2923 xno) 2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2925$as_echo "unsupported" >&6; } ;; 2926 *) 2927 CC="$CC $ac_cv_prog_cc_c89" 2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2929$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2930esac 2931if test "x$ac_cv_prog_cc_c89" != xno; then : 2932 2933fi 2934 2935ac_ext=c 2936ac_cpp='$CPP $CPPFLAGS' 2937ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2938ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2939ac_compiler_gnu=$ac_cv_c_compiler_gnu 2940 2941 2942case $build_os in 2943 *darwin*) ac_ext=m 2944ac_cpp='$OBJCPP $CPPFLAGS' 2945ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2946ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2947ac_compiler_gnu=$ac_cv_objc_compiler_gnu 2948if test -n "$ac_tool_prefix"; then 2949 for ac_prog in clang gcc CC 2950 do 2951 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2952set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2954$as_echo_n "checking for $ac_word... " >&6; } 2955if ${ac_cv_prog_OBJC+:} false; then : 2956 $as_echo_n "(cached) " >&6 2957else 2958 if test -n "$OBJC"; then 2959 ac_cv_prog_OBJC="$OBJC" # Let the user override the test. 2960else 2961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2962for as_dir in $PATH 2963do 2964 IFS=$as_save_IFS 2965 test -z "$as_dir" && as_dir=. 2966 for ac_exec_ext in '' $ac_executable_extensions; do 2967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2968 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog" 2969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2970 break 2 2971 fi 2972done 2973 done 2974IFS=$as_save_IFS 2975 2976fi 2977fi 2978OBJC=$ac_cv_prog_OBJC 2979if test -n "$OBJC"; then 2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5 2981$as_echo "$OBJC" >&6; } 2982else 2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2984$as_echo "no" >&6; } 2985fi 2986 2987 2988 test -n "$OBJC" && break 2989 done 2990fi 2991if test -z "$OBJC"; then 2992 ac_ct_OBJC=$OBJC 2993 for ac_prog in clang gcc CC 2994do 2995 # Extract the first word of "$ac_prog", so it can be a program name with args. 2996set dummy $ac_prog; ac_word=$2 2997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2998$as_echo_n "checking for $ac_word... " >&6; } 2999if ${ac_cv_prog_ac_ct_OBJC+:} false; then : 3000 $as_echo_n "(cached) " >&6 3001else 3002 if test -n "$ac_ct_OBJC"; then 3003 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test. 3004else 3005as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3006for as_dir in $PATH 3007do 3008 IFS=$as_save_IFS 3009 test -z "$as_dir" && as_dir=. 3010 for ac_exec_ext in '' $ac_executable_extensions; do 3011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3012 ac_cv_prog_ac_ct_OBJC="$ac_prog" 3013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3014 break 2 3015 fi 3016done 3017 done 3018IFS=$as_save_IFS 3019 3020fi 3021fi 3022ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC 3023if test -n "$ac_ct_OBJC"; then 3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5 3025$as_echo "$ac_ct_OBJC" >&6; } 3026else 3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3028$as_echo "no" >&6; } 3029fi 3030 3031 3032 test -n "$ac_ct_OBJC" && break 3033done 3034 3035 if test "x$ac_ct_OBJC" = x; then 3036 OBJC="gcc" 3037 else 3038 case $cross_compiling:$ac_tool_warned in 3039yes:) 3040{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3041$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3042ac_tool_warned=yes ;; 3043esac 3044 OBJC=$ac_ct_OBJC 3045 fi 3046fi 3047 3048# Provide some information about the compiler. 3049$as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5 3050set X $ac_compile 3051ac_compiler=$2 3052for ac_option in --version -v -V -qversion; do 3053 { { ac_try="$ac_compiler $ac_option >&5" 3054case "(($ac_try" in 3055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3056 *) ac_try_echo=$ac_try;; 3057esac 3058eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3059$as_echo "$ac_try_echo"; } >&5 3060 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3061 ac_status=$? 3062 if test -s conftest.err; then 3063 sed '10a\ 3064... rest of stderr output deleted ... 3065 10q' conftest.err >conftest.er1 3066 cat conftest.er1 >&5 3067 fi 3068 rm -f conftest.er1 conftest.err 3069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3070 test $ac_status = 0; } 3071done 3072 3073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5 3074$as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; } 3075if ${ac_cv_objc_compiler_gnu+:} false; then : 3076 $as_echo_n "(cached) " >&6 3077else 3078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3079/* end confdefs.h. */ 3080 3081int 3082main () 3083{ 3084#ifndef __GNUC__ 3085 choke me 3086#endif 3087 3088 ; 3089 return 0; 3090} 3091_ACEOF 3092if ac_fn_objc_try_compile "$LINENO"; then : 3093 ac_compiler_gnu=yes 3094else 3095 ac_compiler_gnu=no 3096fi 3097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3098ac_cv_objc_compiler_gnu=$ac_compiler_gnu 3099 3100fi 3101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5 3102$as_echo "$ac_cv_objc_compiler_gnu" >&6; } 3103if test $ac_compiler_gnu = yes; then 3104 GOBJC=yes 3105else 3106 GOBJC= 3107fi 3108ac_test_OBJCFLAGS=${OBJCFLAGS+set} 3109ac_save_OBJCFLAGS=$OBJCFLAGS 3110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5 3111$as_echo_n "checking whether $OBJC accepts -g... " >&6; } 3112if ${ac_cv_prog_objc_g+:} false; then : 3113 $as_echo_n "(cached) " >&6 3114else 3115 ac_save_objc_werror_flag=$ac_objc_werror_flag 3116 ac_objc_werror_flag=yes 3117 ac_cv_prog_objc_g=no 3118 OBJCFLAGS="-g" 3119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3120/* end confdefs.h. */ 3121 3122int 3123main () 3124{ 3125 3126 ; 3127 return 0; 3128} 3129_ACEOF 3130if ac_fn_objc_try_compile "$LINENO"; then : 3131 ac_cv_prog_objc_g=yes 3132else 3133 OBJCFLAGS="" 3134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3135/* end confdefs.h. */ 3136 3137int 3138main () 3139{ 3140 3141 ; 3142 return 0; 3143} 3144_ACEOF 3145if ac_fn_objc_try_compile "$LINENO"; then : 3146 3147else 3148 ac_objc_werror_flag=$ac_save_objc_werror_flag 3149 OBJCFLAGS="-g" 3150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3151/* end confdefs.h. */ 3152 3153int 3154main () 3155{ 3156 3157 ; 3158 return 0; 3159} 3160_ACEOF 3161if ac_fn_objc_try_compile "$LINENO"; then : 3162 ac_cv_prog_objc_g=yes 3163fi 3164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3165fi 3166rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3167fi 3168rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3169 ac_objc_werror_flag=$ac_save_objc_werror_flag 3170fi 3171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5 3172$as_echo "$ac_cv_prog_objc_g" >&6; } 3173if test "$ac_test_OBJCFLAGS" = set; then 3174 OBJCFLAGS=$ac_save_OBJCFLAGS 3175elif test $ac_cv_prog_objc_g = yes; then 3176 if test "$GOBJC" = yes; then 3177 OBJCFLAGS="-g -O2" 3178 else 3179 OBJCFLAGS="-g" 3180 fi 3181else 3182 if test "$GOBJC" = yes; then 3183 OBJCFLAGS="-O2" 3184 else 3185 OBJCFLAGS= 3186 fi 3187fi 3188ac_ext=c 3189ac_cpp='$CPP $CPPFLAGS' 3190ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3191ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3192ac_compiler_gnu=$ac_cv_c_compiler_gnu 3193 ;; 3194 *) OBJC=""; ;; 3195esac 3196 3197 3198 # Extract the first word of "gprbuild", so it can be a program name with args. 3199set dummy gprbuild; ac_word=$2 3200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3201$as_echo_n "checking for $ac_word... " >&6; } 3202if ${ac_cv_path_GPRBUILD+:} false; then : 3203 $as_echo_n "(cached) " >&6 3204else 3205 case $GPRBUILD in 3206 [\\/]* | ?:[\\/]*) 3207 ac_cv_path_GPRBUILD="$GPRBUILD" # Let the user override the test with a path. 3208 ;; 3209 *) 3210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3211for as_dir in $PATH 3212do 3213 IFS=$as_save_IFS 3214 test -z "$as_dir" && as_dir=. 3215 for ac_exec_ext in '' $ac_executable_extensions; do 3216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3217 ac_cv_path_GPRBUILD="$as_dir/$ac_word$ac_exec_ext" 3218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3219 break 2 3220 fi 3221done 3222 done 3223IFS=$as_save_IFS 3224 3225 test -z "$ac_cv_path_GPRBUILD" && ac_cv_path_GPRBUILD="no" 3226 ;; 3227esac 3228fi 3229GPRBUILD=$ac_cv_path_GPRBUILD 3230if test -n "$GPRBUILD"; then 3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPRBUILD" >&5 3232$as_echo "$GPRBUILD" >&6; } 3233else 3234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3235$as_echo "no" >&6; } 3236fi 3237 3238 3239 # Extract the first word of "gprinstall", so it can be a program name with args. 3240set dummy gprinstall; ac_word=$2 3241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3242$as_echo_n "checking for $ac_word... " >&6; } 3243if ${ac_cv_path_GPRINSTALL+:} false; then : 3244 $as_echo_n "(cached) " >&6 3245else 3246 case $GPRINSTALL in 3247 [\\/]* | ?:[\\/]*) 3248 ac_cv_path_GPRINSTALL="$GPRINSTALL" # Let the user override the test with a path. 3249 ;; 3250 *) 3251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3252for as_dir in $PATH 3253do 3254 IFS=$as_save_IFS 3255 test -z "$as_dir" && as_dir=. 3256 for ac_exec_ext in '' $ac_executable_extensions; do 3257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3258 ac_cv_path_GPRINSTALL="$as_dir/$ac_word$ac_exec_ext" 3259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3260 break 2 3261 fi 3262done 3263 done 3264IFS=$as_save_IFS 3265 3266 test -z "$ac_cv_path_GPRINSTALL" && ac_cv_path_GPRINSTALL="no" 3267 ;; 3268esac 3269fi 3270GPRINSTALL=$ac_cv_path_GPRINSTALL 3271if test -n "$GPRINSTALL"; then 3272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPRINSTALL" >&5 3273$as_echo "$GPRINSTALL" >&6; } 3274else 3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3276$as_echo "no" >&6; } 3277fi 3278 3279 3280 3281 if test x$GPRBUILD = xno ; then 3282 as_fn_error $? "I could not find gprbuild. See the file 'INSTALL' for more details." "$LINENO" 5 3283 fi 3284 3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that your gnat compiler works with a simple example" >&5 3286$as_echo_n "checking that your gnat compiler works with a simple example... " >&6; } 3287 3288 rm -f conftest.adb 3289 cat << EOF > conftest.adb 3290with Ada.Text_IO; 3291 3292procedure Conftest is 3293 Conftest_Ok : Ada.Text_IO.File_Type; 3294begin 3295 Ada.Text_IO.Create (File => Conftest_Ok, 3296 Name => "$conftest_ok"); 3297 Ada.Text_IO.Close (Conftest_Ok); 3298end Conftest; 3299EOF 3300 cat <<EOF > conftest.gpr 3301project Conftest is 3302 for Main use ("conftest.adb"); 3303 for Source_Files use ("conftest.adb"); 3304end Conftest; 3305EOF 3306 3307 $GPRBUILD -q -P conftest.gpr > /dev/null 3308 3309 if ( test ! -x conftest ) then 3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3311$as_echo "no" >&6; } 3312 as_fn_error $? "$GPRBUILD test failed at compile time! Check your configuration." "$LINENO" 5 3313 fi 3314 3315 ./conftest 3316 3317 if ( test ! -f $conftest_ok ) then 3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3319$as_echo "no" >&6; } 3320 as_fn_error $? "$GPRBUILD test failed at run time! Check your configuration." "$LINENO" 5 3321 fi 3322 3323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3324$as_echo "yes" >&6; } 3325 3326 3327 3328 # Check whether --enable-build was given. 3329if test "${enable_build+set}" = set; then : 3330 enableval=$enable_build; BUILD_TYPE=$enableval 3331else 3332 BUILD_TYPE=Production 3333fi 3334 3335 3336 3337 # are we in devel mode ? 3338 3339# Gettext stuff 3340ALL_LINGUAS="en" 3341 3342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 3343$as_echo_n "checking whether NLS is requested... " >&6; } 3344 # Check whether --enable-nls was given. 3345if test "${enable_nls+set}" = set; then : 3346 enableval=$enable_nls; USE_NLS=$enableval 3347else 3348 USE_NLS=yes 3349fi 3350 3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 3352$as_echo "$USE_NLS" >&6; } 3353 3354 3355 GETTEXT_INTL="False" 3356 HAVE_GETTEXT="False" 3357 3358 if test "$USE_NLS" = "yes"; then 3359 $as_echo "#define ENABLE_NLS 1" >>confdefs.h 3360 3361 3362 nls_cv_header_intl= 3363 nls_cv_header_libgt= 3364 3365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in libc" >&5 3366$as_echo_n "checking for gettext in libc... " >&6; } 3367if ${gt_cv_func_gettext_libc+:} false; then : 3368 $as_echo_n "(cached) " >&6 3369else 3370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3371/* end confdefs.h. */ 3372extern int gettext(char*); 3373int 3374main () 3375{ 3376return (int) gettext ("") 3377 ; 3378 return 0; 3379} 3380_ACEOF 3381if ac_fn_c_try_link "$LINENO"; then : 3382 gt_cv_func_gettext_libc=yes 3383else 3384 gt_cv_func_gettext_libc=no 3385fi 3386rm -f core conftest.err conftest.$ac_objext \ 3387 conftest$ac_exeext conftest.$ac_ext 3388fi 3389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gettext_libc" >&5 3390$as_echo "$gt_cv_func_gettext_libc" >&6; } 3391 3392 if test "$gt_cv_func_gettext_libc" != "yes"; then 3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 3394$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 3395if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 3396 $as_echo_n "(cached) " >&6 3397else 3398 ac_check_lib_save_LIBS=$LIBS 3399LIBS="-lintl $LIBS" 3400cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3401/* end confdefs.h. */ 3402 3403/* Override any GCC internal prototype to avoid an error. 3404 Use char because int might match the return type of a GCC 3405 builtin and then its argument prototype would still apply. */ 3406#ifdef __cplusplus 3407extern "C" 3408#endif 3409char bindtextdomain (); 3410int 3411main () 3412{ 3413return bindtextdomain (); 3414 ; 3415 return 0; 3416} 3417_ACEOF 3418if ac_fn_c_try_link "$LINENO"; then : 3419 ac_cv_lib_intl_bindtextdomain=yes 3420else 3421 ac_cv_lib_intl_bindtextdomain=no 3422fi 3423rm -f core conftest.err conftest.$ac_objext \ 3424 conftest$ac_exeext conftest.$ac_ext 3425LIBS=$ac_check_lib_save_LIBS 3426fi 3427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 3428$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 3429if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in libintl" >&5 3431$as_echo_n "checking for gettext in libintl... " >&6; } 3432if ${gt_cv_func_gettext_libintl+:} false; then : 3433 $as_echo_n "(cached) " >&6 3434else 3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5 3436$as_echo_n "checking for gettext in -lintl... " >&6; } 3437if ${ac_cv_lib_intl_gettext+:} false; then : 3438 $as_echo_n "(cached) " >&6 3439else 3440 ac_check_lib_save_LIBS=$LIBS 3441LIBS="-lintl $LIBS" 3442cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3443/* end confdefs.h. */ 3444 3445/* Override any GCC internal prototype to avoid an error. 3446 Use char because int might match the return type of a GCC 3447 builtin and then its argument prototype would still apply. */ 3448#ifdef __cplusplus 3449extern "C" 3450#endif 3451char gettext (); 3452int 3453main () 3454{ 3455return gettext (); 3456 ; 3457 return 0; 3458} 3459_ACEOF 3460if ac_fn_c_try_link "$LINENO"; then : 3461 ac_cv_lib_intl_gettext=yes 3462else 3463 ac_cv_lib_intl_gettext=no 3464fi 3465rm -f core conftest.err conftest.$ac_objext \ 3466 conftest$ac_exeext conftest.$ac_ext 3467LIBS=$ac_check_lib_save_LIBS 3468fi 3469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5 3470$as_echo "$ac_cv_lib_intl_gettext" >&6; } 3471if test "x$ac_cv_lib_intl_gettext" = xyes; then : 3472 gt_cv_func_gettext_libintl=yes 3473else 3474 gt_cv_func_gettext_libintl=no 3475fi 3476 3477fi 3478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gettext_libintl" >&5 3479$as_echo "$gt_cv_func_gettext_libintl" >&6; } 3480fi 3481 3482 3483 if test "$gt_cv_func_gettext_libintl" = "yes"; then 3484 GETTEXT_INTL="True" 3485 fi 3486 fi 3487 3488 if test "$gt_cv_func_gettext_libc" = "yes" \ 3489 || test "$gt_cv_func_gettext_libintl" = "yes"; then 3490 HAVE_GETTEXT="True" 3491 fi 3492 fi 3493 3494 3495 3496 3497 3498 3499# checking for gtk 3500 3501 # Extract the first word of "pkg-config", so it can be a program name with args. 3502set dummy pkg-config; ac_word=$2 3503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3504$as_echo_n "checking for $ac_word... " >&6; } 3505if ${ac_cv_path_PKG_CONFIG+:} false; then : 3506 $as_echo_n "(cached) " >&6 3507else 3508 case $PKG_CONFIG in 3509 [\\/]* | ?:[\\/]*) 3510 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 3511 ;; 3512 *) 3513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3514for as_dir in $PATH 3515do 3516 IFS=$as_save_IFS 3517 test -z "$as_dir" && as_dir=. 3518 for ac_exec_ext in '' $ac_executable_extensions; do 3519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3520 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3522 break 2 3523 fi 3524done 3525 done 3526IFS=$as_save_IFS 3527 3528 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 3529 ;; 3530esac 3531fi 3532PKG_CONFIG=$ac_cv_path_PKG_CONFIG 3533if test -n "$PKG_CONFIG"; then 3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 3535$as_echo "$PKG_CONFIG" >&6; } 3536else 3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3538$as_echo "no" >&6; } 3539fi 3540 3541 3542 min_gtk_version=3.14.0 3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5 3544$as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; } 3545 no_gtk="" 3546 GTK="gtk+-3.0" 3547 if test "$PKG_CONFIG" = "no" ; then 3548 as_fn_error $? "pkg-config not found" "$LINENO" 5 3549 else 3550 $PKG_CONFIG $GTK --atleast-version=$min_gtk_version 3551 if test $? != 0 ; then 3552 as_fn_error $? "old version detected" "$LINENO" 5 3553 fi 3554 3555 GTK_PREFIX=`$PKG_CONFIG $GTK --variable=prefix` 3556 GTK_CFLAGS=`$PKG_CONFIG $GTK --cflags` 3557 GTK_LIBS=`$PKG_CONFIG $GTK gmodule-2.0 fontconfig --libs` 3558 3559 GTK_LIBS="$GTK_LIBS $LDFLAGS -lm -lX11" 3560 3561 ac_save_CFLAGS="$CFLAGS" 3562 ac_save_LIBS="$LIBS" 3563 CFLAGS="$CFLAGS $GTK_CFLAGS" 3564 LIBS="$LIBS $GTK_LIBS" 3565 rm -f conf.gtktest 3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3567/* end confdefs.h. */ 3568 3569#include <gtk/gtk.h> 3570#include <stdio.h> 3571int 3572main (int argc, char** argv) 3573{ 3574 gtk_init(&argc, &argv); 3575 return 0; 3576} 3577 3578int 3579main () 3580{ 3581 3582 ; 3583 return 0; 3584} 3585_ACEOF 3586if ac_fn_c_try_link "$LINENO"; then : 3587 no_gtk=yes 3588fi 3589rm -f core conftest.err conftest.$ac_objext \ 3590 conftest$ac_exeext conftest.$ac_ext 3591 3592 CFLAGS="$ac_save_CFLAGS" 3593 LIBS="$ac_save_LIBS" 3594 fi 3595 3596 if test "x$no_gtk" = x ; then 3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3598$as_echo "yes" >&6; } 3599 else 3600 as_fn_error $? "no" "$LINENO" 5 3601 fi 3602 3603 3604 3605 3606 value=$GTK_CFLAGS 3607 3608 # Special handling on darwin for gcc 4.5 and 4.7 3609 case "$build_os" in 3610 *darwin*) 3611 value=`echo $value | sed -e "s/-framework \([^ ]*\)/-Wl,-framework -Wl,\1/g"` 3612 esac 3613 3614 output=GTK_CFLAGS_GPR 3615 result="" 3616 for v in $value; do 3617 if test "$result" != ""; then 3618 result="$result, " 3619 fi 3620 result="$result\"$v\"" 3621 done 3622 GTK_CFLAGS_GPR=$result 3623 3624 3625 3626 3627 case $build_os in 3628 *mingw*) GTK_LIBS="-L../../lib -L../../bin $GTK_LIBS";; 3629 esac 3630 3631 3632 value=$GTK_LIBS 3633 3634 # Special handling on darwin for gcc 4.5 and 4.7 3635 case "$build_os" in 3636 *darwin*) 3637 value=`echo $value | sed -e "s/-framework \([^ ]*\)/-Wl,-framework -Wl,\1/g"` 3638 esac 3639 3640 output=GTK_LIBS_GPR 3641 result="" 3642 for v in $value; do 3643 if test "$result" != ""; then 3644 result="$result, " 3645 fi 3646 result="$result\"$v\"" 3647 done 3648 GTK_LIBS_GPR=$result 3649 3650 3651 rm -f conf.gtktest 3652 3653 3654# try to find OpenGL if present 3655 3656 3657 # checking for OpenGL libraries 3658 3659# Check whether --with-GL was given. 3660if test "${with_GL+set}" = set; then : 3661 withval=$with_GL; 3662fi 3663 3664 3665# Check whether --with-GL-prefix was given. 3666if test "${with_GL_prefix+set}" = set; then : 3667 withval=$with_GL_prefix; 3668fi 3669 3670 3671 if test "x$with_GL_prefix" = "x" ; then 3672 GL_LDOPTS="" 3673 GL_CFLAGS="" 3674 else 3675 GL_CFLAGS="-I$with_GL_prefix/include" 3676 GL_LDOPTS="-L$with_GL_prefix/lib" 3677 fi 3678 3679 saved_LIBS="$LIBS" 3680 3681 if test "x$with_GL" != xno ; then 3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL" >&5 3683$as_echo_n "checking for OpenGL... " >&6; } 3684 LIBS="$saved_LIBS $GTK_LIBS $GL_LDOPTS -lGLU -lGL" 3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3686/* end confdefs.h. */ 3687 3688int 3689main () 3690{ 3691 char glBegin(); glBegin(); 3692 ; 3693 return 0; 3694} 3695_ACEOF 3696if ac_fn_c_try_link "$LINENO"; then : 3697 have_GL=yes 3698else 3699 have_GL=no 3700fi 3701rm -f core conftest.err conftest.$ac_objext \ 3702 conftest$ac_exeext conftest.$ac_ext 3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_GL" >&5 3704$as_echo "$have_GL" >&6; } 3705 3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL32" >&5 3707$as_echo_n "checking for GL32... " >&6; } 3708 LIBS="$saved_LIBS $GTK_LIBS $GL_LDOPTS -lglu32 -lopengl32 -lgdi32" 3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3710/* end confdefs.h. */ 3711 3712#include <GL/gl.h> 3713#include <windows.h> 3714int 3715main () 3716{ 3717 glBegin(0); 3718 CreateCompatibleDC(NULL); 3719 ; 3720 return 0; 3721} 3722_ACEOF 3723if ac_fn_c_try_link "$LINENO"; then : 3724 have_GL32=yes 3725else 3726 have_GL32=no 3727fi 3728rm -f core conftest.err conftest.$ac_objext \ 3729 conftest$ac_exeext conftest.$ac_ext 3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_GL32" >&5 3731$as_echo "$have_GL32" >&6; } 3732 3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mesa" >&5 3734$as_echo_n "checking for Mesa... " >&6; } 3735 LIBS="$saved_LIBS $GTK_LIBS $GL_LDOPTS -lMesaGLU -lMesaGL" 3736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3737/* end confdefs.h. */ 3738 3739int 3740main () 3741{ 3742 char glBegin(); glBegin(); 3743 ; 3744 return 0; 3745} 3746_ACEOF 3747if ac_fn_c_try_link "$LINENO"; then : 3748 have_MesaGL=yes 3749else 3750 have_MesaGL=no 3751fi 3752rm -f core conftest.err conftest.$ac_objext \ 3753 conftest$ac_exeext conftest.$ac_ext 3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_MesaGL" >&5 3755$as_echo "$have_MesaGL" >&6; } 3756 3757 if test "x$have_MesaGL" = "xno"; then 3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Mesa with pthreads" >&5 3759$as_echo_n "checking Mesa with pthreads... " >&6; } 3760 LIBS="$saved_LIBS $GTK_LIBS $GL_LDOPTS -lMesaGLU -lMesaGL -lpthread" 3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3762/* end confdefs.h. */ 3763 3764int 3765main () 3766{ 3767 char glBegin(); glBegin(); 3768 ; 3769 return 0; 3770} 3771_ACEOF 3772if ac_fn_c_try_link "$LINENO"; then : 3773 have_MesaGL_pthread=yes 3774else 3775 have_MesaGL_pthread=no 3776fi 3777rm -f core conftest.err conftest.$ac_objext \ 3778 conftest$ac_exeext conftest.$ac_ext 3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_MesaGL_pthread" >&5 3780$as_echo "$have_MesaGL_pthread" >&6; } 3781 fi 3782 fi 3783 3784 LIBS="$saved_LIBS" 3785 HAVE_OPENGL="False" 3786 3787 case "x$with_GL" in 3788 x|xauto) 3789 if test "x$have_GL" = "xyes"; then 3790 GL_LIBS="$GL_LDOPTS -lGLU -lGL" 3791 HAVE_OPENGL="True" 3792 elif test "x$have_GL32" = "xyes"; then 3793 GL_LIBS="$GL_LDOPTS -lglu32 -lopengl32 -lgdi32" 3794 HAVE_OPENGL="True" 3795 elif test "x$have_MesaGL" = "xyes"; then 3796 GL_LIBS="$GL_LDOPTS -lMesaGLU -lMesaGL" 3797 HAVE_OPENGL="True" 3798 elif test "x$have_MesaGL_pthread" = "xyes"; then 3799 GL_LIBS="$GL_LDOPTS -lMesaGLU -lMesaGL -lpthread" 3800 HAVE_OPENGL="True" 3801 fi 3802 ;; 3803 xGL) 3804 if test "x$have_GL" = "xyes"; then 3805 GL_LIBS="$GL_LDOPTS -lGLU -lGL" 3806 HAVE_OPENGL="True" 3807 else 3808 as_fn_error $? "Missing OpenGL library" "$LINENO" 5 3809 fi 3810 ;; 3811 xGL32) 3812 if test "x$have_GL" = "xyes"; then 3813 GL_LIBS="$GL_LDOPTS -lglu32 -lopengl32 -lgdi32" 3814 HAVE_OPENGL="True" 3815 else 3816 as_fn_error $? "Missing Windows OpenGL library" "$LINENO" 5 3817 fi 3818 ;; 3819 xMesaGL) 3820 if test "x$have_MesaGL" = "xyes"; then 3821 GL_LIBS="$GL_LDOPTS -lMesaGLU -lMesaGL" 3822 HAVE_OPENGL="True" 3823 elif test "x$have_MesaGL_pthread" = "xyes"; then 3824 GL_LIBS="$GL_LDOPTS -lMesaGLU -lMesaGL -lpthread" 3825 HAVE_OPENGL="True" 3826 else 3827 as_fn_error $? "Missing Mesa library" "$LINENO" 5 3828 fi 3829 ;; 3830 xno) 3831 ;; 3832 *) 3833 as_fn_error $? "Unknown value for \"--with-GL\" option. Should be either auto, GL32, GL, MesaGL, no" "$LINENO" 5 3834 ;; 3835 esac 3836 3837 3838 3839 3840 3841 value=$GL_LIBS 3842 3843 # Special handling on darwin for gcc 4.5 and 4.7 3844 case "$build_os" in 3845 *darwin*) 3846 value=`echo $value | sed -e "s/-framework \([^ ]*\)/-Wl,-framework -Wl,\1/g"` 3847 esac 3848 3849 output=GL_LIBS_GPR 3850 result="" 3851 for v in $value; do 3852 if test "$result" != ""; then 3853 result="$result, " 3854 fi 3855 result="$result\"$v\"" 3856 done 3857 GL_LIBS_GPR=$result 3858 3859 3860 3861 value=$GL_CFLAGS 3862 3863 # Special handling on darwin for gcc 4.5 and 4.7 3864 case "$build_os" in 3865 *darwin*) 3866 value=`echo $value | sed -e "s/-framework \([^ ]*\)/-Wl,-framework -Wl,\1/g"` 3867 esac 3868 3869 output=GL_CFLAGS_GPR 3870 result="" 3871 for v in $value; do 3872 if test "$result" != ""; then 3873 result="$result, " 3874 fi 3875 result="$result\"$v\"" 3876 done 3877 GL_CFLAGS_GPR=$result 3878 3879 3880 3881 3882# Ignore user's choice of libdir, as well as configure's own default, 3883# because we want GtkAda to always install in /lib (backward compatibility) 3884 3885libdir='${prefix}/lib' 3886 3887ac_config_files="$ac_config_files Makefile shared.gpr po/Makefile src/config.h" 3888 3889cat >confcache <<\_ACEOF 3890# This file is a shell script that caches the results of configure 3891# tests run on this system so they can be shared between configure 3892# scripts and configure runs, see configure's option --config-cache. 3893# It is not useful on other systems. If it contains results you don't 3894# want to keep, you may remove or edit it. 3895# 3896# config.status only pays attention to the cache file if you give it 3897# the --recheck option to rerun configure. 3898# 3899# `ac_cv_env_foo' variables (set or unset) will be overridden when 3900# loading this file, other *unset* `ac_cv_foo' will be assigned the 3901# following values. 3902 3903_ACEOF 3904 3905# The following way of writing the cache mishandles newlines in values, 3906# but we know of no workaround that is simple, portable, and efficient. 3907# So, we kill variables containing newlines. 3908# Ultrix sh set writes to stderr and can't be redirected directly, 3909# and sets the high bit in the cache file unless we assign to the vars. 3910( 3911 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3912 eval ac_val=\$$ac_var 3913 case $ac_val in #( 3914 *${as_nl}*) 3915 case $ac_var in #( 3916 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3917$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3918 esac 3919 case $ac_var in #( 3920 _ | IFS | as_nl) ;; #( 3921 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3922 *) { eval $ac_var=; unset $ac_var;} ;; 3923 esac ;; 3924 esac 3925 done 3926 3927 (set) 2>&1 | 3928 case $as_nl`(ac_space=' '; set) 2>&1` in #( 3929 *${as_nl}ac_space=\ *) 3930 # `set' does not quote correctly, so add quotes: double-quote 3931 # substitution turns \\\\ into \\, and sed turns \\ into \. 3932 sed -n \ 3933 "s/'/'\\\\''/g; 3934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3935 ;; #( 3936 *) 3937 # `set' quotes correctly as required by POSIX, so do not add quotes. 3938 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3939 ;; 3940 esac | 3941 sort 3942) | 3943 sed ' 3944 /^ac_cv_env_/b end 3945 t clear 3946 :clear 3947 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3948 t end 3949 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3950 :end' >>confcache 3951if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3952 if test -w "$cache_file"; then 3953 if test "x$cache_file" != "x/dev/null"; then 3954 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3955$as_echo "$as_me: updating cache $cache_file" >&6;} 3956 if test ! -f "$cache_file" || test -h "$cache_file"; then 3957 cat confcache >"$cache_file" 3958 else 3959 case $cache_file in #( 3960 */* | ?:*) 3961 mv -f confcache "$cache_file"$$ && 3962 mv -f "$cache_file"$$ "$cache_file" ;; #( 3963 *) 3964 mv -f confcache "$cache_file" ;; 3965 esac 3966 fi 3967 fi 3968 else 3969 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3970$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3971 fi 3972fi 3973rm -f confcache 3974 3975test "x$prefix" = xNONE && prefix=$ac_default_prefix 3976# Let make expand exec_prefix. 3977test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3978 3979# Transform confdefs.h into DEFS. 3980# Protect against shell expansion while executing Makefile rules. 3981# Protect against Makefile macro expansion. 3982# 3983# If the first sed substitution is executed (which looks for macros that 3984# take arguments), then branch to the quote section. Otherwise, 3985# look for a macro that doesn't take arguments. 3986ac_script=' 3987:mline 3988/\\$/{ 3989 N 3990 s,\\\n,, 3991 b mline 3992} 3993t clear 3994:clear 3995s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3996t quote 3997s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3998t quote 3999b any 4000:quote 4001s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 4002s/\[/\\&/g 4003s/\]/\\&/g 4004s/\$/$$/g 4005H 4006:any 4007${ 4008 g 4009 s/^\n// 4010 s/\n/ /g 4011 p 4012} 4013' 4014DEFS=`sed -n "$ac_script" confdefs.h` 4015 4016 4017ac_libobjs= 4018ac_ltlibobjs= 4019U= 4020for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4021 # 1. Remove the extension, and $U if already installed. 4022 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4023 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4024 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4025 # will be set to the directory where LIBOBJS objects are built. 4026 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4027 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4028done 4029LIBOBJS=$ac_libobjs 4030 4031LTLIBOBJS=$ac_ltlibobjs 4032 4033 4034 4035: "${CONFIG_STATUS=./config.status}" 4036ac_write_fail=0 4037ac_clean_files_save=$ac_clean_files 4038ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4039{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4040$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4041as_write_fail=0 4042cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4043#! $SHELL 4044# Generated by $as_me. 4045# Run this file to recreate the current configuration. 4046# Compiler output produced by configure, useful for debugging 4047# configure, is in config.log if it exists. 4048 4049debug=false 4050ac_cs_recheck=false 4051ac_cs_silent=false 4052 4053SHELL=\${CONFIG_SHELL-$SHELL} 4054export SHELL 4055_ASEOF 4056cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4057## -------------------- ## 4058## M4sh Initialization. ## 4059## -------------------- ## 4060 4061# Be more Bourne compatible 4062DUALCASE=1; export DUALCASE # for MKS sh 4063if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4064 emulate sh 4065 NULLCMD=: 4066 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4067 # is contrary to our usage. Disable this feature. 4068 alias -g '${1+"$@"}'='"$@"' 4069 setopt NO_GLOB_SUBST 4070else 4071 case `(set -o) 2>/dev/null` in #( 4072 *posix*) : 4073 set -o posix ;; #( 4074 *) : 4075 ;; 4076esac 4077fi 4078 4079 4080as_nl=' 4081' 4082export as_nl 4083# Printing a long string crashes Solaris 7 /usr/bin/printf. 4084as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4085as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4086as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4087# Prefer a ksh shell builtin over an external printf program on Solaris, 4088# but without wasting forks for bash or zsh. 4089if test -z "$BASH_VERSION$ZSH_VERSION" \ 4090 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4091 as_echo='print -r --' 4092 as_echo_n='print -rn --' 4093elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4094 as_echo='printf %s\n' 4095 as_echo_n='printf %s' 4096else 4097 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4098 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4099 as_echo_n='/usr/ucb/echo -n' 4100 else 4101 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4102 as_echo_n_body='eval 4103 arg=$1; 4104 case $arg in #( 4105 *"$as_nl"*) 4106 expr "X$arg" : "X\\(.*\\)$as_nl"; 4107 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4108 esac; 4109 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4110 ' 4111 export as_echo_n_body 4112 as_echo_n='sh -c $as_echo_n_body as_echo' 4113 fi 4114 export as_echo_body 4115 as_echo='sh -c $as_echo_body as_echo' 4116fi 4117 4118# The user is always right. 4119if test "${PATH_SEPARATOR+set}" != set; then 4120 PATH_SEPARATOR=: 4121 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4122 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4123 PATH_SEPARATOR=';' 4124 } 4125fi 4126 4127 4128# IFS 4129# We need space, tab and new line, in precisely that order. Quoting is 4130# there to prevent editors from complaining about space-tab. 4131# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4132# splitting by setting IFS to empty value.) 4133IFS=" "" $as_nl" 4134 4135# Find who we are. Look in the path if we contain no directory separator. 4136as_myself= 4137case $0 in #(( 4138 *[\\/]* ) as_myself=$0 ;; 4139 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4140for as_dir in $PATH 4141do 4142 IFS=$as_save_IFS 4143 test -z "$as_dir" && as_dir=. 4144 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4145 done 4146IFS=$as_save_IFS 4147 4148 ;; 4149esac 4150# We did not find ourselves, most probably we were run as `sh COMMAND' 4151# in which case we are not to be found in the path. 4152if test "x$as_myself" = x; then 4153 as_myself=$0 4154fi 4155if test ! -f "$as_myself"; then 4156 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4157 exit 1 4158fi 4159 4160# Unset variables that we do not need and which cause bugs (e.g. in 4161# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4162# suppresses any "Segmentation fault" message there. '((' could 4163# trigger a bug in pdksh 5.2.14. 4164for as_var in BASH_ENV ENV MAIL MAILPATH 4165do eval test x\${$as_var+set} = xset \ 4166 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4167done 4168PS1='$ ' 4169PS2='> ' 4170PS4='+ ' 4171 4172# NLS nuisances. 4173LC_ALL=C 4174export LC_ALL 4175LANGUAGE=C 4176export LANGUAGE 4177 4178# CDPATH. 4179(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4180 4181 4182# as_fn_error STATUS ERROR [LINENO LOG_FD] 4183# ---------------------------------------- 4184# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4185# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4186# script with STATUS, using 1 if that was 0. 4187as_fn_error () 4188{ 4189 as_status=$1; test $as_status -eq 0 && as_status=1 4190 if test "$4"; then 4191 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4192 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4193 fi 4194 $as_echo "$as_me: error: $2" >&2 4195 as_fn_exit $as_status 4196} # as_fn_error 4197 4198 4199# as_fn_set_status STATUS 4200# ----------------------- 4201# Set $? to STATUS, without forking. 4202as_fn_set_status () 4203{ 4204 return $1 4205} # as_fn_set_status 4206 4207# as_fn_exit STATUS 4208# ----------------- 4209# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 4210as_fn_exit () 4211{ 4212 set +e 4213 as_fn_set_status $1 4214 exit $1 4215} # as_fn_exit 4216 4217# as_fn_unset VAR 4218# --------------- 4219# Portably unset VAR. 4220as_fn_unset () 4221{ 4222 { eval $1=; unset $1;} 4223} 4224as_unset=as_fn_unset 4225# as_fn_append VAR VALUE 4226# ---------------------- 4227# Append the text in VALUE to the end of the definition contained in VAR. Take 4228# advantage of any shell optimizations that allow amortized linear growth over 4229# repeated appends, instead of the typical quadratic growth present in naive 4230# implementations. 4231if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4232 eval 'as_fn_append () 4233 { 4234 eval $1+=\$2 4235 }' 4236else 4237 as_fn_append () 4238 { 4239 eval $1=\$$1\$2 4240 } 4241fi # as_fn_append 4242 4243# as_fn_arith ARG... 4244# ------------------ 4245# Perform arithmetic evaluation on the ARGs, and store the result in the 4246# global $as_val. Take advantage of shells that can avoid forks. The arguments 4247# must be portable across $(()) and expr. 4248if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4249 eval 'as_fn_arith () 4250 { 4251 as_val=$(( $* )) 4252 }' 4253else 4254 as_fn_arith () 4255 { 4256 as_val=`expr "$@" || test $? -eq 1` 4257 } 4258fi # as_fn_arith 4259 4260 4261if expr a : '\(a\)' >/dev/null 2>&1 && 4262 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4263 as_expr=expr 4264else 4265 as_expr=false 4266fi 4267 4268if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4269 as_basename=basename 4270else 4271 as_basename=false 4272fi 4273 4274if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4275 as_dirname=dirname 4276else 4277 as_dirname=false 4278fi 4279 4280as_me=`$as_basename -- "$0" || 4281$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4282 X"$0" : 'X\(//\)$' \| \ 4283 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4284$as_echo X/"$0" | 4285 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4286 s//\1/ 4287 q 4288 } 4289 /^X\/\(\/\/\)$/{ 4290 s//\1/ 4291 q 4292 } 4293 /^X\/\(\/\).*/{ 4294 s//\1/ 4295 q 4296 } 4297 s/.*/./; q'` 4298 4299# Avoid depending upon Character Ranges. 4300as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4301as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4302as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4303as_cr_digits='0123456789' 4304as_cr_alnum=$as_cr_Letters$as_cr_digits 4305 4306ECHO_C= ECHO_N= ECHO_T= 4307case `echo -n x` in #((((( 4308-n*) 4309 case `echo 'xy\c'` in 4310 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4311 xy) ECHO_C='\c';; 4312 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4313 ECHO_T=' ';; 4314 esac;; 4315*) 4316 ECHO_N='-n';; 4317esac 4318 4319rm -f conf$$ conf$$.exe conf$$.file 4320if test -d conf$$.dir; then 4321 rm -f conf$$.dir/conf$$.file 4322else 4323 rm -f conf$$.dir 4324 mkdir conf$$.dir 2>/dev/null 4325fi 4326if (echo >conf$$.file) 2>/dev/null; then 4327 if ln -s conf$$.file conf$$ 2>/dev/null; then 4328 as_ln_s='ln -s' 4329 # ... but there are two gotchas: 4330 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4331 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4332 # In both cases, we have to default to `cp -pR'. 4333 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4334 as_ln_s='cp -pR' 4335 elif ln conf$$.file conf$$ 2>/dev/null; then 4336 as_ln_s=ln 4337 else 4338 as_ln_s='cp -pR' 4339 fi 4340else 4341 as_ln_s='cp -pR' 4342fi 4343rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4344rmdir conf$$.dir 2>/dev/null 4345 4346 4347# as_fn_mkdir_p 4348# ------------- 4349# Create "$as_dir" as a directory, including parents if necessary. 4350as_fn_mkdir_p () 4351{ 4352 4353 case $as_dir in #( 4354 -*) as_dir=./$as_dir;; 4355 esac 4356 test -d "$as_dir" || eval $as_mkdir_p || { 4357 as_dirs= 4358 while :; do 4359 case $as_dir in #( 4360 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 4361 *) as_qdir=$as_dir;; 4362 esac 4363 as_dirs="'$as_qdir' $as_dirs" 4364 as_dir=`$as_dirname -- "$as_dir" || 4365$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4366 X"$as_dir" : 'X\(//\)[^/]' \| \ 4367 X"$as_dir" : 'X\(//\)$' \| \ 4368 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4369$as_echo X"$as_dir" | 4370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4371 s//\1/ 4372 q 4373 } 4374 /^X\(\/\/\)[^/].*/{ 4375 s//\1/ 4376 q 4377 } 4378 /^X\(\/\/\)$/{ 4379 s//\1/ 4380 q 4381 } 4382 /^X\(\/\).*/{ 4383 s//\1/ 4384 q 4385 } 4386 s/.*/./; q'` 4387 test -d "$as_dir" && break 4388 done 4389 test -z "$as_dirs" || eval "mkdir $as_dirs" 4390 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 4391 4392 4393} # as_fn_mkdir_p 4394if mkdir -p . 2>/dev/null; then 4395 as_mkdir_p='mkdir -p "$as_dir"' 4396else 4397 test -d ./-p && rmdir ./-p 4398 as_mkdir_p=false 4399fi 4400 4401 4402# as_fn_executable_p FILE 4403# ----------------------- 4404# Test if FILE is an executable regular file. 4405as_fn_executable_p () 4406{ 4407 test -f "$1" && test -x "$1" 4408} # as_fn_executable_p 4409as_test_x='test -x' 4410as_executable_p=as_fn_executable_p 4411 4412# Sed expression to map a string onto a valid CPP name. 4413as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4414 4415# Sed expression to map a string onto a valid variable name. 4416as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4417 4418 4419exec 6>&1 4420## ----------------------------------- ## 4421## Main body of $CONFIG_STATUS script. ## 4422## ----------------------------------- ## 4423_ASEOF 4424test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4425 4426cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4427# Save the log message, to keep $0 and so on meaningful, and to 4428# report actual input values of CONFIG_FILES etc. instead of their 4429# values after options handling. 4430ac_log=" 4431This file was extended by gtkada $as_me 2016, which was 4432generated by GNU Autoconf 2.69. Invocation command line was 4433 4434 CONFIG_FILES = $CONFIG_FILES 4435 CONFIG_HEADERS = $CONFIG_HEADERS 4436 CONFIG_LINKS = $CONFIG_LINKS 4437 CONFIG_COMMANDS = $CONFIG_COMMANDS 4438 $ $0 $@ 4439 4440on `(hostname || uname -n) 2>/dev/null | sed 1q` 4441" 4442 4443_ACEOF 4444 4445case $ac_config_files in *" 4446"*) set x $ac_config_files; shift; ac_config_files=$*;; 4447esac 4448 4449 4450 4451cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4452# Files that config.status was made for. 4453config_files="$ac_config_files" 4454 4455_ACEOF 4456 4457cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4458ac_cs_usage="\ 4459\`$as_me' instantiates files and other configuration actions 4460from templates according to the current configuration. Unless the files 4461and actions are specified as TAGs, all are instantiated by default. 4462 4463Usage: $0 [OPTION]... [TAG]... 4464 4465 -h, --help print this help, then exit 4466 -V, --version print version number and configuration settings, then exit 4467 --config print configuration, then exit 4468 -q, --quiet, --silent 4469 do not print progress messages 4470 -d, --debug don't remove temporary files 4471 --recheck update $as_me by reconfiguring in the same conditions 4472 --file=FILE[:TEMPLATE] 4473 instantiate the configuration file FILE 4474 4475Configuration files: 4476$config_files 4477 4478Report bugs to <report@adacore.com>." 4479 4480_ACEOF 4481cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4482ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4483ac_cs_version="\\ 4484gtkada config.status 2016 4485configured by $0, generated by GNU Autoconf 2.69, 4486 with options \\"\$ac_cs_config\\" 4487 4488Copyright (C) 2012 Free Software Foundation, Inc. 4489This config.status script is free software; the Free Software Foundation 4490gives unlimited permission to copy, distribute and modify it." 4491 4492ac_pwd='$ac_pwd' 4493srcdir='$srcdir' 4494test -n "\$AWK" || AWK=awk 4495_ACEOF 4496 4497cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4498# The default lists apply if the user does not specify any file. 4499ac_need_defaults=: 4500while test $# != 0 4501do 4502 case $1 in 4503 --*=?*) 4504 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4505 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4506 ac_shift=: 4507 ;; 4508 --*=) 4509 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4510 ac_optarg= 4511 ac_shift=: 4512 ;; 4513 *) 4514 ac_option=$1 4515 ac_optarg=$2 4516 ac_shift=shift 4517 ;; 4518 esac 4519 4520 case $ac_option in 4521 # Handling of the options. 4522 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4523 ac_cs_recheck=: ;; 4524 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4525 $as_echo "$ac_cs_version"; exit ;; 4526 --config | --confi | --conf | --con | --co | --c ) 4527 $as_echo "$ac_cs_config"; exit ;; 4528 --debug | --debu | --deb | --de | --d | -d ) 4529 debug=: ;; 4530 --file | --fil | --fi | --f ) 4531 $ac_shift 4532 case $ac_optarg in 4533 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4534 '') as_fn_error $? "missing file argument" ;; 4535 esac 4536 as_fn_append CONFIG_FILES " '$ac_optarg'" 4537 ac_need_defaults=false;; 4538 --he | --h | --help | --hel | -h ) 4539 $as_echo "$ac_cs_usage"; exit ;; 4540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4541 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4542 ac_cs_silent=: ;; 4543 4544 # This is an error. 4545 -*) as_fn_error $? "unrecognized option: \`$1' 4546Try \`$0 --help' for more information." ;; 4547 4548 *) as_fn_append ac_config_targets " $1" 4549 ac_need_defaults=false ;; 4550 4551 esac 4552 shift 4553done 4554 4555ac_configure_extra_args= 4556 4557if $ac_cs_silent; then 4558 exec 6>/dev/null 4559 ac_configure_extra_args="$ac_configure_extra_args --silent" 4560fi 4561 4562_ACEOF 4563cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4564if \$ac_cs_recheck; then 4565 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4566 shift 4567 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4568 CONFIG_SHELL='$SHELL' 4569 export CONFIG_SHELL 4570 exec "\$@" 4571fi 4572 4573_ACEOF 4574cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4575exec 5>>config.log 4576{ 4577 echo 4578 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4579## Running $as_me. ## 4580_ASBOX 4581 $as_echo "$ac_log" 4582} >&5 4583 4584_ACEOF 4585cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4586_ACEOF 4587 4588cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4589 4590# Handling of arguments. 4591for ac_config_target in $ac_config_targets 4592do 4593 case $ac_config_target in 4594 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4595 "shared.gpr") CONFIG_FILES="$CONFIG_FILES shared.gpr" ;; 4596 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;; 4597 "src/config.h") CONFIG_FILES="$CONFIG_FILES src/config.h" ;; 4598 4599 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4600 esac 4601done 4602 4603 4604# If the user did not use the arguments to specify the items to instantiate, 4605# then the envvar interface is used. Set only those that are not. 4606# We use the long form for the default assignment because of an extremely 4607# bizarre bug on SunOS 4.1.3. 4608if $ac_need_defaults; then 4609 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4610fi 4611 4612# Have a temporary directory for convenience. Make it in the build tree 4613# simply because there is no reason against having it here, and in addition, 4614# creating and moving files from /tmp can sometimes cause problems. 4615# Hook for its removal unless debugging. 4616# Note that there is a small window in which the directory will not be cleaned: 4617# after its creation but before its name has been assigned to `$tmp'. 4618$debug || 4619{ 4620 tmp= ac_tmp= 4621 trap 'exit_status=$? 4622 : "${ac_tmp:=$tmp}" 4623 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4624' 0 4625 trap 'as_fn_exit 1' 1 2 13 15 4626} 4627# Create a (secure) tmp directory for tmp files. 4628 4629{ 4630 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4631 test -d "$tmp" 4632} || 4633{ 4634 tmp=./conf$$-$RANDOM 4635 (umask 077 && mkdir "$tmp") 4636} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4637ac_tmp=$tmp 4638 4639# Set up the scripts for CONFIG_FILES section. 4640# No need to generate them if there are no CONFIG_FILES. 4641# This happens for instance with `./config.status config.h'. 4642if test -n "$CONFIG_FILES"; then 4643 4644 4645ac_cr=`echo X | tr X '\015'` 4646# On cygwin, bash can eat \r inside `` if the user requested igncr. 4647# But we know of no other shell where ac_cr would be empty at this 4648# point, so we can use a bashism as a fallback. 4649if test "x$ac_cr" = x; then 4650 eval ac_cr=\$\'\\r\' 4651fi 4652ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4653if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4654 ac_cs_awk_cr='\\r' 4655else 4656 ac_cs_awk_cr=$ac_cr 4657fi 4658 4659echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 4660_ACEOF 4661 4662 4663{ 4664 echo "cat >conf$$subs.awk <<_ACEOF" && 4665 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4666 echo "_ACEOF" 4667} >conf$$subs.sh || 4668 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4669ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 4670ac_delim='%!_!# ' 4671for ac_last_try in false false false false false :; do 4672 . ./conf$$subs.sh || 4673 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4674 4675 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4676 if test $ac_delim_n = $ac_delim_num; then 4677 break 4678 elif $ac_last_try; then 4679 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4680 else 4681 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4682 fi 4683done 4684rm -f conf$$subs.sh 4685 4686cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4687cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 4688_ACEOF 4689sed -n ' 4690h 4691s/^/S["/; s/!.*/"]=/ 4692p 4693g 4694s/^[^!]*!// 4695:repl 4696t repl 4697s/'"$ac_delim"'$// 4698t delim 4699:nl 4700h 4701s/\(.\{148\}\)..*/\1/ 4702t more1 4703s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4704p 4705n 4706b repl 4707:more1 4708s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4709p 4710g 4711s/.\{148\}// 4712t nl 4713:delim 4714h 4715s/\(.\{148\}\)..*/\1/ 4716t more2 4717s/["\\]/\\&/g; s/^/"/; s/$/"/ 4718p 4719b 4720:more2 4721s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4722p 4723g 4724s/.\{148\}// 4725t delim 4726' <conf$$subs.awk | sed ' 4727/^[^""]/{ 4728 N 4729 s/\n// 4730} 4731' >>$CONFIG_STATUS || ac_write_fail=1 4732rm -f conf$$subs.awk 4733cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4734_ACAWK 4735cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4736 for (key in S) S_is_set[key] = 1 4737 FS = "" 4738 4739} 4740{ 4741 line = $ 0 4742 nfields = split(line, field, "@") 4743 substed = 0 4744 len = length(field[1]) 4745 for (i = 2; i < nfields; i++) { 4746 key = field[i] 4747 keylen = length(key) 4748 if (S_is_set[key]) { 4749 value = S[key] 4750 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4751 len += length(value) + length(field[++i]) 4752 substed = 1 4753 } else 4754 len += 1 + keylen 4755 } 4756 4757 print line 4758} 4759 4760_ACAWK 4761_ACEOF 4762cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4763if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4764 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4765else 4766 cat 4767fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 4768 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4769_ACEOF 4770 4771# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4772# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4773# trailing colons and then remove the whole line if VPATH becomes empty 4774# (actually we leave an empty line to preserve line numbers). 4775if test "x$srcdir" = x.; then 4776 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4777h 4778s/// 4779s/^/:/ 4780s/[ ]*$/:/ 4781s/:\$(srcdir):/:/g 4782s/:\${srcdir}:/:/g 4783s/:@srcdir@:/:/g 4784s/^:*// 4785s/:*$// 4786x 4787s/\(=[ ]*\).*/\1/ 4788G 4789s/\n// 4790s/^[^=]*=[ ]*$// 4791}' 4792fi 4793 4794cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4795fi # test -n "$CONFIG_FILES" 4796 4797 4798eval set X " :F $CONFIG_FILES " 4799shift 4800for ac_tag 4801do 4802 case $ac_tag in 4803 :[FHLC]) ac_mode=$ac_tag; continue;; 4804 esac 4805 case $ac_mode$ac_tag in 4806 :[FHL]*:*);; 4807 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 4808 :[FH]-) ac_tag=-:-;; 4809 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4810 esac 4811 ac_save_IFS=$IFS 4812 IFS=: 4813 set x $ac_tag 4814 IFS=$ac_save_IFS 4815 shift 4816 ac_file=$1 4817 shift 4818 4819 case $ac_mode in 4820 :L) ac_source=$1;; 4821 :[FH]) 4822 ac_file_inputs= 4823 for ac_f 4824 do 4825 case $ac_f in 4826 -) ac_f="$ac_tmp/stdin";; 4827 *) # Look for the file first in the build tree, then in the source tree 4828 # (if the path is not absolute). The absolute path cannot be DOS-style, 4829 # because $ac_f cannot contain `:'. 4830 test -f "$ac_f" || 4831 case $ac_f in 4832 [\\/$]*) false;; 4833 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4834 esac || 4835 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4836 esac 4837 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4838 as_fn_append ac_file_inputs " '$ac_f'" 4839 done 4840 4841 # Let's still pretend it is `configure' which instantiates (i.e., don't 4842 # use $as_me), people would be surprised to read: 4843 # /* config.h. Generated by config.status. */ 4844 configure_input='Generated from '` 4845 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4846 `' by configure.' 4847 if test x"$ac_file" != x-; then 4848 configure_input="$ac_file. $configure_input" 4849 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4850$as_echo "$as_me: creating $ac_file" >&6;} 4851 fi 4852 # Neutralize special characters interpreted by sed in replacement strings. 4853 case $configure_input in #( 4854 *\&* | *\|* | *\\* ) 4855 ac_sed_conf_input=`$as_echo "$configure_input" | 4856 sed 's/[\\\\&|]/\\\\&/g'`;; #( 4857 *) ac_sed_conf_input=$configure_input;; 4858 esac 4859 4860 case $ac_tag in 4861 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4862 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4863 esac 4864 ;; 4865 esac 4866 4867 ac_dir=`$as_dirname -- "$ac_file" || 4868$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4869 X"$ac_file" : 'X\(//\)[^/]' \| \ 4870 X"$ac_file" : 'X\(//\)$' \| \ 4871 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4872$as_echo X"$ac_file" | 4873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4874 s//\1/ 4875 q 4876 } 4877 /^X\(\/\/\)[^/].*/{ 4878 s//\1/ 4879 q 4880 } 4881 /^X\(\/\/\)$/{ 4882 s//\1/ 4883 q 4884 } 4885 /^X\(\/\).*/{ 4886 s//\1/ 4887 q 4888 } 4889 s/.*/./; q'` 4890 as_dir="$ac_dir"; as_fn_mkdir_p 4891 ac_builddir=. 4892 4893case "$ac_dir" in 4894.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4895*) 4896 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 4897 # A ".." for each directory in $ac_dir_suffix. 4898 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4899 case $ac_top_builddir_sub in 4900 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4901 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4902 esac ;; 4903esac 4904ac_abs_top_builddir=$ac_pwd 4905ac_abs_builddir=$ac_pwd$ac_dir_suffix 4906# for backward compatibility: 4907ac_top_builddir=$ac_top_build_prefix 4908 4909case $srcdir in 4910 .) # We are building in place. 4911 ac_srcdir=. 4912 ac_top_srcdir=$ac_top_builddir_sub 4913 ac_abs_top_srcdir=$ac_pwd ;; 4914 [\\/]* | ?:[\\/]* ) # Absolute name. 4915 ac_srcdir=$srcdir$ac_dir_suffix; 4916 ac_top_srcdir=$srcdir 4917 ac_abs_top_srcdir=$srcdir ;; 4918 *) # Relative name. 4919 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4920 ac_top_srcdir=$ac_top_build_prefix$srcdir 4921 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4922esac 4923ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4924 4925 4926 case $ac_mode in 4927 :F) 4928 # 4929 # CONFIG_FILE 4930 # 4931 4932_ACEOF 4933 4934cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4935# If the template does not know about datarootdir, expand it. 4936# FIXME: This hack should be removed a few years after 2.60. 4937ac_datarootdir_hack=; ac_datarootdir_seen= 4938ac_sed_dataroot=' 4939/datarootdir/ { 4940 p 4941 q 4942} 4943/@datadir@/p 4944/@docdir@/p 4945/@infodir@/p 4946/@localedir@/p 4947/@mandir@/p' 4948case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 4949*datarootdir*) ac_datarootdir_seen=yes;; 4950*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4952$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4953_ACEOF 4954cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4955 ac_datarootdir_hack=' 4956 s&@datadir@&$datadir&g 4957 s&@docdir@&$docdir&g 4958 s&@infodir@&$infodir&g 4959 s&@localedir@&$localedir&g 4960 s&@mandir@&$mandir&g 4961 s&\\\${datarootdir}&$datarootdir&g' ;; 4962esac 4963_ACEOF 4964 4965# Neutralize VPATH when `$srcdir' = `.'. 4966# Shell code in configure.ac might set extrasub. 4967# FIXME: do we really want to maintain this feature? 4968cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4969ac_sed_extra="$ac_vpsub 4970$extrasub 4971_ACEOF 4972cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4973:t 4974/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4975s|@configure_input@|$ac_sed_conf_input|;t t 4976s&@top_builddir@&$ac_top_builddir_sub&;t t 4977s&@top_build_prefix@&$ac_top_build_prefix&;t t 4978s&@srcdir@&$ac_srcdir&;t t 4979s&@abs_srcdir@&$ac_abs_srcdir&;t t 4980s&@top_srcdir@&$ac_top_srcdir&;t t 4981s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4982s&@builddir@&$ac_builddir&;t t 4983s&@abs_builddir@&$ac_abs_builddir&;t t 4984s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4985$ac_datarootdir_hack 4986" 4987eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 4988 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4989 4990test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4991 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 4992 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 4993 "$ac_tmp/out"`; test -z "$ac_out"; } && 4994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4995which seems to be undefined. Please make sure it is defined" >&5 4996$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4997which seems to be undefined. Please make sure it is defined" >&2;} 4998 4999 rm -f "$ac_tmp/stdin" 5000 case $ac_file in 5001 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5002 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 5003 esac \ 5004 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5005 ;; 5006 5007 5008 5009 esac 5010 5011done # for ac_tag 5012 5013 5014as_fn_exit 0 5015_ACEOF 5016ac_clean_files=$ac_clean_files_save 5017 5018test $ac_write_fail = 0 || 5019 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 5020 5021 5022# configure is writing to config.log, and then calls config.status. 5023# config.status does its own redirection, appending to config.log. 5024# Unfortunately, on DOS this fails, as config.log is still kept open 5025# by configure, so config.status won't be able to write to it; its 5026# output is simply discarded. So we exec the FD to /dev/null, 5027# effectively closing config.log, so it can be properly (re)opened and 5028# appended to by config.status. When coming back to configure, we 5029# need to make the FD available again. 5030if test "$no_create" != yes; then 5031 ac_cs_success=: 5032 ac_config_status_args= 5033 test "$silent" = yes && 5034 ac_config_status_args="$ac_config_status_args --quiet" 5035 exec 5>/dev/null 5036 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5037 exec 5>>config.log 5038 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5039 # would make configure fail if this is the last instruction. 5040 $ac_cs_success || as_fn_exit 1 5041fi 5042if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5044$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5045fi 5046 5047 5048{ $as_echo "$as_me:${as_lineno-$LINENO}: --------- Summary for Gtkada $PACKAGE_VERSION -----------------" >&5 5049$as_echo "$as_me: --------- Summary for Gtkada $PACKAGE_VERSION -----------------" >&6;} 5050{ $as_echo "$as_me:${as_lineno-$LINENO}: Shared libraries: $CAN_BUILD_SHARED (default: $DEFAULT_LIBRARY_TYPE)" >&5 5051$as_echo "$as_me: Shared libraries: $CAN_BUILD_SHARED (default: $DEFAULT_LIBRARY_TYPE)" >&6;} 5052{ $as_echo "$as_me:${as_lineno-$LINENO}: OpenGL: $HAVE_OPENGL" >&5 5053$as_echo "$as_me: OpenGL: $HAVE_OPENGL" >&6;} 5054{ $as_echo "$as_me:${as_lineno-$LINENO}: --------------------------------------------" >&5 5055$as_echo "$as_me: --------------------------------------------" >&6;} 5056