1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.68 for geomorph 0.60.1. 4# 5# 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8# 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 137if test "x$CONFIG_SHELL" = x; then 138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 139 emulate sh 140 NULLCMD=: 141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 142 # is contrary to our usage. Disable this feature. 143 alias -g '\${1+\"\$@\"}'='\"\$@\"' 144 setopt NO_GLOB_SUBST 145else 146 case \`(set -o) 2>/dev/null\` in #( 147 *posix*) : 148 set -o posix ;; #( 149 *) : 150 ;; 151esac 152fi 153" 154 as_required="as_fn_return () { (exit \$1); } 155as_fn_success () { as_fn_return 0; } 156as_fn_failure () { as_fn_return 1; } 157as_fn_ret_success () { return 0; } 158as_fn_ret_failure () { return 1; } 159 160exitcode=0 161as_fn_success || { exitcode=1; echo as_fn_success failed.; } 162as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 163as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 164as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 165if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 166 167else 168 exitcode=1; echo positional parameters were not saved. 169fi 170test x\$exitcode = x0 || exit 1" 171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 175test \$(( 1 + 1 )) = 2 || exit 1" 176 if (eval "$as_required") 2>/dev/null; then : 177 as_have_required=yes 178else 179 as_have_required=no 180fi 181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 182 183else 184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 185as_found=false 186for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 187do 188 IFS=$as_save_IFS 189 test -z "$as_dir" && as_dir=. 190 as_found=: 191 case $as_dir in #( 192 /*) 193 for as_base in sh bash ksh sh5; do 194 # Try only shells that exist, to save several forks. 195 as_shell=$as_dir/$as_base 196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 198 CONFIG_SHELL=$as_shell as_have_required=yes 199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 break 2 201fi 202fi 203 done;; 204 esac 205 as_found=false 206done 207$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 209 CONFIG_SHELL=$SHELL as_have_required=yes 210fi; } 211IFS=$as_save_IFS 212 213 214 if test "x$CONFIG_SHELL" != x; then : 215 # We cannot yet assume a decent shell, so we have to provide a 216 # neutralization value for shells without unset; and this also 217 # works around shells that cannot unset nonexistent variables. 218 # Preserve -v and -x to the replacement shell. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 case $- in # (((( 224 *v*x* | *x*v* ) as_opts=-vx ;; 225 *v* ) as_opts=-v ;; 226 *x* ) as_opts=-x ;; 227 * ) as_opts= ;; 228 esac 229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 230fi 231 232 if test x$as_have_required = xno; then : 233 $as_echo "$0: This script requires a shell more modern than all" 234 $as_echo "$0: the shells that I found on your system." 235 if test x${ZSH_VERSION+set} = xset ; then 236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 237 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 238 else 239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 240$0: including any error possibly output before this 241$0: message. Then install a modern shell, or manually run 242$0: the script under such a shell if you do have one." 243 fi 244 exit 1 245fi 246fi 247fi 248SHELL=${CONFIG_SHELL-/bin/sh} 249export SHELL 250# Unset more variables known to interfere with behavior of common tools. 251CLICOLOR_FORCE= GREP_OPTIONS= 252unset CLICOLOR_FORCE GREP_OPTIONS 253 254## --------------------- ## 255## M4sh Shell Functions. ## 256## --------------------- ## 257# as_fn_unset VAR 258# --------------- 259# Portably unset VAR. 260as_fn_unset () 261{ 262 { eval $1=; unset $1;} 263} 264as_unset=as_fn_unset 265 266# as_fn_set_status STATUS 267# ----------------------- 268# Set $? to STATUS, without forking. 269as_fn_set_status () 270{ 271 return $1 272} # as_fn_set_status 273 274# as_fn_exit STATUS 275# ----------------- 276# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 277as_fn_exit () 278{ 279 set +e 280 as_fn_set_status $1 281 exit $1 282} # as_fn_exit 283 284# as_fn_mkdir_p 285# ------------- 286# Create "$as_dir" as a directory, including parents if necessary. 287as_fn_mkdir_p () 288{ 289 290 case $as_dir in #( 291 -*) as_dir=./$as_dir;; 292 esac 293 test -d "$as_dir" || eval $as_mkdir_p || { 294 as_dirs= 295 while :; do 296 case $as_dir in #( 297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 298 *) as_qdir=$as_dir;; 299 esac 300 as_dirs="'$as_qdir' $as_dirs" 301 as_dir=`$as_dirname -- "$as_dir" || 302$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 303 X"$as_dir" : 'X\(//\)[^/]' \| \ 304 X"$as_dir" : 'X\(//\)$' \| \ 305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 306$as_echo X"$as_dir" | 307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\/\)[^/].*/{ 312 s//\1/ 313 q 314 } 315 /^X\(\/\/\)$/{ 316 s//\1/ 317 q 318 } 319 /^X\(\/\).*/{ 320 s//\1/ 321 q 322 } 323 s/.*/./; q'` 324 test -d "$as_dir" && break 325 done 326 test -z "$as_dirs" || eval "mkdir $as_dirs" 327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 328 329 330} # as_fn_mkdir_p 331# as_fn_append VAR VALUE 332# ---------------------- 333# Append the text in VALUE to the end of the definition contained in VAR. Take 334# advantage of any shell optimizations that allow amortized linear growth over 335# repeated appends, instead of the typical quadratic growth present in naive 336# implementations. 337if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 338 eval 'as_fn_append () 339 { 340 eval $1+=\$2 341 }' 342else 343 as_fn_append () 344 { 345 eval $1=\$$1\$2 346 } 347fi # as_fn_append 348 349# as_fn_arith ARG... 350# ------------------ 351# Perform arithmetic evaluation on the ARGs, and store the result in the 352# global $as_val. Take advantage of shells that can avoid forks. The arguments 353# must be portable across $(()) and expr. 354if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 355 eval 'as_fn_arith () 356 { 357 as_val=$(( $* )) 358 }' 359else 360 as_fn_arith () 361 { 362 as_val=`expr "$@" || test $? -eq 1` 363 } 364fi # as_fn_arith 365 366 367# as_fn_error STATUS ERROR [LINENO LOG_FD] 368# ---------------------------------------- 369# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 370# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 371# script with STATUS, using 1 if that was 0. 372as_fn_error () 373{ 374 as_status=$1; test $as_status -eq 0 && as_status=1 375 if test "$4"; then 376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 378 fi 379 $as_echo "$as_me: error: $2" >&2 380 as_fn_exit $as_status 381} # as_fn_error 382 383if expr a : '\(a\)' >/dev/null 2>&1 && 384 test "X`expr 00001 : '.*\(...\)'`" = X001; then 385 as_expr=expr 386else 387 as_expr=false 388fi 389 390if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 391 as_basename=basename 392else 393 as_basename=false 394fi 395 396if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 397 as_dirname=dirname 398else 399 as_dirname=false 400fi 401 402as_me=`$as_basename -- "$0" || 403$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 404 X"$0" : 'X\(//\)$' \| \ 405 X"$0" : 'X\(/\)' \| . 2>/dev/null || 406$as_echo X/"$0" | 407 sed '/^.*\/\([^/][^/]*\)\/*$/{ 408 s//\1/ 409 q 410 } 411 /^X\/\(\/\/\)$/{ 412 s//\1/ 413 q 414 } 415 /^X\/\(\/\).*/{ 416 s//\1/ 417 q 418 } 419 s/.*/./; q'` 420 421# Avoid depending upon Character Ranges. 422as_cr_letters='abcdefghijklmnopqrstuvwxyz' 423as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 424as_cr_Letters=$as_cr_letters$as_cr_LETTERS 425as_cr_digits='0123456789' 426as_cr_alnum=$as_cr_Letters$as_cr_digits 427 428 429 as_lineno_1=$LINENO as_lineno_1a=$LINENO 430 as_lineno_2=$LINENO as_lineno_2a=$LINENO 431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 434 sed -n ' 435 p 436 /[$]LINENO/= 437 ' <$as_myself | 438 sed ' 439 s/[$]LINENO.*/&-/ 440 t lineno 441 b 442 :lineno 443 N 444 :loop 445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 446 t loop 447 s/-\n.*// 448 ' >$as_me.lineno && 449 chmod +x "$as_me.lineno" || 450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 451 452 # Don't try to exec as it changes $[0], causing all sort of problems 453 # (the dirname of $[0] is not the place where we might find the 454 # original and so on. Autoconf is especially sensitive to this). 455 . "./$as_me.lineno" 456 # Exit status is that of the last command. 457 exit 458} 459 460ECHO_C= ECHO_N= ECHO_T= 461case `echo -n x` in #((((( 462-n*) 463 case `echo 'xy\c'` in 464 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 465 xy) ECHO_C='\c';; 466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 467 ECHO_T=' ';; 468 esac;; 469*) 470 ECHO_N='-n';; 471esac 472 473rm -f conf$$ conf$$.exe conf$$.file 474if test -d conf$$.dir; then 475 rm -f conf$$.dir/conf$$.file 476else 477 rm -f conf$$.dir 478 mkdir conf$$.dir 2>/dev/null 479fi 480if (echo >conf$$.file) 2>/dev/null; then 481 if ln -s conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s='ln -s' 483 # ... but there are two gotchas: 484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 486 # In both cases, we have to default to `cp -p'. 487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 488 as_ln_s='cp -p' 489 elif ln conf$$.file conf$$ 2>/dev/null; then 490 as_ln_s=ln 491 else 492 as_ln_s='cp -p' 493 fi 494else 495 as_ln_s='cp -p' 496fi 497rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 498rmdir conf$$.dir 2>/dev/null 499 500if mkdir -p . 2>/dev/null; then 501 as_mkdir_p='mkdir -p "$as_dir"' 502else 503 test -d ./-p && rmdir ./-p 504 as_mkdir_p=false 505fi 506 507if test -x / >/dev/null 2>&1; then 508 as_test_x='test -x' 509else 510 if ls -dL / >/dev/null 2>&1; then 511 as_ls_L_option=L 512 else 513 as_ls_L_option= 514 fi 515 as_test_x=' 516 eval sh -c '\'' 517 if test -d "$1"; then 518 test -d "$1/."; 519 else 520 case $1 in #( 521 -*)set "./$1";; 522 esac; 523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 524 ???[sx]*):;;*)false;;esac;fi 525 '\'' sh 526 ' 527fi 528as_executable_p=$as_test_x 529 530# Sed expression to map a string onto a valid CPP name. 531as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 532 533# Sed expression to map a string onto a valid variable name. 534as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 535 536 537test -n "$DJDIR" || exec 7<&0 </dev/null 538exec 6>&1 539 540# Name of the host. 541# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 542# so uname gets run too. 543ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 544 545# 546# Initializations. 547# 548ac_default_prefix=/usr/local 549ac_clean_files= 550ac_config_libobj_dir=. 551LIBOBJS= 552cross_compiling=no 553subdirs= 554MFLAGS= 555MAKEFLAGS= 556 557# Identity of this package. 558PACKAGE_NAME='geomorph' 559PACKAGE_TARNAME='geomorph' 560PACKAGE_VERSION='0.60.1' 561PACKAGE_STRING='geomorph 0.60.1' 562PACKAGE_BUGREPORT='' 563PACKAGE_URL='' 564 565ac_unique_file="src/app/main.c" 566gt_needs= 567# Factoring default headers for most tests. 568ac_includes_default="\ 569#include <stdio.h> 570#ifdef HAVE_SYS_TYPES_H 571# include <sys/types.h> 572#endif 573#ifdef HAVE_SYS_STAT_H 574# include <sys/stat.h> 575#endif 576#ifdef STDC_HEADERS 577# include <stdlib.h> 578# include <stddef.h> 579#else 580# ifdef HAVE_STDLIB_H 581# include <stdlib.h> 582# endif 583#endif 584#ifdef HAVE_STRING_H 585# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 586# include <memory.h> 587# endif 588# include <string.h> 589#endif 590#ifdef HAVE_STRINGS_H 591# include <strings.h> 592#endif 593#ifdef HAVE_INTTYPES_H 594# include <inttypes.h> 595#endif 596#ifdef HAVE_STDINT_H 597# include <stdint.h> 598#endif 599#ifdef HAVE_UNISTD_H 600# include <unistd.h> 601#endif" 602 603ac_subst_vars='am__EXEEXT_FALSE 604am__EXEEXT_TRUE 605LTLIBOBJS 606LIBOBJS 607GTKGLEXT_LIBS 608GTKGLEXT_CFLAGS 609GTK_LIBS 610GTK_CFLAGS 611PNG_LIBS 612PNG_CFLAGS 613PKG_CONFIG_LIBDIR 614PKG_CONFIG_PATH 615PKG_CONFIG 616POSUB 617LTLIBINTL 618LIBINTL 619INTLLIBS 620LTLIBICONV 621LIBICONV 622INTL_MACOSX_LIBS 623EGREP 624GREP 625host_os 626host_vendor 627host_cpu 628host 629build_os 630build_vendor 631build_cpu 632build 633XGETTEXT_EXTRA_OPTIONS 634MSGMERGE 635XGETTEXT_015 636XGETTEXT 637GMSGFMT_015 638MSGFMT_015 639GMSGFMT 640MSGFMT 641GETTEXT_MACRO_VERSION 642USE_NLS 643geomorphdatadir 644RANLIB 645CPP 646am__fastdepCC_FALSE 647am__fastdepCC_TRUE 648CCDEPMODE 649am__nodep 650AMDEPBACKSLASH 651AMDEP_FALSE 652AMDEP_TRUE 653am__quote 654am__include 655DEPDIR 656OBJEXT 657EXEEXT 658ac_ct_CC 659CPPFLAGS 660LDFLAGS 661CFLAGS 662CC 663LN_S 664am__untar 665am__tar 666AMTAR 667am__leading_dot 668SET_MAKE 669AWK 670mkdir_p 671MKDIR_P 672INSTALL_STRIP_PROGRAM 673STRIP 674install_sh 675MAKEINFO 676AUTOHEADER 677AUTOMAKE 678AUTOCONF 679ACLOCAL 680VERSION 681PACKAGE 682CYGPATH_W 683am__isrc 684INSTALL_DATA 685INSTALL_SCRIPT 686INSTALL_PROGRAM 687target_alias 688host_alias 689build_alias 690LIBS 691ECHO_T 692ECHO_N 693ECHO_C 694DEFS 695mandir 696localedir 697libdir 698psdir 699pdfdir 700dvidir 701htmldir 702infodir 703docdir 704oldincludedir 705includedir 706localstatedir 707sharedstatedir 708sysconfdir 709datadir 710datarootdir 711libexecdir 712sbindir 713bindir 714program_transform_name 715prefix 716exec_prefix 717PACKAGE_URL 718PACKAGE_BUGREPORT 719PACKAGE_STRING 720PACKAGE_VERSION 721PACKAGE_TARNAME 722PACKAGE_NAME 723PATH_SEPARATOR 724SHELL' 725ac_subst_files='' 726ac_user_opts=' 727enable_option_checking 728enable_dependency_tracking 729enable_nls 730with_gnu_ld 731enable_rpath 732with_libiconv_prefix 733with_libintl_prefix 734' 735 ac_precious_vars='build_alias 736host_alias 737target_alias 738CC 739CFLAGS 740LDFLAGS 741LIBS 742CPPFLAGS 743CPP 744PKG_CONFIG 745PKG_CONFIG_PATH 746PKG_CONFIG_LIBDIR 747PNG_CFLAGS 748PNG_LIBS 749GTK_CFLAGS 750GTK_LIBS 751GTKGLEXT_CFLAGS 752GTKGLEXT_LIBS' 753 754 755# Initialize some variables set by options. 756ac_init_help= 757ac_init_version=false 758ac_unrecognized_opts= 759ac_unrecognized_sep= 760# The variables have the same names as the options, with 761# dashes changed to underlines. 762cache_file=/dev/null 763exec_prefix=NONE 764no_create= 765no_recursion= 766prefix=NONE 767program_prefix=NONE 768program_suffix=NONE 769program_transform_name=s,x,x, 770silent= 771site= 772srcdir= 773verbose= 774x_includes=NONE 775x_libraries=NONE 776 777# Installation directory options. 778# These are left unexpanded so users can "make install exec_prefix=/foo" 779# and all the variables that are supposed to be based on exec_prefix 780# by default will actually change. 781# Use braces instead of parens because sh, perl, etc. also accept them. 782# (The list follows the same order as the GNU Coding Standards.) 783bindir='${exec_prefix}/bin' 784sbindir='${exec_prefix}/sbin' 785libexecdir='${exec_prefix}/libexec' 786datarootdir='${prefix}/share' 787datadir='${datarootdir}' 788sysconfdir='${prefix}/etc' 789sharedstatedir='${prefix}/com' 790localstatedir='${prefix}/var' 791includedir='${prefix}/include' 792oldincludedir='/usr/include' 793docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 794infodir='${datarootdir}/info' 795htmldir='${docdir}' 796dvidir='${docdir}' 797pdfdir='${docdir}' 798psdir='${docdir}' 799libdir='${exec_prefix}/lib' 800localedir='${datarootdir}/locale' 801mandir='${datarootdir}/man' 802 803ac_prev= 804ac_dashdash= 805for ac_option 806do 807 # If the previous option needs an argument, assign it. 808 if test -n "$ac_prev"; then 809 eval $ac_prev=\$ac_option 810 ac_prev= 811 continue 812 fi 813 814 case $ac_option in 815 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 816 *=) ac_optarg= ;; 817 *) ac_optarg=yes ;; 818 esac 819 820 # Accept the important Cygnus configure options, so we can diagnose typos. 821 822 case $ac_dashdash$ac_option in 823 --) 824 ac_dashdash=yes ;; 825 826 -bindir | --bindir | --bindi | --bind | --bin | --bi) 827 ac_prev=bindir ;; 828 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 829 bindir=$ac_optarg ;; 830 831 -build | --build | --buil | --bui | --bu) 832 ac_prev=build_alias ;; 833 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 834 build_alias=$ac_optarg ;; 835 836 -cache-file | --cache-file | --cache-fil | --cache-fi \ 837 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 838 ac_prev=cache_file ;; 839 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 840 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 841 cache_file=$ac_optarg ;; 842 843 --config-cache | -C) 844 cache_file=config.cache ;; 845 846 -datadir | --datadir | --datadi | --datad) 847 ac_prev=datadir ;; 848 -datadir=* | --datadir=* | --datadi=* | --datad=*) 849 datadir=$ac_optarg ;; 850 851 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 852 | --dataroo | --dataro | --datar) 853 ac_prev=datarootdir ;; 854 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 855 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 856 datarootdir=$ac_optarg ;; 857 858 -disable-* | --disable-*) 859 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 860 # Reject names that are not valid shell variable names. 861 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 862 as_fn_error $? "invalid feature name: $ac_useropt" 863 ac_useropt_orig=$ac_useropt 864 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 865 case $ac_user_opts in 866 *" 867"enable_$ac_useropt" 868"*) ;; 869 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 870 ac_unrecognized_sep=', ';; 871 esac 872 eval enable_$ac_useropt=no ;; 873 874 -docdir | --docdir | --docdi | --doc | --do) 875 ac_prev=docdir ;; 876 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 877 docdir=$ac_optarg ;; 878 879 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 880 ac_prev=dvidir ;; 881 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 882 dvidir=$ac_optarg ;; 883 884 -enable-* | --enable-*) 885 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 886 # Reject names that are not valid shell variable names. 887 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 888 as_fn_error $? "invalid feature name: $ac_useropt" 889 ac_useropt_orig=$ac_useropt 890 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 891 case $ac_user_opts in 892 *" 893"enable_$ac_useropt" 894"*) ;; 895 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 896 ac_unrecognized_sep=', ';; 897 esac 898 eval enable_$ac_useropt=\$ac_optarg ;; 899 900 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 901 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 902 | --exec | --exe | --ex) 903 ac_prev=exec_prefix ;; 904 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 905 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 906 | --exec=* | --exe=* | --ex=*) 907 exec_prefix=$ac_optarg ;; 908 909 -gas | --gas | --ga | --g) 910 # Obsolete; use --with-gas. 911 with_gas=yes ;; 912 913 -help | --help | --hel | --he | -h) 914 ac_init_help=long ;; 915 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 916 ac_init_help=recursive ;; 917 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 918 ac_init_help=short ;; 919 920 -host | --host | --hos | --ho) 921 ac_prev=host_alias ;; 922 -host=* | --host=* | --hos=* | --ho=*) 923 host_alias=$ac_optarg ;; 924 925 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 926 ac_prev=htmldir ;; 927 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 928 | --ht=*) 929 htmldir=$ac_optarg ;; 930 931 -includedir | --includedir | --includedi | --included | --include \ 932 | --includ | --inclu | --incl | --inc) 933 ac_prev=includedir ;; 934 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 935 | --includ=* | --inclu=* | --incl=* | --inc=*) 936 includedir=$ac_optarg ;; 937 938 -infodir | --infodir | --infodi | --infod | --info | --inf) 939 ac_prev=infodir ;; 940 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 941 infodir=$ac_optarg ;; 942 943 -libdir | --libdir | --libdi | --libd) 944 ac_prev=libdir ;; 945 -libdir=* | --libdir=* | --libdi=* | --libd=*) 946 libdir=$ac_optarg ;; 947 948 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 949 | --libexe | --libex | --libe) 950 ac_prev=libexecdir ;; 951 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 952 | --libexe=* | --libex=* | --libe=*) 953 libexecdir=$ac_optarg ;; 954 955 -localedir | --localedir | --localedi | --localed | --locale) 956 ac_prev=localedir ;; 957 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 958 localedir=$ac_optarg ;; 959 960 -localstatedir | --localstatedir | --localstatedi | --localstated \ 961 | --localstate | --localstat | --localsta | --localst | --locals) 962 ac_prev=localstatedir ;; 963 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 964 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 965 localstatedir=$ac_optarg ;; 966 967 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 968 ac_prev=mandir ;; 969 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 970 mandir=$ac_optarg ;; 971 972 -nfp | --nfp | --nf) 973 # Obsolete; use --without-fp. 974 with_fp=no ;; 975 976 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 977 | --no-cr | --no-c | -n) 978 no_create=yes ;; 979 980 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 981 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 982 no_recursion=yes ;; 983 984 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 985 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 986 | --oldin | --oldi | --old | --ol | --o) 987 ac_prev=oldincludedir ;; 988 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 989 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 990 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 991 oldincludedir=$ac_optarg ;; 992 993 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 994 ac_prev=prefix ;; 995 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 996 prefix=$ac_optarg ;; 997 998 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 999 | --program-pre | --program-pr | --program-p) 1000 ac_prev=program_prefix ;; 1001 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1002 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1003 program_prefix=$ac_optarg ;; 1004 1005 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1006 | --program-suf | --program-su | --program-s) 1007 ac_prev=program_suffix ;; 1008 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1009 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1010 program_suffix=$ac_optarg ;; 1011 1012 -program-transform-name | --program-transform-name \ 1013 | --program-transform-nam | --program-transform-na \ 1014 | --program-transform-n | --program-transform- \ 1015 | --program-transform | --program-transfor \ 1016 | --program-transfo | --program-transf \ 1017 | --program-trans | --program-tran \ 1018 | --progr-tra | --program-tr | --program-t) 1019 ac_prev=program_transform_name ;; 1020 -program-transform-name=* | --program-transform-name=* \ 1021 | --program-transform-nam=* | --program-transform-na=* \ 1022 | --program-transform-n=* | --program-transform-=* \ 1023 | --program-transform=* | --program-transfor=* \ 1024 | --program-transfo=* | --program-transf=* \ 1025 | --program-trans=* | --program-tran=* \ 1026 | --progr-tra=* | --program-tr=* | --program-t=*) 1027 program_transform_name=$ac_optarg ;; 1028 1029 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1030 ac_prev=pdfdir ;; 1031 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1032 pdfdir=$ac_optarg ;; 1033 1034 -psdir | --psdir | --psdi | --psd | --ps) 1035 ac_prev=psdir ;; 1036 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1037 psdir=$ac_optarg ;; 1038 1039 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1040 | -silent | --silent | --silen | --sile | --sil) 1041 silent=yes ;; 1042 1043 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1044 ac_prev=sbindir ;; 1045 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1046 | --sbi=* | --sb=*) 1047 sbindir=$ac_optarg ;; 1048 1049 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1050 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1051 | --sharedst | --shareds | --shared | --share | --shar \ 1052 | --sha | --sh) 1053 ac_prev=sharedstatedir ;; 1054 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1055 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1056 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1057 | --sha=* | --sh=*) 1058 sharedstatedir=$ac_optarg ;; 1059 1060 -site | --site | --sit) 1061 ac_prev=site ;; 1062 -site=* | --site=* | --sit=*) 1063 site=$ac_optarg ;; 1064 1065 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1066 ac_prev=srcdir ;; 1067 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1068 srcdir=$ac_optarg ;; 1069 1070 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1071 | --syscon | --sysco | --sysc | --sys | --sy) 1072 ac_prev=sysconfdir ;; 1073 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1074 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1075 sysconfdir=$ac_optarg ;; 1076 1077 -target | --target | --targe | --targ | --tar | --ta | --t) 1078 ac_prev=target_alias ;; 1079 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1080 target_alias=$ac_optarg ;; 1081 1082 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1083 verbose=yes ;; 1084 1085 -version | --version | --versio | --versi | --vers | -V) 1086 ac_init_version=: ;; 1087 1088 -with-* | --with-*) 1089 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1090 # Reject names that are not valid shell variable names. 1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1092 as_fn_error $? "invalid package name: $ac_useropt" 1093 ac_useropt_orig=$ac_useropt 1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1095 case $ac_user_opts in 1096 *" 1097"with_$ac_useropt" 1098"*) ;; 1099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1100 ac_unrecognized_sep=', ';; 1101 esac 1102 eval with_$ac_useropt=\$ac_optarg ;; 1103 1104 -without-* | --without-*) 1105 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1106 # Reject names that are not valid shell variable names. 1107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1108 as_fn_error $? "invalid package name: $ac_useropt" 1109 ac_useropt_orig=$ac_useropt 1110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1111 case $ac_user_opts in 1112 *" 1113"with_$ac_useropt" 1114"*) ;; 1115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1116 ac_unrecognized_sep=', ';; 1117 esac 1118 eval with_$ac_useropt=no ;; 1119 1120 --x) 1121 # Obsolete; use --with-x. 1122 with_x=yes ;; 1123 1124 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1125 | --x-incl | --x-inc | --x-in | --x-i) 1126 ac_prev=x_includes ;; 1127 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1128 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1129 x_includes=$ac_optarg ;; 1130 1131 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1132 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1133 ac_prev=x_libraries ;; 1134 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1135 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1136 x_libraries=$ac_optarg ;; 1137 1138 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1139Try \`$0 --help' for more information" 1140 ;; 1141 1142 *=*) 1143 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1144 # Reject names that are not valid shell variable names. 1145 case $ac_envvar in #( 1146 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1147 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1148 esac 1149 eval $ac_envvar=\$ac_optarg 1150 export $ac_envvar ;; 1151 1152 *) 1153 # FIXME: should be removed in autoconf 3.0. 1154 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1155 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1156 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1157 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1158 ;; 1159 1160 esac 1161done 1162 1163if test -n "$ac_prev"; then 1164 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1165 as_fn_error $? "missing argument to $ac_option" 1166fi 1167 1168if test -n "$ac_unrecognized_opts"; then 1169 case $enable_option_checking in 1170 no) ;; 1171 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1172 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1173 esac 1174fi 1175 1176# Check all directory arguments for consistency. 1177for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1178 datadir sysconfdir sharedstatedir localstatedir includedir \ 1179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1180 libdir localedir mandir 1181do 1182 eval ac_val=\$$ac_var 1183 # Remove trailing slashes. 1184 case $ac_val in 1185 */ ) 1186 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1187 eval $ac_var=\$ac_val;; 1188 esac 1189 # Be sure to have absolute directory names. 1190 case $ac_val in 1191 [\\/$]* | ?:[\\/]* ) continue;; 1192 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1193 esac 1194 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1195done 1196 1197# There might be people who depend on the old broken behavior: `$host' 1198# used to hold the argument of --host etc. 1199# FIXME: To remove some day. 1200build=$build_alias 1201host=$host_alias 1202target=$target_alias 1203 1204# FIXME: To remove some day. 1205if test "x$host_alias" != x; then 1206 if test "x$build_alias" = x; then 1207 cross_compiling=maybe 1208 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1209 If a cross compiler is detected then cross compile mode will be used" >&2 1210 elif test "x$build_alias" != "x$host_alias"; then 1211 cross_compiling=yes 1212 fi 1213fi 1214 1215ac_tool_prefix= 1216test -n "$host_alias" && ac_tool_prefix=$host_alias- 1217 1218test "$silent" = yes && exec 6>/dev/null 1219 1220 1221ac_pwd=`pwd` && test -n "$ac_pwd" && 1222ac_ls_di=`ls -di .` && 1223ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1224 as_fn_error $? "working directory cannot be determined" 1225test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1226 as_fn_error $? "pwd does not report name of working directory" 1227 1228 1229# Find the source files, if location was not specified. 1230if test -z "$srcdir"; then 1231 ac_srcdir_defaulted=yes 1232 # Try the directory containing this script, then the parent directory. 1233 ac_confdir=`$as_dirname -- "$as_myself" || 1234$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1235 X"$as_myself" : 'X\(//\)[^/]' \| \ 1236 X"$as_myself" : 'X\(//\)$' \| \ 1237 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1238$as_echo X"$as_myself" | 1239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1240 s//\1/ 1241 q 1242 } 1243 /^X\(\/\/\)[^/].*/{ 1244 s//\1/ 1245 q 1246 } 1247 /^X\(\/\/\)$/{ 1248 s//\1/ 1249 q 1250 } 1251 /^X\(\/\).*/{ 1252 s//\1/ 1253 q 1254 } 1255 s/.*/./; q'` 1256 srcdir=$ac_confdir 1257 if test ! -r "$srcdir/$ac_unique_file"; then 1258 srcdir=.. 1259 fi 1260else 1261 ac_srcdir_defaulted=no 1262fi 1263if test ! -r "$srcdir/$ac_unique_file"; then 1264 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1265 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1266fi 1267ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1268ac_abs_confdir=`( 1269 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1270 pwd)` 1271# When building in place, set srcdir=. 1272if test "$ac_abs_confdir" = "$ac_pwd"; then 1273 srcdir=. 1274fi 1275# Remove unnecessary trailing slashes from srcdir. 1276# Double slashes in file names in object file debugging info 1277# mess up M-x gdb in Emacs. 1278case $srcdir in 1279*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1280esac 1281for ac_var in $ac_precious_vars; do 1282 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1283 eval ac_env_${ac_var}_value=\$${ac_var} 1284 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1285 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1286done 1287 1288# 1289# Report the --help message. 1290# 1291if test "$ac_init_help" = "long"; then 1292 # Omit some internal or obsolete options to make the list less imposing. 1293 # This message is too long to be a string in the A/UX 3.1 sh. 1294 cat <<_ACEOF 1295\`configure' configures geomorph 0.60.1 to adapt to many kinds of systems. 1296 1297Usage: $0 [OPTION]... [VAR=VALUE]... 1298 1299To assign environment variables (e.g., CC, CFLAGS...), specify them as 1300VAR=VALUE. See below for descriptions of some of the useful variables. 1301 1302Defaults for the options are specified in brackets. 1303 1304Configuration: 1305 -h, --help display this help and exit 1306 --help=short display options specific to this package 1307 --help=recursive display the short help of all the included packages 1308 -V, --version display version information and exit 1309 -q, --quiet, --silent do not print \`checking ...' messages 1310 --cache-file=FILE cache test results in FILE [disabled] 1311 -C, --config-cache alias for \`--cache-file=config.cache' 1312 -n, --no-create do not create output files 1313 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1314 1315Installation directories: 1316 --prefix=PREFIX install architecture-independent files in PREFIX 1317 [$ac_default_prefix] 1318 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1319 [PREFIX] 1320 1321By default, \`make install' will install all the files in 1322\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1323an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1324for instance \`--prefix=\$HOME'. 1325 1326For better control, use the options below. 1327 1328Fine tuning of the installation directories: 1329 --bindir=DIR user executables [EPREFIX/bin] 1330 --sbindir=DIR system admin executables [EPREFIX/sbin] 1331 --libexecdir=DIR program executables [EPREFIX/libexec] 1332 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1333 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1334 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1335 --libdir=DIR object code libraries [EPREFIX/lib] 1336 --includedir=DIR C header files [PREFIX/include] 1337 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1338 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1339 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1340 --infodir=DIR info documentation [DATAROOTDIR/info] 1341 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1342 --mandir=DIR man documentation [DATAROOTDIR/man] 1343 --docdir=DIR documentation root [DATAROOTDIR/doc/geomorph] 1344 --htmldir=DIR html documentation [DOCDIR] 1345 --dvidir=DIR dvi documentation [DOCDIR] 1346 --pdfdir=DIR pdf documentation [DOCDIR] 1347 --psdir=DIR ps documentation [DOCDIR] 1348_ACEOF 1349 1350 cat <<\_ACEOF 1351 1352Program names: 1353 --program-prefix=PREFIX prepend PREFIX to installed program names 1354 --program-suffix=SUFFIX append SUFFIX to installed program names 1355 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1356 1357System types: 1358 --build=BUILD configure for building on BUILD [guessed] 1359 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1360_ACEOF 1361fi 1362 1363if test -n "$ac_init_help"; then 1364 case $ac_init_help in 1365 short | recursive ) echo "Configuration of geomorph 0.60.1:";; 1366 esac 1367 cat <<\_ACEOF 1368 1369Optional Features: 1370 --disable-option-checking ignore unrecognized --enable/--with options 1371 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1372 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1373 --disable-dependency-tracking speeds up one-time build 1374 --enable-dependency-tracking do not reject slow dependency extractors 1375 --disable-nls do not use Native Language Support 1376 --disable-rpath do not hardcode runtime library paths 1377 1378Optional Packages: 1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1381 --with-gnu-ld assume the C compiler uses GNU ld default=no 1382 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1383 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1384 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1385 --without-libintl-prefix don't search for libintl in includedir and libdir 1386 1387Some influential environment variables: 1388 CC C compiler command 1389 CFLAGS C compiler flags 1390 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1391 nonstandard directory <lib dir> 1392 LIBS libraries to pass to the linker, e.g. -l<library> 1393 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1394 you have headers in a nonstandard directory <include dir> 1395 CPP C preprocessor 1396 PKG_CONFIG path to pkg-config utility 1397 PKG_CONFIG_PATH 1398 directories to add to pkg-config's search path 1399 PKG_CONFIG_LIBDIR 1400 path overriding pkg-config's built-in search path 1401 PNG_CFLAGS C compiler flags for PNG, overriding pkg-config 1402 PNG_LIBS linker flags for PNG, overriding pkg-config 1403 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config 1404 GTK_LIBS linker flags for GTK, overriding pkg-config 1405 GTKGLEXT_CFLAGS 1406 C compiler flags for GTKGLEXT, overriding pkg-config 1407 GTKGLEXT_LIBS 1408 linker flags for GTKGLEXT, overriding pkg-config 1409 1410Use these variables to override the choices made by `configure' or to help 1411it to find libraries and programs with nonstandard names/locations. 1412 1413Report bugs to the package provider. 1414_ACEOF 1415ac_status=$? 1416fi 1417 1418if test "$ac_init_help" = "recursive"; then 1419 # If there are subdirs, report their specific --help. 1420 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1421 test -d "$ac_dir" || 1422 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1423 continue 1424 ac_builddir=. 1425 1426case "$ac_dir" in 1427.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1428*) 1429 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1430 # A ".." for each directory in $ac_dir_suffix. 1431 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1432 case $ac_top_builddir_sub in 1433 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1434 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1435 esac ;; 1436esac 1437ac_abs_top_builddir=$ac_pwd 1438ac_abs_builddir=$ac_pwd$ac_dir_suffix 1439# for backward compatibility: 1440ac_top_builddir=$ac_top_build_prefix 1441 1442case $srcdir in 1443 .) # We are building in place. 1444 ac_srcdir=. 1445 ac_top_srcdir=$ac_top_builddir_sub 1446 ac_abs_top_srcdir=$ac_pwd ;; 1447 [\\/]* | ?:[\\/]* ) # Absolute name. 1448 ac_srcdir=$srcdir$ac_dir_suffix; 1449 ac_top_srcdir=$srcdir 1450 ac_abs_top_srcdir=$srcdir ;; 1451 *) # Relative name. 1452 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1453 ac_top_srcdir=$ac_top_build_prefix$srcdir 1454 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1455esac 1456ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1457 1458 cd "$ac_dir" || { ac_status=$?; continue; } 1459 # Check for guested configure. 1460 if test -f "$ac_srcdir/configure.gnu"; then 1461 echo && 1462 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1463 elif test -f "$ac_srcdir/configure"; then 1464 echo && 1465 $SHELL "$ac_srcdir/configure" --help=recursive 1466 else 1467 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1468 fi || ac_status=$? 1469 cd "$ac_pwd" || { ac_status=$?; break; } 1470 done 1471fi 1472 1473test -n "$ac_init_help" && exit $ac_status 1474if $ac_init_version; then 1475 cat <<\_ACEOF 1476geomorph configure 0.60.1 1477generated by GNU Autoconf 2.68 1478 1479Copyright (C) 2010 Free Software Foundation, Inc. 1480This configure script is free software; the Free Software Foundation 1481gives unlimited permission to copy, distribute and modify it. 1482_ACEOF 1483 exit 1484fi 1485 1486## ------------------------ ## 1487## Autoconf initialization. ## 1488## ------------------------ ## 1489 1490# ac_fn_c_try_compile LINENO 1491# -------------------------- 1492# Try to compile conftest.$ac_ext, and return whether this succeeded. 1493ac_fn_c_try_compile () 1494{ 1495 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1496 rm -f conftest.$ac_objext 1497 if { { ac_try="$ac_compile" 1498case "(($ac_try" in 1499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1500 *) ac_try_echo=$ac_try;; 1501esac 1502eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1503$as_echo "$ac_try_echo"; } >&5 1504 (eval "$ac_compile") 2>conftest.err 1505 ac_status=$? 1506 if test -s conftest.err; then 1507 grep -v '^ *+' conftest.err >conftest.er1 1508 cat conftest.er1 >&5 1509 mv -f conftest.er1 conftest.err 1510 fi 1511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1512 test $ac_status = 0; } && { 1513 test -z "$ac_c_werror_flag" || 1514 test ! -s conftest.err 1515 } && test -s conftest.$ac_objext; then : 1516 ac_retval=0 1517else 1518 $as_echo "$as_me: failed program was:" >&5 1519sed 's/^/| /' conftest.$ac_ext >&5 1520 1521 ac_retval=1 1522fi 1523 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1524 as_fn_set_status $ac_retval 1525 1526} # ac_fn_c_try_compile 1527 1528# ac_fn_c_try_cpp LINENO 1529# ---------------------- 1530# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1531ac_fn_c_try_cpp () 1532{ 1533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1534 if { { ac_try="$ac_cpp conftest.$ac_ext" 1535case "(($ac_try" in 1536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1537 *) ac_try_echo=$ac_try;; 1538esac 1539eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1540$as_echo "$ac_try_echo"; } >&5 1541 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1542 ac_status=$? 1543 if test -s conftest.err; then 1544 grep -v '^ *+' conftest.err >conftest.er1 1545 cat conftest.er1 >&5 1546 mv -f conftest.er1 conftest.err 1547 fi 1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1549 test $ac_status = 0; } > conftest.i && { 1550 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1551 test ! -s conftest.err 1552 }; then : 1553 ac_retval=0 1554else 1555 $as_echo "$as_me: failed program was:" >&5 1556sed 's/^/| /' conftest.$ac_ext >&5 1557 1558 ac_retval=1 1559fi 1560 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1561 as_fn_set_status $ac_retval 1562 1563} # ac_fn_c_try_cpp 1564 1565# ac_fn_c_try_link LINENO 1566# ----------------------- 1567# Try to link conftest.$ac_ext, and return whether this succeeded. 1568ac_fn_c_try_link () 1569{ 1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1571 rm -f conftest.$ac_objext conftest$ac_exeext 1572 if { { ac_try="$ac_link" 1573case "(($ac_try" in 1574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1575 *) ac_try_echo=$ac_try;; 1576esac 1577eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1578$as_echo "$ac_try_echo"; } >&5 1579 (eval "$ac_link") 2>conftest.err 1580 ac_status=$? 1581 if test -s conftest.err; then 1582 grep -v '^ *+' conftest.err >conftest.er1 1583 cat conftest.er1 >&5 1584 mv -f conftest.er1 conftest.err 1585 fi 1586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1587 test $ac_status = 0; } && { 1588 test -z "$ac_c_werror_flag" || 1589 test ! -s conftest.err 1590 } && test -s conftest$ac_exeext && { 1591 test "$cross_compiling" = yes || 1592 $as_test_x conftest$ac_exeext 1593 }; then : 1594 ac_retval=0 1595else 1596 $as_echo "$as_me: failed program was:" >&5 1597sed 's/^/| /' conftest.$ac_ext >&5 1598 1599 ac_retval=1 1600fi 1601 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1602 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1603 # interfere with the next link command; also delete a directory that is 1604 # left behind by Apple's compiler. We do this before executing the actions. 1605 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1607 as_fn_set_status $ac_retval 1608 1609} # ac_fn_c_try_link 1610 1611# ac_fn_c_try_run LINENO 1612# ---------------------- 1613# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1614# that executables *can* be run. 1615ac_fn_c_try_run () 1616{ 1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1618 if { { ac_try="$ac_link" 1619case "(($ac_try" in 1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1621 *) ac_try_echo=$ac_try;; 1622esac 1623eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1624$as_echo "$ac_try_echo"; } >&5 1625 (eval "$ac_link") 2>&5 1626 ac_status=$? 1627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1628 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1629 { { case "(($ac_try" in 1630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1631 *) ac_try_echo=$ac_try;; 1632esac 1633eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1634$as_echo "$ac_try_echo"; } >&5 1635 (eval "$ac_try") 2>&5 1636 ac_status=$? 1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1638 test $ac_status = 0; }; }; then : 1639 ac_retval=0 1640else 1641 $as_echo "$as_me: program exited with status $ac_status" >&5 1642 $as_echo "$as_me: failed program was:" >&5 1643sed 's/^/| /' conftest.$ac_ext >&5 1644 1645 ac_retval=$ac_status 1646fi 1647 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1649 as_fn_set_status $ac_retval 1650 1651} # ac_fn_c_try_run 1652 1653# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1654# ------------------------------------------------------- 1655# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1656# the include files in INCLUDES and setting the cache variable VAR 1657# accordingly. 1658ac_fn_c_check_header_mongrel () 1659{ 1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1661 if eval \${$3+:} false; then : 1662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1663$as_echo_n "checking for $2... " >&6; } 1664if eval \${$3+:} false; then : 1665 $as_echo_n "(cached) " >&6 1666fi 1667eval ac_res=\$$3 1668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1669$as_echo "$ac_res" >&6; } 1670else 1671 # Is the header compilable? 1672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1673$as_echo_n "checking $2 usability... " >&6; } 1674cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1675/* end confdefs.h. */ 1676$4 1677#include <$2> 1678_ACEOF 1679if ac_fn_c_try_compile "$LINENO"; then : 1680 ac_header_compiler=yes 1681else 1682 ac_header_compiler=no 1683fi 1684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1686$as_echo "$ac_header_compiler" >&6; } 1687 1688# Is the header present? 1689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1690$as_echo_n "checking $2 presence... " >&6; } 1691cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1692/* end confdefs.h. */ 1693#include <$2> 1694_ACEOF 1695if ac_fn_c_try_cpp "$LINENO"; then : 1696 ac_header_preproc=yes 1697else 1698 ac_header_preproc=no 1699fi 1700rm -f conftest.err conftest.i conftest.$ac_ext 1701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1702$as_echo "$ac_header_preproc" >&6; } 1703 1704# So? What about this header? 1705case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1706 yes:no: ) 1707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1708$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1710$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1711 ;; 1712 no:yes:* ) 1713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1714$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1716$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1718$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1720$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1722$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1723 ;; 1724esac 1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1726$as_echo_n "checking for $2... " >&6; } 1727if eval \${$3+:} false; then : 1728 $as_echo_n "(cached) " >&6 1729else 1730 eval "$3=\$ac_header_compiler" 1731fi 1732eval ac_res=\$$3 1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1734$as_echo "$ac_res" >&6; } 1735fi 1736 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1737 1738} # ac_fn_c_check_header_mongrel 1739 1740# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1741# ------------------------------------------------------- 1742# Tests whether HEADER exists and can be compiled using the include files in 1743# INCLUDES, setting the cache variable VAR accordingly. 1744ac_fn_c_check_header_compile () 1745{ 1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1748$as_echo_n "checking for $2... " >&6; } 1749if eval \${$3+:} false; then : 1750 $as_echo_n "(cached) " >&6 1751else 1752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1753/* end confdefs.h. */ 1754$4 1755#include <$2> 1756_ACEOF 1757if ac_fn_c_try_compile "$LINENO"; then : 1758 eval "$3=yes" 1759else 1760 eval "$3=no" 1761fi 1762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1763fi 1764eval ac_res=\$$3 1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1766$as_echo "$ac_res" >&6; } 1767 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1768 1769} # ac_fn_c_check_header_compile 1770 1771# ac_fn_c_check_func LINENO FUNC VAR 1772# ---------------------------------- 1773# Tests whether FUNC exists, setting the cache variable VAR accordingly 1774ac_fn_c_check_func () 1775{ 1776 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1778$as_echo_n "checking for $2... " >&6; } 1779if eval \${$3+:} false; then : 1780 $as_echo_n "(cached) " >&6 1781else 1782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1783/* end confdefs.h. */ 1784/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1785 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1786#define $2 innocuous_$2 1787 1788/* System header to define __stub macros and hopefully few prototypes, 1789 which can conflict with char $2 (); below. 1790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1791 <limits.h> exists even on freestanding compilers. */ 1792 1793#ifdef __STDC__ 1794# include <limits.h> 1795#else 1796# include <assert.h> 1797#endif 1798 1799#undef $2 1800 1801/* Override any GCC internal prototype to avoid an error. 1802 Use char because int might match the return type of a GCC 1803 builtin and then its argument prototype would still apply. */ 1804#ifdef __cplusplus 1805extern "C" 1806#endif 1807char $2 (); 1808/* The GNU C library defines this for functions which it implements 1809 to always fail with ENOSYS. Some functions are actually named 1810 something starting with __ and the normal name is an alias. */ 1811#if defined __stub_$2 || defined __stub___$2 1812choke me 1813#endif 1814 1815int 1816main () 1817{ 1818return $2 (); 1819 ; 1820 return 0; 1821} 1822_ACEOF 1823if ac_fn_c_try_link "$LINENO"; then : 1824 eval "$3=yes" 1825else 1826 eval "$3=no" 1827fi 1828rm -f core conftest.err conftest.$ac_objext \ 1829 conftest$ac_exeext conftest.$ac_ext 1830fi 1831eval ac_res=\$$3 1832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1833$as_echo "$ac_res" >&6; } 1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1835 1836} # ac_fn_c_check_func 1837cat >config.log <<_ACEOF 1838This file contains any messages produced by compilers while 1839running configure, to aid debugging if configure makes a mistake. 1840 1841It was created by geomorph $as_me 0.60.1, which was 1842generated by GNU Autoconf 2.68. Invocation command line was 1843 1844 $ $0 $@ 1845 1846_ACEOF 1847exec 5>>config.log 1848{ 1849cat <<_ASUNAME 1850## --------- ## 1851## Platform. ## 1852## --------- ## 1853 1854hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1855uname -m = `(uname -m) 2>/dev/null || echo unknown` 1856uname -r = `(uname -r) 2>/dev/null || echo unknown` 1857uname -s = `(uname -s) 2>/dev/null || echo unknown` 1858uname -v = `(uname -v) 2>/dev/null || echo unknown` 1859 1860/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1861/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1862 1863/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1864/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1865/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1866/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1867/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1868/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1869/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1870 1871_ASUNAME 1872 1873as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1874for as_dir in $PATH 1875do 1876 IFS=$as_save_IFS 1877 test -z "$as_dir" && as_dir=. 1878 $as_echo "PATH: $as_dir" 1879 done 1880IFS=$as_save_IFS 1881 1882} >&5 1883 1884cat >&5 <<_ACEOF 1885 1886 1887## ----------- ## 1888## Core tests. ## 1889## ----------- ## 1890 1891_ACEOF 1892 1893 1894# Keep a trace of the command line. 1895# Strip out --no-create and --no-recursion so they do not pile up. 1896# Strip out --silent because we don't want to record it for future runs. 1897# Also quote any args containing shell meta-characters. 1898# Make two passes to allow for proper duplicate-argument suppression. 1899ac_configure_args= 1900ac_configure_args0= 1901ac_configure_args1= 1902ac_must_keep_next=false 1903for ac_pass in 1 2 1904do 1905 for ac_arg 1906 do 1907 case $ac_arg in 1908 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1909 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1910 | -silent | --silent | --silen | --sile | --sil) 1911 continue ;; 1912 *\'*) 1913 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1914 esac 1915 case $ac_pass in 1916 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1917 2) 1918 as_fn_append ac_configure_args1 " '$ac_arg'" 1919 if test $ac_must_keep_next = true; then 1920 ac_must_keep_next=false # Got value, back to normal. 1921 else 1922 case $ac_arg in 1923 *=* | --config-cache | -C | -disable-* | --disable-* \ 1924 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1925 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1926 | -with-* | --with-* | -without-* | --without-* | --x) 1927 case "$ac_configure_args0 " in 1928 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1929 esac 1930 ;; 1931 -* ) ac_must_keep_next=true ;; 1932 esac 1933 fi 1934 as_fn_append ac_configure_args " '$ac_arg'" 1935 ;; 1936 esac 1937 done 1938done 1939{ ac_configure_args0=; unset ac_configure_args0;} 1940{ ac_configure_args1=; unset ac_configure_args1;} 1941 1942# When interrupted or exit'd, cleanup temporary files, and complete 1943# config.log. We remove comments because anyway the quotes in there 1944# would cause problems or look ugly. 1945# WARNING: Use '\'' to represent an apostrophe within the trap. 1946# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1947trap 'exit_status=$? 1948 # Save into config.log some information that might help in debugging. 1949 { 1950 echo 1951 1952 $as_echo "## ---------------- ## 1953## Cache variables. ## 1954## ---------------- ##" 1955 echo 1956 # The following way of writing the cache mishandles newlines in values, 1957( 1958 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1959 eval ac_val=\$$ac_var 1960 case $ac_val in #( 1961 *${as_nl}*) 1962 case $ac_var in #( 1963 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1964$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1965 esac 1966 case $ac_var in #( 1967 _ | IFS | as_nl) ;; #( 1968 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1969 *) { eval $ac_var=; unset $ac_var;} ;; 1970 esac ;; 1971 esac 1972 done 1973 (set) 2>&1 | 1974 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1975 *${as_nl}ac_space=\ *) 1976 sed -n \ 1977 "s/'\''/'\''\\\\'\'''\''/g; 1978 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1979 ;; #( 1980 *) 1981 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1982 ;; 1983 esac | 1984 sort 1985) 1986 echo 1987 1988 $as_echo "## ----------------- ## 1989## Output variables. ## 1990## ----------------- ##" 1991 echo 1992 for ac_var in $ac_subst_vars 1993 do 1994 eval ac_val=\$$ac_var 1995 case $ac_val in 1996 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1997 esac 1998 $as_echo "$ac_var='\''$ac_val'\''" 1999 done | sort 2000 echo 2001 2002 if test -n "$ac_subst_files"; then 2003 $as_echo "## ------------------- ## 2004## File substitutions. ## 2005## ------------------- ##" 2006 echo 2007 for ac_var in $ac_subst_files 2008 do 2009 eval ac_val=\$$ac_var 2010 case $ac_val in 2011 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2012 esac 2013 $as_echo "$ac_var='\''$ac_val'\''" 2014 done | sort 2015 echo 2016 fi 2017 2018 if test -s confdefs.h; then 2019 $as_echo "## ----------- ## 2020## confdefs.h. ## 2021## ----------- ##" 2022 echo 2023 cat confdefs.h 2024 echo 2025 fi 2026 test "$ac_signal" != 0 && 2027 $as_echo "$as_me: caught signal $ac_signal" 2028 $as_echo "$as_me: exit $exit_status" 2029 } >&5 2030 rm -f core *.core core.conftest.* && 2031 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2032 exit $exit_status 2033' 0 2034for ac_signal in 1 2 13 15; do 2035 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2036done 2037ac_signal=0 2038 2039# confdefs.h avoids OS command line length limits that DEFS can exceed. 2040rm -f -r conftest* confdefs.h 2041 2042$as_echo "/* confdefs.h */" > confdefs.h 2043 2044# Predefined preprocessor variables. 2045 2046cat >>confdefs.h <<_ACEOF 2047#define PACKAGE_NAME "$PACKAGE_NAME" 2048_ACEOF 2049 2050cat >>confdefs.h <<_ACEOF 2051#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2052_ACEOF 2053 2054cat >>confdefs.h <<_ACEOF 2055#define PACKAGE_VERSION "$PACKAGE_VERSION" 2056_ACEOF 2057 2058cat >>confdefs.h <<_ACEOF 2059#define PACKAGE_STRING "$PACKAGE_STRING" 2060_ACEOF 2061 2062cat >>confdefs.h <<_ACEOF 2063#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2064_ACEOF 2065 2066cat >>confdefs.h <<_ACEOF 2067#define PACKAGE_URL "$PACKAGE_URL" 2068_ACEOF 2069 2070 2071# Let the site file select an alternate cache file if it wants to. 2072# Prefer an explicitly selected file to automatically selected ones. 2073ac_site_file1=NONE 2074ac_site_file2=NONE 2075if test -n "$CONFIG_SITE"; then 2076 # We do not want a PATH search for config.site. 2077 case $CONFIG_SITE in #(( 2078 -*) ac_site_file1=./$CONFIG_SITE;; 2079 */*) ac_site_file1=$CONFIG_SITE;; 2080 *) ac_site_file1=./$CONFIG_SITE;; 2081 esac 2082elif test "x$prefix" != xNONE; then 2083 ac_site_file1=$prefix/share/config.site 2084 ac_site_file2=$prefix/etc/config.site 2085else 2086 ac_site_file1=$ac_default_prefix/share/config.site 2087 ac_site_file2=$ac_default_prefix/etc/config.site 2088fi 2089for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2090do 2091 test "x$ac_site_file" = xNONE && continue 2092 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2093 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2094$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2095 sed 's/^/| /' "$ac_site_file" >&5 2096 . "$ac_site_file" \ 2097 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2098$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2099as_fn_error $? "failed to load site script $ac_site_file 2100See \`config.log' for more details" "$LINENO" 5; } 2101 fi 2102done 2103 2104if test -r "$cache_file"; then 2105 # Some versions of bash will fail to source /dev/null (special files 2106 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2107 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2108 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2109$as_echo "$as_me: loading cache $cache_file" >&6;} 2110 case $cache_file in 2111 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2112 *) . "./$cache_file";; 2113 esac 2114 fi 2115else 2116 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2117$as_echo "$as_me: creating cache $cache_file" >&6;} 2118 >$cache_file 2119fi 2120 2121gt_needs="$gt_needs " 2122# Check that the precious variables saved in the cache have kept the same 2123# value. 2124ac_cache_corrupted=false 2125for ac_var in $ac_precious_vars; do 2126 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2127 eval ac_new_set=\$ac_env_${ac_var}_set 2128 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2129 eval ac_new_val=\$ac_env_${ac_var}_value 2130 case $ac_old_set,$ac_new_set in 2131 set,) 2132 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2133$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2134 ac_cache_corrupted=: ;; 2135 ,set) 2136 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2137$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2138 ac_cache_corrupted=: ;; 2139 ,);; 2140 *) 2141 if test "x$ac_old_val" != "x$ac_new_val"; then 2142 # differences in whitespace do not lead to failure. 2143 ac_old_val_w=`echo x $ac_old_val` 2144 ac_new_val_w=`echo x $ac_new_val` 2145 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2146 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2147$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2148 ac_cache_corrupted=: 2149 else 2150 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2151$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2152 eval $ac_var=\$ac_old_val 2153 fi 2154 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2155$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2156 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2157$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2158 fi;; 2159 esac 2160 # Pass precious variables to config.status. 2161 if test "$ac_new_set" = set; then 2162 case $ac_new_val in 2163 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2164 *) ac_arg=$ac_var=$ac_new_val ;; 2165 esac 2166 case " $ac_configure_args " in 2167 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2168 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2169 esac 2170 fi 2171done 2172if $ac_cache_corrupted; then 2173 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2174$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2176$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2177 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2178fi 2179## -------------------- ## 2180## Main body of script. ## 2181## -------------------- ## 2182 2183ac_ext=c 2184ac_cpp='$CPP $CPPFLAGS' 2185ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2186ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2187ac_compiler_gnu=$ac_cv_c_compiler_gnu 2188 2189 2190 2191am__api_version='1.11' 2192 2193ac_aux_dir= 2194for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2195 if test -f "$ac_dir/install-sh"; then 2196 ac_aux_dir=$ac_dir 2197 ac_install_sh="$ac_aux_dir/install-sh -c" 2198 break 2199 elif test -f "$ac_dir/install.sh"; then 2200 ac_aux_dir=$ac_dir 2201 ac_install_sh="$ac_aux_dir/install.sh -c" 2202 break 2203 elif test -f "$ac_dir/shtool"; then 2204 ac_aux_dir=$ac_dir 2205 ac_install_sh="$ac_aux_dir/shtool install -c" 2206 break 2207 fi 2208done 2209if test -z "$ac_aux_dir"; then 2210 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2211fi 2212 2213# These three variables are undocumented and unsupported, 2214# and are intended to be withdrawn in a future Autoconf release. 2215# They can cause serious problems if a builder's source tree is in a directory 2216# whose full name contains unusual characters. 2217ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2218ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2219ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2220 2221 2222# Find a good install program. We prefer a C program (faster), 2223# so one script is as good as another. But avoid the broken or 2224# incompatible versions: 2225# SysV /etc/install, /usr/sbin/install 2226# SunOS /usr/etc/install 2227# IRIX /sbin/install 2228# AIX /bin/install 2229# AmigaOS /C/install, which installs bootblocks on floppy discs 2230# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2231# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2232# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2233# OS/2's system install, which has a completely different semantic 2234# ./install, which can be erroneously created by make from ./install.sh. 2235# Reject install programs that cannot install multiple files. 2236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2237$as_echo_n "checking for a BSD-compatible install... " >&6; } 2238if test -z "$INSTALL"; then 2239if ${ac_cv_path_install+:} false; then : 2240 $as_echo_n "(cached) " >&6 2241else 2242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2243for as_dir in $PATH 2244do 2245 IFS=$as_save_IFS 2246 test -z "$as_dir" && as_dir=. 2247 # Account for people who put trailing slashes in PATH elements. 2248case $as_dir/ in #(( 2249 ./ | .// | /[cC]/* | \ 2250 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2251 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2252 /usr/ucb/* ) ;; 2253 *) 2254 # OSF1 and SCO ODT 3.0 have their own names for install. 2255 # Don't use installbsd from OSF since it installs stuff as root 2256 # by default. 2257 for ac_prog in ginstall scoinst install; do 2258 for ac_exec_ext in '' $ac_executable_extensions; do 2259 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 2260 if test $ac_prog = install && 2261 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2262 # AIX install. It has an incompatible calling convention. 2263 : 2264 elif test $ac_prog = install && 2265 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2266 # program-specific install script used by HP pwplus--don't use. 2267 : 2268 else 2269 rm -rf conftest.one conftest.two conftest.dir 2270 echo one > conftest.one 2271 echo two > conftest.two 2272 mkdir conftest.dir 2273 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2274 test -s conftest.one && test -s conftest.two && 2275 test -s conftest.dir/conftest.one && 2276 test -s conftest.dir/conftest.two 2277 then 2278 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2279 break 3 2280 fi 2281 fi 2282 fi 2283 done 2284 done 2285 ;; 2286esac 2287 2288 done 2289IFS=$as_save_IFS 2290 2291rm -rf conftest.one conftest.two conftest.dir 2292 2293fi 2294 if test "${ac_cv_path_install+set}" = set; then 2295 INSTALL=$ac_cv_path_install 2296 else 2297 # As a last resort, use the slow shell script. Don't cache a 2298 # value for INSTALL within a source directory, because that will 2299 # break other packages using the cache if that directory is 2300 # removed, or if the value is a relative name. 2301 INSTALL=$ac_install_sh 2302 fi 2303fi 2304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2305$as_echo "$INSTALL" >&6; } 2306 2307# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2308# It thinks the first close brace ends the variable substitution. 2309test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2310 2311test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2312 2313test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2314 2315{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2316$as_echo_n "checking whether build environment is sane... " >&6; } 2317# Just in case 2318sleep 1 2319echo timestamp > conftest.file 2320# Reject unsafe characters in $srcdir or the absolute working directory 2321# name. Accept space and tab only in the latter. 2322am_lf=' 2323' 2324case `pwd` in 2325 *[\\\"\#\$\&\'\`$am_lf]*) 2326 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2327esac 2328case $srcdir in 2329 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2330 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 2331esac 2332 2333# Do `set' in a subshell so we don't clobber the current shell's 2334# arguments. Must try -L first in case configure is actually a 2335# symlink; some systems play weird games with the mod time of symlinks 2336# (eg FreeBSD returns the mod time of the symlink's containing 2337# directory). 2338if ( 2339 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2340 if test "$*" = "X"; then 2341 # -L didn't work. 2342 set X `ls -t "$srcdir/configure" conftest.file` 2343 fi 2344 rm -f conftest.file 2345 if test "$*" != "X $srcdir/configure conftest.file" \ 2346 && test "$*" != "X conftest.file $srcdir/configure"; then 2347 2348 # If neither matched, then we have a broken ls. This can happen 2349 # if, for instance, CONFIG_SHELL is bash and it inherits a 2350 # broken ls alias from the environment. This has actually 2351 # happened. Such a system could not be considered "sane". 2352 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2353alias in your environment" "$LINENO" 5 2354 fi 2355 2356 test "$2" = conftest.file 2357 ) 2358then 2359 # Ok. 2360 : 2361else 2362 as_fn_error $? "newly created file is older than distributed files! 2363Check your system clock" "$LINENO" 5 2364fi 2365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2366$as_echo "yes" >&6; } 2367test "$program_prefix" != NONE && 2368 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2369# Use a double $ so make ignores it. 2370test "$program_suffix" != NONE && 2371 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2372# Double any \ or $. 2373# By default was `s,x,x', remove it if useless. 2374ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2375program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2376 2377# expand $ac_aux_dir to an absolute path 2378am_aux_dir=`cd $ac_aux_dir && pwd` 2379 2380if test x"${MISSING+set}" != xset; then 2381 case $am_aux_dir in 2382 *\ * | *\ *) 2383 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2384 *) 2385 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2386 esac 2387fi 2388# Use eval to expand $SHELL 2389if eval "$MISSING --run true"; then 2390 am_missing_run="$MISSING --run " 2391else 2392 am_missing_run= 2393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2394$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2395fi 2396 2397if test x"${install_sh}" != xset; then 2398 case $am_aux_dir in 2399 *\ * | *\ *) 2400 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2401 *) 2402 install_sh="\${SHELL} $am_aux_dir/install-sh" 2403 esac 2404fi 2405 2406# Installed binaries are usually stripped using `strip' when the user 2407# run `make install-strip'. However `strip' might not be the right 2408# tool to use in cross-compilation environments, therefore Automake 2409# will honor the `STRIP' environment variable to overrule this program. 2410if test "$cross_compiling" != no; then 2411 if test -n "$ac_tool_prefix"; then 2412 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2413set dummy ${ac_tool_prefix}strip; ac_word=$2 2414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2415$as_echo_n "checking for $ac_word... " >&6; } 2416if ${ac_cv_prog_STRIP+:} false; then : 2417 $as_echo_n "(cached) " >&6 2418else 2419 if test -n "$STRIP"; then 2420 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2421else 2422as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2423for as_dir in $PATH 2424do 2425 IFS=$as_save_IFS 2426 test -z "$as_dir" && as_dir=. 2427 for ac_exec_ext in '' $ac_executable_extensions; do 2428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2429 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2431 break 2 2432 fi 2433done 2434 done 2435IFS=$as_save_IFS 2436 2437fi 2438fi 2439STRIP=$ac_cv_prog_STRIP 2440if test -n "$STRIP"; then 2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2442$as_echo "$STRIP" >&6; } 2443else 2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2445$as_echo "no" >&6; } 2446fi 2447 2448 2449fi 2450if test -z "$ac_cv_prog_STRIP"; then 2451 ac_ct_STRIP=$STRIP 2452 # Extract the first word of "strip", so it can be a program name with args. 2453set dummy strip; ac_word=$2 2454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2455$as_echo_n "checking for $ac_word... " >&6; } 2456if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2457 $as_echo_n "(cached) " >&6 2458else 2459 if test -n "$ac_ct_STRIP"; then 2460 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2461else 2462as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2463for as_dir in $PATH 2464do 2465 IFS=$as_save_IFS 2466 test -z "$as_dir" && as_dir=. 2467 for ac_exec_ext in '' $ac_executable_extensions; do 2468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2469 ac_cv_prog_ac_ct_STRIP="strip" 2470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2471 break 2 2472 fi 2473done 2474 done 2475IFS=$as_save_IFS 2476 2477fi 2478fi 2479ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2480if test -n "$ac_ct_STRIP"; then 2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2482$as_echo "$ac_ct_STRIP" >&6; } 2483else 2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2485$as_echo "no" >&6; } 2486fi 2487 2488 if test "x$ac_ct_STRIP" = x; then 2489 STRIP=":" 2490 else 2491 case $cross_compiling:$ac_tool_warned in 2492yes:) 2493{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2494$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2495ac_tool_warned=yes ;; 2496esac 2497 STRIP=$ac_ct_STRIP 2498 fi 2499else 2500 STRIP="$ac_cv_prog_STRIP" 2501fi 2502 2503fi 2504INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2505 2506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2507$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2508if test -z "$MKDIR_P"; then 2509 if ${ac_cv_path_mkdir+:} false; then : 2510 $as_echo_n "(cached) " >&6 2511else 2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2513for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2514do 2515 IFS=$as_save_IFS 2516 test -z "$as_dir" && as_dir=. 2517 for ac_prog in mkdir gmkdir; do 2518 for ac_exec_ext in '' $ac_executable_extensions; do 2519 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2520 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2521 'mkdir (GNU coreutils) '* | \ 2522 'mkdir (coreutils) '* | \ 2523 'mkdir (fileutils) '4.1*) 2524 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2525 break 3;; 2526 esac 2527 done 2528 done 2529 done 2530IFS=$as_save_IFS 2531 2532fi 2533 2534 test -d ./--version && rmdir ./--version 2535 if test "${ac_cv_path_mkdir+set}" = set; then 2536 MKDIR_P="$ac_cv_path_mkdir -p" 2537 else 2538 # As a last resort, use the slow shell script. Don't cache a 2539 # value for MKDIR_P within a source directory, because that will 2540 # break other packages using the cache if that directory is 2541 # removed, or if the value is a relative name. 2542 MKDIR_P="$ac_install_sh -d" 2543 fi 2544fi 2545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2546$as_echo "$MKDIR_P" >&6; } 2547 2548mkdir_p="$MKDIR_P" 2549case $mkdir_p in 2550 [\\/$]* | ?:[\\/]*) ;; 2551 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2552esac 2553 2554for ac_prog in gawk mawk nawk awk 2555do 2556 # Extract the first word of "$ac_prog", so it can be a program name with args. 2557set dummy $ac_prog; ac_word=$2 2558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2559$as_echo_n "checking for $ac_word... " >&6; } 2560if ${ac_cv_prog_AWK+:} false; then : 2561 $as_echo_n "(cached) " >&6 2562else 2563 if test -n "$AWK"; then 2564 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2565else 2566as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2567for as_dir in $PATH 2568do 2569 IFS=$as_save_IFS 2570 test -z "$as_dir" && as_dir=. 2571 for ac_exec_ext in '' $ac_executable_extensions; do 2572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2573 ac_cv_prog_AWK="$ac_prog" 2574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2575 break 2 2576 fi 2577done 2578 done 2579IFS=$as_save_IFS 2580 2581fi 2582fi 2583AWK=$ac_cv_prog_AWK 2584if test -n "$AWK"; then 2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2586$as_echo "$AWK" >&6; } 2587else 2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2589$as_echo "no" >&6; } 2590fi 2591 2592 2593 test -n "$AWK" && break 2594done 2595 2596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2597$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2598set x ${MAKE-make} 2599ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2600if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2601 $as_echo_n "(cached) " >&6 2602else 2603 cat >conftest.make <<\_ACEOF 2604SHELL = /bin/sh 2605all: 2606 @echo '@@@%%%=$(MAKE)=@@@%%%' 2607_ACEOF 2608# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2609case `${MAKE-make} -f conftest.make 2>/dev/null` in 2610 *@@@%%%=?*=@@@%%%*) 2611 eval ac_cv_prog_make_${ac_make}_set=yes;; 2612 *) 2613 eval ac_cv_prog_make_${ac_make}_set=no;; 2614esac 2615rm -f conftest.make 2616fi 2617if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2619$as_echo "yes" >&6; } 2620 SET_MAKE= 2621else 2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2623$as_echo "no" >&6; } 2624 SET_MAKE="MAKE=${MAKE-make}" 2625fi 2626 2627rm -rf .tst 2>/dev/null 2628mkdir .tst 2>/dev/null 2629if test -d .tst; then 2630 am__leading_dot=. 2631else 2632 am__leading_dot=_ 2633fi 2634rmdir .tst 2>/dev/null 2635 2636if test "`cd $srcdir && pwd`" != "`pwd`"; then 2637 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2638 # is not polluted with repeated "-I." 2639 am__isrc=' -I$(srcdir)' 2640 # test to see if srcdir already configured 2641 if test -f $srcdir/config.status; then 2642 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2643 fi 2644fi 2645 2646# test whether we have cygpath 2647if test -z "$CYGPATH_W"; then 2648 if (cygpath --version) >/dev/null 2>/dev/null; then 2649 CYGPATH_W='cygpath -w' 2650 else 2651 CYGPATH_W=echo 2652 fi 2653fi 2654 2655 2656# Define the identity of the package. 2657 PACKAGE=geomorph 2658 VERSION=0.60.1 2659 2660 2661cat >>confdefs.h <<_ACEOF 2662#define PACKAGE "$PACKAGE" 2663_ACEOF 2664 2665 2666cat >>confdefs.h <<_ACEOF 2667#define VERSION "$VERSION" 2668_ACEOF 2669 2670# Some tools Automake needs. 2671 2672ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2673 2674 2675AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2676 2677 2678AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2679 2680 2681AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2682 2683 2684MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2685 2686# We need awk for the "check" target. The system "awk" is bad on 2687# some platforms. 2688# Always define AMTAR for backward compatibility. Yes, it's still used 2689# in the wild :-( We should find a proper way to deprecate it ... 2690AMTAR='$${TAR-tar}' 2691 2692am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2693 2694 2695 2696 2697 2698 2699for ac_prog in gawk mawk nawk awk 2700do 2701 # Extract the first word of "$ac_prog", so it can be a program name with args. 2702set dummy $ac_prog; ac_word=$2 2703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2704$as_echo_n "checking for $ac_word... " >&6; } 2705if ${ac_cv_prog_AWK+:} false; then : 2706 $as_echo_n "(cached) " >&6 2707else 2708 if test -n "$AWK"; then 2709 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2710else 2711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2712for as_dir in $PATH 2713do 2714 IFS=$as_save_IFS 2715 test -z "$as_dir" && as_dir=. 2716 for ac_exec_ext in '' $ac_executable_extensions; do 2717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2718 ac_cv_prog_AWK="$ac_prog" 2719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2720 break 2 2721 fi 2722done 2723 done 2724IFS=$as_save_IFS 2725 2726fi 2727fi 2728AWK=$ac_cv_prog_AWK 2729if test -n "$AWK"; then 2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2731$as_echo "$AWK" >&6; } 2732else 2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2734$as_echo "no" >&6; } 2735fi 2736 2737 2738 test -n "$AWK" && break 2739done 2740 2741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 2742$as_echo_n "checking whether ln -s works... " >&6; } 2743LN_S=$as_ln_s 2744if test "$LN_S" = "ln -s"; then 2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2746$as_echo "yes" >&6; } 2747else 2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 2749$as_echo "no, using $LN_S" >&6; } 2750fi 2751 2752ac_ext=c 2753ac_cpp='$CPP $CPPFLAGS' 2754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2756ac_compiler_gnu=$ac_cv_c_compiler_gnu 2757if test -n "$ac_tool_prefix"; then 2758 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2759set dummy ${ac_tool_prefix}gcc; ac_word=$2 2760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2761$as_echo_n "checking for $ac_word... " >&6; } 2762if ${ac_cv_prog_CC+:} false; then : 2763 $as_echo_n "(cached) " >&6 2764else 2765 if test -n "$CC"; then 2766 ac_cv_prog_CC="$CC" # Let the user override the test. 2767else 2768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2769for as_dir in $PATH 2770do 2771 IFS=$as_save_IFS 2772 test -z "$as_dir" && as_dir=. 2773 for ac_exec_ext in '' $ac_executable_extensions; do 2774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2775 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2777 break 2 2778 fi 2779done 2780 done 2781IFS=$as_save_IFS 2782 2783fi 2784fi 2785CC=$ac_cv_prog_CC 2786if test -n "$CC"; then 2787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2788$as_echo "$CC" >&6; } 2789else 2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2791$as_echo "no" >&6; } 2792fi 2793 2794 2795fi 2796if test -z "$ac_cv_prog_CC"; then 2797 ac_ct_CC=$CC 2798 # Extract the first word of "gcc", so it can be a program name with args. 2799set dummy gcc; ac_word=$2 2800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2801$as_echo_n "checking for $ac_word... " >&6; } 2802if ${ac_cv_prog_ac_ct_CC+:} false; then : 2803 $as_echo_n "(cached) " >&6 2804else 2805 if test -n "$ac_ct_CC"; then 2806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2807else 2808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2809for as_dir in $PATH 2810do 2811 IFS=$as_save_IFS 2812 test -z "$as_dir" && as_dir=. 2813 for ac_exec_ext in '' $ac_executable_extensions; do 2814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2815 ac_cv_prog_ac_ct_CC="gcc" 2816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2817 break 2 2818 fi 2819done 2820 done 2821IFS=$as_save_IFS 2822 2823fi 2824fi 2825ac_ct_CC=$ac_cv_prog_ac_ct_CC 2826if test -n "$ac_ct_CC"; then 2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2828$as_echo "$ac_ct_CC" >&6; } 2829else 2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2831$as_echo "no" >&6; } 2832fi 2833 2834 if test "x$ac_ct_CC" = x; then 2835 CC="" 2836 else 2837 case $cross_compiling:$ac_tool_warned in 2838yes:) 2839{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2840$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2841ac_tool_warned=yes ;; 2842esac 2843 CC=$ac_ct_CC 2844 fi 2845else 2846 CC="$ac_cv_prog_CC" 2847fi 2848 2849if test -z "$CC"; then 2850 if test -n "$ac_tool_prefix"; then 2851 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2852set dummy ${ac_tool_prefix}cc; ac_word=$2 2853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2854$as_echo_n "checking for $ac_word... " >&6; } 2855if ${ac_cv_prog_CC+:} false; then : 2856 $as_echo_n "(cached) " >&6 2857else 2858 if test -n "$CC"; then 2859 ac_cv_prog_CC="$CC" # Let the user override the test. 2860else 2861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2862for as_dir in $PATH 2863do 2864 IFS=$as_save_IFS 2865 test -z "$as_dir" && as_dir=. 2866 for ac_exec_ext in '' $ac_executable_extensions; do 2867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2868 ac_cv_prog_CC="${ac_tool_prefix}cc" 2869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2870 break 2 2871 fi 2872done 2873 done 2874IFS=$as_save_IFS 2875 2876fi 2877fi 2878CC=$ac_cv_prog_CC 2879if test -n "$CC"; then 2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2881$as_echo "$CC" >&6; } 2882else 2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2884$as_echo "no" >&6; } 2885fi 2886 2887 2888 fi 2889fi 2890if test -z "$CC"; then 2891 # Extract the first word of "cc", so it can be a program name with args. 2892set dummy cc; ac_word=$2 2893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2894$as_echo_n "checking for $ac_word... " >&6; } 2895if ${ac_cv_prog_CC+:} false; then : 2896 $as_echo_n "(cached) " >&6 2897else 2898 if test -n "$CC"; then 2899 ac_cv_prog_CC="$CC" # Let the user override the test. 2900else 2901 ac_prog_rejected=no 2902as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2903for as_dir in $PATH 2904do 2905 IFS=$as_save_IFS 2906 test -z "$as_dir" && as_dir=. 2907 for ac_exec_ext in '' $ac_executable_extensions; do 2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2909 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2910 ac_prog_rejected=yes 2911 continue 2912 fi 2913 ac_cv_prog_CC="cc" 2914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2915 break 2 2916 fi 2917done 2918 done 2919IFS=$as_save_IFS 2920 2921if test $ac_prog_rejected = yes; then 2922 # We found a bogon in the path, so make sure we never use it. 2923 set dummy $ac_cv_prog_CC 2924 shift 2925 if test $# != 0; then 2926 # We chose a different compiler from the bogus one. 2927 # However, it has the same basename, so the bogon will be chosen 2928 # first if we set CC to just the basename; use the full file name. 2929 shift 2930 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2931 fi 2932fi 2933fi 2934fi 2935CC=$ac_cv_prog_CC 2936if test -n "$CC"; then 2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2938$as_echo "$CC" >&6; } 2939else 2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2941$as_echo "no" >&6; } 2942fi 2943 2944 2945fi 2946if test -z "$CC"; then 2947 if test -n "$ac_tool_prefix"; then 2948 for ac_prog in cl.exe 2949 do 2950 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2951set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2953$as_echo_n "checking for $ac_word... " >&6; } 2954if ${ac_cv_prog_CC+:} false; then : 2955 $as_echo_n "(cached) " >&6 2956else 2957 if test -n "$CC"; then 2958 ac_cv_prog_CC="$CC" # Let the user override the test. 2959else 2960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2961for as_dir in $PATH 2962do 2963 IFS=$as_save_IFS 2964 test -z "$as_dir" && as_dir=. 2965 for ac_exec_ext in '' $ac_executable_extensions; do 2966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2967 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2969 break 2 2970 fi 2971done 2972 done 2973IFS=$as_save_IFS 2974 2975fi 2976fi 2977CC=$ac_cv_prog_CC 2978if test -n "$CC"; then 2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2980$as_echo "$CC" >&6; } 2981else 2982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2983$as_echo "no" >&6; } 2984fi 2985 2986 2987 test -n "$CC" && break 2988 done 2989fi 2990if test -z "$CC"; then 2991 ac_ct_CC=$CC 2992 for ac_prog in cl.exe 2993do 2994 # Extract the first word of "$ac_prog", so it can be a program name with args. 2995set dummy $ac_prog; ac_word=$2 2996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2997$as_echo_n "checking for $ac_word... " >&6; } 2998if ${ac_cv_prog_ac_ct_CC+:} false; then : 2999 $as_echo_n "(cached) " >&6 3000else 3001 if test -n "$ac_ct_CC"; then 3002 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3003else 3004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3005for as_dir in $PATH 3006do 3007 IFS=$as_save_IFS 3008 test -z "$as_dir" && as_dir=. 3009 for ac_exec_ext in '' $ac_executable_extensions; do 3010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3011 ac_cv_prog_ac_ct_CC="$ac_prog" 3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3013 break 2 3014 fi 3015done 3016 done 3017IFS=$as_save_IFS 3018 3019fi 3020fi 3021ac_ct_CC=$ac_cv_prog_ac_ct_CC 3022if test -n "$ac_ct_CC"; then 3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3024$as_echo "$ac_ct_CC" >&6; } 3025else 3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3027$as_echo "no" >&6; } 3028fi 3029 3030 3031 test -n "$ac_ct_CC" && break 3032done 3033 3034 if test "x$ac_ct_CC" = x; then 3035 CC="" 3036 else 3037 case $cross_compiling:$ac_tool_warned in 3038yes:) 3039{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3040$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3041ac_tool_warned=yes ;; 3042esac 3043 CC=$ac_ct_CC 3044 fi 3045fi 3046 3047fi 3048 3049 3050test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3051$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3052as_fn_error $? "no acceptable C compiler found in \$PATH 3053See \`config.log' for more details" "$LINENO" 5; } 3054 3055# Provide some information about the compiler. 3056$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3057set X $ac_compile 3058ac_compiler=$2 3059for ac_option in --version -v -V -qversion; do 3060 { { ac_try="$ac_compiler $ac_option >&5" 3061case "(($ac_try" in 3062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3063 *) ac_try_echo=$ac_try;; 3064esac 3065eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3066$as_echo "$ac_try_echo"; } >&5 3067 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3068 ac_status=$? 3069 if test -s conftest.err; then 3070 sed '10a\ 3071... rest of stderr output deleted ... 3072 10q' conftest.err >conftest.er1 3073 cat conftest.er1 >&5 3074 fi 3075 rm -f conftest.er1 conftest.err 3076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3077 test $ac_status = 0; } 3078done 3079 3080cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3081/* end confdefs.h. */ 3082 3083int 3084main () 3085{ 3086 3087 ; 3088 return 0; 3089} 3090_ACEOF 3091ac_clean_files_save=$ac_clean_files 3092ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3093# Try to create an executable without -o first, disregard a.out. 3094# It will help us diagnose broken compilers, and finding out an intuition 3095# of exeext. 3096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3097$as_echo_n "checking whether the C compiler works... " >&6; } 3098ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3099 3100# The possible output files: 3101ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3102 3103ac_rmfiles= 3104for ac_file in $ac_files 3105do 3106 case $ac_file in 3107 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3108 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3109 esac 3110done 3111rm -f $ac_rmfiles 3112 3113if { { ac_try="$ac_link_default" 3114case "(($ac_try" in 3115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3116 *) ac_try_echo=$ac_try;; 3117esac 3118eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3119$as_echo "$ac_try_echo"; } >&5 3120 (eval "$ac_link_default") 2>&5 3121 ac_status=$? 3122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3123 test $ac_status = 0; }; then : 3124 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3125# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3126# in a Makefile. We should not override ac_cv_exeext if it was cached, 3127# so that the user can short-circuit this test for compilers unknown to 3128# Autoconf. 3129for ac_file in $ac_files '' 3130do 3131 test -f "$ac_file" || continue 3132 case $ac_file in 3133 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3134 ;; 3135 [ab].out ) 3136 # We found the default executable, but exeext='' is most 3137 # certainly right. 3138 break;; 3139 *.* ) 3140 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3141 then :; else 3142 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3143 fi 3144 # We set ac_cv_exeext here because the later test for it is not 3145 # safe: cross compilers may not add the suffix if given an `-o' 3146 # argument, so we may need to know it at that point already. 3147 # Even if this section looks crufty: it has the advantage of 3148 # actually working. 3149 break;; 3150 * ) 3151 break;; 3152 esac 3153done 3154test "$ac_cv_exeext" = no && ac_cv_exeext= 3155 3156else 3157 ac_file='' 3158fi 3159if test -z "$ac_file"; then : 3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3161$as_echo "no" >&6; } 3162$as_echo "$as_me: failed program was:" >&5 3163sed 's/^/| /' conftest.$ac_ext >&5 3164 3165{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3166$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3167as_fn_error 77 "C compiler cannot create executables 3168See \`config.log' for more details" "$LINENO" 5; } 3169else 3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3171$as_echo "yes" >&6; } 3172fi 3173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3174$as_echo_n "checking for C compiler default output file name... " >&6; } 3175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3176$as_echo "$ac_file" >&6; } 3177ac_exeext=$ac_cv_exeext 3178 3179rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3180ac_clean_files=$ac_clean_files_save 3181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3182$as_echo_n "checking for suffix of executables... " >&6; } 3183if { { ac_try="$ac_link" 3184case "(($ac_try" in 3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3186 *) ac_try_echo=$ac_try;; 3187esac 3188eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3189$as_echo "$ac_try_echo"; } >&5 3190 (eval "$ac_link") 2>&5 3191 ac_status=$? 3192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3193 test $ac_status = 0; }; then : 3194 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3195# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3196# work properly (i.e., refer to `conftest.exe'), while it won't with 3197# `rm'. 3198for ac_file in conftest.exe conftest conftest.*; do 3199 test -f "$ac_file" || continue 3200 case $ac_file in 3201 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3202 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3203 break;; 3204 * ) break;; 3205 esac 3206done 3207else 3208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3209$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3210as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3211See \`config.log' for more details" "$LINENO" 5; } 3212fi 3213rm -f conftest conftest$ac_cv_exeext 3214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3215$as_echo "$ac_cv_exeext" >&6; } 3216 3217rm -f conftest.$ac_ext 3218EXEEXT=$ac_cv_exeext 3219ac_exeext=$EXEEXT 3220cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3221/* end confdefs.h. */ 3222#include <stdio.h> 3223int 3224main () 3225{ 3226FILE *f = fopen ("conftest.out", "w"); 3227 return ferror (f) || fclose (f) != 0; 3228 3229 ; 3230 return 0; 3231} 3232_ACEOF 3233ac_clean_files="$ac_clean_files conftest.out" 3234# Check that the compiler produces executables we can run. If not, either 3235# the compiler is broken, or we cross compile. 3236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3237$as_echo_n "checking whether we are cross compiling... " >&6; } 3238if test "$cross_compiling" != yes; then 3239 { { ac_try="$ac_link" 3240case "(($ac_try" in 3241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3242 *) ac_try_echo=$ac_try;; 3243esac 3244eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3245$as_echo "$ac_try_echo"; } >&5 3246 (eval "$ac_link") 2>&5 3247 ac_status=$? 3248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3249 test $ac_status = 0; } 3250 if { ac_try='./conftest$ac_cv_exeext' 3251 { { case "(($ac_try" in 3252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3253 *) ac_try_echo=$ac_try;; 3254esac 3255eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3256$as_echo "$ac_try_echo"; } >&5 3257 (eval "$ac_try") 2>&5 3258 ac_status=$? 3259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3260 test $ac_status = 0; }; }; then 3261 cross_compiling=no 3262 else 3263 if test "$cross_compiling" = maybe; then 3264 cross_compiling=yes 3265 else 3266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3267$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3268as_fn_error $? "cannot run C compiled programs. 3269If you meant to cross compile, use \`--host'. 3270See \`config.log' for more details" "$LINENO" 5; } 3271 fi 3272 fi 3273fi 3274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3275$as_echo "$cross_compiling" >&6; } 3276 3277rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3278ac_clean_files=$ac_clean_files_save 3279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3280$as_echo_n "checking for suffix of object files... " >&6; } 3281if ${ac_cv_objext+:} false; then : 3282 $as_echo_n "(cached) " >&6 3283else 3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3285/* end confdefs.h. */ 3286 3287int 3288main () 3289{ 3290 3291 ; 3292 return 0; 3293} 3294_ACEOF 3295rm -f conftest.o conftest.obj 3296if { { ac_try="$ac_compile" 3297case "(($ac_try" in 3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3299 *) ac_try_echo=$ac_try;; 3300esac 3301eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3302$as_echo "$ac_try_echo"; } >&5 3303 (eval "$ac_compile") 2>&5 3304 ac_status=$? 3305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3306 test $ac_status = 0; }; then : 3307 for ac_file in conftest.o conftest.obj conftest.*; do 3308 test -f "$ac_file" || continue; 3309 case $ac_file in 3310 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3311 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3312 break;; 3313 esac 3314done 3315else 3316 $as_echo "$as_me: failed program was:" >&5 3317sed 's/^/| /' conftest.$ac_ext >&5 3318 3319{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3320$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3321as_fn_error $? "cannot compute suffix of object files: cannot compile 3322See \`config.log' for more details" "$LINENO" 5; } 3323fi 3324rm -f conftest.$ac_cv_objext conftest.$ac_ext 3325fi 3326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3327$as_echo "$ac_cv_objext" >&6; } 3328OBJEXT=$ac_cv_objext 3329ac_objext=$OBJEXT 3330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3331$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3332if ${ac_cv_c_compiler_gnu+:} false; then : 3333 $as_echo_n "(cached) " >&6 3334else 3335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3336/* end confdefs.h. */ 3337 3338int 3339main () 3340{ 3341#ifndef __GNUC__ 3342 choke me 3343#endif 3344 3345 ; 3346 return 0; 3347} 3348_ACEOF 3349if ac_fn_c_try_compile "$LINENO"; then : 3350 ac_compiler_gnu=yes 3351else 3352 ac_compiler_gnu=no 3353fi 3354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3355ac_cv_c_compiler_gnu=$ac_compiler_gnu 3356 3357fi 3358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3359$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3360if test $ac_compiler_gnu = yes; then 3361 GCC=yes 3362else 3363 GCC= 3364fi 3365ac_test_CFLAGS=${CFLAGS+set} 3366ac_save_CFLAGS=$CFLAGS 3367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3368$as_echo_n "checking whether $CC accepts -g... " >&6; } 3369if ${ac_cv_prog_cc_g+:} false; then : 3370 $as_echo_n "(cached) " >&6 3371else 3372 ac_save_c_werror_flag=$ac_c_werror_flag 3373 ac_c_werror_flag=yes 3374 ac_cv_prog_cc_g=no 3375 CFLAGS="-g" 3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3377/* end confdefs.h. */ 3378 3379int 3380main () 3381{ 3382 3383 ; 3384 return 0; 3385} 3386_ACEOF 3387if ac_fn_c_try_compile "$LINENO"; then : 3388 ac_cv_prog_cc_g=yes 3389else 3390 CFLAGS="" 3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3392/* end confdefs.h. */ 3393 3394int 3395main () 3396{ 3397 3398 ; 3399 return 0; 3400} 3401_ACEOF 3402if ac_fn_c_try_compile "$LINENO"; then : 3403 3404else 3405 ac_c_werror_flag=$ac_save_c_werror_flag 3406 CFLAGS="-g" 3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3408/* end confdefs.h. */ 3409 3410int 3411main () 3412{ 3413 3414 ; 3415 return 0; 3416} 3417_ACEOF 3418if ac_fn_c_try_compile "$LINENO"; then : 3419 ac_cv_prog_cc_g=yes 3420fi 3421rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3422fi 3423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3424fi 3425rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3426 ac_c_werror_flag=$ac_save_c_werror_flag 3427fi 3428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3429$as_echo "$ac_cv_prog_cc_g" >&6; } 3430if test "$ac_test_CFLAGS" = set; then 3431 CFLAGS=$ac_save_CFLAGS 3432elif test $ac_cv_prog_cc_g = yes; then 3433 if test "$GCC" = yes; then 3434 CFLAGS="-g -O2" 3435 else 3436 CFLAGS="-g" 3437 fi 3438else 3439 if test "$GCC" = yes; then 3440 CFLAGS="-O2" 3441 else 3442 CFLAGS= 3443 fi 3444fi 3445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3446$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3447if ${ac_cv_prog_cc_c89+:} false; then : 3448 $as_echo_n "(cached) " >&6 3449else 3450 ac_cv_prog_cc_c89=no 3451ac_save_CC=$CC 3452cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3453/* end confdefs.h. */ 3454#include <stdarg.h> 3455#include <stdio.h> 3456#include <sys/types.h> 3457#include <sys/stat.h> 3458/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3459struct buf { int x; }; 3460FILE * (*rcsopen) (struct buf *, struct stat *, int); 3461static char *e (p, i) 3462 char **p; 3463 int i; 3464{ 3465 return p[i]; 3466} 3467static char *f (char * (*g) (char **, int), char **p, ...) 3468{ 3469 char *s; 3470 va_list v; 3471 va_start (v,p); 3472 s = g (p, va_arg (v,int)); 3473 va_end (v); 3474 return s; 3475} 3476 3477/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3478 function prototypes and stuff, but not '\xHH' hex character constants. 3479 These don't provoke an error unfortunately, instead are silently treated 3480 as 'x'. The following induces an error, until -std is added to get 3481 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3482 array size at least. It's necessary to write '\x00'==0 to get something 3483 that's true only with -std. */ 3484int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3485 3486/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3487 inside strings and character constants. */ 3488#define FOO(x) 'x' 3489int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3490 3491int test (int i, double x); 3492struct s1 {int (*f) (int a);}; 3493struct s2 {int (*f) (double a);}; 3494int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3495int argc; 3496char **argv; 3497int 3498main () 3499{ 3500return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3501 ; 3502 return 0; 3503} 3504_ACEOF 3505for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3506 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3507do 3508 CC="$ac_save_CC $ac_arg" 3509 if ac_fn_c_try_compile "$LINENO"; then : 3510 ac_cv_prog_cc_c89=$ac_arg 3511fi 3512rm -f core conftest.err conftest.$ac_objext 3513 test "x$ac_cv_prog_cc_c89" != "xno" && break 3514done 3515rm -f conftest.$ac_ext 3516CC=$ac_save_CC 3517 3518fi 3519# AC_CACHE_VAL 3520case "x$ac_cv_prog_cc_c89" in 3521 x) 3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3523$as_echo "none needed" >&6; } ;; 3524 xno) 3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3526$as_echo "unsupported" >&6; } ;; 3527 *) 3528 CC="$CC $ac_cv_prog_cc_c89" 3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3530$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3531esac 3532if test "x$ac_cv_prog_cc_c89" != xno; then : 3533 3534fi 3535 3536ac_ext=c 3537ac_cpp='$CPP $CPPFLAGS' 3538ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3539ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3540ac_compiler_gnu=$ac_cv_c_compiler_gnu 3541DEPDIR="${am__leading_dot}deps" 3542 3543ac_config_commands="$ac_config_commands depfiles" 3544 3545 3546am_make=${MAKE-make} 3547cat > confinc << 'END' 3548am__doit: 3549 @echo this is the am__doit target 3550.PHONY: am__doit 3551END 3552# If we don't find an include directive, just comment out the code. 3553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3554$as_echo_n "checking for style of include used by $am_make... " >&6; } 3555am__include="#" 3556am__quote= 3557_am_result=none 3558# First try GNU make style include. 3559echo "include confinc" > confmf 3560# Ignore all kinds of additional output from `make'. 3561case `$am_make -s -f confmf 2> /dev/null` in #( 3562*the\ am__doit\ target*) 3563 am__include=include 3564 am__quote= 3565 _am_result=GNU 3566 ;; 3567esac 3568# Now try BSD make style include. 3569if test "$am__include" = "#"; then 3570 echo '.include "confinc"' > confmf 3571 case `$am_make -s -f confmf 2> /dev/null` in #( 3572 *the\ am__doit\ target*) 3573 am__include=.include 3574 am__quote="\"" 3575 _am_result=BSD 3576 ;; 3577 esac 3578fi 3579 3580 3581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3582$as_echo "$_am_result" >&6; } 3583rm -f confinc confmf 3584 3585# Check whether --enable-dependency-tracking was given. 3586if test "${enable_dependency_tracking+set}" = set; then : 3587 enableval=$enable_dependency_tracking; 3588fi 3589 3590if test "x$enable_dependency_tracking" != xno; then 3591 am_depcomp="$ac_aux_dir/depcomp" 3592 AMDEPBACKSLASH='\' 3593 am__nodep='_no' 3594fi 3595 if test "x$enable_dependency_tracking" != xno; then 3596 AMDEP_TRUE= 3597 AMDEP_FALSE='#' 3598else 3599 AMDEP_TRUE='#' 3600 AMDEP_FALSE= 3601fi 3602 3603 3604 3605depcc="$CC" am_compiler_list= 3606 3607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3608$as_echo_n "checking dependency style of $depcc... " >&6; } 3609if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3610 $as_echo_n "(cached) " >&6 3611else 3612 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3613 # We make a subdir and do the tests there. Otherwise we can end up 3614 # making bogus files that we don't know about and never remove. For 3615 # instance it was reported that on HP-UX the gcc test will end up 3616 # making a dummy file named `D' -- because `-MD' means `put the output 3617 # in D'. 3618 rm -rf conftest.dir 3619 mkdir conftest.dir 3620 # Copy depcomp to subdir because otherwise we won't find it if we're 3621 # using a relative directory. 3622 cp "$am_depcomp" conftest.dir 3623 cd conftest.dir 3624 # We will build objects and dependencies in a subdirectory because 3625 # it helps to detect inapplicable dependency modes. For instance 3626 # both Tru64's cc and ICC support -MD to output dependencies as a 3627 # side effect of compilation, but ICC will put the dependencies in 3628 # the current directory while Tru64 will put them in the object 3629 # directory. 3630 mkdir sub 3631 3632 am_cv_CC_dependencies_compiler_type=none 3633 if test "$am_compiler_list" = ""; then 3634 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3635 fi 3636 am__universal=false 3637 case " $depcc " in #( 3638 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3639 esac 3640 3641 for depmode in $am_compiler_list; do 3642 # Setup a source with many dependencies, because some compilers 3643 # like to wrap large dependency lists on column 80 (with \), and 3644 # we should not choose a depcomp mode which is confused by this. 3645 # 3646 # We need to recreate these files for each test, as the compiler may 3647 # overwrite some of them when testing with obscure command lines. 3648 # This happens at least with the AIX C compiler. 3649 : > sub/conftest.c 3650 for i in 1 2 3 4 5 6; do 3651 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3652 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3653 # Solaris 8's {/usr,}/bin/sh. 3654 touch sub/conftst$i.h 3655 done 3656 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3657 3658 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3659 # mode. It turns out that the SunPro C++ compiler does not properly 3660 # handle `-M -o', and we need to detect this. Also, some Intel 3661 # versions had trouble with output in subdirs 3662 am__obj=sub/conftest.${OBJEXT-o} 3663 am__minus_obj="-o $am__obj" 3664 case $depmode in 3665 gcc) 3666 # This depmode causes a compiler race in universal mode. 3667 test "$am__universal" = false || continue 3668 ;; 3669 nosideeffect) 3670 # after this tag, mechanisms are not by side-effect, so they'll 3671 # only be used when explicitly requested 3672 if test "x$enable_dependency_tracking" = xyes; then 3673 continue 3674 else 3675 break 3676 fi 3677 ;; 3678 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3679 # This compiler won't grok `-c -o', but also, the minuso test has 3680 # not run yet. These depmodes are late enough in the game, and 3681 # so weak that their functioning should not be impacted. 3682 am__obj=conftest.${OBJEXT-o} 3683 am__minus_obj= 3684 ;; 3685 none) break ;; 3686 esac 3687 if depmode=$depmode \ 3688 source=sub/conftest.c object=$am__obj \ 3689 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3690 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3691 >/dev/null 2>conftest.err && 3692 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3693 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3694 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3695 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3696 # icc doesn't choke on unknown options, it will just issue warnings 3697 # or remarks (even with -Werror). So we grep stderr for any message 3698 # that says an option was ignored or not supported. 3699 # When given -MP, icc 7.0 and 7.1 complain thusly: 3700 # icc: Command line warning: ignoring option '-M'; no argument required 3701 # The diagnosis changed in icc 8.0: 3702 # icc: Command line remark: option '-MP' not supported 3703 if (grep 'ignoring option' conftest.err || 3704 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3705 am_cv_CC_dependencies_compiler_type=$depmode 3706 break 3707 fi 3708 fi 3709 done 3710 3711 cd .. 3712 rm -rf conftest.dir 3713else 3714 am_cv_CC_dependencies_compiler_type=none 3715fi 3716 3717fi 3718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3719$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3720CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3721 3722 if 3723 test "x$enable_dependency_tracking" != xno \ 3724 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3725 am__fastdepCC_TRUE= 3726 am__fastdepCC_FALSE='#' 3727else 3728 am__fastdepCC_TRUE='#' 3729 am__fastdepCC_FALSE= 3730fi 3731 3732 3733ac_ext=c 3734ac_cpp='$CPP $CPPFLAGS' 3735ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3736ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3737ac_compiler_gnu=$ac_cv_c_compiler_gnu 3738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3739$as_echo_n "checking how to run the C preprocessor... " >&6; } 3740# On Suns, sometimes $CPP names a directory. 3741if test -n "$CPP" && test -d "$CPP"; then 3742 CPP= 3743fi 3744if test -z "$CPP"; then 3745 if ${ac_cv_prog_CPP+:} false; then : 3746 $as_echo_n "(cached) " >&6 3747else 3748 # Double quotes because CPP needs to be expanded 3749 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3750 do 3751 ac_preproc_ok=false 3752for ac_c_preproc_warn_flag in '' yes 3753do 3754 # Use a header file that comes with gcc, so configuring glibc 3755 # with a fresh cross-compiler works. 3756 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3757 # <limits.h> exists even on freestanding compilers. 3758 # On the NeXT, cc -E runs the code through the compiler's parser, 3759 # not just through cpp. "Syntax error" is here to catch this case. 3760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3761/* end confdefs.h. */ 3762#ifdef __STDC__ 3763# include <limits.h> 3764#else 3765# include <assert.h> 3766#endif 3767 Syntax error 3768_ACEOF 3769if ac_fn_c_try_cpp "$LINENO"; then : 3770 3771else 3772 # Broken: fails on valid input. 3773continue 3774fi 3775rm -f conftest.err conftest.i conftest.$ac_ext 3776 3777 # OK, works on sane cases. Now check whether nonexistent headers 3778 # can be detected and how. 3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3780/* end confdefs.h. */ 3781#include <ac_nonexistent.h> 3782_ACEOF 3783if ac_fn_c_try_cpp "$LINENO"; then : 3784 # Broken: success on invalid input. 3785continue 3786else 3787 # Passes both tests. 3788ac_preproc_ok=: 3789break 3790fi 3791rm -f conftest.err conftest.i conftest.$ac_ext 3792 3793done 3794# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3795rm -f conftest.i conftest.err conftest.$ac_ext 3796if $ac_preproc_ok; then : 3797 break 3798fi 3799 3800 done 3801 ac_cv_prog_CPP=$CPP 3802 3803fi 3804 CPP=$ac_cv_prog_CPP 3805else 3806 ac_cv_prog_CPP=$CPP 3807fi 3808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3809$as_echo "$CPP" >&6; } 3810ac_preproc_ok=false 3811for ac_c_preproc_warn_flag in '' yes 3812do 3813 # Use a header file that comes with gcc, so configuring glibc 3814 # with a fresh cross-compiler works. 3815 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3816 # <limits.h> exists even on freestanding compilers. 3817 # On the NeXT, cc -E runs the code through the compiler's parser, 3818 # not just through cpp. "Syntax error" is here to catch this case. 3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3820/* end confdefs.h. */ 3821#ifdef __STDC__ 3822# include <limits.h> 3823#else 3824# include <assert.h> 3825#endif 3826 Syntax error 3827_ACEOF 3828if ac_fn_c_try_cpp "$LINENO"; then : 3829 3830else 3831 # Broken: fails on valid input. 3832continue 3833fi 3834rm -f conftest.err conftest.i conftest.$ac_ext 3835 3836 # OK, works on sane cases. Now check whether nonexistent headers 3837 # can be detected and how. 3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3839/* end confdefs.h. */ 3840#include <ac_nonexistent.h> 3841_ACEOF 3842if ac_fn_c_try_cpp "$LINENO"; then : 3843 # Broken: success on invalid input. 3844continue 3845else 3846 # Passes both tests. 3847ac_preproc_ok=: 3848break 3849fi 3850rm -f conftest.err conftest.i conftest.$ac_ext 3851 3852done 3853# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3854rm -f conftest.i conftest.err conftest.$ac_ext 3855if $ac_preproc_ok; then : 3856 3857else 3858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3859$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3860as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3861See \`config.log' for more details" "$LINENO" 5; } 3862fi 3863 3864ac_ext=c 3865ac_cpp='$CPP $CPPFLAGS' 3866ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3867ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3868ac_compiler_gnu=$ac_cv_c_compiler_gnu 3869 3870 3871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3872$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3873set x ${MAKE-make} 3874ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3875if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3876 $as_echo_n "(cached) " >&6 3877else 3878 cat >conftest.make <<\_ACEOF 3879SHELL = /bin/sh 3880all: 3881 @echo '@@@%%%=$(MAKE)=@@@%%%' 3882_ACEOF 3883# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3884case `${MAKE-make} -f conftest.make 2>/dev/null` in 3885 *@@@%%%=?*=@@@%%%*) 3886 eval ac_cv_prog_make_${ac_make}_set=yes;; 3887 *) 3888 eval ac_cv_prog_make_${ac_make}_set=no;; 3889esac 3890rm -f conftest.make 3891fi 3892if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3894$as_echo "yes" >&6; } 3895 SET_MAKE= 3896else 3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3898$as_echo "no" >&6; } 3899 SET_MAKE="MAKE=${MAKE-make}" 3900fi 3901 3902if test -n "$ac_tool_prefix"; then 3903 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3904set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3906$as_echo_n "checking for $ac_word... " >&6; } 3907if ${ac_cv_prog_RANLIB+:} false; then : 3908 $as_echo_n "(cached) " >&6 3909else 3910 if test -n "$RANLIB"; then 3911 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3912else 3913as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3914for as_dir in $PATH 3915do 3916 IFS=$as_save_IFS 3917 test -z "$as_dir" && as_dir=. 3918 for ac_exec_ext in '' $ac_executable_extensions; do 3919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3920 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3922 break 2 3923 fi 3924done 3925 done 3926IFS=$as_save_IFS 3927 3928fi 3929fi 3930RANLIB=$ac_cv_prog_RANLIB 3931if test -n "$RANLIB"; then 3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3933$as_echo "$RANLIB" >&6; } 3934else 3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3936$as_echo "no" >&6; } 3937fi 3938 3939 3940fi 3941if test -z "$ac_cv_prog_RANLIB"; then 3942 ac_ct_RANLIB=$RANLIB 3943 # Extract the first word of "ranlib", so it can be a program name with args. 3944set dummy ranlib; ac_word=$2 3945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3946$as_echo_n "checking for $ac_word... " >&6; } 3947if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 3948 $as_echo_n "(cached) " >&6 3949else 3950 if test -n "$ac_ct_RANLIB"; then 3951 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3952else 3953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3954for as_dir in $PATH 3955do 3956 IFS=$as_save_IFS 3957 test -z "$as_dir" && as_dir=. 3958 for ac_exec_ext in '' $ac_executable_extensions; do 3959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3960 ac_cv_prog_ac_ct_RANLIB="ranlib" 3961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3962 break 2 3963 fi 3964done 3965 done 3966IFS=$as_save_IFS 3967 3968fi 3969fi 3970ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3971if test -n "$ac_ct_RANLIB"; then 3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3973$as_echo "$ac_ct_RANLIB" >&6; } 3974else 3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3976$as_echo "no" >&6; } 3977fi 3978 3979 if test "x$ac_ct_RANLIB" = x; then 3980 RANLIB=":" 3981 else 3982 case $cross_compiling:$ac_tool_warned in 3983yes:) 3984{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3985$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3986ac_tool_warned=yes ;; 3987esac 3988 RANLIB=$ac_ct_RANLIB 3989 fi 3990else 3991 RANLIB="$ac_cv_prog_RANLIB" 3992fi 3993 3994 3995geomorphdatadir=$datadir/geomorph/$VERSION 3996 3997 3998 3999 4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 4001$as_echo_n "checking whether NLS is requested... " >&6; } 4002 # Check whether --enable-nls was given. 4003if test "${enable_nls+set}" = set; then : 4004 enableval=$enable_nls; USE_NLS=$enableval 4005else 4006 USE_NLS=yes 4007fi 4008 4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 4010$as_echo "$USE_NLS" >&6; } 4011 4012 4013 4014 4015 GETTEXT_MACRO_VERSION=0.18 4016 4017 4018 4019 4020# Prepare PATH_SEPARATOR. 4021# The user is always right. 4022if test "${PATH_SEPARATOR+set}" != set; then 4023 echo "#! /bin/sh" >conf$$.sh 4024 echo "exit 0" >>conf$$.sh 4025 chmod +x conf$$.sh 4026 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4027 PATH_SEPARATOR=';' 4028 else 4029 PATH_SEPARATOR=: 4030 fi 4031 rm -f conf$$.sh 4032fi 4033 4034# Find out how to test for executable files. Don't use a zero-byte file, 4035# as systems may use methods other than mode bits to determine executability. 4036cat >conf$$.file <<_ASEOF 4037#! /bin/sh 4038exit 0 4039_ASEOF 4040chmod +x conf$$.file 4041if test -x conf$$.file >/dev/null 2>&1; then 4042 ac_executable_p="test -x" 4043else 4044 ac_executable_p="test -f" 4045fi 4046rm -f conf$$.file 4047 4048# Extract the first word of "msgfmt", so it can be a program name with args. 4049set dummy msgfmt; ac_word=$2 4050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4051$as_echo_n "checking for $ac_word... " >&6; } 4052if ${ac_cv_path_MSGFMT+:} false; then : 4053 $as_echo_n "(cached) " >&6 4054else 4055 case "$MSGFMT" in 4056 [\\/]* | ?:[\\/]*) 4057 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 4058 ;; 4059 *) 4060 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 4061 for ac_dir in $PATH; do 4062 IFS="$ac_save_IFS" 4063 test -z "$ac_dir" && ac_dir=. 4064 for ac_exec_ext in '' $ac_executable_extensions; do 4065 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 4066 echo "$as_me: trying $ac_dir/$ac_word..." >&5 4067 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 4068 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 4069 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 4070 break 2 4071 fi 4072 fi 4073 done 4074 done 4075 IFS="$ac_save_IFS" 4076 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 4077 ;; 4078esac 4079fi 4080MSGFMT="$ac_cv_path_MSGFMT" 4081if test "$MSGFMT" != ":"; then 4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 4083$as_echo "$MSGFMT" >&6; } 4084else 4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4086$as_echo "no" >&6; } 4087fi 4088 4089 # Extract the first word of "gmsgfmt", so it can be a program name with args. 4090set dummy gmsgfmt; ac_word=$2 4091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4092$as_echo_n "checking for $ac_word... " >&6; } 4093if ${ac_cv_path_GMSGFMT+:} false; then : 4094 $as_echo_n "(cached) " >&6 4095else 4096 case $GMSGFMT in 4097 [\\/]* | ?:[\\/]*) 4098 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 4099 ;; 4100 *) 4101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4102for as_dir in $PATH 4103do 4104 IFS=$as_save_IFS 4105 test -z "$as_dir" && as_dir=. 4106 for ac_exec_ext in '' $ac_executable_extensions; do 4107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4108 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 4109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4110 break 2 4111 fi 4112done 4113 done 4114IFS=$as_save_IFS 4115 4116 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 4117 ;; 4118esac 4119fi 4120GMSGFMT=$ac_cv_path_GMSGFMT 4121if test -n "$GMSGFMT"; then 4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 4123$as_echo "$GMSGFMT" >&6; } 4124else 4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4126$as_echo "no" >&6; } 4127fi 4128 4129 4130 4131 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 4132 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 4133 *) MSGFMT_015=$MSGFMT ;; 4134 esac 4135 4136 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 4137 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 4138 *) GMSGFMT_015=$GMSGFMT ;; 4139 esac 4140 4141 4142 4143# Prepare PATH_SEPARATOR. 4144# The user is always right. 4145if test "${PATH_SEPARATOR+set}" != set; then 4146 echo "#! /bin/sh" >conf$$.sh 4147 echo "exit 0" >>conf$$.sh 4148 chmod +x conf$$.sh 4149 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4150 PATH_SEPARATOR=';' 4151 else 4152 PATH_SEPARATOR=: 4153 fi 4154 rm -f conf$$.sh 4155fi 4156 4157# Find out how to test for executable files. Don't use a zero-byte file, 4158# as systems may use methods other than mode bits to determine executability. 4159cat >conf$$.file <<_ASEOF 4160#! /bin/sh 4161exit 0 4162_ASEOF 4163chmod +x conf$$.file 4164if test -x conf$$.file >/dev/null 2>&1; then 4165 ac_executable_p="test -x" 4166else 4167 ac_executable_p="test -f" 4168fi 4169rm -f conf$$.file 4170 4171# Extract the first word of "xgettext", so it can be a program name with args. 4172set dummy xgettext; ac_word=$2 4173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4174$as_echo_n "checking for $ac_word... " >&6; } 4175if ${ac_cv_path_XGETTEXT+:} false; then : 4176 $as_echo_n "(cached) " >&6 4177else 4178 case "$XGETTEXT" in 4179 [\\/]* | ?:[\\/]*) 4180 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 4181 ;; 4182 *) 4183 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 4184 for ac_dir in $PATH; do 4185 IFS="$ac_save_IFS" 4186 test -z "$ac_dir" && ac_dir=. 4187 for ac_exec_ext in '' $ac_executable_extensions; do 4188 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 4189 echo "$as_me: trying $ac_dir/$ac_word..." >&5 4190 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 4191 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 4192 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 4193 break 2 4194 fi 4195 fi 4196 done 4197 done 4198 IFS="$ac_save_IFS" 4199 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 4200 ;; 4201esac 4202fi 4203XGETTEXT="$ac_cv_path_XGETTEXT" 4204if test "$XGETTEXT" != ":"; then 4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 4206$as_echo "$XGETTEXT" >&6; } 4207else 4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4209$as_echo "no" >&6; } 4210fi 4211 4212 rm -f messages.po 4213 4214 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 4215 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 4216 *) XGETTEXT_015=$XGETTEXT ;; 4217 esac 4218 4219 4220 4221# Prepare PATH_SEPARATOR. 4222# The user is always right. 4223if test "${PATH_SEPARATOR+set}" != set; then 4224 echo "#! /bin/sh" >conf$$.sh 4225 echo "exit 0" >>conf$$.sh 4226 chmod +x conf$$.sh 4227 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4228 PATH_SEPARATOR=';' 4229 else 4230 PATH_SEPARATOR=: 4231 fi 4232 rm -f conf$$.sh 4233fi 4234 4235# Find out how to test for executable files. Don't use a zero-byte file, 4236# as systems may use methods other than mode bits to determine executability. 4237cat >conf$$.file <<_ASEOF 4238#! /bin/sh 4239exit 0 4240_ASEOF 4241chmod +x conf$$.file 4242if test -x conf$$.file >/dev/null 2>&1; then 4243 ac_executable_p="test -x" 4244else 4245 ac_executable_p="test -f" 4246fi 4247rm -f conf$$.file 4248 4249# Extract the first word of "msgmerge", so it can be a program name with args. 4250set dummy msgmerge; ac_word=$2 4251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4252$as_echo_n "checking for $ac_word... " >&6; } 4253if ${ac_cv_path_MSGMERGE+:} false; then : 4254 $as_echo_n "(cached) " >&6 4255else 4256 case "$MSGMERGE" in 4257 [\\/]* | ?:[\\/]*) 4258 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 4259 ;; 4260 *) 4261 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 4262 for ac_dir in $PATH; do 4263 IFS="$ac_save_IFS" 4264 test -z "$ac_dir" && ac_dir=. 4265 for ac_exec_ext in '' $ac_executable_extensions; do 4266 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 4267 echo "$as_me: trying $ac_dir/$ac_word..." >&5 4268 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 4269 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 4270 break 2 4271 fi 4272 fi 4273 done 4274 done 4275 IFS="$ac_save_IFS" 4276 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 4277 ;; 4278esac 4279fi 4280MSGMERGE="$ac_cv_path_MSGMERGE" 4281if test "$MSGMERGE" != ":"; then 4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 4283$as_echo "$MSGMERGE" >&6; } 4284else 4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4286$as_echo "no" >&6; } 4287fi 4288 4289 4290 test -n "$localedir" || localedir='${datadir}/locale' 4291 4292 4293 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 4294 4295 4296 ac_config_commands="$ac_config_commands po-directories" 4297 4298 4299 4300 if test "X$prefix" = "XNONE"; then 4301 acl_final_prefix="$ac_default_prefix" 4302 else 4303 acl_final_prefix="$prefix" 4304 fi 4305 if test "X$exec_prefix" = "XNONE"; then 4306 acl_final_exec_prefix='${prefix}' 4307 else 4308 acl_final_exec_prefix="$exec_prefix" 4309 fi 4310 acl_save_prefix="$prefix" 4311 prefix="$acl_final_prefix" 4312 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 4313 prefix="$acl_save_prefix" 4314 4315# Make sure we can run config.sub. 4316$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 4317 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 4318 4319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 4320$as_echo_n "checking build system type... " >&6; } 4321if ${ac_cv_build+:} false; then : 4322 $as_echo_n "(cached) " >&6 4323else 4324 ac_build_alias=$build_alias 4325test "x$ac_build_alias" = x && 4326 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 4327test "x$ac_build_alias" = x && 4328 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 4329ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 4330 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 4331 4332fi 4333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 4334$as_echo "$ac_cv_build" >&6; } 4335case $ac_cv_build in 4336*-*-*) ;; 4337*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 4338esac 4339build=$ac_cv_build 4340ac_save_IFS=$IFS; IFS='-' 4341set x $ac_cv_build 4342shift 4343build_cpu=$1 4344build_vendor=$2 4345shift; shift 4346# Remember, the first character of IFS is used to create $*, 4347# except with old shells: 4348build_os=$* 4349IFS=$ac_save_IFS 4350case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 4351 4352 4353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 4354$as_echo_n "checking host system type... " >&6; } 4355if ${ac_cv_host+:} false; then : 4356 $as_echo_n "(cached) " >&6 4357else 4358 if test "x$host_alias" = x; then 4359 ac_cv_host=$ac_cv_build 4360else 4361 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 4362 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 4363fi 4364 4365fi 4366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 4367$as_echo "$ac_cv_host" >&6; } 4368case $ac_cv_host in 4369*-*-*) ;; 4370*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 4371esac 4372host=$ac_cv_host 4373ac_save_IFS=$IFS; IFS='-' 4374set x $ac_cv_host 4375shift 4376host_cpu=$1 4377host_vendor=$2 4378shift; shift 4379# Remember, the first character of IFS is used to create $*, 4380# except with old shells: 4381host_os=$* 4382IFS=$ac_save_IFS 4383case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 4384 4385 4386 4387# Check whether --with-gnu-ld was given. 4388if test "${with_gnu_ld+set}" = set; then : 4389 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 4390else 4391 with_gnu_ld=no 4392fi 4393 4394# Prepare PATH_SEPARATOR. 4395# The user is always right. 4396if test "${PATH_SEPARATOR+set}" != set; then 4397 echo "#! /bin/sh" >conf$$.sh 4398 echo "exit 0" >>conf$$.sh 4399 chmod +x conf$$.sh 4400 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 4401 PATH_SEPARATOR=';' 4402 else 4403 PATH_SEPARATOR=: 4404 fi 4405 rm -f conf$$.sh 4406fi 4407ac_prog=ld 4408if test "$GCC" = yes; then 4409 # Check if gcc -print-prog-name=ld gives a path. 4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 4411$as_echo_n "checking for ld used by GCC... " >&6; } 4412 case $host in 4413 *-*-mingw*) 4414 # gcc leaves a trailing carriage return which upsets mingw 4415 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 4416 *) 4417 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 4418 esac 4419 case $ac_prog in 4420 # Accept absolute paths. 4421 [\\/]* | [A-Za-z]:[\\/]*) 4422 re_direlt='/[^/][^/]*/\.\./' 4423 # Canonicalize the path of ld 4424 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 4425 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 4426 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 4427 done 4428 test -z "$LD" && LD="$ac_prog" 4429 ;; 4430 "") 4431 # If it fails, then pretend we aren't using GCC. 4432 ac_prog=ld 4433 ;; 4434 *) 4435 # If it is relative, then search for the first ld in PATH. 4436 with_gnu_ld=unknown 4437 ;; 4438 esac 4439elif test "$with_gnu_ld" = yes; then 4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 4441$as_echo_n "checking for GNU ld... " >&6; } 4442else 4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 4444$as_echo_n "checking for non-GNU ld... " >&6; } 4445fi 4446if ${acl_cv_path_LD+:} false; then : 4447 $as_echo_n "(cached) " >&6 4448else 4449 if test -z "$LD"; then 4450 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 4451 for ac_dir in $PATH; do 4452 test -z "$ac_dir" && ac_dir=. 4453 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 4454 acl_cv_path_LD="$ac_dir/$ac_prog" 4455 # Check to see if the program is GNU ld. I'd rather use --version, 4456 # but apparently some GNU ld's only accept -v. 4457 # Break only if it was the GNU/non-GNU ld that we prefer. 4458 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 4459 *GNU* | *'with BFD'*) 4460 test "$with_gnu_ld" != no && break ;; 4461 *) 4462 test "$with_gnu_ld" != yes && break ;; 4463 esac 4464 fi 4465 done 4466 IFS="$ac_save_ifs" 4467else 4468 acl_cv_path_LD="$LD" # Let the user override the test with a path. 4469fi 4470fi 4471 4472LD="$acl_cv_path_LD" 4473if test -n "$LD"; then 4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 4475$as_echo "$LD" >&6; } 4476else 4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4478$as_echo "no" >&6; } 4479fi 4480test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 4481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 4482$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 4483if ${acl_cv_prog_gnu_ld+:} false; then : 4484 $as_echo_n "(cached) " >&6 4485else 4486 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 4487case `$LD -v 2>&1 </dev/null` in 4488*GNU* | *'with BFD'*) 4489 acl_cv_prog_gnu_ld=yes ;; 4490*) 4491 acl_cv_prog_gnu_ld=no ;; 4492esac 4493fi 4494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 4495$as_echo "$acl_cv_prog_gnu_ld" >&6; } 4496with_gnu_ld=$acl_cv_prog_gnu_ld 4497 4498 4499 4500 4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 4502$as_echo_n "checking for shared library run path origin... " >&6; } 4503if ${acl_cv_rpath+:} false; then : 4504 $as_echo_n "(cached) " >&6 4505else 4506 4507 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 4508 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 4509 . ./conftest.sh 4510 rm -f ./conftest.sh 4511 acl_cv_rpath=done 4512 4513fi 4514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 4515$as_echo "$acl_cv_rpath" >&6; } 4516 wl="$acl_cv_wl" 4517 acl_libext="$acl_cv_libext" 4518 acl_shlibext="$acl_cv_shlibext" 4519 acl_libname_spec="$acl_cv_libname_spec" 4520 acl_library_names_spec="$acl_cv_library_names_spec" 4521 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 4522 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 4523 acl_hardcode_direct="$acl_cv_hardcode_direct" 4524 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 4525 # Check whether --enable-rpath was given. 4526if test "${enable_rpath+set}" = set; then : 4527 enableval=$enable_rpath; : 4528else 4529 enable_rpath=yes 4530fi 4531 4532 4533 4534 4535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4536$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4537if ${ac_cv_path_GREP+:} false; then : 4538 $as_echo_n "(cached) " >&6 4539else 4540 if test -z "$GREP"; then 4541 ac_path_GREP_found=false 4542 # Loop through the user's path and test for each of PROGNAME-LIST 4543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4544for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4545do 4546 IFS=$as_save_IFS 4547 test -z "$as_dir" && as_dir=. 4548 for ac_prog in grep ggrep; do 4549 for ac_exec_ext in '' $ac_executable_extensions; do 4550 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4551 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 4552# Check for GNU ac_path_GREP and select it if it is found. 4553 # Check for GNU $ac_path_GREP 4554case `"$ac_path_GREP" --version 2>&1` in 4555*GNU*) 4556 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4557*) 4558 ac_count=0 4559 $as_echo_n 0123456789 >"conftest.in" 4560 while : 4561 do 4562 cat "conftest.in" "conftest.in" >"conftest.tmp" 4563 mv "conftest.tmp" "conftest.in" 4564 cp "conftest.in" "conftest.nl" 4565 $as_echo 'GREP' >> "conftest.nl" 4566 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4567 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4568 as_fn_arith $ac_count + 1 && ac_count=$as_val 4569 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4570 # Best one so far, save it but keep looking for a better one 4571 ac_cv_path_GREP="$ac_path_GREP" 4572 ac_path_GREP_max=$ac_count 4573 fi 4574 # 10*(2^10) chars as input seems more than enough 4575 test $ac_count -gt 10 && break 4576 done 4577 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4578esac 4579 4580 $ac_path_GREP_found && break 3 4581 done 4582 done 4583 done 4584IFS=$as_save_IFS 4585 if test -z "$ac_cv_path_GREP"; then 4586 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4587 fi 4588else 4589 ac_cv_path_GREP=$GREP 4590fi 4591 4592fi 4593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4594$as_echo "$ac_cv_path_GREP" >&6; } 4595 GREP="$ac_cv_path_GREP" 4596 4597 4598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4599$as_echo_n "checking for egrep... " >&6; } 4600if ${ac_cv_path_EGREP+:} false; then : 4601 $as_echo_n "(cached) " >&6 4602else 4603 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4604 then ac_cv_path_EGREP="$GREP -E" 4605 else 4606 if test -z "$EGREP"; then 4607 ac_path_EGREP_found=false 4608 # Loop through the user's path and test for each of PROGNAME-LIST 4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4610for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4611do 4612 IFS=$as_save_IFS 4613 test -z "$as_dir" && as_dir=. 4614 for ac_prog in egrep; do 4615 for ac_exec_ext in '' $ac_executable_extensions; do 4616 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4617 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4618# Check for GNU ac_path_EGREP and select it if it is found. 4619 # Check for GNU $ac_path_EGREP 4620case `"$ac_path_EGREP" --version 2>&1` in 4621*GNU*) 4622 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4623*) 4624 ac_count=0 4625 $as_echo_n 0123456789 >"conftest.in" 4626 while : 4627 do 4628 cat "conftest.in" "conftest.in" >"conftest.tmp" 4629 mv "conftest.tmp" "conftest.in" 4630 cp "conftest.in" "conftest.nl" 4631 $as_echo 'EGREP' >> "conftest.nl" 4632 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4633 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4634 as_fn_arith $ac_count + 1 && ac_count=$as_val 4635 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4636 # Best one so far, save it but keep looking for a better one 4637 ac_cv_path_EGREP="$ac_path_EGREP" 4638 ac_path_EGREP_max=$ac_count 4639 fi 4640 # 10*(2^10) chars as input seems more than enough 4641 test $ac_count -gt 10 && break 4642 done 4643 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4644esac 4645 4646 $ac_path_EGREP_found && break 3 4647 done 4648 done 4649 done 4650IFS=$as_save_IFS 4651 if test -z "$ac_cv_path_EGREP"; then 4652 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4653 fi 4654else 4655 ac_cv_path_EGREP=$EGREP 4656fi 4657 4658 fi 4659fi 4660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4661$as_echo "$ac_cv_path_EGREP" >&6; } 4662 EGREP="$ac_cv_path_EGREP" 4663 4664 4665 4666 4667 acl_libdirstem=lib 4668 acl_libdirstem2= 4669 case "$host_os" in 4670 solaris*) 4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 4672$as_echo_n "checking for 64-bit host... " >&6; } 4673if ${gl_cv_solaris_64bit+:} false; then : 4674 $as_echo_n "(cached) " >&6 4675else 4676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4677/* end confdefs.h. */ 4678 4679#ifdef _LP64 4680sixtyfour bits 4681#endif 4682 4683_ACEOF 4684if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4685 $EGREP "sixtyfour bits" >/dev/null 2>&1; then : 4686 gl_cv_solaris_64bit=yes 4687else 4688 gl_cv_solaris_64bit=no 4689fi 4690rm -f conftest* 4691 4692 4693fi 4694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 4695$as_echo "$gl_cv_solaris_64bit" >&6; } 4696 if test $gl_cv_solaris_64bit = yes; then 4697 acl_libdirstem=lib/64 4698 case "$host_cpu" in 4699 sparc*) acl_libdirstem2=lib/sparcv9 ;; 4700 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 4701 esac 4702 fi 4703 ;; 4704 *) 4705 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 4706 if test -n "$searchpath"; then 4707 acl_save_IFS="${IFS= }"; IFS=":" 4708 for searchdir in $searchpath; do 4709 if test -d "$searchdir"; then 4710 case "$searchdir" in 4711 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 4712 */../ | */.. ) 4713 # Better ignore directories of this form. They are misleading. 4714 ;; 4715 *) searchdir=`cd "$searchdir" && pwd` 4716 case "$searchdir" in 4717 */lib64 ) acl_libdirstem=lib64 ;; 4718 esac ;; 4719 esac 4720 fi 4721 done 4722 IFS="$acl_save_IFS" 4723 fi 4724 ;; 4725 esac 4726 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 use_additional=yes 4740 4741 acl_save_prefix="$prefix" 4742 prefix="$acl_final_prefix" 4743 acl_save_exec_prefix="$exec_prefix" 4744 exec_prefix="$acl_final_exec_prefix" 4745 4746 eval additional_includedir=\"$includedir\" 4747 eval additional_libdir=\"$libdir\" 4748 4749 exec_prefix="$acl_save_exec_prefix" 4750 prefix="$acl_save_prefix" 4751 4752 4753# Check whether --with-libiconv-prefix was given. 4754if test "${with_libiconv_prefix+set}" = set; then : 4755 withval=$with_libiconv_prefix; 4756 if test "X$withval" = "Xno"; then 4757 use_additional=no 4758 else 4759 if test "X$withval" = "X"; then 4760 4761 acl_save_prefix="$prefix" 4762 prefix="$acl_final_prefix" 4763 acl_save_exec_prefix="$exec_prefix" 4764 exec_prefix="$acl_final_exec_prefix" 4765 4766 eval additional_includedir=\"$includedir\" 4767 eval additional_libdir=\"$libdir\" 4768 4769 exec_prefix="$acl_save_exec_prefix" 4770 prefix="$acl_save_prefix" 4771 4772 else 4773 additional_includedir="$withval/include" 4774 additional_libdir="$withval/$acl_libdirstem" 4775 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 4776 && ! test -d "$withval/$acl_libdirstem"; then 4777 additional_libdir="$withval/$acl_libdirstem2" 4778 fi 4779 fi 4780 fi 4781 4782fi 4783 4784 LIBICONV= 4785 LTLIBICONV= 4786 INCICONV= 4787 LIBICONV_PREFIX= 4788 HAVE_LIBICONV= 4789 rpathdirs= 4790 ltrpathdirs= 4791 names_already_handled= 4792 names_next_round='iconv ' 4793 while test -n "$names_next_round"; do 4794 names_this_round="$names_next_round" 4795 names_next_round= 4796 for name in $names_this_round; do 4797 already_handled= 4798 for n in $names_already_handled; do 4799 if test "$n" = "$name"; then 4800 already_handled=yes 4801 break 4802 fi 4803 done 4804 if test -z "$already_handled"; then 4805 names_already_handled="$names_already_handled $name" 4806 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 4807 eval value=\"\$HAVE_LIB$uppername\" 4808 if test -n "$value"; then 4809 if test "$value" = yes; then 4810 eval value=\"\$LIB$uppername\" 4811 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 4812 eval value=\"\$LTLIB$uppername\" 4813 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 4814 else 4815 : 4816 fi 4817 else 4818 found_dir= 4819 found_la= 4820 found_so= 4821 found_a= 4822 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 4823 if test -n "$acl_shlibext"; then 4824 shrext=".$acl_shlibext" # typically: shrext=.so 4825 else 4826 shrext= 4827 fi 4828 if test $use_additional = yes; then 4829 dir="$additional_libdir" 4830 if test -n "$acl_shlibext"; then 4831 if test -f "$dir/$libname$shrext"; then 4832 found_dir="$dir" 4833 found_so="$dir/$libname$shrext" 4834 else 4835 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 4836 ver=`(cd "$dir" && \ 4837 for f in "$libname$shrext".*; do echo "$f"; done \ 4838 | sed -e "s,^$libname$shrext\\\\.,," \ 4839 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 4840 | sed 1q ) 2>/dev/null` 4841 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 4842 found_dir="$dir" 4843 found_so="$dir/$libname$shrext.$ver" 4844 fi 4845 else 4846 eval library_names=\"$acl_library_names_spec\" 4847 for f in $library_names; do 4848 if test -f "$dir/$f"; then 4849 found_dir="$dir" 4850 found_so="$dir/$f" 4851 break 4852 fi 4853 done 4854 fi 4855 fi 4856 fi 4857 if test "X$found_dir" = "X"; then 4858 if test -f "$dir/$libname.$acl_libext"; then 4859 found_dir="$dir" 4860 found_a="$dir/$libname.$acl_libext" 4861 fi 4862 fi 4863 if test "X$found_dir" != "X"; then 4864 if test -f "$dir/$libname.la"; then 4865 found_la="$dir/$libname.la" 4866 fi 4867 fi 4868 fi 4869 if test "X$found_dir" = "X"; then 4870 for x in $LDFLAGS $LTLIBICONV; do 4871 4872 acl_save_prefix="$prefix" 4873 prefix="$acl_final_prefix" 4874 acl_save_exec_prefix="$exec_prefix" 4875 exec_prefix="$acl_final_exec_prefix" 4876 eval x=\"$x\" 4877 exec_prefix="$acl_save_exec_prefix" 4878 prefix="$acl_save_prefix" 4879 4880 case "$x" in 4881 -L*) 4882 dir=`echo "X$x" | sed -e 's/^X-L//'` 4883 if test -n "$acl_shlibext"; then 4884 if test -f "$dir/$libname$shrext"; then 4885 found_dir="$dir" 4886 found_so="$dir/$libname$shrext" 4887 else 4888 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 4889 ver=`(cd "$dir" && \ 4890 for f in "$libname$shrext".*; do echo "$f"; done \ 4891 | sed -e "s,^$libname$shrext\\\\.,," \ 4892 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 4893 | sed 1q ) 2>/dev/null` 4894 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 4895 found_dir="$dir" 4896 found_so="$dir/$libname$shrext.$ver" 4897 fi 4898 else 4899 eval library_names=\"$acl_library_names_spec\" 4900 for f in $library_names; do 4901 if test -f "$dir/$f"; then 4902 found_dir="$dir" 4903 found_so="$dir/$f" 4904 break 4905 fi 4906 done 4907 fi 4908 fi 4909 fi 4910 if test "X$found_dir" = "X"; then 4911 if test -f "$dir/$libname.$acl_libext"; then 4912 found_dir="$dir" 4913 found_a="$dir/$libname.$acl_libext" 4914 fi 4915 fi 4916 if test "X$found_dir" != "X"; then 4917 if test -f "$dir/$libname.la"; then 4918 found_la="$dir/$libname.la" 4919 fi 4920 fi 4921 ;; 4922 esac 4923 if test "X$found_dir" != "X"; then 4924 break 4925 fi 4926 done 4927 fi 4928 if test "X$found_dir" != "X"; then 4929 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 4930 if test "X$found_so" != "X"; then 4931 if test "$enable_rpath" = no \ 4932 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 4933 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 4934 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4935 else 4936 haveit= 4937 for x in $ltrpathdirs; do 4938 if test "X$x" = "X$found_dir"; then 4939 haveit=yes 4940 break 4941 fi 4942 done 4943 if test -z "$haveit"; then 4944 ltrpathdirs="$ltrpathdirs $found_dir" 4945 fi 4946 if test "$acl_hardcode_direct" = yes; then 4947 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4948 else 4949 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 4950 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4951 haveit= 4952 for x in $rpathdirs; do 4953 if test "X$x" = "X$found_dir"; then 4954 haveit=yes 4955 break 4956 fi 4957 done 4958 if test -z "$haveit"; then 4959 rpathdirs="$rpathdirs $found_dir" 4960 fi 4961 else 4962 haveit= 4963 for x in $LDFLAGS $LIBICONV; do 4964 4965 acl_save_prefix="$prefix" 4966 prefix="$acl_final_prefix" 4967 acl_save_exec_prefix="$exec_prefix" 4968 exec_prefix="$acl_final_exec_prefix" 4969 eval x=\"$x\" 4970 exec_prefix="$acl_save_exec_prefix" 4971 prefix="$acl_save_prefix" 4972 4973 if test "X$x" = "X-L$found_dir"; then 4974 haveit=yes 4975 break 4976 fi 4977 done 4978 if test -z "$haveit"; then 4979 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 4980 fi 4981 if test "$acl_hardcode_minus_L" != no; then 4982 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 4983 else 4984 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 4985 fi 4986 fi 4987 fi 4988 fi 4989 else 4990 if test "X$found_a" != "X"; then 4991 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 4992 else 4993 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 4994 fi 4995 fi 4996 additional_includedir= 4997 case "$found_dir" in 4998 */$acl_libdirstem | */$acl_libdirstem/) 4999 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 5000 if test "$name" = 'iconv'; then 5001 LIBICONV_PREFIX="$basedir" 5002 fi 5003 additional_includedir="$basedir/include" 5004 ;; 5005 */$acl_libdirstem2 | */$acl_libdirstem2/) 5006 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 5007 if test "$name" = 'iconv'; then 5008 LIBICONV_PREFIX="$basedir" 5009 fi 5010 additional_includedir="$basedir/include" 5011 ;; 5012 esac 5013 if test "X$additional_includedir" != "X"; then 5014 if test "X$additional_includedir" != "X/usr/include"; then 5015 haveit= 5016 if test "X$additional_includedir" = "X/usr/local/include"; then 5017 if test -n "$GCC"; then 5018 case $host_os in 5019 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 5020 esac 5021 fi 5022 fi 5023 if test -z "$haveit"; then 5024 for x in $CPPFLAGS $INCICONV; do 5025 5026 acl_save_prefix="$prefix" 5027 prefix="$acl_final_prefix" 5028 acl_save_exec_prefix="$exec_prefix" 5029 exec_prefix="$acl_final_exec_prefix" 5030 eval x=\"$x\" 5031 exec_prefix="$acl_save_exec_prefix" 5032 prefix="$acl_save_prefix" 5033 5034 if test "X$x" = "X-I$additional_includedir"; then 5035 haveit=yes 5036 break 5037 fi 5038 done 5039 if test -z "$haveit"; then 5040 if test -d "$additional_includedir"; then 5041 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 5042 fi 5043 fi 5044 fi 5045 fi 5046 fi 5047 if test -n "$found_la"; then 5048 save_libdir="$libdir" 5049 case "$found_la" in 5050 */* | *\\*) . "$found_la" ;; 5051 *) . "./$found_la" ;; 5052 esac 5053 libdir="$save_libdir" 5054 for dep in $dependency_libs; do 5055 case "$dep" in 5056 -L*) 5057 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 5058 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 5059 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 5060 haveit= 5061 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 5062 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 5063 if test -n "$GCC"; then 5064 case $host_os in 5065 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 5066 esac 5067 fi 5068 fi 5069 if test -z "$haveit"; then 5070 haveit= 5071 for x in $LDFLAGS $LIBICONV; do 5072 5073 acl_save_prefix="$prefix" 5074 prefix="$acl_final_prefix" 5075 acl_save_exec_prefix="$exec_prefix" 5076 exec_prefix="$acl_final_exec_prefix" 5077 eval x=\"$x\" 5078 exec_prefix="$acl_save_exec_prefix" 5079 prefix="$acl_save_prefix" 5080 5081 if test "X$x" = "X-L$additional_libdir"; then 5082 haveit=yes 5083 break 5084 fi 5085 done 5086 if test -z "$haveit"; then 5087 if test -d "$additional_libdir"; then 5088 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 5089 fi 5090 fi 5091 haveit= 5092 for x in $LDFLAGS $LTLIBICONV; do 5093 5094 acl_save_prefix="$prefix" 5095 prefix="$acl_final_prefix" 5096 acl_save_exec_prefix="$exec_prefix" 5097 exec_prefix="$acl_final_exec_prefix" 5098 eval x=\"$x\" 5099 exec_prefix="$acl_save_exec_prefix" 5100 prefix="$acl_save_prefix" 5101 5102 if test "X$x" = "X-L$additional_libdir"; then 5103 haveit=yes 5104 break 5105 fi 5106 done 5107 if test -z "$haveit"; then 5108 if test -d "$additional_libdir"; then 5109 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 5110 fi 5111 fi 5112 fi 5113 fi 5114 ;; 5115 -R*) 5116 dir=`echo "X$dep" | sed -e 's/^X-R//'` 5117 if test "$enable_rpath" != no; then 5118 haveit= 5119 for x in $rpathdirs; do 5120 if test "X$x" = "X$dir"; then 5121 haveit=yes 5122 break 5123 fi 5124 done 5125 if test -z "$haveit"; then 5126 rpathdirs="$rpathdirs $dir" 5127 fi 5128 haveit= 5129 for x in $ltrpathdirs; do 5130 if test "X$x" = "X$dir"; then 5131 haveit=yes 5132 break 5133 fi 5134 done 5135 if test -z "$haveit"; then 5136 ltrpathdirs="$ltrpathdirs $dir" 5137 fi 5138 fi 5139 ;; 5140 -l*) 5141 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 5142 ;; 5143 *.la) 5144 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 5145 ;; 5146 *) 5147 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 5148 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 5149 ;; 5150 esac 5151 done 5152 fi 5153 else 5154 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 5155 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 5156 fi 5157 fi 5158 fi 5159 done 5160 done 5161 if test "X$rpathdirs" != "X"; then 5162 if test -n "$acl_hardcode_libdir_separator"; then 5163 alldirs= 5164 for found_dir in $rpathdirs; do 5165 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 5166 done 5167 acl_save_libdir="$libdir" 5168 libdir="$alldirs" 5169 eval flag=\"$acl_hardcode_libdir_flag_spec\" 5170 libdir="$acl_save_libdir" 5171 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 5172 else 5173 for found_dir in $rpathdirs; do 5174 acl_save_libdir="$libdir" 5175 libdir="$found_dir" 5176 eval flag=\"$acl_hardcode_libdir_flag_spec\" 5177 libdir="$acl_save_libdir" 5178 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 5179 done 5180 fi 5181 fi 5182 if test "X$ltrpathdirs" != "X"; then 5183 for found_dir in $ltrpathdirs; do 5184 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 5185 done 5186 fi 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 5219$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 5220if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 5221 $as_echo_n "(cached) " >&6 5222else 5223 gt_save_LIBS="$LIBS" 5224 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 5225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5226/* end confdefs.h. */ 5227#include <CoreFoundation/CFPreferences.h> 5228int 5229main () 5230{ 5231CFPreferencesCopyAppValue(NULL, NULL) 5232 ; 5233 return 0; 5234} 5235_ACEOF 5236if ac_fn_c_try_link "$LINENO"; then : 5237 gt_cv_func_CFPreferencesCopyAppValue=yes 5238else 5239 gt_cv_func_CFPreferencesCopyAppValue=no 5240fi 5241rm -f core conftest.err conftest.$ac_objext \ 5242 conftest$ac_exeext conftest.$ac_ext 5243 LIBS="$gt_save_LIBS" 5244fi 5245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 5246$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 5247 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 5248 5249$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 5250 5251 fi 5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 5253$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 5254if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 5255 $as_echo_n "(cached) " >&6 5256else 5257 gt_save_LIBS="$LIBS" 5258 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 5259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5260/* end confdefs.h. */ 5261#include <CoreFoundation/CFLocale.h> 5262int 5263main () 5264{ 5265CFLocaleCopyCurrent(); 5266 ; 5267 return 0; 5268} 5269_ACEOF 5270if ac_fn_c_try_link "$LINENO"; then : 5271 gt_cv_func_CFLocaleCopyCurrent=yes 5272else 5273 gt_cv_func_CFLocaleCopyCurrent=no 5274fi 5275rm -f core conftest.err conftest.$ac_objext \ 5276 conftest$ac_exeext conftest.$ac_ext 5277 LIBS="$gt_save_LIBS" 5278fi 5279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 5280$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 5281 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 5282 5283$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 5284 5285 fi 5286 INTL_MACOSX_LIBS= 5287 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 5288 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 5289 fi 5290 5291 5292 5293 5294 5295 5296 LIBINTL= 5297 LTLIBINTL= 5298 POSUB= 5299 5300 case " $gt_needs " in 5301 *" need-formatstring-macros "*) gt_api_version=3 ;; 5302 *" need-ngettext "*) gt_api_version=2 ;; 5303 *) gt_api_version=1 ;; 5304 esac 5305 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 5306 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 5307 5308 if test "$USE_NLS" = "yes"; then 5309 gt_use_preinstalled_gnugettext=no 5310 5311 5312 if test $gt_api_version -ge 3; then 5313 gt_revision_test_code=' 5314#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 5315#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 5316#endif 5317typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 5318' 5319 else 5320 gt_revision_test_code= 5321 fi 5322 if test $gt_api_version -ge 2; then 5323 gt_expression_test_code=' + * ngettext ("", "", 0)' 5324 else 5325 gt_expression_test_code= 5326 fi 5327 5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 5329$as_echo_n "checking for GNU gettext in libc... " >&6; } 5330if eval \${$gt_func_gnugettext_libc+:} false; then : 5331 $as_echo_n "(cached) " >&6 5332else 5333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5334/* end confdefs.h. */ 5335#include <libintl.h> 5336$gt_revision_test_code 5337extern int _nl_msg_cat_cntr; 5338extern int *_nl_domain_bindings; 5339int 5340main () 5341{ 5342bindtextdomain ("", ""); 5343return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 5344 ; 5345 return 0; 5346} 5347_ACEOF 5348if ac_fn_c_try_link "$LINENO"; then : 5349 eval "$gt_func_gnugettext_libc=yes" 5350else 5351 eval "$gt_func_gnugettext_libc=no" 5352fi 5353rm -f core conftest.err conftest.$ac_objext \ 5354 conftest$ac_exeext conftest.$ac_ext 5355fi 5356eval ac_res=\$$gt_func_gnugettext_libc 5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 5358$as_echo "$ac_res" >&6; } 5359 5360 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 5361 5362 5363 5364 5365 5366 am_save_CPPFLAGS="$CPPFLAGS" 5367 5368 for element in $INCICONV; do 5369 haveit= 5370 for x in $CPPFLAGS; do 5371 5372 acl_save_prefix="$prefix" 5373 prefix="$acl_final_prefix" 5374 acl_save_exec_prefix="$exec_prefix" 5375 exec_prefix="$acl_final_exec_prefix" 5376 eval x=\"$x\" 5377 exec_prefix="$acl_save_exec_prefix" 5378 prefix="$acl_save_prefix" 5379 5380 if test "X$x" = "X$element"; then 5381 haveit=yes 5382 break 5383 fi 5384 done 5385 if test -z "$haveit"; then 5386 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 5387 fi 5388 done 5389 5390 5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 5392$as_echo_n "checking for iconv... " >&6; } 5393if ${am_cv_func_iconv+:} false; then : 5394 $as_echo_n "(cached) " >&6 5395else 5396 5397 am_cv_func_iconv="no, consider installing GNU libiconv" 5398 am_cv_lib_iconv=no 5399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5400/* end confdefs.h. */ 5401#include <stdlib.h> 5402#include <iconv.h> 5403int 5404main () 5405{ 5406iconv_t cd = iconv_open("",""); 5407 iconv(cd,NULL,NULL,NULL,NULL); 5408 iconv_close(cd); 5409 ; 5410 return 0; 5411} 5412_ACEOF 5413if ac_fn_c_try_link "$LINENO"; then : 5414 am_cv_func_iconv=yes 5415fi 5416rm -f core conftest.err conftest.$ac_objext \ 5417 conftest$ac_exeext conftest.$ac_ext 5418 if test "$am_cv_func_iconv" != yes; then 5419 am_save_LIBS="$LIBS" 5420 LIBS="$LIBS $LIBICONV" 5421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5422/* end confdefs.h. */ 5423#include <stdlib.h> 5424#include <iconv.h> 5425int 5426main () 5427{ 5428iconv_t cd = iconv_open("",""); 5429 iconv(cd,NULL,NULL,NULL,NULL); 5430 iconv_close(cd); 5431 ; 5432 return 0; 5433} 5434_ACEOF 5435if ac_fn_c_try_link "$LINENO"; then : 5436 am_cv_lib_iconv=yes 5437 am_cv_func_iconv=yes 5438fi 5439rm -f core conftest.err conftest.$ac_objext \ 5440 conftest$ac_exeext conftest.$ac_ext 5441 LIBS="$am_save_LIBS" 5442 fi 5443 5444fi 5445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 5446$as_echo "$am_cv_func_iconv" >&6; } 5447 if test "$am_cv_func_iconv" = yes; then 5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 5449$as_echo_n "checking for working iconv... " >&6; } 5450if ${am_cv_func_iconv_works+:} false; then : 5451 $as_echo_n "(cached) " >&6 5452else 5453 5454 am_save_LIBS="$LIBS" 5455 if test $am_cv_lib_iconv = yes; then 5456 LIBS="$LIBS $LIBICONV" 5457 fi 5458 if test "$cross_compiling" = yes; then : 5459 case "$host_os" in 5460 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 5461 *) am_cv_func_iconv_works="guessing yes" ;; 5462 esac 5463else 5464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5465/* end confdefs.h. */ 5466 5467#include <iconv.h> 5468#include <string.h> 5469int main () 5470{ 5471 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 5472 returns. */ 5473 { 5474 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 5475 if (cd_utf8_to_88591 != (iconv_t)(-1)) 5476 { 5477 static const char input[] = "\342\202\254"; /* EURO SIGN */ 5478 char buf[10]; 5479 const char *inptr = input; 5480 size_t inbytesleft = strlen (input); 5481 char *outptr = buf; 5482 size_t outbytesleft = sizeof (buf); 5483 size_t res = iconv (cd_utf8_to_88591, 5484 (char **) &inptr, &inbytesleft, 5485 &outptr, &outbytesleft); 5486 if (res == 0) 5487 return 1; 5488 } 5489 } 5490 /* Test against Solaris 10 bug: Failures are not distinguishable from 5491 successful returns. */ 5492 { 5493 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 5494 if (cd_ascii_to_88591 != (iconv_t)(-1)) 5495 { 5496 static const char input[] = "\263"; 5497 char buf[10]; 5498 const char *inptr = input; 5499 size_t inbytesleft = strlen (input); 5500 char *outptr = buf; 5501 size_t outbytesleft = sizeof (buf); 5502 size_t res = iconv (cd_ascii_to_88591, 5503 (char **) &inptr, &inbytesleft, 5504 &outptr, &outbytesleft); 5505 if (res == 0) 5506 return 1; 5507 } 5508 } 5509#if 0 /* This bug could be worked around by the caller. */ 5510 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 5511 { 5512 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 5513 if (cd_88591_to_utf8 != (iconv_t)(-1)) 5514 { 5515 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 5516 char buf[50]; 5517 const char *inptr = input; 5518 size_t inbytesleft = strlen (input); 5519 char *outptr = buf; 5520 size_t outbytesleft = sizeof (buf); 5521 size_t res = iconv (cd_88591_to_utf8, 5522 (char **) &inptr, &inbytesleft, 5523 &outptr, &outbytesleft); 5524 if ((int)res > 0) 5525 return 1; 5526 } 5527 } 5528#endif 5529 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 5530 provided. */ 5531 if (/* Try standardized names. */ 5532 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 5533 /* Try IRIX, OSF/1 names. */ 5534 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 5535 /* Try AIX names. */ 5536 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 5537 /* Try HP-UX names. */ 5538 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 5539 return 1; 5540 return 0; 5541} 5542_ACEOF 5543if ac_fn_c_try_run "$LINENO"; then : 5544 am_cv_func_iconv_works=yes 5545else 5546 am_cv_func_iconv_works=no 5547fi 5548rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5549 conftest.$ac_objext conftest.beam conftest.$ac_ext 5550fi 5551 5552 LIBS="$am_save_LIBS" 5553 5554fi 5555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 5556$as_echo "$am_cv_func_iconv_works" >&6; } 5557 case "$am_cv_func_iconv_works" in 5558 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 5559 *) am_func_iconv=yes ;; 5560 esac 5561 else 5562 am_func_iconv=no am_cv_lib_iconv=no 5563 fi 5564 if test "$am_func_iconv" = yes; then 5565 5566$as_echo "#define HAVE_ICONV 1" >>confdefs.h 5567 5568 fi 5569 if test "$am_cv_lib_iconv" = yes; then 5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 5571$as_echo_n "checking how to link with libiconv... " >&6; } 5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 5573$as_echo "$LIBICONV" >&6; } 5574 else 5575 CPPFLAGS="$am_save_CPPFLAGS" 5576 LIBICONV= 5577 LTLIBICONV= 5578 fi 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 use_additional=yes 5591 5592 acl_save_prefix="$prefix" 5593 prefix="$acl_final_prefix" 5594 acl_save_exec_prefix="$exec_prefix" 5595 exec_prefix="$acl_final_exec_prefix" 5596 5597 eval additional_includedir=\"$includedir\" 5598 eval additional_libdir=\"$libdir\" 5599 5600 exec_prefix="$acl_save_exec_prefix" 5601 prefix="$acl_save_prefix" 5602 5603 5604# Check whether --with-libintl-prefix was given. 5605if test "${with_libintl_prefix+set}" = set; then : 5606 withval=$with_libintl_prefix; 5607 if test "X$withval" = "Xno"; then 5608 use_additional=no 5609 else 5610 if test "X$withval" = "X"; then 5611 5612 acl_save_prefix="$prefix" 5613 prefix="$acl_final_prefix" 5614 acl_save_exec_prefix="$exec_prefix" 5615 exec_prefix="$acl_final_exec_prefix" 5616 5617 eval additional_includedir=\"$includedir\" 5618 eval additional_libdir=\"$libdir\" 5619 5620 exec_prefix="$acl_save_exec_prefix" 5621 prefix="$acl_save_prefix" 5622 5623 else 5624 additional_includedir="$withval/include" 5625 additional_libdir="$withval/$acl_libdirstem" 5626 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 5627 && ! test -d "$withval/$acl_libdirstem"; then 5628 additional_libdir="$withval/$acl_libdirstem2" 5629 fi 5630 fi 5631 fi 5632 5633fi 5634 5635 LIBINTL= 5636 LTLIBINTL= 5637 INCINTL= 5638 LIBINTL_PREFIX= 5639 HAVE_LIBINTL= 5640 rpathdirs= 5641 ltrpathdirs= 5642 names_already_handled= 5643 names_next_round='intl ' 5644 while test -n "$names_next_round"; do 5645 names_this_round="$names_next_round" 5646 names_next_round= 5647 for name in $names_this_round; do 5648 already_handled= 5649 for n in $names_already_handled; do 5650 if test "$n" = "$name"; then 5651 already_handled=yes 5652 break 5653 fi 5654 done 5655 if test -z "$already_handled"; then 5656 names_already_handled="$names_already_handled $name" 5657 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 5658 eval value=\"\$HAVE_LIB$uppername\" 5659 if test -n "$value"; then 5660 if test "$value" = yes; then 5661 eval value=\"\$LIB$uppername\" 5662 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 5663 eval value=\"\$LTLIB$uppername\" 5664 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 5665 else 5666 : 5667 fi 5668 else 5669 found_dir= 5670 found_la= 5671 found_so= 5672 found_a= 5673 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 5674 if test -n "$acl_shlibext"; then 5675 shrext=".$acl_shlibext" # typically: shrext=.so 5676 else 5677 shrext= 5678 fi 5679 if test $use_additional = yes; then 5680 dir="$additional_libdir" 5681 if test -n "$acl_shlibext"; then 5682 if test -f "$dir/$libname$shrext"; then 5683 found_dir="$dir" 5684 found_so="$dir/$libname$shrext" 5685 else 5686 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 5687 ver=`(cd "$dir" && \ 5688 for f in "$libname$shrext".*; do echo "$f"; done \ 5689 | sed -e "s,^$libname$shrext\\\\.,," \ 5690 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 5691 | sed 1q ) 2>/dev/null` 5692 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 5693 found_dir="$dir" 5694 found_so="$dir/$libname$shrext.$ver" 5695 fi 5696 else 5697 eval library_names=\"$acl_library_names_spec\" 5698 for f in $library_names; do 5699 if test -f "$dir/$f"; then 5700 found_dir="$dir" 5701 found_so="$dir/$f" 5702 break 5703 fi 5704 done 5705 fi 5706 fi 5707 fi 5708 if test "X$found_dir" = "X"; then 5709 if test -f "$dir/$libname.$acl_libext"; then 5710 found_dir="$dir" 5711 found_a="$dir/$libname.$acl_libext" 5712 fi 5713 fi 5714 if test "X$found_dir" != "X"; then 5715 if test -f "$dir/$libname.la"; then 5716 found_la="$dir/$libname.la" 5717 fi 5718 fi 5719 fi 5720 if test "X$found_dir" = "X"; then 5721 for x in $LDFLAGS $LTLIBINTL; do 5722 5723 acl_save_prefix="$prefix" 5724 prefix="$acl_final_prefix" 5725 acl_save_exec_prefix="$exec_prefix" 5726 exec_prefix="$acl_final_exec_prefix" 5727 eval x=\"$x\" 5728 exec_prefix="$acl_save_exec_prefix" 5729 prefix="$acl_save_prefix" 5730 5731 case "$x" in 5732 -L*) 5733 dir=`echo "X$x" | sed -e 's/^X-L//'` 5734 if test -n "$acl_shlibext"; then 5735 if test -f "$dir/$libname$shrext"; then 5736 found_dir="$dir" 5737 found_so="$dir/$libname$shrext" 5738 else 5739 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 5740 ver=`(cd "$dir" && \ 5741 for f in "$libname$shrext".*; do echo "$f"; done \ 5742 | sed -e "s,^$libname$shrext\\\\.,," \ 5743 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 5744 | sed 1q ) 2>/dev/null` 5745 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 5746 found_dir="$dir" 5747 found_so="$dir/$libname$shrext.$ver" 5748 fi 5749 else 5750 eval library_names=\"$acl_library_names_spec\" 5751 for f in $library_names; do 5752 if test -f "$dir/$f"; then 5753 found_dir="$dir" 5754 found_so="$dir/$f" 5755 break 5756 fi 5757 done 5758 fi 5759 fi 5760 fi 5761 if test "X$found_dir" = "X"; then 5762 if test -f "$dir/$libname.$acl_libext"; then 5763 found_dir="$dir" 5764 found_a="$dir/$libname.$acl_libext" 5765 fi 5766 fi 5767 if test "X$found_dir" != "X"; then 5768 if test -f "$dir/$libname.la"; then 5769 found_la="$dir/$libname.la" 5770 fi 5771 fi 5772 ;; 5773 esac 5774 if test "X$found_dir" != "X"; then 5775 break 5776 fi 5777 done 5778 fi 5779 if test "X$found_dir" != "X"; then 5780 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 5781 if test "X$found_so" != "X"; then 5782 if test "$enable_rpath" = no \ 5783 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 5784 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 5785 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5786 else 5787 haveit= 5788 for x in $ltrpathdirs; do 5789 if test "X$x" = "X$found_dir"; then 5790 haveit=yes 5791 break 5792 fi 5793 done 5794 if test -z "$haveit"; then 5795 ltrpathdirs="$ltrpathdirs $found_dir" 5796 fi 5797 if test "$acl_hardcode_direct" = yes; then 5798 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5799 else 5800 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 5801 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5802 haveit= 5803 for x in $rpathdirs; do 5804 if test "X$x" = "X$found_dir"; then 5805 haveit=yes 5806 break 5807 fi 5808 done 5809 if test -z "$haveit"; then 5810 rpathdirs="$rpathdirs $found_dir" 5811 fi 5812 else 5813 haveit= 5814 for x in $LDFLAGS $LIBINTL; do 5815 5816 acl_save_prefix="$prefix" 5817 prefix="$acl_final_prefix" 5818 acl_save_exec_prefix="$exec_prefix" 5819 exec_prefix="$acl_final_exec_prefix" 5820 eval x=\"$x\" 5821 exec_prefix="$acl_save_exec_prefix" 5822 prefix="$acl_save_prefix" 5823 5824 if test "X$x" = "X-L$found_dir"; then 5825 haveit=yes 5826 break 5827 fi 5828 done 5829 if test -z "$haveit"; then 5830 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 5831 fi 5832 if test "$acl_hardcode_minus_L" != no; then 5833 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 5834 else 5835 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 5836 fi 5837 fi 5838 fi 5839 fi 5840 else 5841 if test "X$found_a" != "X"; then 5842 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 5843 else 5844 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 5845 fi 5846 fi 5847 additional_includedir= 5848 case "$found_dir" in 5849 */$acl_libdirstem | */$acl_libdirstem/) 5850 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 5851 if test "$name" = 'intl'; then 5852 LIBINTL_PREFIX="$basedir" 5853 fi 5854 additional_includedir="$basedir/include" 5855 ;; 5856 */$acl_libdirstem2 | */$acl_libdirstem2/) 5857 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 5858 if test "$name" = 'intl'; then 5859 LIBINTL_PREFIX="$basedir" 5860 fi 5861 additional_includedir="$basedir/include" 5862 ;; 5863 esac 5864 if test "X$additional_includedir" != "X"; then 5865 if test "X$additional_includedir" != "X/usr/include"; then 5866 haveit= 5867 if test "X$additional_includedir" = "X/usr/local/include"; then 5868 if test -n "$GCC"; then 5869 case $host_os in 5870 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 5871 esac 5872 fi 5873 fi 5874 if test -z "$haveit"; then 5875 for x in $CPPFLAGS $INCINTL; do 5876 5877 acl_save_prefix="$prefix" 5878 prefix="$acl_final_prefix" 5879 acl_save_exec_prefix="$exec_prefix" 5880 exec_prefix="$acl_final_exec_prefix" 5881 eval x=\"$x\" 5882 exec_prefix="$acl_save_exec_prefix" 5883 prefix="$acl_save_prefix" 5884 5885 if test "X$x" = "X-I$additional_includedir"; then 5886 haveit=yes 5887 break 5888 fi 5889 done 5890 if test -z "$haveit"; then 5891 if test -d "$additional_includedir"; then 5892 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 5893 fi 5894 fi 5895 fi 5896 fi 5897 fi 5898 if test -n "$found_la"; then 5899 save_libdir="$libdir" 5900 case "$found_la" in 5901 */* | *\\*) . "$found_la" ;; 5902 *) . "./$found_la" ;; 5903 esac 5904 libdir="$save_libdir" 5905 for dep in $dependency_libs; do 5906 case "$dep" in 5907 -L*) 5908 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 5909 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 5910 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 5911 haveit= 5912 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 5913 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 5914 if test -n "$GCC"; then 5915 case $host_os in 5916 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 5917 esac 5918 fi 5919 fi 5920 if test -z "$haveit"; then 5921 haveit= 5922 for x in $LDFLAGS $LIBINTL; do 5923 5924 acl_save_prefix="$prefix" 5925 prefix="$acl_final_prefix" 5926 acl_save_exec_prefix="$exec_prefix" 5927 exec_prefix="$acl_final_exec_prefix" 5928 eval x=\"$x\" 5929 exec_prefix="$acl_save_exec_prefix" 5930 prefix="$acl_save_prefix" 5931 5932 if test "X$x" = "X-L$additional_libdir"; then 5933 haveit=yes 5934 break 5935 fi 5936 done 5937 if test -z "$haveit"; then 5938 if test -d "$additional_libdir"; then 5939 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 5940 fi 5941 fi 5942 haveit= 5943 for x in $LDFLAGS $LTLIBINTL; do 5944 5945 acl_save_prefix="$prefix" 5946 prefix="$acl_final_prefix" 5947 acl_save_exec_prefix="$exec_prefix" 5948 exec_prefix="$acl_final_exec_prefix" 5949 eval x=\"$x\" 5950 exec_prefix="$acl_save_exec_prefix" 5951 prefix="$acl_save_prefix" 5952 5953 if test "X$x" = "X-L$additional_libdir"; then 5954 haveit=yes 5955 break 5956 fi 5957 done 5958 if test -z "$haveit"; then 5959 if test -d "$additional_libdir"; then 5960 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 5961 fi 5962 fi 5963 fi 5964 fi 5965 ;; 5966 -R*) 5967 dir=`echo "X$dep" | sed -e 's/^X-R//'` 5968 if test "$enable_rpath" != no; then 5969 haveit= 5970 for x in $rpathdirs; do 5971 if test "X$x" = "X$dir"; then 5972 haveit=yes 5973 break 5974 fi 5975 done 5976 if test -z "$haveit"; then 5977 rpathdirs="$rpathdirs $dir" 5978 fi 5979 haveit= 5980 for x in $ltrpathdirs; do 5981 if test "X$x" = "X$dir"; then 5982 haveit=yes 5983 break 5984 fi 5985 done 5986 if test -z "$haveit"; then 5987 ltrpathdirs="$ltrpathdirs $dir" 5988 fi 5989 fi 5990 ;; 5991 -l*) 5992 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 5993 ;; 5994 *.la) 5995 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 5996 ;; 5997 *) 5998 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 5999 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 6000 ;; 6001 esac 6002 done 6003 fi 6004 else 6005 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 6006 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 6007 fi 6008 fi 6009 fi 6010 done 6011 done 6012 if test "X$rpathdirs" != "X"; then 6013 if test -n "$acl_hardcode_libdir_separator"; then 6014 alldirs= 6015 for found_dir in $rpathdirs; do 6016 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 6017 done 6018 acl_save_libdir="$libdir" 6019 libdir="$alldirs" 6020 eval flag=\"$acl_hardcode_libdir_flag_spec\" 6021 libdir="$acl_save_libdir" 6022 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 6023 else 6024 for found_dir in $rpathdirs; do 6025 acl_save_libdir="$libdir" 6026 libdir="$found_dir" 6027 eval flag=\"$acl_hardcode_libdir_flag_spec\" 6028 libdir="$acl_save_libdir" 6029 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 6030 done 6031 fi 6032 fi 6033 if test "X$ltrpathdirs" != "X"; then 6034 for found_dir in $ltrpathdirs; do 6035 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 6036 done 6037 fi 6038 6039 6040 6041 6042 6043 6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 6045$as_echo_n "checking for GNU gettext in libintl... " >&6; } 6046if eval \${$gt_func_gnugettext_libintl+:} false; then : 6047 $as_echo_n "(cached) " >&6 6048else 6049 gt_save_CPPFLAGS="$CPPFLAGS" 6050 CPPFLAGS="$CPPFLAGS $INCINTL" 6051 gt_save_LIBS="$LIBS" 6052 LIBS="$LIBS $LIBINTL" 6053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6054/* end confdefs.h. */ 6055#include <libintl.h> 6056$gt_revision_test_code 6057extern int _nl_msg_cat_cntr; 6058extern 6059#ifdef __cplusplus 6060"C" 6061#endif 6062const char *_nl_expand_alias (const char *); 6063int 6064main () 6065{ 6066bindtextdomain ("", ""); 6067return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 6068 ; 6069 return 0; 6070} 6071_ACEOF 6072if ac_fn_c_try_link "$LINENO"; then : 6073 eval "$gt_func_gnugettext_libintl=yes" 6074else 6075 eval "$gt_func_gnugettext_libintl=no" 6076fi 6077rm -f core conftest.err conftest.$ac_objext \ 6078 conftest$ac_exeext conftest.$ac_ext 6079 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 6080 LIBS="$LIBS $LIBICONV" 6081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6082/* end confdefs.h. */ 6083#include <libintl.h> 6084$gt_revision_test_code 6085extern int _nl_msg_cat_cntr; 6086extern 6087#ifdef __cplusplus 6088"C" 6089#endif 6090const char *_nl_expand_alias (const char *); 6091int 6092main () 6093{ 6094bindtextdomain ("", ""); 6095return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 6096 ; 6097 return 0; 6098} 6099_ACEOF 6100if ac_fn_c_try_link "$LINENO"; then : 6101 LIBINTL="$LIBINTL $LIBICONV" 6102 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 6103 eval "$gt_func_gnugettext_libintl=yes" 6104 6105fi 6106rm -f core conftest.err conftest.$ac_objext \ 6107 conftest$ac_exeext conftest.$ac_ext 6108 fi 6109 CPPFLAGS="$gt_save_CPPFLAGS" 6110 LIBS="$gt_save_LIBS" 6111fi 6112eval ac_res=\$$gt_func_gnugettext_libintl 6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6114$as_echo "$ac_res" >&6; } 6115 fi 6116 6117 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 6118 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 6119 && test "$PACKAGE" != gettext-runtime \ 6120 && test "$PACKAGE" != gettext-tools; }; then 6121 gt_use_preinstalled_gnugettext=yes 6122 else 6123 LIBINTL= 6124 LTLIBINTL= 6125 INCINTL= 6126 fi 6127 6128 6129 6130 if test -n "$INTL_MACOSX_LIBS"; then 6131 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 6132 || test "$nls_cv_use_gnu_gettext" = "yes"; then 6133 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 6134 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 6135 fi 6136 fi 6137 6138 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 6139 || test "$nls_cv_use_gnu_gettext" = "yes"; then 6140 6141$as_echo "#define ENABLE_NLS 1" >>confdefs.h 6142 6143 else 6144 USE_NLS=no 6145 fi 6146 fi 6147 6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 6149$as_echo_n "checking whether to use NLS... " >&6; } 6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 6151$as_echo "$USE_NLS" >&6; } 6152 if test "$USE_NLS" = "yes"; then 6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 6154$as_echo_n "checking where the gettext function comes from... " >&6; } 6155 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 6156 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 6157 gt_source="external libintl" 6158 else 6159 gt_source="libc" 6160 fi 6161 else 6162 gt_source="included intl directory" 6163 fi 6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 6165$as_echo "$gt_source" >&6; } 6166 fi 6167 6168 if test "$USE_NLS" = "yes"; then 6169 6170 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 6171 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 6173$as_echo_n "checking how to link with libintl... " >&6; } 6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 6175$as_echo "$LIBINTL" >&6; } 6176 6177 for element in $INCINTL; do 6178 haveit= 6179 for x in $CPPFLAGS; do 6180 6181 acl_save_prefix="$prefix" 6182 prefix="$acl_final_prefix" 6183 acl_save_exec_prefix="$exec_prefix" 6184 exec_prefix="$acl_final_exec_prefix" 6185 eval x=\"$x\" 6186 exec_prefix="$acl_save_exec_prefix" 6187 prefix="$acl_save_prefix" 6188 6189 if test "X$x" = "X$element"; then 6190 haveit=yes 6191 break 6192 fi 6193 done 6194 if test -z "$haveit"; then 6195 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 6196 fi 6197 done 6198 6199 fi 6200 6201 6202$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 6203 6204 6205$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 6206 6207 fi 6208 6209 POSUB=po 6210 fi 6211 6212 6213 6214 INTLLIBS="$LIBINTL" 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 6231 if test -n "$ac_tool_prefix"; then 6232 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 6233set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 6234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6235$as_echo_n "checking for $ac_word... " >&6; } 6236if ${ac_cv_path_PKG_CONFIG+:} false; then : 6237 $as_echo_n "(cached) " >&6 6238else 6239 case $PKG_CONFIG in 6240 [\\/]* | ?:[\\/]*) 6241 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6242 ;; 6243 *) 6244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6245for as_dir in $PATH 6246do 6247 IFS=$as_save_IFS 6248 test -z "$as_dir" && as_dir=. 6249 for ac_exec_ext in '' $ac_executable_extensions; do 6250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6251 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6253 break 2 6254 fi 6255done 6256 done 6257IFS=$as_save_IFS 6258 6259 ;; 6260esac 6261fi 6262PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6263if test -n "$PKG_CONFIG"; then 6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 6265$as_echo "$PKG_CONFIG" >&6; } 6266else 6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6268$as_echo "no" >&6; } 6269fi 6270 6271 6272fi 6273if test -z "$ac_cv_path_PKG_CONFIG"; then 6274 ac_pt_PKG_CONFIG=$PKG_CONFIG 6275 # Extract the first word of "pkg-config", so it can be a program name with args. 6276set dummy pkg-config; ac_word=$2 6277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6278$as_echo_n "checking for $ac_word... " >&6; } 6279if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 6280 $as_echo_n "(cached) " >&6 6281else 6282 case $ac_pt_PKG_CONFIG in 6283 [\\/]* | ?:[\\/]*) 6284 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 6285 ;; 6286 *) 6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6288for as_dir in $PATH 6289do 6290 IFS=$as_save_IFS 6291 test -z "$as_dir" && as_dir=. 6292 for ac_exec_ext in '' $ac_executable_extensions; do 6293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 6294 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6296 break 2 6297 fi 6298done 6299 done 6300IFS=$as_save_IFS 6301 6302 ;; 6303esac 6304fi 6305ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 6306if test -n "$ac_pt_PKG_CONFIG"; then 6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 6308$as_echo "$ac_pt_PKG_CONFIG" >&6; } 6309else 6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6311$as_echo "no" >&6; } 6312fi 6313 6314 if test "x$ac_pt_PKG_CONFIG" = x; then 6315 PKG_CONFIG="" 6316 else 6317 case $cross_compiling:$ac_tool_warned in 6318yes:) 6319{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6320$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6321ac_tool_warned=yes ;; 6322esac 6323 PKG_CONFIG=$ac_pt_PKG_CONFIG 6324 fi 6325else 6326 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 6327fi 6328 6329fi 6330if test -n "$PKG_CONFIG"; then 6331 _pkg_min_version=0.9.0 6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 6333$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 6334 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6336$as_echo "yes" >&6; } 6337 else 6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6339$as_echo "no" >&6; } 6340 PKG_CONFIG="" 6341 fi 6342fi 6343 6344pkg_failed=no 6345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5 6346$as_echo_n "checking for PNG... " >&6; } 6347 6348if test -n "$PNG_CFLAGS"; then 6349 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS" 6350 elif test -n "$PKG_CONFIG"; then 6351 if test -n "$PKG_CONFIG" && \ 6352 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5 6353 ($PKG_CONFIG --exists --print-errors "libpng") 2>&5 6354 ac_status=$? 6355 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6356 test $ac_status = 0; }; then 6357 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng" 2>/dev/null` 6358 test "x$?" != "x0" && pkg_failed=yes 6359else 6360 pkg_failed=yes 6361fi 6362 else 6363 pkg_failed=untried 6364fi 6365if test -n "$PNG_LIBS"; then 6366 pkg_cv_PNG_LIBS="$PNG_LIBS" 6367 elif test -n "$PKG_CONFIG"; then 6368 if test -n "$PKG_CONFIG" && \ 6369 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5 6370 ($PKG_CONFIG --exists --print-errors "libpng") 2>&5 6371 ac_status=$? 6372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6373 test $ac_status = 0; }; then 6374 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng" 2>/dev/null` 6375 test "x$?" != "x0" && pkg_failed=yes 6376else 6377 pkg_failed=yes 6378fi 6379 else 6380 pkg_failed=untried 6381fi 6382 6383 6384 6385if test $pkg_failed = yes; then 6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6387$as_echo "no" >&6; } 6388 6389if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6390 _pkg_short_errors_supported=yes 6391else 6392 _pkg_short_errors_supported=no 6393fi 6394 if test $_pkg_short_errors_supported = yes; then 6395 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng" 2>&1` 6396 else 6397 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng" 2>&1` 6398 fi 6399 # Put the nasty error message in config.log where it belongs 6400 echo "$PNG_PKG_ERRORS" >&5 6401 6402 as_fn_error $? "Package requirements (libpng) were not met: 6403 6404$PNG_PKG_ERRORS 6405 6406Consider adjusting the PKG_CONFIG_PATH environment variable if you 6407installed software in a non-standard prefix. 6408 6409Alternatively, you may set the environment variables PNG_CFLAGS 6410and PNG_LIBS to avoid the need to call pkg-config. 6411See the pkg-config man page for more details." "$LINENO" 5 6412elif test $pkg_failed = untried; then 6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6414$as_echo "no" >&6; } 6415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6416$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6417as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 6418is in your PATH or set the PKG_CONFIG environment variable to the full 6419path to pkg-config. 6420 6421Alternatively, you may set the environment variables PNG_CFLAGS 6422and PNG_LIBS to avoid the need to call pkg-config. 6423See the pkg-config man page for more details. 6424 6425To get pkg-config, see <http://pkg-config.freedesktop.org/>. 6426See \`config.log' for more details" "$LINENO" 5; } 6427else 6428 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS 6429 PNG_LIBS=$pkg_cv_PNG_LIBS 6430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6431$as_echo "yes" >&6; } 6432 6433fi 6434 6435 6436 6437 6438pkg_failed=no 6439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 6440$as_echo_n "checking for GTK... " >&6; } 6441 6442if test -n "$GTK_CFLAGS"; then 6443 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" 6444 elif test -n "$PKG_CONFIG"; then 6445 if test -n "$PKG_CONFIG" && \ 6446 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5 6447 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5 6448 ac_status=$? 6449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6450 test $ac_status = 0; }; then 6451 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null` 6452 test "x$?" != "x0" && pkg_failed=yes 6453else 6454 pkg_failed=yes 6455fi 6456 else 6457 pkg_failed=untried 6458fi 6459if test -n "$GTK_LIBS"; then 6460 pkg_cv_GTK_LIBS="$GTK_LIBS" 6461 elif test -n "$PKG_CONFIG"; then 6462 if test -n "$PKG_CONFIG" && \ 6463 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5 6464 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5 6465 ac_status=$? 6466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6467 test $ac_status = 0; }; then 6468 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null` 6469 test "x$?" != "x0" && pkg_failed=yes 6470else 6471 pkg_failed=yes 6472fi 6473 else 6474 pkg_failed=untried 6475fi 6476 6477 6478 6479if test $pkg_failed = yes; then 6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6481$as_echo "no" >&6; } 6482 6483if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6484 _pkg_short_errors_supported=yes 6485else 6486 _pkg_short_errors_supported=no 6487fi 6488 if test $_pkg_short_errors_supported = yes; then 6489 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0" 2>&1` 6490 else 6491 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0" 2>&1` 6492 fi 6493 # Put the nasty error message in config.log where it belongs 6494 echo "$GTK_PKG_ERRORS" >&5 6495 6496 as_fn_error $? "Package requirements (gtk+-2.0) were not met: 6497 6498$GTK_PKG_ERRORS 6499 6500Consider adjusting the PKG_CONFIG_PATH environment variable if you 6501installed software in a non-standard prefix. 6502 6503Alternatively, you may set the environment variables GTK_CFLAGS 6504and GTK_LIBS to avoid the need to call pkg-config. 6505See the pkg-config man page for more details." "$LINENO" 5 6506elif test $pkg_failed = untried; then 6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6508$as_echo "no" >&6; } 6509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6510$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6511as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 6512is in your PATH or set the PKG_CONFIG environment variable to the full 6513path to pkg-config. 6514 6515Alternatively, you may set the environment variables GTK_CFLAGS 6516and GTK_LIBS to avoid the need to call pkg-config. 6517See the pkg-config man page for more details. 6518 6519To get pkg-config, see <http://pkg-config.freedesktop.org/>. 6520See \`config.log' for more details" "$LINENO" 5; } 6521else 6522 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS 6523 GTK_LIBS=$pkg_cv_GTK_LIBS 6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6525$as_echo "yes" >&6; } 6526 6527fi 6528 6529 6530 6531 6532pkg_failed=no 6533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKGLEXT" >&5 6534$as_echo_n "checking for GTKGLEXT... " >&6; } 6535 6536if test -n "$GTKGLEXT_CFLAGS"; then 6537 pkg_cv_GTKGLEXT_CFLAGS="$GTKGLEXT_CFLAGS" 6538 elif test -n "$PKG_CONFIG"; then 6539 if test -n "$PKG_CONFIG" && \ 6540 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkglext-1.0\""; } >&5 6541 ($PKG_CONFIG --exists --print-errors "gtkglext-1.0") 2>&5 6542 ac_status=$? 6543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6544 test $ac_status = 0; }; then 6545 pkg_cv_GTKGLEXT_CFLAGS=`$PKG_CONFIG --cflags "gtkglext-1.0" 2>/dev/null` 6546 test "x$?" != "x0" && pkg_failed=yes 6547else 6548 pkg_failed=yes 6549fi 6550 else 6551 pkg_failed=untried 6552fi 6553if test -n "$GTKGLEXT_LIBS"; then 6554 pkg_cv_GTKGLEXT_LIBS="$GTKGLEXT_LIBS" 6555 elif test -n "$PKG_CONFIG"; then 6556 if test -n "$PKG_CONFIG" && \ 6557 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkglext-1.0\""; } >&5 6558 ($PKG_CONFIG --exists --print-errors "gtkglext-1.0") 2>&5 6559 ac_status=$? 6560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6561 test $ac_status = 0; }; then 6562 pkg_cv_GTKGLEXT_LIBS=`$PKG_CONFIG --libs "gtkglext-1.0" 2>/dev/null` 6563 test "x$?" != "x0" && pkg_failed=yes 6564else 6565 pkg_failed=yes 6566fi 6567 else 6568 pkg_failed=untried 6569fi 6570 6571 6572 6573if test $pkg_failed = yes; then 6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6575$as_echo "no" >&6; } 6576 6577if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6578 _pkg_short_errors_supported=yes 6579else 6580 _pkg_short_errors_supported=no 6581fi 6582 if test $_pkg_short_errors_supported = yes; then 6583 GTKGLEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtkglext-1.0" 2>&1` 6584 else 6585 GTKGLEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtkglext-1.0" 2>&1` 6586 fi 6587 # Put the nasty error message in config.log where it belongs 6588 echo "$GTKGLEXT_PKG_ERRORS" >&5 6589 6590 as_fn_error $? "Package requirements (gtkglext-1.0) were not met: 6591 6592$GTKGLEXT_PKG_ERRORS 6593 6594Consider adjusting the PKG_CONFIG_PATH environment variable if you 6595installed software in a non-standard prefix. 6596 6597Alternatively, you may set the environment variables GTKGLEXT_CFLAGS 6598and GTKGLEXT_LIBS to avoid the need to call pkg-config. 6599See the pkg-config man page for more details." "$LINENO" 5 6600elif test $pkg_failed = untried; then 6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6602$as_echo "no" >&6; } 6603 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6604$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6605as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 6606is in your PATH or set the PKG_CONFIG environment variable to the full 6607path to pkg-config. 6608 6609Alternatively, you may set the environment variables GTKGLEXT_CFLAGS 6610and GTKGLEXT_LIBS to avoid the need to call pkg-config. 6611See the pkg-config man page for more details. 6612 6613To get pkg-config, see <http://pkg-config.freedesktop.org/>. 6614See \`config.log' for more details" "$LINENO" 5; } 6615else 6616 GTKGLEXT_CFLAGS=$pkg_cv_GTKGLEXT_CFLAGS 6617 GTKGLEXT_LIBS=$pkg_cv_GTKGLEXT_LIBS 6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6619$as_echo "yes" >&6; } 6620 6621fi 6622 6623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 6624$as_echo_n "checking for cos in -lm... " >&6; } 6625if ${ac_cv_lib_m_cos+:} false; then : 6626 $as_echo_n "(cached) " >&6 6627else 6628 ac_check_lib_save_LIBS=$LIBS 6629LIBS="-lm $LIBS" 6630cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6631/* end confdefs.h. */ 6632 6633/* Override any GCC internal prototype to avoid an error. 6634 Use char because int might match the return type of a GCC 6635 builtin and then its argument prototype would still apply. */ 6636#ifdef __cplusplus 6637extern "C" 6638#endif 6639char cos (); 6640int 6641main () 6642{ 6643return cos (); 6644 ; 6645 return 0; 6646} 6647_ACEOF 6648if ac_fn_c_try_link "$LINENO"; then : 6649 ac_cv_lib_m_cos=yes 6650else 6651 ac_cv_lib_m_cos=no 6652fi 6653rm -f core conftest.err conftest.$ac_objext \ 6654 conftest$ac_exeext conftest.$ac_ext 6655LIBS=$ac_check_lib_save_LIBS 6656fi 6657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 6658$as_echo "$ac_cv_lib_m_cos" >&6; } 6659if test "x$ac_cv_lib_m_cos" = xyes; then : 6660 cat >>confdefs.h <<_ACEOF 6661#define HAVE_LIBM 1 6662_ACEOF 6663 6664 LIBS="-lm $LIBS" 6665 6666fi 6667: 6668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5 6669$as_echo_n "checking for gzread in -lz... " >&6; } 6670if ${ac_cv_lib_z_gzread+:} false; then : 6671 $as_echo_n "(cached) " >&6 6672else 6673 ac_check_lib_save_LIBS=$LIBS 6674LIBS="-lz $LIBS" 6675cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6676/* end confdefs.h. */ 6677 6678/* Override any GCC internal prototype to avoid an error. 6679 Use char because int might match the return type of a GCC 6680 builtin and then its argument prototype would still apply. */ 6681#ifdef __cplusplus 6682extern "C" 6683#endif 6684char gzread (); 6685int 6686main () 6687{ 6688return gzread (); 6689 ; 6690 return 0; 6691} 6692_ACEOF 6693if ac_fn_c_try_link "$LINENO"; then : 6694 ac_cv_lib_z_gzread=yes 6695else 6696 ac_cv_lib_z_gzread=no 6697fi 6698rm -f core conftest.err conftest.$ac_objext \ 6699 conftest$ac_exeext conftest.$ac_ext 6700LIBS=$ac_check_lib_save_LIBS 6701fi 6702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5 6703$as_echo "$ac_cv_lib_z_gzread" >&6; } 6704if test "x$ac_cv_lib_z_gzread" = xyes; then : 6705 cat >>confdefs.h <<_ACEOF 6706#define HAVE_LIBZ 1 6707_ACEOF 6708 6709 LIBS="-lz $LIBS" 6710 6711fi 6712 6713 6714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk_main in -lgtk-x11-2.0" >&5 6715$as_echo_n "checking for gtk_main in -lgtk-x11-2.0... " >&6; } 6716if ${ac_cv_lib_gtk_x11_2_0_gtk_main+:} false; then : 6717 $as_echo_n "(cached) " >&6 6718else 6719 ac_check_lib_save_LIBS=$LIBS 6720LIBS="-lgtk-x11-2.0 $LIBS" 6721cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6722/* end confdefs.h. */ 6723 6724/* Override any GCC internal prototype to avoid an error. 6725 Use char because int might match the return type of a GCC 6726 builtin and then its argument prototype would still apply. */ 6727#ifdef __cplusplus 6728extern "C" 6729#endif 6730char gtk_main (); 6731int 6732main () 6733{ 6734return gtk_main (); 6735 ; 6736 return 0; 6737} 6738_ACEOF 6739if ac_fn_c_try_link "$LINENO"; then : 6740 ac_cv_lib_gtk_x11_2_0_gtk_main=yes 6741else 6742 ac_cv_lib_gtk_x11_2_0_gtk_main=no 6743fi 6744rm -f core conftest.err conftest.$ac_objext \ 6745 conftest$ac_exeext conftest.$ac_ext 6746LIBS=$ac_check_lib_save_LIBS 6747fi 6748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gtk_x11_2_0_gtk_main" >&5 6749$as_echo "$ac_cv_lib_gtk_x11_2_0_gtk_main" >&6; } 6750if test "x$ac_cv_lib_gtk_x11_2_0_gtk_main" = xyes; then : 6751 cat >>confdefs.h <<_ACEOF 6752#define HAVE_LIBGTK_X11_2_0 1 6753_ACEOF 6754 6755 LIBS="-lgtk-x11-2.0 $LIBS" 6756 6757fi 6758 6759 6760 6761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glLoadIdentity in -lGL" >&5 6762$as_echo_n "checking for glLoadIdentity in -lGL... " >&6; } 6763if ${ac_cv_lib_GL_glLoadIdentity+:} false; then : 6764 $as_echo_n "(cached) " >&6 6765else 6766 ac_check_lib_save_LIBS=$LIBS 6767LIBS="-lGL $LIBS" 6768cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6769/* end confdefs.h. */ 6770 6771/* Override any GCC internal prototype to avoid an error. 6772 Use char because int might match the return type of a GCC 6773 builtin and then its argument prototype would still apply. */ 6774#ifdef __cplusplus 6775extern "C" 6776#endif 6777char glLoadIdentity (); 6778int 6779main () 6780{ 6781return glLoadIdentity (); 6782 ; 6783 return 0; 6784} 6785_ACEOF 6786if ac_fn_c_try_link "$LINENO"; then : 6787 ac_cv_lib_GL_glLoadIdentity=yes 6788else 6789 ac_cv_lib_GL_glLoadIdentity=no 6790fi 6791rm -f core conftest.err conftest.$ac_objext \ 6792 conftest$ac_exeext conftest.$ac_ext 6793LIBS=$ac_check_lib_save_LIBS 6794fi 6795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glLoadIdentity" >&5 6796$as_echo "$ac_cv_lib_GL_glLoadIdentity" >&6; } 6797if test "x$ac_cv_lib_GL_glLoadIdentity" = xyes; then : 6798 cat >>confdefs.h <<_ACEOF 6799#define HAVE_LIBGL 1 6800_ACEOF 6801 6802 LIBS="-lGL $LIBS" 6803 6804fi 6805 6806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5 6807$as_echo_n "checking for gluLookAt in -lGLU... " >&6; } 6808if ${ac_cv_lib_GLU_gluLookAt+:} false; then : 6809 $as_echo_n "(cached) " >&6 6810else 6811 ac_check_lib_save_LIBS=$LIBS 6812LIBS="-lGLU $LIBS" 6813cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6814/* end confdefs.h. */ 6815 6816/* Override any GCC internal prototype to avoid an error. 6817 Use char because int might match the return type of a GCC 6818 builtin and then its argument prototype would still apply. */ 6819#ifdef __cplusplus 6820extern "C" 6821#endif 6822char gluLookAt (); 6823int 6824main () 6825{ 6826return gluLookAt (); 6827 ; 6828 return 0; 6829} 6830_ACEOF 6831if ac_fn_c_try_link "$LINENO"; then : 6832 ac_cv_lib_GLU_gluLookAt=yes 6833else 6834 ac_cv_lib_GLU_gluLookAt=no 6835fi 6836rm -f core conftest.err conftest.$ac_objext \ 6837 conftest$ac_exeext conftest.$ac_ext 6838LIBS=$ac_check_lib_save_LIBS 6839fi 6840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5 6841$as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; } 6842if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then : 6843 cat >>confdefs.h <<_ACEOF 6844#define HAVE_LIBGLU 1 6845_ACEOF 6846 6847 LIBS="-lGLU $LIBS" 6848 6849fi 6850 6851 6852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 6853$as_echo_n "checking for ANSI C header files... " >&6; } 6854if ${ac_cv_header_stdc+:} false; then : 6855 $as_echo_n "(cached) " >&6 6856else 6857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6858/* end confdefs.h. */ 6859#include <stdlib.h> 6860#include <stdarg.h> 6861#include <string.h> 6862#include <float.h> 6863 6864int 6865main () 6866{ 6867 6868 ; 6869 return 0; 6870} 6871_ACEOF 6872if ac_fn_c_try_compile "$LINENO"; then : 6873 ac_cv_header_stdc=yes 6874else 6875 ac_cv_header_stdc=no 6876fi 6877rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6878 6879if test $ac_cv_header_stdc = yes; then 6880 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 6881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6882/* end confdefs.h. */ 6883#include <string.h> 6884 6885_ACEOF 6886if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6887 $EGREP "memchr" >/dev/null 2>&1; then : 6888 6889else 6890 ac_cv_header_stdc=no 6891fi 6892rm -f conftest* 6893 6894fi 6895 6896if test $ac_cv_header_stdc = yes; then 6897 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 6898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6899/* end confdefs.h. */ 6900#include <stdlib.h> 6901 6902_ACEOF 6903if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 6904 $EGREP "free" >/dev/null 2>&1; then : 6905 6906else 6907 ac_cv_header_stdc=no 6908fi 6909rm -f conftest* 6910 6911fi 6912 6913if test $ac_cv_header_stdc = yes; then 6914 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 6915 if test "$cross_compiling" = yes; then : 6916 : 6917else 6918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6919/* end confdefs.h. */ 6920#include <ctype.h> 6921#include <stdlib.h> 6922#if ((' ' & 0x0FF) == 0x020) 6923# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 6924# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 6925#else 6926# define ISLOWER(c) \ 6927 (('a' <= (c) && (c) <= 'i') \ 6928 || ('j' <= (c) && (c) <= 'r') \ 6929 || ('s' <= (c) && (c) <= 'z')) 6930# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 6931#endif 6932 6933#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 6934int 6935main () 6936{ 6937 int i; 6938 for (i = 0; i < 256; i++) 6939 if (XOR (islower (i), ISLOWER (i)) 6940 || toupper (i) != TOUPPER (i)) 6941 return 2; 6942 return 0; 6943} 6944_ACEOF 6945if ac_fn_c_try_run "$LINENO"; then : 6946 6947else 6948 ac_cv_header_stdc=no 6949fi 6950rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6951 conftest.$ac_objext conftest.beam conftest.$ac_ext 6952fi 6953 6954fi 6955fi 6956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 6957$as_echo "$ac_cv_header_stdc" >&6; } 6958if test $ac_cv_header_stdc = yes; then 6959 6960$as_echo "#define STDC_HEADERS 1" >>confdefs.h 6961 6962fi 6963 6964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 6965$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } 6966if ${ac_cv_header_sys_wait_h+:} false; then : 6967 $as_echo_n "(cached) " >&6 6968else 6969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6970/* end confdefs.h. */ 6971#include <sys/types.h> 6972#include <sys/wait.h> 6973#ifndef WEXITSTATUS 6974# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) 6975#endif 6976#ifndef WIFEXITED 6977# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 6978#endif 6979 6980int 6981main () 6982{ 6983 int s; 6984 wait (&s); 6985 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 6986 ; 6987 return 0; 6988} 6989_ACEOF 6990if ac_fn_c_try_compile "$LINENO"; then : 6991 ac_cv_header_sys_wait_h=yes 6992else 6993 ac_cv_header_sys_wait_h=no 6994fi 6995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6996fi 6997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 6998$as_echo "$ac_cv_header_sys_wait_h" >&6; } 6999if test $ac_cv_header_sys_wait_h = yes; then 7000 7001$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h 7002 7003fi 7004 7005# On IRIX 5.3, sys/types and inttypes.h are conflicting. 7006for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 7007 inttypes.h stdint.h unistd.h 7008do : 7009 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 7010ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 7011" 7012if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7013 cat >>confdefs.h <<_ACEOF 7014#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 7015_ACEOF 7016 7017fi 7018 7019done 7020 7021 7022for ac_header in unistd.h 7023do : 7024 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" 7025if test "x$ac_cv_header_unistd_h" = xyes; then : 7026 cat >>confdefs.h <<_ACEOF 7027#define HAVE_UNISTD_H 1 7028_ACEOF 7029 7030fi 7031 7032done 7033 7034 7035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long file names" >&5 7036$as_echo_n "checking for long file names... " >&6; } 7037if ${ac_cv_sys_long_file_names+:} false; then : 7038 $as_echo_n "(cached) " >&6 7039else 7040 ac_cv_sys_long_file_names=yes 7041# Test for long file names in all the places we know might matter: 7042# . the current directory, where building will happen 7043# $prefix/lib where we will be installing things 7044# $exec_prefix/lib likewise 7045# $TMPDIR if set, where it might want to write temporary files 7046# /tmp where it might want to write temporary files 7047# /var/tmp likewise 7048# /usr/tmp likewise 7049for ac_dir in . "$TMPDIR" /tmp /var/tmp /usr/tmp "$prefix/lib" "$exec_prefix/lib"; do 7050 # Skip $TMPDIR if it is empty or bogus, and skip $exec_prefix/lib 7051 # in the usual case where exec_prefix is '${prefix}'. 7052 case $ac_dir in #( 7053 . | /* | ?:[\\/]*) ;; #( 7054 *) continue;; 7055 esac 7056 test -w "$ac_dir/." || continue # It is less confusing to not echo anything here. 7057 ac_xdir=$ac_dir/cf$$ 7058 (umask 077 && mkdir "$ac_xdir" 2>/dev/null) || continue 7059 ac_tf1=$ac_xdir/conftest9012345 7060 ac_tf2=$ac_xdir/conftest9012346 7061 touch "$ac_tf1" 2>/dev/null && test -f "$ac_tf1" && test ! -f "$ac_tf2" || 7062 ac_cv_sys_long_file_names=no 7063 rm -f -r "$ac_xdir" 2>/dev/null 7064 test $ac_cv_sys_long_file_names = no && break 7065done 7066fi 7067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_long_file_names" >&5 7068$as_echo "$ac_cv_sys_long_file_names" >&6; } 7069if test $ac_cv_sys_long_file_names = yes; then 7070 7071$as_echo "#define HAVE_LONG_FILE_NAMES 1" >>confdefs.h 7072 7073fi 7074 7075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 7076$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 7077if ${ac_cv_c_const+:} false; then : 7078 $as_echo_n "(cached) " >&6 7079else 7080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7081/* end confdefs.h. */ 7082 7083int 7084main () 7085{ 7086/* FIXME: Include the comments suggested by Paul. */ 7087#ifndef __cplusplus 7088 /* Ultrix mips cc rejects this. */ 7089 typedef int charset[2]; 7090 const charset cs; 7091 /* SunOS 4.1.1 cc rejects this. */ 7092 char const *const *pcpcc; 7093 char **ppc; 7094 /* NEC SVR4.0.2 mips cc rejects this. */ 7095 struct point {int x, y;}; 7096 static struct point const zero = {0,0}; 7097 /* AIX XL C 1.02.0.0 rejects this. 7098 It does not let you subtract one const X* pointer from another in 7099 an arm of an if-expression whose if-part is not a constant 7100 expression */ 7101 const char *g = "string"; 7102 pcpcc = &g + (g ? g-g : 0); 7103 /* HPUX 7.0 cc rejects these. */ 7104 ++pcpcc; 7105 ppc = (char**) pcpcc; 7106 pcpcc = (char const *const *) ppc; 7107 { /* SCO 3.2v4 cc rejects this. */ 7108 char *t; 7109 char const *s = 0 ? (char *) 0 : (char const *) 0; 7110 7111 *t++ = 0; 7112 if (s) return 0; 7113 } 7114 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 7115 int x[] = {25, 17}; 7116 const int *foo = &x[0]; 7117 ++foo; 7118 } 7119 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 7120 typedef const int *iptr; 7121 iptr p = 0; 7122 ++p; 7123 } 7124 { /* AIX XL C 1.02.0.0 rejects this saying 7125 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 7126 struct s { int j; const int *ap[3]; }; 7127 struct s *b; b->j = 5; 7128 } 7129 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 7130 const int foo = 10; 7131 if (!foo) return 0; 7132 } 7133 return !cs[0] && !zero.x; 7134#endif 7135 7136 ; 7137 return 0; 7138} 7139_ACEOF 7140if ac_fn_c_try_compile "$LINENO"; then : 7141 ac_cv_c_const=yes 7142else 7143 ac_cv_c_const=no 7144fi 7145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7146fi 7147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 7148$as_echo "$ac_cv_c_const" >&6; } 7149if test $ac_cv_c_const = no; then 7150 7151$as_echo "#define const /**/" >>confdefs.h 7152 7153fi 7154 7155 7156for ac_func in strerror 7157do : 7158 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror" 7159if test "x$ac_cv_func_strerror" = xyes; then : 7160 cat >>confdefs.h <<_ACEOF 7161#define HAVE_STRERROR 1 7162_ACEOF 7163 7164fi 7165done 7166 7167 7168ac_config_files="$ac_config_files src/app/Makefile src/utils/Makefile Makefile src/hf/Makefile src/Makefile m4/Makefile src/fourier/Makefile scenes/Makefile po/Makefile.in" 7169 7170cat >confcache <<\_ACEOF 7171# This file is a shell script that caches the results of configure 7172# tests run on this system so they can be shared between configure 7173# scripts and configure runs, see configure's option --config-cache. 7174# It is not useful on other systems. If it contains results you don't 7175# want to keep, you may remove or edit it. 7176# 7177# config.status only pays attention to the cache file if you give it 7178# the --recheck option to rerun configure. 7179# 7180# `ac_cv_env_foo' variables (set or unset) will be overridden when 7181# loading this file, other *unset* `ac_cv_foo' will be assigned the 7182# following values. 7183 7184_ACEOF 7185 7186# The following way of writing the cache mishandles newlines in values, 7187# but we know of no workaround that is simple, portable, and efficient. 7188# So, we kill variables containing newlines. 7189# Ultrix sh set writes to stderr and can't be redirected directly, 7190# and sets the high bit in the cache file unless we assign to the vars. 7191( 7192 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7193 eval ac_val=\$$ac_var 7194 case $ac_val in #( 7195 *${as_nl}*) 7196 case $ac_var in #( 7197 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 7198$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 7199 esac 7200 case $ac_var in #( 7201 _ | IFS | as_nl) ;; #( 7202 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 7203 *) { eval $ac_var=; unset $ac_var;} ;; 7204 esac ;; 7205 esac 7206 done 7207 7208 (set) 2>&1 | 7209 case $as_nl`(ac_space=' '; set) 2>&1` in #( 7210 *${as_nl}ac_space=\ *) 7211 # `set' does not quote correctly, so add quotes: double-quote 7212 # substitution turns \\\\ into \\, and sed turns \\ into \. 7213 sed -n \ 7214 "s/'/'\\\\''/g; 7215 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7216 ;; #( 7217 *) 7218 # `set' quotes correctly as required by POSIX, so do not add quotes. 7219 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7220 ;; 7221 esac | 7222 sort 7223) | 7224 sed ' 7225 /^ac_cv_env_/b end 7226 t clear 7227 :clear 7228 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7229 t end 7230 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7231 :end' >>confcache 7232if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7233 if test -w "$cache_file"; then 7234 if test "x$cache_file" != "x/dev/null"; then 7235 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7236$as_echo "$as_me: updating cache $cache_file" >&6;} 7237 if test ! -f "$cache_file" || test -h "$cache_file"; then 7238 cat confcache >"$cache_file" 7239 else 7240 case $cache_file in #( 7241 */* | ?:*) 7242 mv -f confcache "$cache_file"$$ && 7243 mv -f "$cache_file"$$ "$cache_file" ;; #( 7244 *) 7245 mv -f confcache "$cache_file" ;; 7246 esac 7247 fi 7248 fi 7249 else 7250 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 7251$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7252 fi 7253fi 7254rm -f confcache 7255 7256test "x$prefix" = xNONE && prefix=$ac_default_prefix 7257# Let make expand exec_prefix. 7258test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7259 7260# Transform confdefs.h into DEFS. 7261# Protect against shell expansion while executing Makefile rules. 7262# Protect against Makefile macro expansion. 7263# 7264# If the first sed substitution is executed (which looks for macros that 7265# take arguments), then branch to the quote section. Otherwise, 7266# look for a macro that doesn't take arguments. 7267ac_script=' 7268:mline 7269/\\$/{ 7270 N 7271 s,\\\n,, 7272 b mline 7273} 7274t clear 7275:clear 7276s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 7277t quote 7278s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 7279t quote 7280b any 7281:quote 7282s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 7283s/\[/\\&/g 7284s/\]/\\&/g 7285s/\$/$$/g 7286H 7287:any 7288${ 7289 g 7290 s/^\n// 7291 s/\n/ /g 7292 p 7293} 7294' 7295DEFS=`sed -n "$ac_script" confdefs.h` 7296 7297 7298ac_libobjs= 7299ac_ltlibobjs= 7300U= 7301for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7302 # 1. Remove the extension, and $U if already installed. 7303 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7304 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 7305 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7306 # will be set to the directory where LIBOBJS objects are built. 7307 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7308 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 7309done 7310LIBOBJS=$ac_libobjs 7311 7312LTLIBOBJS=$ac_ltlibobjs 7313 7314 7315 if test -n "$EXEEXT"; then 7316 am__EXEEXT_TRUE= 7317 am__EXEEXT_FALSE='#' 7318else 7319 am__EXEEXT_TRUE='#' 7320 am__EXEEXT_FALSE= 7321fi 7322 7323if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 7324 as_fn_error $? "conditional \"AMDEP\" was never defined. 7325Usually this means the macro was only invoked conditionally." "$LINENO" 5 7326fi 7327if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 7328 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 7329Usually this means the macro was only invoked conditionally." "$LINENO" 5 7330fi 7331 7332: "${CONFIG_STATUS=./config.status}" 7333ac_write_fail=0 7334ac_clean_files_save=$ac_clean_files 7335ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7336{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 7337$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 7338as_write_fail=0 7339cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 7340#! $SHELL 7341# Generated by $as_me. 7342# Run this file to recreate the current configuration. 7343# Compiler output produced by configure, useful for debugging 7344# configure, is in config.log if it exists. 7345 7346debug=false 7347ac_cs_recheck=false 7348ac_cs_silent=false 7349 7350SHELL=\${CONFIG_SHELL-$SHELL} 7351export SHELL 7352_ASEOF 7353cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 7354## -------------------- ## 7355## M4sh Initialization. ## 7356## -------------------- ## 7357 7358# Be more Bourne compatible 7359DUALCASE=1; export DUALCASE # for MKS sh 7360if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 7361 emulate sh 7362 NULLCMD=: 7363 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7364 # is contrary to our usage. Disable this feature. 7365 alias -g '${1+"$@"}'='"$@"' 7366 setopt NO_GLOB_SUBST 7367else 7368 case `(set -o) 2>/dev/null` in #( 7369 *posix*) : 7370 set -o posix ;; #( 7371 *) : 7372 ;; 7373esac 7374fi 7375 7376 7377as_nl=' 7378' 7379export as_nl 7380# Printing a long string crashes Solaris 7 /usr/bin/printf. 7381as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 7382as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 7383as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 7384# Prefer a ksh shell builtin over an external printf program on Solaris, 7385# but without wasting forks for bash or zsh. 7386if test -z "$BASH_VERSION$ZSH_VERSION" \ 7387 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 7388 as_echo='print -r --' 7389 as_echo_n='print -rn --' 7390elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 7391 as_echo='printf %s\n' 7392 as_echo_n='printf %s' 7393else 7394 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 7395 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 7396 as_echo_n='/usr/ucb/echo -n' 7397 else 7398 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 7399 as_echo_n_body='eval 7400 arg=$1; 7401 case $arg in #( 7402 *"$as_nl"*) 7403 expr "X$arg" : "X\\(.*\\)$as_nl"; 7404 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 7405 esac; 7406 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 7407 ' 7408 export as_echo_n_body 7409 as_echo_n='sh -c $as_echo_n_body as_echo' 7410 fi 7411 export as_echo_body 7412 as_echo='sh -c $as_echo_body as_echo' 7413fi 7414 7415# The user is always right. 7416if test "${PATH_SEPARATOR+set}" != set; then 7417 PATH_SEPARATOR=: 7418 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 7419 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 7420 PATH_SEPARATOR=';' 7421 } 7422fi 7423 7424 7425# IFS 7426# We need space, tab and new line, in precisely that order. Quoting is 7427# there to prevent editors from complaining about space-tab. 7428# (If _AS_PATH_WALK were called with IFS unset, it would disable word 7429# splitting by setting IFS to empty value.) 7430IFS=" "" $as_nl" 7431 7432# Find who we are. Look in the path if we contain no directory separator. 7433as_myself= 7434case $0 in #(( 7435 *[\\/]* ) as_myself=$0 ;; 7436 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7437for as_dir in $PATH 7438do 7439 IFS=$as_save_IFS 7440 test -z "$as_dir" && as_dir=. 7441 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7442 done 7443IFS=$as_save_IFS 7444 7445 ;; 7446esac 7447# We did not find ourselves, most probably we were run as `sh COMMAND' 7448# in which case we are not to be found in the path. 7449if test "x$as_myself" = x; then 7450 as_myself=$0 7451fi 7452if test ! -f "$as_myself"; then 7453 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 7454 exit 1 7455fi 7456 7457# Unset variables that we do not need and which cause bugs (e.g. in 7458# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 7459# suppresses any "Segmentation fault" message there. '((' could 7460# trigger a bug in pdksh 5.2.14. 7461for as_var in BASH_ENV ENV MAIL MAILPATH 7462do eval test x\${$as_var+set} = xset \ 7463 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 7464done 7465PS1='$ ' 7466PS2='> ' 7467PS4='+ ' 7468 7469# NLS nuisances. 7470LC_ALL=C 7471export LC_ALL 7472LANGUAGE=C 7473export LANGUAGE 7474 7475# CDPATH. 7476(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 7477 7478 7479# as_fn_error STATUS ERROR [LINENO LOG_FD] 7480# ---------------------------------------- 7481# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 7482# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 7483# script with STATUS, using 1 if that was 0. 7484as_fn_error () 7485{ 7486 as_status=$1; test $as_status -eq 0 && as_status=1 7487 if test "$4"; then 7488 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 7489 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 7490 fi 7491 $as_echo "$as_me: error: $2" >&2 7492 as_fn_exit $as_status 7493} # as_fn_error 7494 7495 7496# as_fn_set_status STATUS 7497# ----------------------- 7498# Set $? to STATUS, without forking. 7499as_fn_set_status () 7500{ 7501 return $1 7502} # as_fn_set_status 7503 7504# as_fn_exit STATUS 7505# ----------------- 7506# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 7507as_fn_exit () 7508{ 7509 set +e 7510 as_fn_set_status $1 7511 exit $1 7512} # as_fn_exit 7513 7514# as_fn_unset VAR 7515# --------------- 7516# Portably unset VAR. 7517as_fn_unset () 7518{ 7519 { eval $1=; unset $1;} 7520} 7521as_unset=as_fn_unset 7522# as_fn_append VAR VALUE 7523# ---------------------- 7524# Append the text in VALUE to the end of the definition contained in VAR. Take 7525# advantage of any shell optimizations that allow amortized linear growth over 7526# repeated appends, instead of the typical quadratic growth present in naive 7527# implementations. 7528if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 7529 eval 'as_fn_append () 7530 { 7531 eval $1+=\$2 7532 }' 7533else 7534 as_fn_append () 7535 { 7536 eval $1=\$$1\$2 7537 } 7538fi # as_fn_append 7539 7540# as_fn_arith ARG... 7541# ------------------ 7542# Perform arithmetic evaluation on the ARGs, and store the result in the 7543# global $as_val. Take advantage of shells that can avoid forks. The arguments 7544# must be portable across $(()) and expr. 7545if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 7546 eval 'as_fn_arith () 7547 { 7548 as_val=$(( $* )) 7549 }' 7550else 7551 as_fn_arith () 7552 { 7553 as_val=`expr "$@" || test $? -eq 1` 7554 } 7555fi # as_fn_arith 7556 7557 7558if expr a : '\(a\)' >/dev/null 2>&1 && 7559 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7560 as_expr=expr 7561else 7562 as_expr=false 7563fi 7564 7565if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7566 as_basename=basename 7567else 7568 as_basename=false 7569fi 7570 7571if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7572 as_dirname=dirname 7573else 7574 as_dirname=false 7575fi 7576 7577as_me=`$as_basename -- "$0" || 7578$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7579 X"$0" : 'X\(//\)$' \| \ 7580 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7581$as_echo X/"$0" | 7582 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7583 s//\1/ 7584 q 7585 } 7586 /^X\/\(\/\/\)$/{ 7587 s//\1/ 7588 q 7589 } 7590 /^X\/\(\/\).*/{ 7591 s//\1/ 7592 q 7593 } 7594 s/.*/./; q'` 7595 7596# Avoid depending upon Character Ranges. 7597as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7598as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7599as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7600as_cr_digits='0123456789' 7601as_cr_alnum=$as_cr_Letters$as_cr_digits 7602 7603ECHO_C= ECHO_N= ECHO_T= 7604case `echo -n x` in #((((( 7605-n*) 7606 case `echo 'xy\c'` in 7607 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7608 xy) ECHO_C='\c';; 7609 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7610 ECHO_T=' ';; 7611 esac;; 7612*) 7613 ECHO_N='-n';; 7614esac 7615 7616rm -f conf$$ conf$$.exe conf$$.file 7617if test -d conf$$.dir; then 7618 rm -f conf$$.dir/conf$$.file 7619else 7620 rm -f conf$$.dir 7621 mkdir conf$$.dir 2>/dev/null 7622fi 7623if (echo >conf$$.file) 2>/dev/null; then 7624 if ln -s conf$$.file conf$$ 2>/dev/null; then 7625 as_ln_s='ln -s' 7626 # ... but there are two gotchas: 7627 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7628 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7629 # In both cases, we have to default to `cp -p'. 7630 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7631 as_ln_s='cp -p' 7632 elif ln conf$$.file conf$$ 2>/dev/null; then 7633 as_ln_s=ln 7634 else 7635 as_ln_s='cp -p' 7636 fi 7637else 7638 as_ln_s='cp -p' 7639fi 7640rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7641rmdir conf$$.dir 2>/dev/null 7642 7643 7644# as_fn_mkdir_p 7645# ------------- 7646# Create "$as_dir" as a directory, including parents if necessary. 7647as_fn_mkdir_p () 7648{ 7649 7650 case $as_dir in #( 7651 -*) as_dir=./$as_dir;; 7652 esac 7653 test -d "$as_dir" || eval $as_mkdir_p || { 7654 as_dirs= 7655 while :; do 7656 case $as_dir in #( 7657 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7658 *) as_qdir=$as_dir;; 7659 esac 7660 as_dirs="'$as_qdir' $as_dirs" 7661 as_dir=`$as_dirname -- "$as_dir" || 7662$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7663 X"$as_dir" : 'X\(//\)[^/]' \| \ 7664 X"$as_dir" : 'X\(//\)$' \| \ 7665 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7666$as_echo X"$as_dir" | 7667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7668 s//\1/ 7669 q 7670 } 7671 /^X\(\/\/\)[^/].*/{ 7672 s//\1/ 7673 q 7674 } 7675 /^X\(\/\/\)$/{ 7676 s//\1/ 7677 q 7678 } 7679 /^X\(\/\).*/{ 7680 s//\1/ 7681 q 7682 } 7683 s/.*/./; q'` 7684 test -d "$as_dir" && break 7685 done 7686 test -z "$as_dirs" || eval "mkdir $as_dirs" 7687 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7688 7689 7690} # as_fn_mkdir_p 7691if mkdir -p . 2>/dev/null; then 7692 as_mkdir_p='mkdir -p "$as_dir"' 7693else 7694 test -d ./-p && rmdir ./-p 7695 as_mkdir_p=false 7696fi 7697 7698if test -x / >/dev/null 2>&1; then 7699 as_test_x='test -x' 7700else 7701 if ls -dL / >/dev/null 2>&1; then 7702 as_ls_L_option=L 7703 else 7704 as_ls_L_option= 7705 fi 7706 as_test_x=' 7707 eval sh -c '\'' 7708 if test -d "$1"; then 7709 test -d "$1/."; 7710 else 7711 case $1 in #( 7712 -*)set "./$1";; 7713 esac; 7714 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 7715 ???[sx]*):;;*)false;;esac;fi 7716 '\'' sh 7717 ' 7718fi 7719as_executable_p=$as_test_x 7720 7721# Sed expression to map a string onto a valid CPP name. 7722as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7723 7724# Sed expression to map a string onto a valid variable name. 7725as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7726 7727 7728exec 6>&1 7729## ----------------------------------- ## 7730## Main body of $CONFIG_STATUS script. ## 7731## ----------------------------------- ## 7732_ASEOF 7733test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7734 7735cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7736# Save the log message, to keep $0 and so on meaningful, and to 7737# report actual input values of CONFIG_FILES etc. instead of their 7738# values after options handling. 7739ac_log=" 7740This file was extended by geomorph $as_me 0.60.1, which was 7741generated by GNU Autoconf 2.68. Invocation command line was 7742 7743 CONFIG_FILES = $CONFIG_FILES 7744 CONFIG_HEADERS = $CONFIG_HEADERS 7745 CONFIG_LINKS = $CONFIG_LINKS 7746 CONFIG_COMMANDS = $CONFIG_COMMANDS 7747 $ $0 $@ 7748 7749on `(hostname || uname -n) 2>/dev/null | sed 1q` 7750" 7751 7752_ACEOF 7753 7754case $ac_config_files in *" 7755"*) set x $ac_config_files; shift; ac_config_files=$*;; 7756esac 7757 7758 7759 7760cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7761# Files that config.status was made for. 7762config_files="$ac_config_files" 7763config_commands="$ac_config_commands" 7764 7765_ACEOF 7766 7767cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7768ac_cs_usage="\ 7769\`$as_me' instantiates files and other configuration actions 7770from templates according to the current configuration. Unless the files 7771and actions are specified as TAGs, all are instantiated by default. 7772 7773Usage: $0 [OPTION]... [TAG]... 7774 7775 -h, --help print this help, then exit 7776 -V, --version print version number and configuration settings, then exit 7777 --config print configuration, then exit 7778 -q, --quiet, --silent 7779 do not print progress messages 7780 -d, --debug don't remove temporary files 7781 --recheck update $as_me by reconfiguring in the same conditions 7782 --file=FILE[:TEMPLATE] 7783 instantiate the configuration file FILE 7784 7785Configuration files: 7786$config_files 7787 7788Configuration commands: 7789$config_commands 7790 7791Report bugs to the package provider." 7792 7793_ACEOF 7794cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7795ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7796ac_cs_version="\\ 7797geomorph config.status 0.60.1 7798configured by $0, generated by GNU Autoconf 2.68, 7799 with options \\"\$ac_cs_config\\" 7800 7801Copyright (C) 2010 Free Software Foundation, Inc. 7802This config.status script is free software; the Free Software Foundation 7803gives unlimited permission to copy, distribute and modify it." 7804 7805ac_pwd='$ac_pwd' 7806srcdir='$srcdir' 7807INSTALL='$INSTALL' 7808MKDIR_P='$MKDIR_P' 7809AWK='$AWK' 7810test -n "\$AWK" || AWK=awk 7811_ACEOF 7812 7813cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7814# The default lists apply if the user does not specify any file. 7815ac_need_defaults=: 7816while test $# != 0 7817do 7818 case $1 in 7819 --*=?*) 7820 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7821 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7822 ac_shift=: 7823 ;; 7824 --*=) 7825 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7826 ac_optarg= 7827 ac_shift=: 7828 ;; 7829 *) 7830 ac_option=$1 7831 ac_optarg=$2 7832 ac_shift=shift 7833 ;; 7834 esac 7835 7836 case $ac_option in 7837 # Handling of the options. 7838 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7839 ac_cs_recheck=: ;; 7840 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7841 $as_echo "$ac_cs_version"; exit ;; 7842 --config | --confi | --conf | --con | --co | --c ) 7843 $as_echo "$ac_cs_config"; exit ;; 7844 --debug | --debu | --deb | --de | --d | -d ) 7845 debug=: ;; 7846 --file | --fil | --fi | --f ) 7847 $ac_shift 7848 case $ac_optarg in 7849 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7850 '') as_fn_error $? "missing file argument" ;; 7851 esac 7852 as_fn_append CONFIG_FILES " '$ac_optarg'" 7853 ac_need_defaults=false;; 7854 --he | --h | --help | --hel | -h ) 7855 $as_echo "$ac_cs_usage"; exit ;; 7856 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7857 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7858 ac_cs_silent=: ;; 7859 7860 # This is an error. 7861 -*) as_fn_error $? "unrecognized option: \`$1' 7862Try \`$0 --help' for more information." ;; 7863 7864 *) as_fn_append ac_config_targets " $1" 7865 ac_need_defaults=false ;; 7866 7867 esac 7868 shift 7869done 7870 7871ac_configure_extra_args= 7872 7873if $ac_cs_silent; then 7874 exec 6>/dev/null 7875 ac_configure_extra_args="$ac_configure_extra_args --silent" 7876fi 7877 7878_ACEOF 7879cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7880if \$ac_cs_recheck; then 7881 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7882 shift 7883 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7884 CONFIG_SHELL='$SHELL' 7885 export CONFIG_SHELL 7886 exec "\$@" 7887fi 7888 7889_ACEOF 7890cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7891exec 5>>config.log 7892{ 7893 echo 7894 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7895## Running $as_me. ## 7896_ASBOX 7897 $as_echo "$ac_log" 7898} >&5 7899 7900_ACEOF 7901cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7902# 7903# INIT-COMMANDS 7904# 7905AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 7906# Capture the value of obsolete ALL_LINGUAS because we need it to compute 7907 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 7908 # from automake < 1.5. 7909 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 7910 # Capture the value of LINGUAS because we need it to compute CATALOGS. 7911 LINGUAS="${LINGUAS-%UNSET%}" 7912 7913 7914_ACEOF 7915 7916cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7917 7918# Handling of arguments. 7919for ac_config_target in $ac_config_targets 7920do 7921 case $ac_config_target in 7922 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 7923 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 7924 "src/app/Makefile") CONFIG_FILES="$CONFIG_FILES src/app/Makefile" ;; 7925 "src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;; 7926 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 7927 "src/hf/Makefile") CONFIG_FILES="$CONFIG_FILES src/hf/Makefile" ;; 7928 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 7929 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; 7930 "src/fourier/Makefile") CONFIG_FILES="$CONFIG_FILES src/fourier/Makefile" ;; 7931 "scenes/Makefile") CONFIG_FILES="$CONFIG_FILES scenes/Makefile" ;; 7932 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 7933 7934 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 7935 esac 7936done 7937 7938 7939# If the user did not use the arguments to specify the items to instantiate, 7940# then the envvar interface is used. Set only those that are not. 7941# We use the long form for the default assignment because of an extremely 7942# bizarre bug on SunOS 4.1.3. 7943if $ac_need_defaults; then 7944 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 7945 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 7946fi 7947 7948# Have a temporary directory for convenience. Make it in the build tree 7949# simply because there is no reason against having it here, and in addition, 7950# creating and moving files from /tmp can sometimes cause problems. 7951# Hook for its removal unless debugging. 7952# Note that there is a small window in which the directory will not be cleaned: 7953# after its creation but before its name has been assigned to `$tmp'. 7954$debug || 7955{ 7956 tmp= ac_tmp= 7957 trap 'exit_status=$? 7958 : "${ac_tmp:=$tmp}" 7959 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 7960' 0 7961 trap 'as_fn_exit 1' 1 2 13 15 7962} 7963# Create a (secure) tmp directory for tmp files. 7964 7965{ 7966 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7967 test -d "$tmp" 7968} || 7969{ 7970 tmp=./conf$$-$RANDOM 7971 (umask 077 && mkdir "$tmp") 7972} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7973ac_tmp=$tmp 7974 7975# Set up the scripts for CONFIG_FILES section. 7976# No need to generate them if there are no CONFIG_FILES. 7977# This happens for instance with `./config.status config.h'. 7978if test -n "$CONFIG_FILES"; then 7979 7980 7981ac_cr=`echo X | tr X '\015'` 7982# On cygwin, bash can eat \r inside `` if the user requested igncr. 7983# But we know of no other shell where ac_cr would be empty at this 7984# point, so we can use a bashism as a fallback. 7985if test "x$ac_cr" = x; then 7986 eval ac_cr=\$\'\\r\' 7987fi 7988ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 7989if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 7990 ac_cs_awk_cr='\\r' 7991else 7992 ac_cs_awk_cr=$ac_cr 7993fi 7994 7995echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 7996_ACEOF 7997 7998 7999{ 8000 echo "cat >conf$$subs.awk <<_ACEOF" && 8001 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 8002 echo "_ACEOF" 8003} >conf$$subs.sh || 8004 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8005ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 8006ac_delim='%!_!# ' 8007for ac_last_try in false false false false false :; do 8008 . ./conf$$subs.sh || 8009 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8010 8011 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 8012 if test $ac_delim_n = $ac_delim_num; then 8013 break 8014 elif $ac_last_try; then 8015 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8016 else 8017 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8018 fi 8019done 8020rm -f conf$$subs.sh 8021 8022cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8023cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 8024_ACEOF 8025sed -n ' 8026h 8027s/^/S["/; s/!.*/"]=/ 8028p 8029g 8030s/^[^!]*!// 8031:repl 8032t repl 8033s/'"$ac_delim"'$// 8034t delim 8035:nl 8036h 8037s/\(.\{148\}\)..*/\1/ 8038t more1 8039s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 8040p 8041n 8042b repl 8043:more1 8044s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8045p 8046g 8047s/.\{148\}// 8048t nl 8049:delim 8050h 8051s/\(.\{148\}\)..*/\1/ 8052t more2 8053s/["\\]/\\&/g; s/^/"/; s/$/"/ 8054p 8055b 8056:more2 8057s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8058p 8059g 8060s/.\{148\}// 8061t delim 8062' <conf$$subs.awk | sed ' 8063/^[^""]/{ 8064 N 8065 s/\n// 8066} 8067' >>$CONFIG_STATUS || ac_write_fail=1 8068rm -f conf$$subs.awk 8069cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8070_ACAWK 8071cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 8072 for (key in S) S_is_set[key] = 1 8073 FS = "" 8074 8075} 8076{ 8077 line = $ 0 8078 nfields = split(line, field, "@") 8079 substed = 0 8080 len = length(field[1]) 8081 for (i = 2; i < nfields; i++) { 8082 key = field[i] 8083 keylen = length(key) 8084 if (S_is_set[key]) { 8085 value = S[key] 8086 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 8087 len += length(value) + length(field[++i]) 8088 substed = 1 8089 } else 8090 len += 1 + keylen 8091 } 8092 8093 print line 8094} 8095 8096_ACAWK 8097_ACEOF 8098cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8099if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 8100 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 8101else 8102 cat 8103fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 8104 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 8105_ACEOF 8106 8107# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 8108# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 8109# trailing colons and then remove the whole line if VPATH becomes empty 8110# (actually we leave an empty line to preserve line numbers). 8111if test "x$srcdir" = x.; then 8112 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 8113h 8114s/// 8115s/^/:/ 8116s/[ ]*$/:/ 8117s/:\$(srcdir):/:/g 8118s/:\${srcdir}:/:/g 8119s/:@srcdir@:/:/g 8120s/^:*// 8121s/:*$// 8122x 8123s/\(=[ ]*\).*/\1/ 8124G 8125s/\n// 8126s/^[^=]*=[ ]*$// 8127}' 8128fi 8129 8130cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8131fi # test -n "$CONFIG_FILES" 8132 8133 8134eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 8135shift 8136for ac_tag 8137do 8138 case $ac_tag in 8139 :[FHLC]) ac_mode=$ac_tag; continue;; 8140 esac 8141 case $ac_mode$ac_tag in 8142 :[FHL]*:*);; 8143 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 8144 :[FH]-) ac_tag=-:-;; 8145 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8146 esac 8147 ac_save_IFS=$IFS 8148 IFS=: 8149 set x $ac_tag 8150 IFS=$ac_save_IFS 8151 shift 8152 ac_file=$1 8153 shift 8154 8155 case $ac_mode in 8156 :L) ac_source=$1;; 8157 :[FH]) 8158 ac_file_inputs= 8159 for ac_f 8160 do 8161 case $ac_f in 8162 -) ac_f="$ac_tmp/stdin";; 8163 *) # Look for the file first in the build tree, then in the source tree 8164 # (if the path is not absolute). The absolute path cannot be DOS-style, 8165 # because $ac_f cannot contain `:'. 8166 test -f "$ac_f" || 8167 case $ac_f in 8168 [\\/$]*) false;; 8169 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8170 esac || 8171 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 8172 esac 8173 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 8174 as_fn_append ac_file_inputs " '$ac_f'" 8175 done 8176 8177 # Let's still pretend it is `configure' which instantiates (i.e., don't 8178 # use $as_me), people would be surprised to read: 8179 # /* config.h. Generated by config.status. */ 8180 configure_input='Generated from '` 8181 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 8182 `' by configure.' 8183 if test x"$ac_file" != x-; then 8184 configure_input="$ac_file. $configure_input" 8185 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 8186$as_echo "$as_me: creating $ac_file" >&6;} 8187 fi 8188 # Neutralize special characters interpreted by sed in replacement strings. 8189 case $configure_input in #( 8190 *\&* | *\|* | *\\* ) 8191 ac_sed_conf_input=`$as_echo "$configure_input" | 8192 sed 's/[\\\\&|]/\\\\&/g'`;; #( 8193 *) ac_sed_conf_input=$configure_input;; 8194 esac 8195 8196 case $ac_tag in 8197 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 8198 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 8199 esac 8200 ;; 8201 esac 8202 8203 ac_dir=`$as_dirname -- "$ac_file" || 8204$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8205 X"$ac_file" : 'X\(//\)[^/]' \| \ 8206 X"$ac_file" : 'X\(//\)$' \| \ 8207 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8208$as_echo X"$ac_file" | 8209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8210 s//\1/ 8211 q 8212 } 8213 /^X\(\/\/\)[^/].*/{ 8214 s//\1/ 8215 q 8216 } 8217 /^X\(\/\/\)$/{ 8218 s//\1/ 8219 q 8220 } 8221 /^X\(\/\).*/{ 8222 s//\1/ 8223 q 8224 } 8225 s/.*/./; q'` 8226 as_dir="$ac_dir"; as_fn_mkdir_p 8227 ac_builddir=. 8228 8229case "$ac_dir" in 8230.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8231*) 8232 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 8233 # A ".." for each directory in $ac_dir_suffix. 8234 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 8235 case $ac_top_builddir_sub in 8236 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8237 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8238 esac ;; 8239esac 8240ac_abs_top_builddir=$ac_pwd 8241ac_abs_builddir=$ac_pwd$ac_dir_suffix 8242# for backward compatibility: 8243ac_top_builddir=$ac_top_build_prefix 8244 8245case $srcdir in 8246 .) # We are building in place. 8247 ac_srcdir=. 8248 ac_top_srcdir=$ac_top_builddir_sub 8249 ac_abs_top_srcdir=$ac_pwd ;; 8250 [\\/]* | ?:[\\/]* ) # Absolute name. 8251 ac_srcdir=$srcdir$ac_dir_suffix; 8252 ac_top_srcdir=$srcdir 8253 ac_abs_top_srcdir=$srcdir ;; 8254 *) # Relative name. 8255 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8256 ac_top_srcdir=$ac_top_build_prefix$srcdir 8257 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8258esac 8259ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8260 8261 8262 case $ac_mode in 8263 :F) 8264 # 8265 # CONFIG_FILE 8266 # 8267 8268 case $INSTALL in 8269 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8270 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8271 esac 8272 ac_MKDIR_P=$MKDIR_P 8273 case $MKDIR_P in 8274 [\\/$]* | ?:[\\/]* ) ;; 8275 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 8276 esac 8277_ACEOF 8278 8279cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8280# If the template does not know about datarootdir, expand it. 8281# FIXME: This hack should be removed a few years after 2.60. 8282ac_datarootdir_hack=; ac_datarootdir_seen= 8283ac_sed_dataroot=' 8284/datarootdir/ { 8285 p 8286 q 8287} 8288/@datadir@/p 8289/@docdir@/p 8290/@infodir@/p 8291/@localedir@/p 8292/@mandir@/p' 8293case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 8294*datarootdir*) ac_datarootdir_seen=yes;; 8295*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 8296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 8297$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 8298_ACEOF 8299cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8300 ac_datarootdir_hack=' 8301 s&@datadir@&$datadir&g 8302 s&@docdir@&$docdir&g 8303 s&@infodir@&$infodir&g 8304 s&@localedir@&$localedir&g 8305 s&@mandir@&$mandir&g 8306 s&\\\${datarootdir}&$datarootdir&g' ;; 8307esac 8308_ACEOF 8309 8310# Neutralize VPATH when `$srcdir' = `.'. 8311# Shell code in configure.ac might set extrasub. 8312# FIXME: do we really want to maintain this feature? 8313cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8314ac_sed_extra="$ac_vpsub 8315$extrasub 8316_ACEOF 8317cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8318:t 8319/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8320s|@configure_input@|$ac_sed_conf_input|;t t 8321s&@top_builddir@&$ac_top_builddir_sub&;t t 8322s&@top_build_prefix@&$ac_top_build_prefix&;t t 8323s&@srcdir@&$ac_srcdir&;t t 8324s&@abs_srcdir@&$ac_abs_srcdir&;t t 8325s&@top_srcdir@&$ac_top_srcdir&;t t 8326s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 8327s&@builddir@&$ac_builddir&;t t 8328s&@abs_builddir@&$ac_abs_builddir&;t t 8329s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 8330s&@INSTALL@&$ac_INSTALL&;t t 8331s&@MKDIR_P@&$ac_MKDIR_P&;t t 8332$ac_datarootdir_hack 8333" 8334eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 8335 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8336 8337test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 8338 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 8339 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 8340 "$ac_tmp/out"`; test -z "$ac_out"; } && 8341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8342which seems to be undefined. Please make sure it is defined" >&5 8343$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8344which seems to be undefined. Please make sure it is defined" >&2;} 8345 8346 rm -f "$ac_tmp/stdin" 8347 case $ac_file in 8348 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 8349 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 8350 esac \ 8351 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8352 ;; 8353 8354 8355 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 8356$as_echo "$as_me: executing $ac_file commands" >&6;} 8357 ;; 8358 esac 8359 8360 8361 case $ac_file$ac_mode in 8362 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 8363 # Autoconf 2.62 quotes --file arguments for eval, but not when files 8364 # are listed without --file. Let's play safe and only enable the eval 8365 # if we detect the quoting. 8366 case $CONFIG_FILES in 8367 *\'*) eval set x "$CONFIG_FILES" ;; 8368 *) set x $CONFIG_FILES ;; 8369 esac 8370 shift 8371 for mf 8372 do 8373 # Strip MF so we end up with the name of the file. 8374 mf=`echo "$mf" | sed -e 's/:.*$//'` 8375 # Check whether this is an Automake generated Makefile or not. 8376 # We used to match only the files named `Makefile.in', but 8377 # some people rename them; so instead we look at the file content. 8378 # Grep'ing the first line is not enough: some people post-process 8379 # each Makefile.in and add a new line on top of each file to say so. 8380 # Grep'ing the whole file is not good either: AIX grep has a line 8381 # limit of 2048, but all sed's we know have understand at least 4000. 8382 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 8383 dirpart=`$as_dirname -- "$mf" || 8384$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8385 X"$mf" : 'X\(//\)[^/]' \| \ 8386 X"$mf" : 'X\(//\)$' \| \ 8387 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 8388$as_echo X"$mf" | 8389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8390 s//\1/ 8391 q 8392 } 8393 /^X\(\/\/\)[^/].*/{ 8394 s//\1/ 8395 q 8396 } 8397 /^X\(\/\/\)$/{ 8398 s//\1/ 8399 q 8400 } 8401 /^X\(\/\).*/{ 8402 s//\1/ 8403 q 8404 } 8405 s/.*/./; q'` 8406 else 8407 continue 8408 fi 8409 # Extract the definition of DEPDIR, am__include, and am__quote 8410 # from the Makefile without running `make'. 8411 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 8412 test -z "$DEPDIR" && continue 8413 am__include=`sed -n 's/^am__include = //p' < "$mf"` 8414 test -z "am__include" && continue 8415 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 8416 # When using ansi2knr, U may be empty or an underscore; expand it 8417 U=`sed -n 's/^U = //p' < "$mf"` 8418 # Find all dependency output files, they are included files with 8419 # $(DEPDIR) in their names. We invoke sed twice because it is the 8420 # simplest approach to changing $(DEPDIR) to its actual value in the 8421 # expansion. 8422 for file in `sed -n " 8423 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 8424 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 8425 # Make sure the directory exists. 8426 test -f "$dirpart/$file" && continue 8427 fdir=`$as_dirname -- "$file" || 8428$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8429 X"$file" : 'X\(//\)[^/]' \| \ 8430 X"$file" : 'X\(//\)$' \| \ 8431 X"$file" : 'X\(/\)' \| . 2>/dev/null || 8432$as_echo X"$file" | 8433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8434 s//\1/ 8435 q 8436 } 8437 /^X\(\/\/\)[^/].*/{ 8438 s//\1/ 8439 q 8440 } 8441 /^X\(\/\/\)$/{ 8442 s//\1/ 8443 q 8444 } 8445 /^X\(\/\).*/{ 8446 s//\1/ 8447 q 8448 } 8449 s/.*/./; q'` 8450 as_dir=$dirpart/$fdir; as_fn_mkdir_p 8451 # echo "creating $dirpart/$file" 8452 echo '# dummy' > "$dirpart/$file" 8453 done 8454 done 8455} 8456 ;; 8457 "po-directories":C) 8458 for ac_file in $CONFIG_FILES; do 8459 # Support "outfile[:infile[:infile...]]" 8460 case "$ac_file" in 8461 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 8462 esac 8463 # PO directories have a Makefile.in generated from Makefile.in.in. 8464 case "$ac_file" in */Makefile.in) 8465 # Adjust a relative srcdir. 8466 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 8467 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 8468 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 8469 # In autoconf-2.13 it is called $ac_given_srcdir. 8470 # In autoconf-2.50 it is called $srcdir. 8471 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 8472 case "$ac_given_srcdir" in 8473 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 8474 /*) top_srcdir="$ac_given_srcdir" ;; 8475 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 8476 esac 8477 # Treat a directory as a PO directory if and only if it has a 8478 # POTFILES.in file. This allows packages to have multiple PO 8479 # directories under different names or in different locations. 8480 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 8481 rm -f "$ac_dir/POTFILES" 8482 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 8483 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 8484 POMAKEFILEDEPS="POTFILES.in" 8485 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 8486 # on $ac_dir but don't depend on user-specified configuration 8487 # parameters. 8488 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 8489 # The LINGUAS file contains the set of available languages. 8490 if test -n "$OBSOLETE_ALL_LINGUAS"; then 8491 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 8492 fi 8493 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 8494 # Hide the ALL_LINGUAS assigment from automake < 1.5. 8495 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 8496 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 8497 else 8498 # The set of available languages was given in configure.in. 8499 # Hide the ALL_LINGUAS assigment from automake < 1.5. 8500 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 8501 fi 8502 # Compute POFILES 8503 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 8504 # Compute UPDATEPOFILES 8505 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 8506 # Compute DUMMYPOFILES 8507 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 8508 # Compute GMOFILES 8509 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 8510 case "$ac_given_srcdir" in 8511 .) srcdirpre= ;; 8512 *) srcdirpre='$(srcdir)/' ;; 8513 esac 8514 POFILES= 8515 UPDATEPOFILES= 8516 DUMMYPOFILES= 8517 GMOFILES= 8518 for lang in $ALL_LINGUAS; do 8519 POFILES="$POFILES $srcdirpre$lang.po" 8520 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 8521 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 8522 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 8523 done 8524 # CATALOGS depends on both $ac_dir and the user's LINGUAS 8525 # environment variable. 8526 INST_LINGUAS= 8527 if test -n "$ALL_LINGUAS"; then 8528 for presentlang in $ALL_LINGUAS; do 8529 useit=no 8530 if test "%UNSET%" != "$LINGUAS"; then 8531 desiredlanguages="$LINGUAS" 8532 else 8533 desiredlanguages="$ALL_LINGUAS" 8534 fi 8535 for desiredlang in $desiredlanguages; do 8536 # Use the presentlang catalog if desiredlang is 8537 # a. equal to presentlang, or 8538 # b. a variant of presentlang (because in this case, 8539 # presentlang can be used as a fallback for messages 8540 # which are not translated in the desiredlang catalog). 8541 case "$desiredlang" in 8542 "$presentlang"*) useit=yes;; 8543 esac 8544 done 8545 if test $useit = yes; then 8546 INST_LINGUAS="$INST_LINGUAS $presentlang" 8547 fi 8548 done 8549 fi 8550 CATALOGS= 8551 if test -n "$INST_LINGUAS"; then 8552 for lang in $INST_LINGUAS; do 8553 CATALOGS="$CATALOGS $lang.gmo" 8554 done 8555 fi 8556 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 8557 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" 8558 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 8559 if test -f "$f"; then 8560 case "$f" in 8561 *.orig | *.bak | *~) ;; 8562 *) cat "$f" >> "$ac_dir/Makefile" ;; 8563 esac 8564 fi 8565 done 8566 fi 8567 ;; 8568 esac 8569 done ;; 8570 8571 esac 8572done # for ac_tag 8573 8574 8575as_fn_exit 0 8576_ACEOF 8577ac_clean_files=$ac_clean_files_save 8578 8579test $ac_write_fail = 0 || 8580 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 8581 8582 8583# configure is writing to config.log, and then calls config.status. 8584# config.status does its own redirection, appending to config.log. 8585# Unfortunately, on DOS this fails, as config.log is still kept open 8586# by configure, so config.status won't be able to write to it; its 8587# output is simply discarded. So we exec the FD to /dev/null, 8588# effectively closing config.log, so it can be properly (re)opened and 8589# appended to by config.status. When coming back to configure, we 8590# need to make the FD available again. 8591if test "$no_create" != yes; then 8592 ac_cs_success=: 8593 ac_config_status_args= 8594 test "$silent" = yes && 8595 ac_config_status_args="$ac_config_status_args --quiet" 8596 exec 5>/dev/null 8597 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 8598 exec 5>>config.log 8599 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8600 # would make configure fail if this is the last instruction. 8601 $ac_cs_success || as_fn_exit 1 8602fi 8603if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8605$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8606fi 8607 8608 8609 8610