1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.57 for icon-slicer 0.3. 4# 5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 6# Free Software Foundation, Inc. 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9## --------------------- ## 10## M4sh Initialization. ## 11## --------------------- ## 12 13# Be Bourne compatible 14if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15 emulate sh 16 NULLCMD=: 17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 18 # is contrary to our usage. Disable this feature. 19 alias -g '${1+"$@"}'='"$@"' 20elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 21 set -o posix 22fi 23 24# Support unset when possible. 25if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 26 as_unset=unset 27else 28 as_unset=false 29fi 30 31 32# Work around bugs in pre-3.0 UWIN ksh. 33$as_unset ENV MAIL MAILPATH 34PS1='$ ' 35PS2='> ' 36PS4='+ ' 37 38# NLS nuisances. 39for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43do 44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49done 50 51# Required to use basename. 52if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54else 55 as_expr=false 56fi 57 58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60else 61 as_basename=false 62fi 63 64 65# Name of the executable. 66as_me=`$as_basename "$0" || 67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78# PATH needs CR, and LINENO needs CR and PATH. 79# Avoid depending upon Character Ranges. 80as_cr_letters='abcdefghijklmnopqrstuvwxyz' 81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 82as_cr_Letters=$as_cr_letters$as_cr_LETTERS 83as_cr_digits='0123456789' 84as_cr_alnum=$as_cr_Letters$as_cr_digits 85 86# The user is always right. 87if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110for as_dir in $PATH 111do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152done 153;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184} 185 186 187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192esac 193 194if expr a : '\(a\)' >/dev/null 2>&1; then 195 as_expr=expr 196else 197 as_expr=false 198fi 199 200rm -f conf$$ conf$$.exe conf$$.file 201echo >conf$$.file 202if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 208 else 209 as_ln_s='ln -s' 210 fi 211elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 213else 214 as_ln_s='cp -p' 215fi 216rm -f conf$$ conf$$.exe conf$$.file 217 218if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220else 221 as_mkdir_p=false 222fi 223 224as_executable_p="test -f" 225 226# Sed expression to map a string onto a valid CPP name. 227as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 228 229# Sed expression to map a string onto a valid variable name. 230as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 231 232 233# IFS 234# We need space, tab and new line, in precisely that order. 235as_nl=' 236' 237IFS=" $as_nl" 238 239# CDPATH. 240$as_unset CDPATH 241 242 243# Name of the host. 244# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 245# so uname gets run too. 246ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 247 248exec 6>&1 249 250# 251# Initializations. 252# 253ac_default_prefix=/usr/local 254ac_config_libobj_dir=. 255cross_compiling=no 256subdirs= 257MFLAGS= 258MAKEFLAGS= 259SHELL=${CONFIG_SHELL-/bin/sh} 260 261# Maximum number of lines to put in a shell here document. 262# This variable seems obsolete. It should probably be removed, and 263# only ac_max_sed_lines should be used. 264: ${ac_max_here_lines=38} 265 266# Identity of this package. 267PACKAGE_NAME='icon-slicer' 268PACKAGE_TARNAME='icon-slicer' 269PACKAGE_VERSION='0.3' 270PACKAGE_STRING='icon-slicer 0.3' 271PACKAGE_BUGREPORT='' 272 273ac_unique_file="src/themefile.h" 274ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE PKG_CONFIG GDK_PIXBUF_CFLAGS GDK_PIXBUF_LIBS POPT_LIBS LIBOBJS LTLIBOBJS' 275ac_subst_files='' 276 277# Initialize some variables set by options. 278ac_init_help= 279ac_init_version=false 280# The variables have the same names as the options, with 281# dashes changed to underlines. 282cache_file=/dev/null 283exec_prefix=NONE 284no_create= 285no_recursion= 286prefix=NONE 287program_prefix=NONE 288program_suffix=NONE 289program_transform_name=s,x,x, 290silent= 291site= 292srcdir= 293verbose= 294x_includes=NONE 295x_libraries=NONE 296 297# Installation directory options. 298# These are left unexpanded so users can "make install exec_prefix=/foo" 299# and all the variables that are supposed to be based on exec_prefix 300# by default will actually change. 301# Use braces instead of parens because sh, perl, etc. also accept them. 302bindir='${exec_prefix}/bin' 303sbindir='${exec_prefix}/sbin' 304libexecdir='${exec_prefix}/libexec' 305datadir='${prefix}/share' 306sysconfdir='${prefix}/etc' 307sharedstatedir='${prefix}/com' 308localstatedir='${prefix}/var' 309libdir='${exec_prefix}/lib' 310includedir='${prefix}/include' 311oldincludedir='/usr/include' 312infodir='${prefix}/info' 313mandir='${prefix}/man' 314 315ac_prev= 316for ac_option 317do 318 # If the previous option needs an argument, assign it. 319 if test -n "$ac_prev"; then 320 eval "$ac_prev=\$ac_option" 321 ac_prev= 322 continue 323 fi 324 325 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 326 327 # Accept the important Cygnus configure options, so we can diagnose typos. 328 329 case $ac_option in 330 331 -bindir | --bindir | --bindi | --bind | --bin | --bi) 332 ac_prev=bindir ;; 333 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 334 bindir=$ac_optarg ;; 335 336 -build | --build | --buil | --bui | --bu) 337 ac_prev=build_alias ;; 338 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 339 build_alias=$ac_optarg ;; 340 341 -cache-file | --cache-file | --cache-fil | --cache-fi \ 342 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 343 ac_prev=cache_file ;; 344 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 345 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 346 cache_file=$ac_optarg ;; 347 348 --config-cache | -C) 349 cache_file=config.cache ;; 350 351 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 352 ac_prev=datadir ;; 353 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 354 | --da=*) 355 datadir=$ac_optarg ;; 356 357 -disable-* | --disable-*) 358 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 359 # Reject names that are not valid shell variable names. 360 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 361 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 362 { (exit 1); exit 1; }; } 363 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 364 eval "enable_$ac_feature=no" ;; 365 366 -enable-* | --enable-*) 367 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 368 # Reject names that are not valid shell variable names. 369 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 370 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 371 { (exit 1); exit 1; }; } 372 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 373 case $ac_option in 374 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 375 *) ac_optarg=yes ;; 376 esac 377 eval "enable_$ac_feature='$ac_optarg'" ;; 378 379 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 380 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 381 | --exec | --exe | --ex) 382 ac_prev=exec_prefix ;; 383 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 384 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 385 | --exec=* | --exe=* | --ex=*) 386 exec_prefix=$ac_optarg ;; 387 388 -gas | --gas | --ga | --g) 389 # Obsolete; use --with-gas. 390 with_gas=yes ;; 391 392 -help | --help | --hel | --he | -h) 393 ac_init_help=long ;; 394 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 395 ac_init_help=recursive ;; 396 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 397 ac_init_help=short ;; 398 399 -host | --host | --hos | --ho) 400 ac_prev=host_alias ;; 401 -host=* | --host=* | --hos=* | --ho=*) 402 host_alias=$ac_optarg ;; 403 404 -includedir | --includedir | --includedi | --included | --include \ 405 | --includ | --inclu | --incl | --inc) 406 ac_prev=includedir ;; 407 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 408 | --includ=* | --inclu=* | --incl=* | --inc=*) 409 includedir=$ac_optarg ;; 410 411 -infodir | --infodir | --infodi | --infod | --info | --inf) 412 ac_prev=infodir ;; 413 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 414 infodir=$ac_optarg ;; 415 416 -libdir | --libdir | --libdi | --libd) 417 ac_prev=libdir ;; 418 -libdir=* | --libdir=* | --libdi=* | --libd=*) 419 libdir=$ac_optarg ;; 420 421 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 422 | --libexe | --libex | --libe) 423 ac_prev=libexecdir ;; 424 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 425 | --libexe=* | --libex=* | --libe=*) 426 libexecdir=$ac_optarg ;; 427 428 -localstatedir | --localstatedir | --localstatedi | --localstated \ 429 | --localstate | --localstat | --localsta | --localst \ 430 | --locals | --local | --loca | --loc | --lo) 431 ac_prev=localstatedir ;; 432 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 433 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 434 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 435 localstatedir=$ac_optarg ;; 436 437 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 438 ac_prev=mandir ;; 439 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 440 mandir=$ac_optarg ;; 441 442 -nfp | --nfp | --nf) 443 # Obsolete; use --without-fp. 444 with_fp=no ;; 445 446 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 447 | --no-cr | --no-c | -n) 448 no_create=yes ;; 449 450 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 451 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 452 no_recursion=yes ;; 453 454 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 455 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 456 | --oldin | --oldi | --old | --ol | --o) 457 ac_prev=oldincludedir ;; 458 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 459 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 460 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 461 oldincludedir=$ac_optarg ;; 462 463 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 464 ac_prev=prefix ;; 465 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 466 prefix=$ac_optarg ;; 467 468 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 469 | --program-pre | --program-pr | --program-p) 470 ac_prev=program_prefix ;; 471 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 472 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 473 program_prefix=$ac_optarg ;; 474 475 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 476 | --program-suf | --program-su | --program-s) 477 ac_prev=program_suffix ;; 478 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 479 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 480 program_suffix=$ac_optarg ;; 481 482 -program-transform-name | --program-transform-name \ 483 | --program-transform-nam | --program-transform-na \ 484 | --program-transform-n | --program-transform- \ 485 | --program-transform | --program-transfor \ 486 | --program-transfo | --program-transf \ 487 | --program-trans | --program-tran \ 488 | --progr-tra | --program-tr | --program-t) 489 ac_prev=program_transform_name ;; 490 -program-transform-name=* | --program-transform-name=* \ 491 | --program-transform-nam=* | --program-transform-na=* \ 492 | --program-transform-n=* | --program-transform-=* \ 493 | --program-transform=* | --program-transfor=* \ 494 | --program-transfo=* | --program-transf=* \ 495 | --program-trans=* | --program-tran=* \ 496 | --progr-tra=* | --program-tr=* | --program-t=*) 497 program_transform_name=$ac_optarg ;; 498 499 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 500 | -silent | --silent | --silen | --sile | --sil) 501 silent=yes ;; 502 503 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 504 ac_prev=sbindir ;; 505 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 506 | --sbi=* | --sb=*) 507 sbindir=$ac_optarg ;; 508 509 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 510 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 511 | --sharedst | --shareds | --shared | --share | --shar \ 512 | --sha | --sh) 513 ac_prev=sharedstatedir ;; 514 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 515 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 516 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 517 | --sha=* | --sh=*) 518 sharedstatedir=$ac_optarg ;; 519 520 -site | --site | --sit) 521 ac_prev=site ;; 522 -site=* | --site=* | --sit=*) 523 site=$ac_optarg ;; 524 525 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 526 ac_prev=srcdir ;; 527 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 528 srcdir=$ac_optarg ;; 529 530 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 531 | --syscon | --sysco | --sysc | --sys | --sy) 532 ac_prev=sysconfdir ;; 533 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 534 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 535 sysconfdir=$ac_optarg ;; 536 537 -target | --target | --targe | --targ | --tar | --ta | --t) 538 ac_prev=target_alias ;; 539 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 540 target_alias=$ac_optarg ;; 541 542 -v | -verbose | --verbose | --verbos | --verbo | --verb) 543 verbose=yes ;; 544 545 -version | --version | --versio | --versi | --vers | -V) 546 ac_init_version=: ;; 547 548 -with-* | --with-*) 549 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 550 # Reject names that are not valid shell variable names. 551 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 552 { echo "$as_me: error: invalid package name: $ac_package" >&2 553 { (exit 1); exit 1; }; } 554 ac_package=`echo $ac_package| sed 's/-/_/g'` 555 case $ac_option in 556 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 557 *) ac_optarg=yes ;; 558 esac 559 eval "with_$ac_package='$ac_optarg'" ;; 560 561 -without-* | --without-*) 562 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 563 # Reject names that are not valid shell variable names. 564 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 565 { echo "$as_me: error: invalid package name: $ac_package" >&2 566 { (exit 1); exit 1; }; } 567 ac_package=`echo $ac_package | sed 's/-/_/g'` 568 eval "with_$ac_package=no" ;; 569 570 --x) 571 # Obsolete; use --with-x. 572 with_x=yes ;; 573 574 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 575 | --x-incl | --x-inc | --x-in | --x-i) 576 ac_prev=x_includes ;; 577 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 578 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 579 x_includes=$ac_optarg ;; 580 581 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 582 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 583 ac_prev=x_libraries ;; 584 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 585 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 586 x_libraries=$ac_optarg ;; 587 588 -*) { echo "$as_me: error: unrecognized option: $ac_option 589Try \`$0 --help' for more information." >&2 590 { (exit 1); exit 1; }; } 591 ;; 592 593 *=*) 594 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 595 # Reject names that are not valid shell variable names. 596 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 597 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 598 { (exit 1); exit 1; }; } 599 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 600 eval "$ac_envvar='$ac_optarg'" 601 export $ac_envvar ;; 602 603 *) 604 # FIXME: should be removed in autoconf 3.0. 605 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 606 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 607 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 608 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 609 ;; 610 611 esac 612done 613 614if test -n "$ac_prev"; then 615 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 616 { echo "$as_me: error: missing argument to $ac_option" >&2 617 { (exit 1); exit 1; }; } 618fi 619 620# Be sure to have absolute paths. 621for ac_var in exec_prefix prefix 622do 623 eval ac_val=$`echo $ac_var` 624 case $ac_val in 625 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 626 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 627 { (exit 1); exit 1; }; };; 628 esac 629done 630 631# Be sure to have absolute paths. 632for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 633 localstatedir libdir includedir oldincludedir infodir mandir 634do 635 eval ac_val=$`echo $ac_var` 636 case $ac_val in 637 [\\/$]* | ?:[\\/]* ) ;; 638 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 639 { (exit 1); exit 1; }; };; 640 esac 641done 642 643# There might be people who depend on the old broken behavior: `$host' 644# used to hold the argument of --host etc. 645# FIXME: To remove some day. 646build=$build_alias 647host=$host_alias 648target=$target_alias 649 650# FIXME: To remove some day. 651if test "x$host_alias" != x; then 652 if test "x$build_alias" = x; then 653 cross_compiling=maybe 654 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 655 If a cross compiler is detected then cross compile mode will be used." >&2 656 elif test "x$build_alias" != "x$host_alias"; then 657 cross_compiling=yes 658 fi 659fi 660 661ac_tool_prefix= 662test -n "$host_alias" && ac_tool_prefix=$host_alias- 663 664test "$silent" = yes && exec 6>/dev/null 665 666 667# Find the source files, if location was not specified. 668if test -z "$srcdir"; then 669 ac_srcdir_defaulted=yes 670 # Try the directory containing this script, then its parent. 671 ac_confdir=`(dirname "$0") 2>/dev/null || 672$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 673 X"$0" : 'X\(//\)[^/]' \| \ 674 X"$0" : 'X\(//\)$' \| \ 675 X"$0" : 'X\(/\)' \| \ 676 . : '\(.\)' 2>/dev/null || 677echo X"$0" | 678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 679 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 680 /^X\(\/\/\)$/{ s//\1/; q; } 681 /^X\(\/\).*/{ s//\1/; q; } 682 s/.*/./; q'` 683 srcdir=$ac_confdir 684 if test ! -r $srcdir/$ac_unique_file; then 685 srcdir=.. 686 fi 687else 688 ac_srcdir_defaulted=no 689fi 690if test ! -r $srcdir/$ac_unique_file; then 691 if test "$ac_srcdir_defaulted" = yes; then 692 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 693 { (exit 1); exit 1; }; } 694 else 695 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 696 { (exit 1); exit 1; }; } 697 fi 698fi 699(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 700 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 701 { (exit 1); exit 1; }; } 702srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 703ac_env_build_alias_set=${build_alias+set} 704ac_env_build_alias_value=$build_alias 705ac_cv_env_build_alias_set=${build_alias+set} 706ac_cv_env_build_alias_value=$build_alias 707ac_env_host_alias_set=${host_alias+set} 708ac_env_host_alias_value=$host_alias 709ac_cv_env_host_alias_set=${host_alias+set} 710ac_cv_env_host_alias_value=$host_alias 711ac_env_target_alias_set=${target_alias+set} 712ac_env_target_alias_value=$target_alias 713ac_cv_env_target_alias_set=${target_alias+set} 714ac_cv_env_target_alias_value=$target_alias 715ac_env_CC_set=${CC+set} 716ac_env_CC_value=$CC 717ac_cv_env_CC_set=${CC+set} 718ac_cv_env_CC_value=$CC 719ac_env_CFLAGS_set=${CFLAGS+set} 720ac_env_CFLAGS_value=$CFLAGS 721ac_cv_env_CFLAGS_set=${CFLAGS+set} 722ac_cv_env_CFLAGS_value=$CFLAGS 723ac_env_LDFLAGS_set=${LDFLAGS+set} 724ac_env_LDFLAGS_value=$LDFLAGS 725ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 726ac_cv_env_LDFLAGS_value=$LDFLAGS 727ac_env_CPPFLAGS_set=${CPPFLAGS+set} 728ac_env_CPPFLAGS_value=$CPPFLAGS 729ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 730ac_cv_env_CPPFLAGS_value=$CPPFLAGS 731 732# 733# Report the --help message. 734# 735if test "$ac_init_help" = "long"; then 736 # Omit some internal or obsolete options to make the list less imposing. 737 # This message is too long to be a string in the A/UX 3.1 sh. 738 cat <<_ACEOF 739\`configure' configures icon-slicer 0.3 to adapt to many kinds of systems. 740 741Usage: $0 [OPTION]... [VAR=VALUE]... 742 743To assign environment variables (e.g., CC, CFLAGS...), specify them as 744VAR=VALUE. See below for descriptions of some of the useful variables. 745 746Defaults for the options are specified in brackets. 747 748Configuration: 749 -h, --help display this help and exit 750 --help=short display options specific to this package 751 --help=recursive display the short help of all the included packages 752 -V, --version display version information and exit 753 -q, --quiet, --silent do not print \`checking...' messages 754 --cache-file=FILE cache test results in FILE [disabled] 755 -C, --config-cache alias for \`--cache-file=config.cache' 756 -n, --no-create do not create output files 757 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 758 759_ACEOF 760 761 cat <<_ACEOF 762Installation directories: 763 --prefix=PREFIX install architecture-independent files in PREFIX 764 [$ac_default_prefix] 765 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 766 [PREFIX] 767 768By default, \`make install' will install all the files in 769\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 770an installation prefix other than \`$ac_default_prefix' using \`--prefix', 771for instance \`--prefix=\$HOME'. 772 773For better control, use the options below. 774 775Fine tuning of the installation directories: 776 --bindir=DIR user executables [EPREFIX/bin] 777 --sbindir=DIR system admin executables [EPREFIX/sbin] 778 --libexecdir=DIR program executables [EPREFIX/libexec] 779 --datadir=DIR read-only architecture-independent data [PREFIX/share] 780 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 781 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 782 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 783 --libdir=DIR object code libraries [EPREFIX/lib] 784 --includedir=DIR C header files [PREFIX/include] 785 --oldincludedir=DIR C header files for non-gcc [/usr/include] 786 --infodir=DIR info documentation [PREFIX/info] 787 --mandir=DIR man documentation [PREFIX/man] 788_ACEOF 789 790 cat <<\_ACEOF 791 792Program names: 793 --program-prefix=PREFIX prepend PREFIX to installed program names 794 --program-suffix=SUFFIX append SUFFIX to installed program names 795 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 796_ACEOF 797fi 798 799if test -n "$ac_init_help"; then 800 case $ac_init_help in 801 short | recursive ) echo "Configuration of icon-slicer 0.3:";; 802 esac 803 cat <<\_ACEOF 804 805Optional Features: 806 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 807 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 808 --disable-dependency-tracking Speeds up one-time builds 809 --enable-dependency-tracking Do not reject slow dependency extractors 810 811Some influential environment variables: 812 CC C compiler command 813 CFLAGS C compiler flags 814 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 815 nonstandard directory <lib dir> 816 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 817 headers in a nonstandard directory <include dir> 818 819Use these variables to override the choices made by `configure' or to help 820it to find libraries and programs with nonstandard names/locations. 821 822_ACEOF 823fi 824 825if test "$ac_init_help" = "recursive"; then 826 # If there are subdirs, report their specific --help. 827 ac_popdir=`pwd` 828 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 829 test -d $ac_dir || continue 830 ac_builddir=. 831 832if test "$ac_dir" != .; then 833 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 834 # A "../" for each directory in $ac_dir_suffix. 835 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 836else 837 ac_dir_suffix= ac_top_builddir= 838fi 839 840case $srcdir in 841 .) # No --srcdir option. We are building in place. 842 ac_srcdir=. 843 if test -z "$ac_top_builddir"; then 844 ac_top_srcdir=. 845 else 846 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 847 fi ;; 848 [\\/]* | ?:[\\/]* ) # Absolute path. 849 ac_srcdir=$srcdir$ac_dir_suffix; 850 ac_top_srcdir=$srcdir ;; 851 *) # Relative path. 852 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 853 ac_top_srcdir=$ac_top_builddir$srcdir ;; 854esac 855# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 856# absolute. 857ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 858ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 859ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 860ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 861 862 cd $ac_dir 863 # Check for guested configure; otherwise get Cygnus style configure. 864 if test -f $ac_srcdir/configure.gnu; then 865 echo 866 $SHELL $ac_srcdir/configure.gnu --help=recursive 867 elif test -f $ac_srcdir/configure; then 868 echo 869 $SHELL $ac_srcdir/configure --help=recursive 870 elif test -f $ac_srcdir/configure.ac || 871 test -f $ac_srcdir/configure.in; then 872 echo 873 $ac_configure --help 874 else 875 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 876 fi 877 cd $ac_popdir 878 done 879fi 880 881test -n "$ac_init_help" && exit 0 882if $ac_init_version; then 883 cat <<\_ACEOF 884icon-slicer configure 0.3 885generated by GNU Autoconf 2.57 886 887Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 888Free Software Foundation, Inc. 889This configure script is free software; the Free Software Foundation 890gives unlimited permission to copy, distribute and modify it. 891_ACEOF 892 exit 0 893fi 894exec 5>config.log 895cat >&5 <<_ACEOF 896This file contains any messages produced by compilers while 897running configure, to aid debugging if configure makes a mistake. 898 899It was created by icon-slicer $as_me 0.3, which was 900generated by GNU Autoconf 2.57. Invocation command line was 901 902 $ $0 $@ 903 904_ACEOF 905{ 906cat <<_ASUNAME 907## --------- ## 908## Platform. ## 909## --------- ## 910 911hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 912uname -m = `(uname -m) 2>/dev/null || echo unknown` 913uname -r = `(uname -r) 2>/dev/null || echo unknown` 914uname -s = `(uname -s) 2>/dev/null || echo unknown` 915uname -v = `(uname -v) 2>/dev/null || echo unknown` 916 917/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 918/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 919 920/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 921/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 922/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 923hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 924/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 925/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 926/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 927 928_ASUNAME 929 930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 931for as_dir in $PATH 932do 933 IFS=$as_save_IFS 934 test -z "$as_dir" && as_dir=. 935 echo "PATH: $as_dir" 936done 937 938} >&5 939 940cat >&5 <<_ACEOF 941 942 943## ----------- ## 944## Core tests. ## 945## ----------- ## 946 947_ACEOF 948 949 950# Keep a trace of the command line. 951# Strip out --no-create and --no-recursion so they do not pile up. 952# Strip out --silent because we don't want to record it for future runs. 953# Also quote any args containing shell meta-characters. 954# Make two passes to allow for proper duplicate-argument suppression. 955ac_configure_args= 956ac_configure_args0= 957ac_configure_args1= 958ac_sep= 959ac_must_keep_next=false 960for ac_pass in 1 2 961do 962 for ac_arg 963 do 964 case $ac_arg in 965 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 966 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 967 | -silent | --silent | --silen | --sile | --sil) 968 continue ;; 969 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 970 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 971 esac 972 case $ac_pass in 973 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 974 2) 975 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 976 if test $ac_must_keep_next = true; then 977 ac_must_keep_next=false # Got value, back to normal. 978 else 979 case $ac_arg in 980 *=* | --config-cache | -C | -disable-* | --disable-* \ 981 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 982 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 983 | -with-* | --with-* | -without-* | --without-* | --x) 984 case "$ac_configure_args0 " in 985 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 986 esac 987 ;; 988 -* ) ac_must_keep_next=true ;; 989 esac 990 fi 991 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 992 # Get rid of the leading space. 993 ac_sep=" " 994 ;; 995 esac 996 done 997done 998$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 999$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1000 1001# When interrupted or exit'd, cleanup temporary files, and complete 1002# config.log. We remove comments because anyway the quotes in there 1003# would cause problems or look ugly. 1004# WARNING: Be sure not to use single quotes in there, as some shells, 1005# such as our DU 5.0 friend, will then `close' the trap. 1006trap 'exit_status=$? 1007 # Save into config.log some information that might help in debugging. 1008 { 1009 echo 1010 1011 cat <<\_ASBOX 1012## ---------------- ## 1013## Cache variables. ## 1014## ---------------- ## 1015_ASBOX 1016 echo 1017 # The following way of writing the cache mishandles newlines in values, 1018{ 1019 (set) 2>&1 | 1020 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1021 *ac_space=\ *) 1022 sed -n \ 1023 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1025 ;; 1026 *) 1027 sed -n \ 1028 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1029 ;; 1030 esac; 1031} 1032 echo 1033 1034 cat <<\_ASBOX 1035## ----------------- ## 1036## Output variables. ## 1037## ----------------- ## 1038_ASBOX 1039 echo 1040 for ac_var in $ac_subst_vars 1041 do 1042 eval ac_val=$`echo $ac_var` 1043 echo "$ac_var='"'"'$ac_val'"'"'" 1044 done | sort 1045 echo 1046 1047 if test -n "$ac_subst_files"; then 1048 cat <<\_ASBOX 1049## ------------- ## 1050## Output files. ## 1051## ------------- ## 1052_ASBOX 1053 echo 1054 for ac_var in $ac_subst_files 1055 do 1056 eval ac_val=$`echo $ac_var` 1057 echo "$ac_var='"'"'$ac_val'"'"'" 1058 done | sort 1059 echo 1060 fi 1061 1062 if test -s confdefs.h; then 1063 cat <<\_ASBOX 1064## ----------- ## 1065## confdefs.h. ## 1066## ----------- ## 1067_ASBOX 1068 echo 1069 sed "/^$/d" confdefs.h | sort 1070 echo 1071 fi 1072 test "$ac_signal" != 0 && 1073 echo "$as_me: caught signal $ac_signal" 1074 echo "$as_me: exit $exit_status" 1075 } >&5 1076 rm -f core core.* *.core && 1077 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1078 exit $exit_status 1079 ' 0 1080for ac_signal in 1 2 13 15; do 1081 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1082done 1083ac_signal=0 1084 1085# confdefs.h avoids OS command line length limits that DEFS can exceed. 1086rm -rf conftest* confdefs.h 1087# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1088echo >confdefs.h 1089 1090# Predefined preprocessor variables. 1091 1092cat >>confdefs.h <<_ACEOF 1093#define PACKAGE_NAME "$PACKAGE_NAME" 1094_ACEOF 1095 1096 1097cat >>confdefs.h <<_ACEOF 1098#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1099_ACEOF 1100 1101 1102cat >>confdefs.h <<_ACEOF 1103#define PACKAGE_VERSION "$PACKAGE_VERSION" 1104_ACEOF 1105 1106 1107cat >>confdefs.h <<_ACEOF 1108#define PACKAGE_STRING "$PACKAGE_STRING" 1109_ACEOF 1110 1111 1112cat >>confdefs.h <<_ACEOF 1113#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1114_ACEOF 1115 1116 1117# Let the site file select an alternate cache file if it wants to. 1118# Prefer explicitly selected file to automatically selected ones. 1119if test -z "$CONFIG_SITE"; then 1120 if test "x$prefix" != xNONE; then 1121 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1122 else 1123 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1124 fi 1125fi 1126for ac_site_file in $CONFIG_SITE; do 1127 if test -r "$ac_site_file"; then 1128 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1129echo "$as_me: loading site script $ac_site_file" >&6;} 1130 sed 's/^/| /' "$ac_site_file" >&5 1131 . "$ac_site_file" 1132 fi 1133done 1134 1135if test -r "$cache_file"; then 1136 # Some versions of bash will fail to source /dev/null (special 1137 # files actually), so we avoid doing that. 1138 if test -f "$cache_file"; then 1139 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1140echo "$as_me: loading cache $cache_file" >&6;} 1141 case $cache_file in 1142 [\\/]* | ?:[\\/]* ) . $cache_file;; 1143 *) . ./$cache_file;; 1144 esac 1145 fi 1146else 1147 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1148echo "$as_me: creating cache $cache_file" >&6;} 1149 >$cache_file 1150fi 1151 1152# Check that the precious variables saved in the cache have kept the same 1153# value. 1154ac_cache_corrupted=false 1155for ac_var in `(set) 2>&1 | 1156 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1157 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1158 eval ac_new_set=\$ac_env_${ac_var}_set 1159 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1160 eval ac_new_val="\$ac_env_${ac_var}_value" 1161 case $ac_old_set,$ac_new_set in 1162 set,) 1163 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1164echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1165 ac_cache_corrupted=: ;; 1166 ,set) 1167 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1168echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1169 ac_cache_corrupted=: ;; 1170 ,);; 1171 *) 1172 if test "x$ac_old_val" != "x$ac_new_val"; then 1173 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1174echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1175 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1176echo "$as_me: former value: $ac_old_val" >&2;} 1177 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1178echo "$as_me: current value: $ac_new_val" >&2;} 1179 ac_cache_corrupted=: 1180 fi;; 1181 esac 1182 # Pass precious variables to config.status. 1183 if test "$ac_new_set" = set; then 1184 case $ac_new_val in 1185 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1186 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1187 *) ac_arg=$ac_var=$ac_new_val ;; 1188 esac 1189 case " $ac_configure_args " in 1190 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1191 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1192 esac 1193 fi 1194done 1195if $ac_cache_corrupted; then 1196 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1197echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1198 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1199echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1200 { (exit 1); exit 1; }; } 1201fi 1202 1203ac_ext=c 1204ac_cpp='$CPP $CPPFLAGS' 1205ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1206ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1207ac_compiler_gnu=$ac_cv_c_compiler_gnu 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237am__api_version="1.7" 1238ac_aux_dir= 1239for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1240 if test -f $ac_dir/install-sh; then 1241 ac_aux_dir=$ac_dir 1242 ac_install_sh="$ac_aux_dir/install-sh -c" 1243 break 1244 elif test -f $ac_dir/install.sh; then 1245 ac_aux_dir=$ac_dir 1246 ac_install_sh="$ac_aux_dir/install.sh -c" 1247 break 1248 elif test -f $ac_dir/shtool; then 1249 ac_aux_dir=$ac_dir 1250 ac_install_sh="$ac_aux_dir/shtool install -c" 1251 break 1252 fi 1253done 1254if test -z "$ac_aux_dir"; then 1255 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1256echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1257 { (exit 1); exit 1; }; } 1258fi 1259ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1260ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1261ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1262 1263# Find a good install program. We prefer a C program (faster), 1264# so one script is as good as another. But avoid the broken or 1265# incompatible versions: 1266# SysV /etc/install, /usr/sbin/install 1267# SunOS /usr/etc/install 1268# IRIX /sbin/install 1269# AIX /bin/install 1270# AmigaOS /C/install, which installs bootblocks on floppy discs 1271# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1272# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1273# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1274# ./install, which can be erroneously created by make from ./install.sh. 1275echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1276echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1277if test -z "$INSTALL"; then 1278if test "${ac_cv_path_install+set}" = set; then 1279 echo $ECHO_N "(cached) $ECHO_C" >&6 1280else 1281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1282for as_dir in $PATH 1283do 1284 IFS=$as_save_IFS 1285 test -z "$as_dir" && as_dir=. 1286 # Account for people who put trailing slashes in PATH elements. 1287case $as_dir/ in 1288 ./ | .// | /cC/* | \ 1289 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1290 /usr/ucb/* ) ;; 1291 *) 1292 # OSF1 and SCO ODT 3.0 have their own names for install. 1293 # Don't use installbsd from OSF since it installs stuff as root 1294 # by default. 1295 for ac_prog in ginstall scoinst install; do 1296 for ac_exec_ext in '' $ac_executable_extensions; do 1297 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1298 if test $ac_prog = install && 1299 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1300 # AIX install. It has an incompatible calling convention. 1301 : 1302 elif test $ac_prog = install && 1303 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1304 # program-specific install script used by HP pwplus--don't use. 1305 : 1306 else 1307 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1308 break 3 1309 fi 1310 fi 1311 done 1312 done 1313 ;; 1314esac 1315done 1316 1317 1318fi 1319 if test "${ac_cv_path_install+set}" = set; then 1320 INSTALL=$ac_cv_path_install 1321 else 1322 # As a last resort, use the slow shell script. We don't cache a 1323 # path for INSTALL within a source directory, because that will 1324 # break other packages using the cache if that directory is 1325 # removed, or if the path is relative. 1326 INSTALL=$ac_install_sh 1327 fi 1328fi 1329echo "$as_me:$LINENO: result: $INSTALL" >&5 1330echo "${ECHO_T}$INSTALL" >&6 1331 1332# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1333# It thinks the first close brace ends the variable substitution. 1334test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1335 1336test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1337 1338test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1339 1340echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1341echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1342# Just in case 1343sleep 1 1344echo timestamp > conftest.file 1345# Do `set' in a subshell so we don't clobber the current shell's 1346# arguments. Must try -L first in case configure is actually a 1347# symlink; some systems play weird games with the mod time of symlinks 1348# (eg FreeBSD returns the mod time of the symlink's containing 1349# directory). 1350if ( 1351 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1352 if test "$*" = "X"; then 1353 # -L didn't work. 1354 set X `ls -t $srcdir/configure conftest.file` 1355 fi 1356 rm -f conftest.file 1357 if test "$*" != "X $srcdir/configure conftest.file" \ 1358 && test "$*" != "X conftest.file $srcdir/configure"; then 1359 1360 # If neither matched, then we have a broken ls. This can happen 1361 # if, for instance, CONFIG_SHELL is bash and it inherits a 1362 # broken ls alias from the environment. This has actually 1363 # happened. Such a system could not be considered "sane". 1364 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1365alias in your environment" >&5 1366echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1367alias in your environment" >&2;} 1368 { (exit 1); exit 1; }; } 1369 fi 1370 1371 test "$2" = conftest.file 1372 ) 1373then 1374 # Ok. 1375 : 1376else 1377 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1378Check your system clock" >&5 1379echo "$as_me: error: newly created file is older than distributed files! 1380Check your system clock" >&2;} 1381 { (exit 1); exit 1; }; } 1382fi 1383echo "$as_me:$LINENO: result: yes" >&5 1384echo "${ECHO_T}yes" >&6 1385test "$program_prefix" != NONE && 1386 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1387# Use a double $ so make ignores it. 1388test "$program_suffix" != NONE && 1389 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1390# Double any \ or $. echo might interpret backslashes. 1391# By default was `s,x,x', remove it if useless. 1392cat <<\_ACEOF >conftest.sed 1393s/[\\$]/&&/g;s/;s,x,x,$// 1394_ACEOF 1395program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1396rm conftest.sed 1397 1398 1399# expand $ac_aux_dir to an absolute path 1400am_aux_dir=`cd $ac_aux_dir && pwd` 1401 1402test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1403# Use eval to expand $SHELL 1404if eval "$MISSING --run true"; then 1405 am_missing_run="$MISSING --run " 1406else 1407 am_missing_run= 1408 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1409echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1410fi 1411 1412for ac_prog in gawk mawk nawk awk 1413do 1414 # Extract the first word of "$ac_prog", so it can be a program name with args. 1415set dummy $ac_prog; ac_word=$2 1416echo "$as_me:$LINENO: checking for $ac_word" >&5 1417echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1418if test "${ac_cv_prog_AWK+set}" = set; then 1419 echo $ECHO_N "(cached) $ECHO_C" >&6 1420else 1421 if test -n "$AWK"; then 1422 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1423else 1424as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1425for as_dir in $PATH 1426do 1427 IFS=$as_save_IFS 1428 test -z "$as_dir" && as_dir=. 1429 for ac_exec_ext in '' $ac_executable_extensions; do 1430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1431 ac_cv_prog_AWK="$ac_prog" 1432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1433 break 2 1434 fi 1435done 1436done 1437 1438fi 1439fi 1440AWK=$ac_cv_prog_AWK 1441if test -n "$AWK"; then 1442 echo "$as_me:$LINENO: result: $AWK" >&5 1443echo "${ECHO_T}$AWK" >&6 1444else 1445 echo "$as_me:$LINENO: result: no" >&5 1446echo "${ECHO_T}no" >&6 1447fi 1448 1449 test -n "$AWK" && break 1450done 1451 1452echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1453echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1454set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` 1455if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1456 echo $ECHO_N "(cached) $ECHO_C" >&6 1457else 1458 cat >conftest.make <<\_ACEOF 1459all: 1460 @echo 'ac_maketemp="$(MAKE)"' 1461_ACEOF 1462# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1463eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1464if test -n "$ac_maketemp"; then 1465 eval ac_cv_prog_make_${ac_make}_set=yes 1466else 1467 eval ac_cv_prog_make_${ac_make}_set=no 1468fi 1469rm -f conftest.make 1470fi 1471if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1472 echo "$as_me:$LINENO: result: yes" >&5 1473echo "${ECHO_T}yes" >&6 1474 SET_MAKE= 1475else 1476 echo "$as_me:$LINENO: result: no" >&5 1477echo "${ECHO_T}no" >&6 1478 SET_MAKE="MAKE=${MAKE-make}" 1479fi 1480 1481rm -rf .tst 2>/dev/null 1482mkdir .tst 2>/dev/null 1483if test -d .tst; then 1484 am__leading_dot=. 1485else 1486 am__leading_dot=_ 1487fi 1488rmdir .tst 2>/dev/null 1489 1490 # test to see if srcdir already configured 1491if test "`cd $srcdir && pwd`" != "`pwd`" && 1492 test -f $srcdir/config.status; then 1493 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1494echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1495 { (exit 1); exit 1; }; } 1496fi 1497 1498# test whether we have cygpath 1499if test -z "$CYGPATH_W"; then 1500 if (cygpath --version) >/dev/null 2>/dev/null; then 1501 CYGPATH_W='cygpath -w' 1502 else 1503 CYGPATH_W=echo 1504 fi 1505fi 1506 1507 1508# Define the identity of the package. 1509 PACKAGE='icon-slicer' 1510 VERSION='0.3' 1511 1512 1513# Some tools Automake needs. 1514 1515ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 1516 1517 1518AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1519 1520 1521AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 1522 1523 1524AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1525 1526 1527MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1528 1529 1530AMTAR=${AMTAR-"${am_missing_run}tar"} 1531 1532install_sh=${install_sh-"$am_aux_dir/install-sh"} 1533 1534# Installed binaries are usually stripped using `strip' when the user 1535# run `make install-strip'. However `strip' might not be the right 1536# tool to use in cross-compilation environments, therefore Automake 1537# will honor the `STRIP' environment variable to overrule this program. 1538if test "$cross_compiling" != no; then 1539 if test -n "$ac_tool_prefix"; then 1540 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1541set dummy ${ac_tool_prefix}strip; ac_word=$2 1542echo "$as_me:$LINENO: checking for $ac_word" >&5 1543echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1544if test "${ac_cv_prog_STRIP+set}" = set; then 1545 echo $ECHO_N "(cached) $ECHO_C" >&6 1546else 1547 if test -n "$STRIP"; then 1548 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1549else 1550as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1551for as_dir in $PATH 1552do 1553 IFS=$as_save_IFS 1554 test -z "$as_dir" && as_dir=. 1555 for ac_exec_ext in '' $ac_executable_extensions; do 1556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1557 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1559 break 2 1560 fi 1561done 1562done 1563 1564fi 1565fi 1566STRIP=$ac_cv_prog_STRIP 1567if test -n "$STRIP"; then 1568 echo "$as_me:$LINENO: result: $STRIP" >&5 1569echo "${ECHO_T}$STRIP" >&6 1570else 1571 echo "$as_me:$LINENO: result: no" >&5 1572echo "${ECHO_T}no" >&6 1573fi 1574 1575fi 1576if test -z "$ac_cv_prog_STRIP"; then 1577 ac_ct_STRIP=$STRIP 1578 # Extract the first word of "strip", so it can be a program name with args. 1579set dummy strip; ac_word=$2 1580echo "$as_me:$LINENO: checking for $ac_word" >&5 1581echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1582if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 1583 echo $ECHO_N "(cached) $ECHO_C" >&6 1584else 1585 if test -n "$ac_ct_STRIP"; then 1586 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1587else 1588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1589for as_dir in $PATH 1590do 1591 IFS=$as_save_IFS 1592 test -z "$as_dir" && as_dir=. 1593 for ac_exec_ext in '' $ac_executable_extensions; do 1594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1595 ac_cv_prog_ac_ct_STRIP="strip" 1596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1597 break 2 1598 fi 1599done 1600done 1601 1602 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 1603fi 1604fi 1605ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1606if test -n "$ac_ct_STRIP"; then 1607 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 1608echo "${ECHO_T}$ac_ct_STRIP" >&6 1609else 1610 echo "$as_me:$LINENO: result: no" >&5 1611echo "${ECHO_T}no" >&6 1612fi 1613 1614 STRIP=$ac_ct_STRIP 1615else 1616 STRIP="$ac_cv_prog_STRIP" 1617fi 1618 1619fi 1620INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1621 1622# We need awk for the "check" target. The system "awk" is bad on 1623# some platforms. 1624 1625 1626 1627 ac_config_headers="$ac_config_headers config.h" 1628 1629 1630ac_ext=c 1631ac_cpp='$CPP $CPPFLAGS' 1632ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1633ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1634ac_compiler_gnu=$ac_cv_c_compiler_gnu 1635if test -n "$ac_tool_prefix"; then 1636 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1637set dummy ${ac_tool_prefix}gcc; ac_word=$2 1638echo "$as_me:$LINENO: checking for $ac_word" >&5 1639echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1640if test "${ac_cv_prog_CC+set}" = set; then 1641 echo $ECHO_N "(cached) $ECHO_C" >&6 1642else 1643 if test -n "$CC"; then 1644 ac_cv_prog_CC="$CC" # Let the user override the test. 1645else 1646as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1647for as_dir in $PATH 1648do 1649 IFS=$as_save_IFS 1650 test -z "$as_dir" && as_dir=. 1651 for ac_exec_ext in '' $ac_executable_extensions; do 1652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1653 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1655 break 2 1656 fi 1657done 1658done 1659 1660fi 1661fi 1662CC=$ac_cv_prog_CC 1663if test -n "$CC"; then 1664 echo "$as_me:$LINENO: result: $CC" >&5 1665echo "${ECHO_T}$CC" >&6 1666else 1667 echo "$as_me:$LINENO: result: no" >&5 1668echo "${ECHO_T}no" >&6 1669fi 1670 1671fi 1672if test -z "$ac_cv_prog_CC"; then 1673 ac_ct_CC=$CC 1674 # Extract the first word of "gcc", so it can be a program name with args. 1675set dummy gcc; ac_word=$2 1676echo "$as_me:$LINENO: checking for $ac_word" >&5 1677echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1678if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1679 echo $ECHO_N "(cached) $ECHO_C" >&6 1680else 1681 if test -n "$ac_ct_CC"; then 1682 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1683else 1684as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1685for as_dir in $PATH 1686do 1687 IFS=$as_save_IFS 1688 test -z "$as_dir" && as_dir=. 1689 for ac_exec_ext in '' $ac_executable_extensions; do 1690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1691 ac_cv_prog_ac_ct_CC="gcc" 1692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1693 break 2 1694 fi 1695done 1696done 1697 1698fi 1699fi 1700ac_ct_CC=$ac_cv_prog_ac_ct_CC 1701if test -n "$ac_ct_CC"; then 1702 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1703echo "${ECHO_T}$ac_ct_CC" >&6 1704else 1705 echo "$as_me:$LINENO: result: no" >&5 1706echo "${ECHO_T}no" >&6 1707fi 1708 1709 CC=$ac_ct_CC 1710else 1711 CC="$ac_cv_prog_CC" 1712fi 1713 1714if test -z "$CC"; then 1715 if test -n "$ac_tool_prefix"; then 1716 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1717set dummy ${ac_tool_prefix}cc; ac_word=$2 1718echo "$as_me:$LINENO: checking for $ac_word" >&5 1719echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1720if test "${ac_cv_prog_CC+set}" = set; then 1721 echo $ECHO_N "(cached) $ECHO_C" >&6 1722else 1723 if test -n "$CC"; then 1724 ac_cv_prog_CC="$CC" # Let the user override the test. 1725else 1726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1727for as_dir in $PATH 1728do 1729 IFS=$as_save_IFS 1730 test -z "$as_dir" && as_dir=. 1731 for ac_exec_ext in '' $ac_executable_extensions; do 1732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1733 ac_cv_prog_CC="${ac_tool_prefix}cc" 1734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1735 break 2 1736 fi 1737done 1738done 1739 1740fi 1741fi 1742CC=$ac_cv_prog_CC 1743if test -n "$CC"; then 1744 echo "$as_me:$LINENO: result: $CC" >&5 1745echo "${ECHO_T}$CC" >&6 1746else 1747 echo "$as_me:$LINENO: result: no" >&5 1748echo "${ECHO_T}no" >&6 1749fi 1750 1751fi 1752if test -z "$ac_cv_prog_CC"; then 1753 ac_ct_CC=$CC 1754 # Extract the first word of "cc", so it can be a program name with args. 1755set dummy cc; ac_word=$2 1756echo "$as_me:$LINENO: checking for $ac_word" >&5 1757echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1758if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1759 echo $ECHO_N "(cached) $ECHO_C" >&6 1760else 1761 if test -n "$ac_ct_CC"; then 1762 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1763else 1764as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1765for as_dir in $PATH 1766do 1767 IFS=$as_save_IFS 1768 test -z "$as_dir" && as_dir=. 1769 for ac_exec_ext in '' $ac_executable_extensions; do 1770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1771 ac_cv_prog_ac_ct_CC="cc" 1772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1773 break 2 1774 fi 1775done 1776done 1777 1778fi 1779fi 1780ac_ct_CC=$ac_cv_prog_ac_ct_CC 1781if test -n "$ac_ct_CC"; then 1782 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1783echo "${ECHO_T}$ac_ct_CC" >&6 1784else 1785 echo "$as_me:$LINENO: result: no" >&5 1786echo "${ECHO_T}no" >&6 1787fi 1788 1789 CC=$ac_ct_CC 1790else 1791 CC="$ac_cv_prog_CC" 1792fi 1793 1794fi 1795if test -z "$CC"; then 1796 # Extract the first word of "cc", so it can be a program name with args. 1797set dummy cc; ac_word=$2 1798echo "$as_me:$LINENO: checking for $ac_word" >&5 1799echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1800if test "${ac_cv_prog_CC+set}" = set; then 1801 echo $ECHO_N "(cached) $ECHO_C" >&6 1802else 1803 if test -n "$CC"; then 1804 ac_cv_prog_CC="$CC" # Let the user override the test. 1805else 1806 ac_prog_rejected=no 1807as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1808for as_dir in $PATH 1809do 1810 IFS=$as_save_IFS 1811 test -z "$as_dir" && as_dir=. 1812 for ac_exec_ext in '' $ac_executable_extensions; do 1813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1814 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1815 ac_prog_rejected=yes 1816 continue 1817 fi 1818 ac_cv_prog_CC="cc" 1819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1820 break 2 1821 fi 1822done 1823done 1824 1825if test $ac_prog_rejected = yes; then 1826 # We found a bogon in the path, so make sure we never use it. 1827 set dummy $ac_cv_prog_CC 1828 shift 1829 if test $# != 0; then 1830 # We chose a different compiler from the bogus one. 1831 # However, it has the same basename, so the bogon will be chosen 1832 # first if we set CC to just the basename; use the full file name. 1833 shift 1834 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1835 fi 1836fi 1837fi 1838fi 1839CC=$ac_cv_prog_CC 1840if test -n "$CC"; then 1841 echo "$as_me:$LINENO: result: $CC" >&5 1842echo "${ECHO_T}$CC" >&6 1843else 1844 echo "$as_me:$LINENO: result: no" >&5 1845echo "${ECHO_T}no" >&6 1846fi 1847 1848fi 1849if test -z "$CC"; then 1850 if test -n "$ac_tool_prefix"; then 1851 for ac_prog in cl 1852 do 1853 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1854set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1855echo "$as_me:$LINENO: checking for $ac_word" >&5 1856echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1857if test "${ac_cv_prog_CC+set}" = set; then 1858 echo $ECHO_N "(cached) $ECHO_C" >&6 1859else 1860 if test -n "$CC"; then 1861 ac_cv_prog_CC="$CC" # Let the user override the test. 1862else 1863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1864for as_dir in $PATH 1865do 1866 IFS=$as_save_IFS 1867 test -z "$as_dir" && as_dir=. 1868 for ac_exec_ext in '' $ac_executable_extensions; do 1869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1870 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1872 break 2 1873 fi 1874done 1875done 1876 1877fi 1878fi 1879CC=$ac_cv_prog_CC 1880if test -n "$CC"; then 1881 echo "$as_me:$LINENO: result: $CC" >&5 1882echo "${ECHO_T}$CC" >&6 1883else 1884 echo "$as_me:$LINENO: result: no" >&5 1885echo "${ECHO_T}no" >&6 1886fi 1887 1888 test -n "$CC" && break 1889 done 1890fi 1891if test -z "$CC"; then 1892 ac_ct_CC=$CC 1893 for ac_prog in cl 1894do 1895 # Extract the first word of "$ac_prog", so it can be a program name with args. 1896set dummy $ac_prog; ac_word=$2 1897echo "$as_me:$LINENO: checking for $ac_word" >&5 1898echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1899if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1900 echo $ECHO_N "(cached) $ECHO_C" >&6 1901else 1902 if test -n "$ac_ct_CC"; then 1903 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1904else 1905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1906for as_dir in $PATH 1907do 1908 IFS=$as_save_IFS 1909 test -z "$as_dir" && as_dir=. 1910 for ac_exec_ext in '' $ac_executable_extensions; do 1911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1912 ac_cv_prog_ac_ct_CC="$ac_prog" 1913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1914 break 2 1915 fi 1916done 1917done 1918 1919fi 1920fi 1921ac_ct_CC=$ac_cv_prog_ac_ct_CC 1922if test -n "$ac_ct_CC"; then 1923 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1924echo "${ECHO_T}$ac_ct_CC" >&6 1925else 1926 echo "$as_me:$LINENO: result: no" >&5 1927echo "${ECHO_T}no" >&6 1928fi 1929 1930 test -n "$ac_ct_CC" && break 1931done 1932 1933 CC=$ac_ct_CC 1934fi 1935 1936fi 1937 1938 1939test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1940See \`config.log' for more details." >&5 1941echo "$as_me: error: no acceptable C compiler found in \$PATH 1942See \`config.log' for more details." >&2;} 1943 { (exit 1); exit 1; }; } 1944 1945# Provide some information about the compiler. 1946echo "$as_me:$LINENO:" \ 1947 "checking for C compiler version" >&5 1948ac_compiler=`set X $ac_compile; echo $2` 1949{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1950 (eval $ac_compiler --version </dev/null >&5) 2>&5 1951 ac_status=$? 1952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1953 (exit $ac_status); } 1954{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1955 (eval $ac_compiler -v </dev/null >&5) 2>&5 1956 ac_status=$? 1957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1958 (exit $ac_status); } 1959{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1960 (eval $ac_compiler -V </dev/null >&5) 2>&5 1961 ac_status=$? 1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1963 (exit $ac_status); } 1964 1965cat >conftest.$ac_ext <<_ACEOF 1966#line $LINENO "configure" 1967/* confdefs.h. */ 1968_ACEOF 1969cat confdefs.h >>conftest.$ac_ext 1970cat >>conftest.$ac_ext <<_ACEOF 1971/* end confdefs.h. */ 1972 1973int 1974main () 1975{ 1976 1977 ; 1978 return 0; 1979} 1980_ACEOF 1981ac_clean_files_save=$ac_clean_files 1982ac_clean_files="$ac_clean_files a.out a.exe b.out" 1983# Try to create an executable without -o first, disregard a.out. 1984# It will help us diagnose broken compilers, and finding out an intuition 1985# of exeext. 1986echo "$as_me:$LINENO: checking for C compiler default output" >&5 1987echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1988ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1989if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1990 (eval $ac_link_default) 2>&5 1991 ac_status=$? 1992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1993 (exit $ac_status); }; then 1994 # Find the output, starting from the most likely. This scheme is 1995# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1996# resort. 1997 1998# Be careful to initialize this variable, since it used to be cached. 1999# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2000ac_cv_exeext= 2001# b.out is created by i960 compilers. 2002for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2003do 2004 test -f "$ac_file" || continue 2005 case $ac_file in 2006 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2007 ;; 2008 conftest.$ac_ext ) 2009 # This is the source file. 2010 ;; 2011 [ab].out ) 2012 # We found the default executable, but exeext='' is most 2013 # certainly right. 2014 break;; 2015 *.* ) 2016 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2017 # FIXME: I believe we export ac_cv_exeext for Libtool, 2018 # but it would be cool to find out if it's true. Does anybody 2019 # maintain Libtool? --akim. 2020 export ac_cv_exeext 2021 break;; 2022 * ) 2023 break;; 2024 esac 2025done 2026else 2027 echo "$as_me: failed program was:" >&5 2028sed 's/^/| /' conftest.$ac_ext >&5 2029 2030{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2031See \`config.log' for more details." >&5 2032echo "$as_me: error: C compiler cannot create executables 2033See \`config.log' for more details." >&2;} 2034 { (exit 77); exit 77; }; } 2035fi 2036 2037ac_exeext=$ac_cv_exeext 2038echo "$as_me:$LINENO: result: $ac_file" >&5 2039echo "${ECHO_T}$ac_file" >&6 2040 2041# Check the compiler produces executables we can run. If not, either 2042# the compiler is broken, or we cross compile. 2043echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2044echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2045# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2046# If not cross compiling, check that we can run a simple program. 2047if test "$cross_compiling" != yes; then 2048 if { ac_try='./$ac_file' 2049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2050 (eval $ac_try) 2>&5 2051 ac_status=$? 2052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2053 (exit $ac_status); }; }; then 2054 cross_compiling=no 2055 else 2056 if test "$cross_compiling" = maybe; then 2057 cross_compiling=yes 2058 else 2059 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2060If you meant to cross compile, use \`--host'. 2061See \`config.log' for more details." >&5 2062echo "$as_me: error: cannot run C compiled programs. 2063If you meant to cross compile, use \`--host'. 2064See \`config.log' for more details." >&2;} 2065 { (exit 1); exit 1; }; } 2066 fi 2067 fi 2068fi 2069echo "$as_me:$LINENO: result: yes" >&5 2070echo "${ECHO_T}yes" >&6 2071 2072rm -f a.out a.exe conftest$ac_cv_exeext b.out 2073ac_clean_files=$ac_clean_files_save 2074# Check the compiler produces executables we can run. If not, either 2075# the compiler is broken, or we cross compile. 2076echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2077echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2078echo "$as_me:$LINENO: result: $cross_compiling" >&5 2079echo "${ECHO_T}$cross_compiling" >&6 2080 2081echo "$as_me:$LINENO: checking for suffix of executables" >&5 2082echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2083if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2084 (eval $ac_link) 2>&5 2085 ac_status=$? 2086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2087 (exit $ac_status); }; then 2088 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2089# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2090# work properly (i.e., refer to `conftest.exe'), while it won't with 2091# `rm'. 2092for ac_file in conftest.exe conftest conftest.*; do 2093 test -f "$ac_file" || continue 2094 case $ac_file in 2095 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2096 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2097 export ac_cv_exeext 2098 break;; 2099 * ) break;; 2100 esac 2101done 2102else 2103 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2104See \`config.log' for more details." >&5 2105echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2106See \`config.log' for more details." >&2;} 2107 { (exit 1); exit 1; }; } 2108fi 2109 2110rm -f conftest$ac_cv_exeext 2111echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2112echo "${ECHO_T}$ac_cv_exeext" >&6 2113 2114rm -f conftest.$ac_ext 2115EXEEXT=$ac_cv_exeext 2116ac_exeext=$EXEEXT 2117echo "$as_me:$LINENO: checking for suffix of object files" >&5 2118echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2119if test "${ac_cv_objext+set}" = set; then 2120 echo $ECHO_N "(cached) $ECHO_C" >&6 2121else 2122 cat >conftest.$ac_ext <<_ACEOF 2123#line $LINENO "configure" 2124/* confdefs.h. */ 2125_ACEOF 2126cat confdefs.h >>conftest.$ac_ext 2127cat >>conftest.$ac_ext <<_ACEOF 2128/* end confdefs.h. */ 2129 2130int 2131main () 2132{ 2133 2134 ; 2135 return 0; 2136} 2137_ACEOF 2138rm -f conftest.o conftest.obj 2139if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2140 (eval $ac_compile) 2>&5 2141 ac_status=$? 2142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2143 (exit $ac_status); }; then 2144 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2145 case $ac_file in 2146 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2147 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2148 break;; 2149 esac 2150done 2151else 2152 echo "$as_me: failed program was:" >&5 2153sed 's/^/| /' conftest.$ac_ext >&5 2154 2155{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2156See \`config.log' for more details." >&5 2157echo "$as_me: error: cannot compute suffix of object files: cannot compile 2158See \`config.log' for more details." >&2;} 2159 { (exit 1); exit 1; }; } 2160fi 2161 2162rm -f conftest.$ac_cv_objext conftest.$ac_ext 2163fi 2164echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2165echo "${ECHO_T}$ac_cv_objext" >&6 2166OBJEXT=$ac_cv_objext 2167ac_objext=$OBJEXT 2168echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2169echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2170if test "${ac_cv_c_compiler_gnu+set}" = set; then 2171 echo $ECHO_N "(cached) $ECHO_C" >&6 2172else 2173 cat >conftest.$ac_ext <<_ACEOF 2174#line $LINENO "configure" 2175/* confdefs.h. */ 2176_ACEOF 2177cat confdefs.h >>conftest.$ac_ext 2178cat >>conftest.$ac_ext <<_ACEOF 2179/* end confdefs.h. */ 2180 2181int 2182main () 2183{ 2184#ifndef __GNUC__ 2185 choke me 2186#endif 2187 2188 ; 2189 return 0; 2190} 2191_ACEOF 2192rm -f conftest.$ac_objext 2193if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2194 (eval $ac_compile) 2>&5 2195 ac_status=$? 2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2197 (exit $ac_status); } && 2198 { ac_try='test -s conftest.$ac_objext' 2199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2200 (eval $ac_try) 2>&5 2201 ac_status=$? 2202 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2203 (exit $ac_status); }; }; then 2204 ac_compiler_gnu=yes 2205else 2206 echo "$as_me: failed program was:" >&5 2207sed 's/^/| /' conftest.$ac_ext >&5 2208 2209ac_compiler_gnu=no 2210fi 2211rm -f conftest.$ac_objext conftest.$ac_ext 2212ac_cv_c_compiler_gnu=$ac_compiler_gnu 2213 2214fi 2215echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2216echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2217GCC=`test $ac_compiler_gnu = yes && echo yes` 2218ac_test_CFLAGS=${CFLAGS+set} 2219ac_save_CFLAGS=$CFLAGS 2220CFLAGS="-g" 2221echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2222echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2223if test "${ac_cv_prog_cc_g+set}" = set; then 2224 echo $ECHO_N "(cached) $ECHO_C" >&6 2225else 2226 cat >conftest.$ac_ext <<_ACEOF 2227#line $LINENO "configure" 2228/* confdefs.h. */ 2229_ACEOF 2230cat confdefs.h >>conftest.$ac_ext 2231cat >>conftest.$ac_ext <<_ACEOF 2232/* end confdefs.h. */ 2233 2234int 2235main () 2236{ 2237 2238 ; 2239 return 0; 2240} 2241_ACEOF 2242rm -f conftest.$ac_objext 2243if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2244 (eval $ac_compile) 2>&5 2245 ac_status=$? 2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2247 (exit $ac_status); } && 2248 { ac_try='test -s conftest.$ac_objext' 2249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2250 (eval $ac_try) 2>&5 2251 ac_status=$? 2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2253 (exit $ac_status); }; }; then 2254 ac_cv_prog_cc_g=yes 2255else 2256 echo "$as_me: failed program was:" >&5 2257sed 's/^/| /' conftest.$ac_ext >&5 2258 2259ac_cv_prog_cc_g=no 2260fi 2261rm -f conftest.$ac_objext conftest.$ac_ext 2262fi 2263echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2264echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2265if test "$ac_test_CFLAGS" = set; then 2266 CFLAGS=$ac_save_CFLAGS 2267elif test $ac_cv_prog_cc_g = yes; then 2268 if test "$GCC" = yes; then 2269 CFLAGS="-g -O2" 2270 else 2271 CFLAGS="-g" 2272 fi 2273else 2274 if test "$GCC" = yes; then 2275 CFLAGS="-O2" 2276 else 2277 CFLAGS= 2278 fi 2279fi 2280echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2281echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2282if test "${ac_cv_prog_cc_stdc+set}" = set; then 2283 echo $ECHO_N "(cached) $ECHO_C" >&6 2284else 2285 ac_cv_prog_cc_stdc=no 2286ac_save_CC=$CC 2287cat >conftest.$ac_ext <<_ACEOF 2288#line $LINENO "configure" 2289/* confdefs.h. */ 2290_ACEOF 2291cat confdefs.h >>conftest.$ac_ext 2292cat >>conftest.$ac_ext <<_ACEOF 2293/* end confdefs.h. */ 2294#include <stdarg.h> 2295#include <stdio.h> 2296#include <sys/types.h> 2297#include <sys/stat.h> 2298/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2299struct buf { int x; }; 2300FILE * (*rcsopen) (struct buf *, struct stat *, int); 2301static char *e (p, i) 2302 char **p; 2303 int i; 2304{ 2305 return p[i]; 2306} 2307static char *f (char * (*g) (char **, int), char **p, ...) 2308{ 2309 char *s; 2310 va_list v; 2311 va_start (v,p); 2312 s = g (p, va_arg (v,int)); 2313 va_end (v); 2314 return s; 2315} 2316int test (int i, double x); 2317struct s1 {int (*f) (int a);}; 2318struct s2 {int (*f) (double a);}; 2319int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2320int argc; 2321char **argv; 2322int 2323main () 2324{ 2325return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2326 ; 2327 return 0; 2328} 2329_ACEOF 2330# Don't try gcc -ansi; that turns off useful extensions and 2331# breaks some systems' header files. 2332# AIX -qlanglvl=ansi 2333# Ultrix and OSF/1 -std1 2334# HP-UX 10.20 and later -Ae 2335# HP-UX older versions -Aa -D_HPUX_SOURCE 2336# SVR4 -Xc -D__EXTENSIONS__ 2337for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2338do 2339 CC="$ac_save_CC $ac_arg" 2340 rm -f conftest.$ac_objext 2341if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2342 (eval $ac_compile) 2>&5 2343 ac_status=$? 2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2345 (exit $ac_status); } && 2346 { ac_try='test -s conftest.$ac_objext' 2347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2348 (eval $ac_try) 2>&5 2349 ac_status=$? 2350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2351 (exit $ac_status); }; }; then 2352 ac_cv_prog_cc_stdc=$ac_arg 2353break 2354else 2355 echo "$as_me: failed program was:" >&5 2356sed 's/^/| /' conftest.$ac_ext >&5 2357 2358fi 2359rm -f conftest.$ac_objext 2360done 2361rm -f conftest.$ac_ext conftest.$ac_objext 2362CC=$ac_save_CC 2363 2364fi 2365 2366case "x$ac_cv_prog_cc_stdc" in 2367 x|xno) 2368 echo "$as_me:$LINENO: result: none needed" >&5 2369echo "${ECHO_T}none needed" >&6 ;; 2370 *) 2371 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2372echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2373 CC="$CC $ac_cv_prog_cc_stdc" ;; 2374esac 2375 2376# Some people use a C++ compiler to compile C. Since we use `exit', 2377# in C++ we need to declare it. In case someone uses the same compiler 2378# for both compiling C and C++ we need to have the C++ compiler decide 2379# the declaration of exit, since it's the most demanding environment. 2380cat >conftest.$ac_ext <<_ACEOF 2381#ifndef __cplusplus 2382 choke me 2383#endif 2384_ACEOF 2385rm -f conftest.$ac_objext 2386if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2387 (eval $ac_compile) 2>&5 2388 ac_status=$? 2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2390 (exit $ac_status); } && 2391 { ac_try='test -s conftest.$ac_objext' 2392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2393 (eval $ac_try) 2>&5 2394 ac_status=$? 2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2396 (exit $ac_status); }; }; then 2397 for ac_declaration in \ 2398 ''\ 2399 '#include <stdlib.h>' \ 2400 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2401 'extern "C" void std::exit (int); using std::exit;' \ 2402 'extern "C" void exit (int) throw ();' \ 2403 'extern "C" void exit (int);' \ 2404 'void exit (int);' 2405do 2406 cat >conftest.$ac_ext <<_ACEOF 2407#line $LINENO "configure" 2408/* confdefs.h. */ 2409_ACEOF 2410cat confdefs.h >>conftest.$ac_ext 2411cat >>conftest.$ac_ext <<_ACEOF 2412/* end confdefs.h. */ 2413#include <stdlib.h> 2414$ac_declaration 2415int 2416main () 2417{ 2418exit (42); 2419 ; 2420 return 0; 2421} 2422_ACEOF 2423rm -f conftest.$ac_objext 2424if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2425 (eval $ac_compile) 2>&5 2426 ac_status=$? 2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2428 (exit $ac_status); } && 2429 { ac_try='test -s conftest.$ac_objext' 2430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2431 (eval $ac_try) 2>&5 2432 ac_status=$? 2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2434 (exit $ac_status); }; }; then 2435 : 2436else 2437 echo "$as_me: failed program was:" >&5 2438sed 's/^/| /' conftest.$ac_ext >&5 2439 2440continue 2441fi 2442rm -f conftest.$ac_objext conftest.$ac_ext 2443 cat >conftest.$ac_ext <<_ACEOF 2444#line $LINENO "configure" 2445/* confdefs.h. */ 2446_ACEOF 2447cat confdefs.h >>conftest.$ac_ext 2448cat >>conftest.$ac_ext <<_ACEOF 2449/* end confdefs.h. */ 2450$ac_declaration 2451int 2452main () 2453{ 2454exit (42); 2455 ; 2456 return 0; 2457} 2458_ACEOF 2459rm -f conftest.$ac_objext 2460if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2461 (eval $ac_compile) 2>&5 2462 ac_status=$? 2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2464 (exit $ac_status); } && 2465 { ac_try='test -s conftest.$ac_objext' 2466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2467 (eval $ac_try) 2>&5 2468 ac_status=$? 2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2470 (exit $ac_status); }; }; then 2471 break 2472else 2473 echo "$as_me: failed program was:" >&5 2474sed 's/^/| /' conftest.$ac_ext >&5 2475 2476fi 2477rm -f conftest.$ac_objext conftest.$ac_ext 2478done 2479rm -f conftest* 2480if test -n "$ac_declaration"; then 2481 echo '#ifdef __cplusplus' >>confdefs.h 2482 echo $ac_declaration >>confdefs.h 2483 echo '#endif' >>confdefs.h 2484fi 2485 2486else 2487 echo "$as_me: failed program was:" >&5 2488sed 's/^/| /' conftest.$ac_ext >&5 2489 2490fi 2491rm -f conftest.$ac_objext conftest.$ac_ext 2492ac_ext=c 2493ac_cpp='$CPP $CPPFLAGS' 2494ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2495ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2496ac_compiler_gnu=$ac_cv_c_compiler_gnu 2497DEPDIR="${am__leading_dot}deps" 2498 2499 ac_config_commands="$ac_config_commands depfiles" 2500 2501 2502am_make=${MAKE-make} 2503cat > confinc << 'END' 2504doit: 2505 @echo done 2506END 2507# If we don't find an include directive, just comment out the code. 2508echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2509echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 2510am__include="#" 2511am__quote= 2512_am_result=none 2513# First try GNU make style include. 2514echo "include confinc" > confmf 2515# We grep out `Entering directory' and `Leaving directory' 2516# messages which can occur if `w' ends up in MAKEFLAGS. 2517# In particular we don't look at `^make:' because GNU make might 2518# be invoked under some other name (usually "gmake"), in which 2519# case it prints its new name instead of `make'. 2520if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2521 am__include=include 2522 am__quote= 2523 _am_result=GNU 2524fi 2525# Now try BSD make style include. 2526if test "$am__include" = "#"; then 2527 echo '.include "confinc"' > confmf 2528 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2529 am__include=.include 2530 am__quote="\"" 2531 _am_result=BSD 2532 fi 2533fi 2534 2535 2536echo "$as_me:$LINENO: result: $_am_result" >&5 2537echo "${ECHO_T}$_am_result" >&6 2538rm -f confinc confmf 2539 2540# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 2541if test "${enable_dependency_tracking+set}" = set; then 2542 enableval="$enable_dependency_tracking" 2543 2544fi; 2545if test "x$enable_dependency_tracking" != xno; then 2546 am_depcomp="$ac_aux_dir/depcomp" 2547 AMDEPBACKSLASH='\' 2548fi 2549 2550 2551if test "x$enable_dependency_tracking" != xno; then 2552 AMDEP_TRUE= 2553 AMDEP_FALSE='#' 2554else 2555 AMDEP_TRUE='#' 2556 AMDEP_FALSE= 2557fi 2558 2559 2560 2561 2562depcc="$CC" am_compiler_list= 2563 2564echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 2565echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2566if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2567 echo $ECHO_N "(cached) $ECHO_C" >&6 2568else 2569 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2570 # We make a subdir and do the tests there. Otherwise we can end up 2571 # making bogus files that we don't know about and never remove. For 2572 # instance it was reported that on HP-UX the gcc test will end up 2573 # making a dummy file named `D' -- because `-MD' means `put the output 2574 # in D'. 2575 mkdir conftest.dir 2576 # Copy depcomp to subdir because otherwise we won't find it if we're 2577 # using a relative directory. 2578 cp "$am_depcomp" conftest.dir 2579 cd conftest.dir 2580 2581 am_cv_CC_dependencies_compiler_type=none 2582 if test "$am_compiler_list" = ""; then 2583 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2584 fi 2585 for depmode in $am_compiler_list; do 2586 # We need to recreate these files for each test, as the compiler may 2587 # overwrite some of them when testing with obscure command lines. 2588 # This happens at least with the AIX C compiler. 2589 echo '#include "conftest.h"' > conftest.c 2590 echo 'int i;' > conftest.h 2591 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf 2592 2593 case $depmode in 2594 nosideeffect) 2595 # after this tag, mechanisms are not by side-effect, so they'll 2596 # only be used when explicitly requested 2597 if test "x$enable_dependency_tracking" = xyes; then 2598 continue 2599 else 2600 break 2601 fi 2602 ;; 2603 none) break ;; 2604 esac 2605 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2606 # mode. It turns out that the SunPro C++ compiler does not properly 2607 # handle `-M -o', and we need to detect this. 2608 if depmode=$depmode \ 2609 source=conftest.c object=conftest.o \ 2610 depfile=conftest.Po tmpdepfile=conftest.TPo \ 2611 $SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ 2612 >/dev/null 2>conftest.err && 2613 grep conftest.h conftest.Po > /dev/null 2>&1 && 2614 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2615 # icc doesn't choke on unknown options, it will just issue warnings 2616 # (even with -Werror). So we grep stderr for any message 2617 # that says an option was ignored. 2618 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 2619 am_cv_CC_dependencies_compiler_type=$depmode 2620 break 2621 fi 2622 fi 2623 done 2624 2625 cd .. 2626 rm -rf conftest.dir 2627else 2628 am_cv_CC_dependencies_compiler_type=none 2629fi 2630 2631fi 2632echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 2633echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2634CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2635 2636 2637 2638if 2639 test "x$enable_dependency_tracking" != xno \ 2640 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 2641 am__fastdepCC_TRUE= 2642 am__fastdepCC_FALSE='#' 2643else 2644 am__fastdepCC_TRUE='#' 2645 am__fastdepCC_FALSE= 2646fi 2647 2648 2649 2650if test "x$GCC" = "xyes"; then 2651 case " $CFLAGS " in 2652 *[\ \ ]-Wall[\ \ ]*) ;; 2653 *) CFLAGS="$CFLAGS -Wall" ;; 2654 esac 2655fi 2656 2657 2658 succeeded=no 2659 2660 if test -z "$PKG_CONFIG"; then 2661 # Extract the first word of "pkg-config", so it can be a program name with args. 2662set dummy pkg-config; ac_word=$2 2663echo "$as_me:$LINENO: checking for $ac_word" >&5 2664echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2665if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 2666 echo $ECHO_N "(cached) $ECHO_C" >&6 2667else 2668 case $PKG_CONFIG in 2669 [\\/]* | ?:[\\/]*) 2670 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 2671 ;; 2672 *) 2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2674for as_dir in $PATH 2675do 2676 IFS=$as_save_IFS 2677 test -z "$as_dir" && as_dir=. 2678 for ac_exec_ext in '' $ac_executable_extensions; do 2679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2680 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 2681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2682 break 2 2683 fi 2684done 2685done 2686 2687 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" 2688 ;; 2689esac 2690fi 2691PKG_CONFIG=$ac_cv_path_PKG_CONFIG 2692 2693if test -n "$PKG_CONFIG"; then 2694 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 2695echo "${ECHO_T}$PKG_CONFIG" >&6 2696else 2697 echo "$as_me:$LINENO: result: no" >&5 2698echo "${ECHO_T}no" >&6 2699fi 2700 2701 fi 2702 2703 if test "$PKG_CONFIG" = "no" ; then 2704 echo "*** The pkg-config script could not be found. Make sure it is" 2705 echo "*** in your path, or set the PKG_CONFIG environment variable" 2706 echo "*** to the full path to pkg-config." 2707 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." 2708 else 2709 PKG_CONFIG_MIN_VERSION=0.9.0 2710 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then 2711 echo "$as_me:$LINENO: checking for gdk-pixbuf-2.0 >= 2.0.0" >&5 2712echo $ECHO_N "checking for gdk-pixbuf-2.0 >= 2.0.0... $ECHO_C" >&6 2713 2714 if $PKG_CONFIG --exists "gdk-pixbuf-2.0 >= 2.0.0" ; then 2715 echo "$as_me:$LINENO: result: yes" >&5 2716echo "${ECHO_T}yes" >&6 2717 succeeded=yes 2718 2719 echo "$as_me:$LINENO: checking GDK_PIXBUF_CFLAGS" >&5 2720echo $ECHO_N "checking GDK_PIXBUF_CFLAGS... $ECHO_C" >&6 2721 GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0 >= 2.0.0"` 2722 echo "$as_me:$LINENO: result: $GDK_PIXBUF_CFLAGS" >&5 2723echo "${ECHO_T}$GDK_PIXBUF_CFLAGS" >&6 2724 2725 echo "$as_me:$LINENO: checking GDK_PIXBUF_LIBS" >&5 2726echo $ECHO_N "checking GDK_PIXBUF_LIBS... $ECHO_C" >&6 2727 GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0 >= 2.0.0"` 2728 echo "$as_me:$LINENO: result: $GDK_PIXBUF_LIBS" >&5 2729echo "${ECHO_T}$GDK_PIXBUF_LIBS" >&6 2730 else 2731 GDK_PIXBUF_CFLAGS="" 2732 GDK_PIXBUF_LIBS="" 2733 ## If we have a custom action on failure, don't print errors, but 2734 ## do set a variable so people can do so. 2735 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-pixbuf-2.0 >= 2.0.0"` 2736 2737 fi 2738 2739 2740 2741 else 2742 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." 2743 echo "*** See http://www.freedesktop.org/software/pkgconfig" 2744 fi 2745 fi 2746 2747 if test $succeeded = yes; then 2748 : 2749 else 2750 { { echo "$as_me:$LINENO: error: GTK+-2.0 is required to compile icon-slicer" >&5 2751echo "$as_me: error: GTK+-2.0 is required to compile icon-slicer" >&2;} 2752 { (exit 1); exit 1; }; } 2753 fi 2754 2755 2756 2757echo "$as_me:$LINENO: checking for poptGetContext in -lpopt" >&5 2758echo $ECHO_N "checking for poptGetContext in -lpopt... $ECHO_C" >&6 2759if test "${ac_cv_lib_popt_poptGetContext+set}" = set; then 2760 echo $ECHO_N "(cached) $ECHO_C" >&6 2761else 2762 ac_check_lib_save_LIBS=$LIBS 2763LIBS="-lpopt $LIBS" 2764cat >conftest.$ac_ext <<_ACEOF 2765#line $LINENO "configure" 2766/* confdefs.h. */ 2767_ACEOF 2768cat confdefs.h >>conftest.$ac_ext 2769cat >>conftest.$ac_ext <<_ACEOF 2770/* end confdefs.h. */ 2771 2772/* Override any gcc2 internal prototype to avoid an error. */ 2773#ifdef __cplusplus 2774extern "C" 2775#endif 2776/* We use char because int might match the return type of a gcc2 2777 builtin and then its argument prototype would still apply. */ 2778char poptGetContext (); 2779int 2780main () 2781{ 2782poptGetContext (); 2783 ; 2784 return 0; 2785} 2786_ACEOF 2787rm -f conftest.$ac_objext conftest$ac_exeext 2788if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2789 (eval $ac_link) 2>&5 2790 ac_status=$? 2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2792 (exit $ac_status); } && 2793 { ac_try='test -s conftest$ac_exeext' 2794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2795 (eval $ac_try) 2>&5 2796 ac_status=$? 2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2798 (exit $ac_status); }; }; then 2799 ac_cv_lib_popt_poptGetContext=yes 2800else 2801 echo "$as_me: failed program was:" >&5 2802sed 's/^/| /' conftest.$ac_ext >&5 2803 2804ac_cv_lib_popt_poptGetContext=no 2805fi 2806rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2807LIBS=$ac_check_lib_save_LIBS 2808fi 2809echo "$as_me:$LINENO: result: $ac_cv_lib_popt_poptGetContext" >&5 2810echo "${ECHO_T}$ac_cv_lib_popt_poptGetContext" >&6 2811if test $ac_cv_lib_popt_poptGetContext = yes; then 2812 POPT_LIBS="-lpopt" 2813 2814else 2815 { { echo "$as_me:$LINENO: error: popt library is needed to build icon-slicer" >&5 2816echo "$as_me: error: popt library is needed to build icon-slicer" >&2;} 2817 { (exit 1); exit 1; }; } 2818fi 2819 2820 2821 ac_config_files="$ac_config_files Makefile src/Makefile examples/Makefile" 2822 2823 2824cat >confcache <<\_ACEOF 2825# This file is a shell script that caches the results of configure 2826# tests run on this system so they can be shared between configure 2827# scripts and configure runs, see configure's option --config-cache. 2828# It is not useful on other systems. If it contains results you don't 2829# want to keep, you may remove or edit it. 2830# 2831# config.status only pays attention to the cache file if you give it 2832# the --recheck option to rerun configure. 2833# 2834# `ac_cv_env_foo' variables (set or unset) will be overridden when 2835# loading this file, other *unset* `ac_cv_foo' will be assigned the 2836# following values. 2837 2838_ACEOF 2839 2840# The following way of writing the cache mishandles newlines in values, 2841# but we know of no workaround that is simple, portable, and efficient. 2842# So, don't put newlines in cache variables' values. 2843# Ultrix sh set writes to stderr and can't be redirected directly, 2844# and sets the high bit in the cache file unless we assign to the vars. 2845{ 2846 (set) 2>&1 | 2847 case `(ac_space=' '; set | grep ac_space) 2>&1` in 2848 *ac_space=\ *) 2849 # `set' does not quote correctly, so add quotes (double-quote 2850 # substitution turns \\\\ into \\, and sed turns \\ into \). 2851 sed -n \ 2852 "s/'/'\\\\''/g; 2853 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 2854 ;; 2855 *) 2856 # `set' quotes correctly as required by POSIX, so do not add quotes. 2857 sed -n \ 2858 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 2859 ;; 2860 esac; 2861} | 2862 sed ' 2863 t clear 2864 : clear 2865 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 2866 t end 2867 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 2868 : end' >>confcache 2869if diff $cache_file confcache >/dev/null 2>&1; then :; else 2870 if test -w $cache_file; then 2871 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 2872 cat confcache >$cache_file 2873 else 2874 echo "not updating unwritable cache $cache_file" 2875 fi 2876fi 2877rm -f confcache 2878 2879test "x$prefix" = xNONE && prefix=$ac_default_prefix 2880# Let make expand exec_prefix. 2881test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 2882 2883# VPATH may cause trouble with some makes, so we remove $(srcdir), 2884# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 2885# trailing colons and then remove the whole line if VPATH becomes empty 2886# (actually we leave an empty line to preserve line numbers). 2887if test "x$srcdir" = x.; then 2888 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 2889s/:*\$(srcdir):*/:/; 2890s/:*\${srcdir}:*/:/; 2891s/:*@srcdir@:*/:/; 2892s/^\([^=]*=[ ]*\):*/\1/; 2893s/:*$//; 2894s/^[^=]*=[ ]*$//; 2895}' 2896fi 2897 2898DEFS=-DHAVE_CONFIG_H 2899 2900ac_libobjs= 2901ac_ltlibobjs= 2902for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 2903 # 1. Remove the extension, and $U if already installed. 2904 ac_i=`echo "$ac_i" | 2905 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 2906 # 2. Add them. 2907 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 2908 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 2909done 2910LIBOBJS=$ac_libobjs 2911 2912LTLIBOBJS=$ac_ltlibobjs 2913 2914 2915if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 2916 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 2917Usually this means the macro was only invoked conditionally." >&5 2918echo "$as_me: error: conditional \"AMDEP\" was never defined. 2919Usually this means the macro was only invoked conditionally." >&2;} 2920 { (exit 1); exit 1; }; } 2921fi 2922if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 2923 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 2924Usually this means the macro was only invoked conditionally." >&5 2925echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 2926Usually this means the macro was only invoked conditionally." >&2;} 2927 { (exit 1); exit 1; }; } 2928fi 2929 2930: ${CONFIG_STATUS=./config.status} 2931ac_clean_files_save=$ac_clean_files 2932ac_clean_files="$ac_clean_files $CONFIG_STATUS" 2933{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 2934echo "$as_me: creating $CONFIG_STATUS" >&6;} 2935cat >$CONFIG_STATUS <<_ACEOF 2936#! $SHELL 2937# Generated by $as_me. 2938# Run this file to recreate the current configuration. 2939# Compiler output produced by configure, useful for debugging 2940# configure, is in config.log if it exists. 2941 2942debug=false 2943ac_cs_recheck=false 2944ac_cs_silent=false 2945SHELL=\${CONFIG_SHELL-$SHELL} 2946_ACEOF 2947 2948cat >>$CONFIG_STATUS <<\_ACEOF 2949## --------------------- ## 2950## M4sh Initialization. ## 2951## --------------------- ## 2952 2953# Be Bourne compatible 2954if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2955 emulate sh 2956 NULLCMD=: 2957 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 2958 # is contrary to our usage. Disable this feature. 2959 alias -g '${1+"$@"}'='"$@"' 2960elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 2961 set -o posix 2962fi 2963 2964# Support unset when possible. 2965if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 2966 as_unset=unset 2967else 2968 as_unset=false 2969fi 2970 2971 2972# Work around bugs in pre-3.0 UWIN ksh. 2973$as_unset ENV MAIL MAILPATH 2974PS1='$ ' 2975PS2='> ' 2976PS4='+ ' 2977 2978# NLS nuisances. 2979for as_var in \ 2980 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 2981 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 2982 LC_TELEPHONE LC_TIME 2983do 2984 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 2985 eval $as_var=C; export $as_var 2986 else 2987 $as_unset $as_var 2988 fi 2989done 2990 2991# Required to use basename. 2992if expr a : '\(a\)' >/dev/null 2>&1; then 2993 as_expr=expr 2994else 2995 as_expr=false 2996fi 2997 2998if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 2999 as_basename=basename 3000else 3001 as_basename=false 3002fi 3003 3004 3005# Name of the executable. 3006as_me=`$as_basename "$0" || 3007$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3008 X"$0" : 'X\(//\)$' \| \ 3009 X"$0" : 'X\(/\)$' \| \ 3010 . : '\(.\)' 2>/dev/null || 3011echo X/"$0" | 3012 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 3013 /^X\/\(\/\/\)$/{ s//\1/; q; } 3014 /^X\/\(\/\).*/{ s//\1/; q; } 3015 s/.*/./; q'` 3016 3017 3018# PATH needs CR, and LINENO needs CR and PATH. 3019# Avoid depending upon Character Ranges. 3020as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3021as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3022as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3023as_cr_digits='0123456789' 3024as_cr_alnum=$as_cr_Letters$as_cr_digits 3025 3026# The user is always right. 3027if test "${PATH_SEPARATOR+set}" != set; then 3028 echo "#! /bin/sh" >conf$$.sh 3029 echo "exit 0" >>conf$$.sh 3030 chmod +x conf$$.sh 3031 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3032 PATH_SEPARATOR=';' 3033 else 3034 PATH_SEPARATOR=: 3035 fi 3036 rm -f conf$$.sh 3037fi 3038 3039 3040 as_lineno_1=$LINENO 3041 as_lineno_2=$LINENO 3042 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3043 test "x$as_lineno_1" != "x$as_lineno_2" && 3044 test "x$as_lineno_3" = "x$as_lineno_2" || { 3045 # Find who we are. Look in the path if we contain no path at all 3046 # relative or not. 3047 case $0 in 3048 *[\\/]* ) as_myself=$0 ;; 3049 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3050for as_dir in $PATH 3051do 3052 IFS=$as_save_IFS 3053 test -z "$as_dir" && as_dir=. 3054 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3055done 3056 3057 ;; 3058 esac 3059 # We did not find ourselves, most probably we were run as `sh COMMAND' 3060 # in which case we are not to be found in the path. 3061 if test "x$as_myself" = x; then 3062 as_myself=$0 3063 fi 3064 if test ! -f "$as_myself"; then 3065 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 3066echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 3067 { (exit 1); exit 1; }; } 3068 fi 3069 case $CONFIG_SHELL in 3070 '') 3071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3072for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 3073do 3074 IFS=$as_save_IFS 3075 test -z "$as_dir" && as_dir=. 3076 for as_base in sh bash ksh sh5; do 3077 case $as_dir in 3078 /*) 3079 if ("$as_dir/$as_base" -c ' 3080 as_lineno_1=$LINENO 3081 as_lineno_2=$LINENO 3082 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3083 test "x$as_lineno_1" != "x$as_lineno_2" && 3084 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 3085 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 3086 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 3087 CONFIG_SHELL=$as_dir/$as_base 3088 export CONFIG_SHELL 3089 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 3090 fi;; 3091 esac 3092 done 3093done 3094;; 3095 esac 3096 3097 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3098 # uniformly replaced by the line number. The first 'sed' inserts a 3099 # line-number line before each line; the second 'sed' does the real 3100 # work. The second script uses 'N' to pair each line-number line 3101 # with the numbered line, and appends trailing '-' during 3102 # substitution so that $LINENO is not a special case at line end. 3103 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3104 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 3105 sed '=' <$as_myself | 3106 sed ' 3107 N 3108 s,$,-, 3109 : loop 3110 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 3111 t loop 3112 s,-$,, 3113 s,^['$as_cr_digits']*\n,, 3114 ' >$as_me.lineno && 3115 chmod +x $as_me.lineno || 3116 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 3117echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 3118 { (exit 1); exit 1; }; } 3119 3120 # Don't try to exec as it changes $[0], causing all sort of problems 3121 # (the dirname of $[0] is not the place where we might find the 3122 # original and so on. Autoconf is especially sensible to this). 3123 . ./$as_me.lineno 3124 # Exit status is that of the last command. 3125 exit 3126} 3127 3128 3129case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 3130 *c*,-n*) ECHO_N= ECHO_C=' 3131' ECHO_T=' ' ;; 3132 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 3133 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 3134esac 3135 3136if expr a : '\(a\)' >/dev/null 2>&1; then 3137 as_expr=expr 3138else 3139 as_expr=false 3140fi 3141 3142rm -f conf$$ conf$$.exe conf$$.file 3143echo >conf$$.file 3144if ln -s conf$$.file conf$$ 2>/dev/null; then 3145 # We could just check for DJGPP; but this test a) works b) is more generic 3146 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 3147 if test -f conf$$.exe; then 3148 # Don't use ln at all; we don't have any links 3149 as_ln_s='cp -p' 3150 else 3151 as_ln_s='ln -s' 3152 fi 3153elif ln conf$$.file conf$$ 2>/dev/null; then 3154 as_ln_s=ln 3155else 3156 as_ln_s='cp -p' 3157fi 3158rm -f conf$$ conf$$.exe conf$$.file 3159 3160if mkdir -p . 2>/dev/null; then 3161 as_mkdir_p=: 3162else 3163 as_mkdir_p=false 3164fi 3165 3166as_executable_p="test -f" 3167 3168# Sed expression to map a string onto a valid CPP name. 3169as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 3170 3171# Sed expression to map a string onto a valid variable name. 3172as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 3173 3174 3175# IFS 3176# We need space, tab and new line, in precisely that order. 3177as_nl=' 3178' 3179IFS=" $as_nl" 3180 3181# CDPATH. 3182$as_unset CDPATH 3183 3184exec 6>&1 3185 3186# Open the log real soon, to keep \$[0] and so on meaningful, and to 3187# report actual input values of CONFIG_FILES etc. instead of their 3188# values after options handling. Logging --version etc. is OK. 3189exec 5>>config.log 3190{ 3191 echo 3192 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3193## Running $as_me. ## 3194_ASBOX 3195} >&5 3196cat >&5 <<_CSEOF 3197 3198This file was extended by icon-slicer $as_me 0.3, which was 3199generated by GNU Autoconf 2.57. Invocation command line was 3200 3201 CONFIG_FILES = $CONFIG_FILES 3202 CONFIG_HEADERS = $CONFIG_HEADERS 3203 CONFIG_LINKS = $CONFIG_LINKS 3204 CONFIG_COMMANDS = $CONFIG_COMMANDS 3205 $ $0 $@ 3206 3207_CSEOF 3208echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 3209echo >&5 3210_ACEOF 3211 3212# Files that config.status was made for. 3213if test -n "$ac_config_files"; then 3214 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 3215fi 3216 3217if test -n "$ac_config_headers"; then 3218 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 3219fi 3220 3221if test -n "$ac_config_links"; then 3222 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 3223fi 3224 3225if test -n "$ac_config_commands"; then 3226 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 3227fi 3228 3229cat >>$CONFIG_STATUS <<\_ACEOF 3230 3231ac_cs_usage="\ 3232\`$as_me' instantiates files from templates according to the 3233current configuration. 3234 3235Usage: $0 [OPTIONS] [FILE]... 3236 3237 -h, --help print this help, then exit 3238 -V, --version print version number, then exit 3239 -q, --quiet do not print progress messages 3240 -d, --debug don't remove temporary files 3241 --recheck update $as_me by reconfiguring in the same conditions 3242 --file=FILE[:TEMPLATE] 3243 instantiate the configuration file FILE 3244 --header=FILE[:TEMPLATE] 3245 instantiate the configuration header FILE 3246 3247Configuration files: 3248$config_files 3249 3250Configuration headers: 3251$config_headers 3252 3253Configuration commands: 3254$config_commands 3255 3256Report bugs to <bug-autoconf@gnu.org>." 3257_ACEOF 3258 3259cat >>$CONFIG_STATUS <<_ACEOF 3260ac_cs_version="\\ 3261icon-slicer config.status 0.3 3262configured by $0, generated by GNU Autoconf 2.57, 3263 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 3264 3265Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 3266Free Software Foundation, Inc. 3267This config.status script is free software; the Free Software Foundation 3268gives unlimited permission to copy, distribute and modify it." 3269srcdir=$srcdir 3270INSTALL="$INSTALL" 3271_ACEOF 3272 3273cat >>$CONFIG_STATUS <<\_ACEOF 3274# If no file are specified by the user, then we need to provide default 3275# value. By we need to know if files were specified by the user. 3276ac_need_defaults=: 3277while test $# != 0 3278do 3279 case $1 in 3280 --*=*) 3281 ac_option=`expr "x$1" : 'x\([^=]*\)='` 3282 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 3283 ac_shift=: 3284 ;; 3285 -*) 3286 ac_option=$1 3287 ac_optarg=$2 3288 ac_shift=shift 3289 ;; 3290 *) # This is not an option, so the user has probably given explicit 3291 # arguments. 3292 ac_option=$1 3293 ac_need_defaults=false;; 3294 esac 3295 3296 case $ac_option in 3297 # Handling of the options. 3298_ACEOF 3299cat >>$CONFIG_STATUS <<\_ACEOF 3300 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3301 ac_cs_recheck=: ;; 3302 --version | --vers* | -V ) 3303 echo "$ac_cs_version"; exit 0 ;; 3304 --he | --h) 3305 # Conflict between --help and --header 3306 { { echo "$as_me:$LINENO: error: ambiguous option: $1 3307Try \`$0 --help' for more information." >&5 3308echo "$as_me: error: ambiguous option: $1 3309Try \`$0 --help' for more information." >&2;} 3310 { (exit 1); exit 1; }; };; 3311 --help | --hel | -h ) 3312 echo "$ac_cs_usage"; exit 0 ;; 3313 --debug | --d* | -d ) 3314 debug=: ;; 3315 --file | --fil | --fi | --f ) 3316 $ac_shift 3317 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 3318 ac_need_defaults=false;; 3319 --header | --heade | --head | --hea ) 3320 $ac_shift 3321 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 3322 ac_need_defaults=false;; 3323 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3324 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3325 ac_cs_silent=: ;; 3326 3327 # This is an error. 3328 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 3329Try \`$0 --help' for more information." >&5 3330echo "$as_me: error: unrecognized option: $1 3331Try \`$0 --help' for more information." >&2;} 3332 { (exit 1); exit 1; }; } ;; 3333 3334 *) ac_config_targets="$ac_config_targets $1" ;; 3335 3336 esac 3337 shift 3338done 3339 3340ac_configure_extra_args= 3341 3342if $ac_cs_silent; then 3343 exec 6>/dev/null 3344 ac_configure_extra_args="$ac_configure_extra_args --silent" 3345fi 3346 3347_ACEOF 3348cat >>$CONFIG_STATUS <<_ACEOF 3349if \$ac_cs_recheck; then 3350 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 3351 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3352fi 3353 3354_ACEOF 3355 3356cat >>$CONFIG_STATUS <<_ACEOF 3357# 3358# INIT-COMMANDS section. 3359# 3360 3361AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 3362 3363_ACEOF 3364 3365 3366 3367cat >>$CONFIG_STATUS <<\_ACEOF 3368for ac_config_target in $ac_config_targets 3369do 3370 case "$ac_config_target" in 3371 # Handling of arguments. 3372 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3373 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 3374 "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; 3375 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 3376 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 3377 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 3378echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3379 { (exit 1); exit 1; }; };; 3380 esac 3381done 3382 3383# If the user did not use the arguments to specify the items to instantiate, 3384# then the envvar interface is used. Set only those that are not. 3385# We use the long form for the default assignment because of an extremely 3386# bizarre bug on SunOS 4.1.3. 3387if $ac_need_defaults; then 3388 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3389 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 3390 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 3391fi 3392 3393# Have a temporary directory for convenience. Make it in the build tree 3394# simply because there is no reason to put it here, and in addition, 3395# creating and moving files from /tmp can sometimes cause problems. 3396# Create a temporary directory, and hook for its removal unless debugging. 3397$debug || 3398{ 3399 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 3400 trap '{ (exit 1); exit 1; }' 1 2 13 15 3401} 3402 3403# Create a (secure) tmp directory for tmp files. 3404 3405{ 3406 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 3407 test -n "$tmp" && test -d "$tmp" 3408} || 3409{ 3410 tmp=./confstat$$-$RANDOM 3411 (umask 077 && mkdir $tmp) 3412} || 3413{ 3414 echo "$me: cannot create a temporary directory in ." >&2 3415 { (exit 1); exit 1; } 3416} 3417 3418_ACEOF 3419 3420cat >>$CONFIG_STATUS <<_ACEOF 3421 3422# 3423# CONFIG_FILES section. 3424# 3425 3426# No need to generate the scripts if there are no CONFIG_FILES. 3427# This happens for instance when ./config.status config.h 3428if test -n "\$CONFIG_FILES"; then 3429 # Protect against being on the right side of a sed subst in config.status. 3430 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 3431 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 3432s,@SHELL@,$SHELL,;t t 3433s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 3434s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 3435s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 3436s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 3437s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 3438s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 3439s,@exec_prefix@,$exec_prefix,;t t 3440s,@prefix@,$prefix,;t t 3441s,@program_transform_name@,$program_transform_name,;t t 3442s,@bindir@,$bindir,;t t 3443s,@sbindir@,$sbindir,;t t 3444s,@libexecdir@,$libexecdir,;t t 3445s,@datadir@,$datadir,;t t 3446s,@sysconfdir@,$sysconfdir,;t t 3447s,@sharedstatedir@,$sharedstatedir,;t t 3448s,@localstatedir@,$localstatedir,;t t 3449s,@libdir@,$libdir,;t t 3450s,@includedir@,$includedir,;t t 3451s,@oldincludedir@,$oldincludedir,;t t 3452s,@infodir@,$infodir,;t t 3453s,@mandir@,$mandir,;t t 3454s,@build_alias@,$build_alias,;t t 3455s,@host_alias@,$host_alias,;t t 3456s,@target_alias@,$target_alias,;t t 3457s,@DEFS@,$DEFS,;t t 3458s,@ECHO_C@,$ECHO_C,;t t 3459s,@ECHO_N@,$ECHO_N,;t t 3460s,@ECHO_T@,$ECHO_T,;t t 3461s,@LIBS@,$LIBS,;t t 3462s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 3463s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 3464s,@INSTALL_DATA@,$INSTALL_DATA,;t t 3465s,@CYGPATH_W@,$CYGPATH_W,;t t 3466s,@PACKAGE@,$PACKAGE,;t t 3467s,@VERSION@,$VERSION,;t t 3468s,@ACLOCAL@,$ACLOCAL,;t t 3469s,@AUTOCONF@,$AUTOCONF,;t t 3470s,@AUTOMAKE@,$AUTOMAKE,;t t 3471s,@AUTOHEADER@,$AUTOHEADER,;t t 3472s,@MAKEINFO@,$MAKEINFO,;t t 3473s,@AMTAR@,$AMTAR,;t t 3474s,@install_sh@,$install_sh,;t t 3475s,@STRIP@,$STRIP,;t t 3476s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 3477s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 3478s,@AWK@,$AWK,;t t 3479s,@SET_MAKE@,$SET_MAKE,;t t 3480s,@am__leading_dot@,$am__leading_dot,;t t 3481s,@CC@,$CC,;t t 3482s,@CFLAGS@,$CFLAGS,;t t 3483s,@LDFLAGS@,$LDFLAGS,;t t 3484s,@CPPFLAGS@,$CPPFLAGS,;t t 3485s,@ac_ct_CC@,$ac_ct_CC,;t t 3486s,@EXEEXT@,$EXEEXT,;t t 3487s,@OBJEXT@,$OBJEXT,;t t 3488s,@DEPDIR@,$DEPDIR,;t t 3489s,@am__include@,$am__include,;t t 3490s,@am__quote@,$am__quote,;t t 3491s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 3492s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 3493s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 3494s,@CCDEPMODE@,$CCDEPMODE,;t t 3495s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 3496s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 3497s,@PKG_CONFIG@,$PKG_CONFIG,;t t 3498s,@GDK_PIXBUF_CFLAGS@,$GDK_PIXBUF_CFLAGS,;t t 3499s,@GDK_PIXBUF_LIBS@,$GDK_PIXBUF_LIBS,;t t 3500s,@POPT_LIBS@,$POPT_LIBS,;t t 3501s,@LIBOBJS@,$LIBOBJS,;t t 3502s,@LTLIBOBJS@,$LTLIBOBJS,;t t 3503CEOF 3504 3505_ACEOF 3506 3507 cat >>$CONFIG_STATUS <<\_ACEOF 3508 # Split the substitutions into bite-sized pieces for seds with 3509 # small command number limits, like on Digital OSF/1 and HP-UX. 3510 ac_max_sed_lines=48 3511 ac_sed_frag=1 # Number of current file. 3512 ac_beg=1 # First line for current file. 3513 ac_end=$ac_max_sed_lines # Line after last line for current file. 3514 ac_more_lines=: 3515 ac_sed_cmds= 3516 while $ac_more_lines; do 3517 if test $ac_beg -gt 1; then 3518 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3519 else 3520 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3521 fi 3522 if test ! -s $tmp/subs.frag; then 3523 ac_more_lines=false 3524 else 3525 # The purpose of the label and of the branching condition is to 3526 # speed up the sed processing (if there are no `@' at all, there 3527 # is no need to browse any of the substitutions). 3528 # These are the two extra sed commands mentioned above. 3529 (echo ':t 3530 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 3531 if test -z "$ac_sed_cmds"; then 3532 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 3533 else 3534 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 3535 fi 3536 ac_sed_frag=`expr $ac_sed_frag + 1` 3537 ac_beg=$ac_end 3538 ac_end=`expr $ac_end + $ac_max_sed_lines` 3539 fi 3540 done 3541 if test -z "$ac_sed_cmds"; then 3542 ac_sed_cmds=cat 3543 fi 3544fi # test -n "$CONFIG_FILES" 3545 3546_ACEOF 3547cat >>$CONFIG_STATUS <<\_ACEOF 3548for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 3549 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3550 case $ac_file in 3551 - | *:- | *:-:* ) # input from stdin 3552 cat >$tmp/stdin 3553 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3554 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3555 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3556 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3557 * ) ac_file_in=$ac_file.in ;; 3558 esac 3559 3560 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 3561 ac_dir=`(dirname "$ac_file") 2>/dev/null || 3562$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3563 X"$ac_file" : 'X\(//\)[^/]' \| \ 3564 X"$ac_file" : 'X\(//\)$' \| \ 3565 X"$ac_file" : 'X\(/\)' \| \ 3566 . : '\(.\)' 2>/dev/null || 3567echo X"$ac_file" | 3568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3569 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3570 /^X\(\/\/\)$/{ s//\1/; q; } 3571 /^X\(\/\).*/{ s//\1/; q; } 3572 s/.*/./; q'` 3573 { if $as_mkdir_p; then 3574 mkdir -p "$ac_dir" 3575 else 3576 as_dir="$ac_dir" 3577 as_dirs= 3578 while test ! -d "$as_dir"; do 3579 as_dirs="$as_dir $as_dirs" 3580 as_dir=`(dirname "$as_dir") 2>/dev/null || 3581$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3582 X"$as_dir" : 'X\(//\)[^/]' \| \ 3583 X"$as_dir" : 'X\(//\)$' \| \ 3584 X"$as_dir" : 'X\(/\)' \| \ 3585 . : '\(.\)' 2>/dev/null || 3586echo X"$as_dir" | 3587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3588 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3589 /^X\(\/\/\)$/{ s//\1/; q; } 3590 /^X\(\/\).*/{ s//\1/; q; } 3591 s/.*/./; q'` 3592 done 3593 test ! -n "$as_dirs" || mkdir $as_dirs 3594 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 3595echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 3596 { (exit 1); exit 1; }; }; } 3597 3598 ac_builddir=. 3599 3600if test "$ac_dir" != .; then 3601 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 3602 # A "../" for each directory in $ac_dir_suffix. 3603 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 3604else 3605 ac_dir_suffix= ac_top_builddir= 3606fi 3607 3608case $srcdir in 3609 .) # No --srcdir option. We are building in place. 3610 ac_srcdir=. 3611 if test -z "$ac_top_builddir"; then 3612 ac_top_srcdir=. 3613 else 3614 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 3615 fi ;; 3616 [\\/]* | ?:[\\/]* ) # Absolute path. 3617 ac_srcdir=$srcdir$ac_dir_suffix; 3618 ac_top_srcdir=$srcdir ;; 3619 *) # Relative path. 3620 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 3621 ac_top_srcdir=$ac_top_builddir$srcdir ;; 3622esac 3623# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 3624# absolute. 3625ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 3626ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 3627ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 3628ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 3629 3630 3631 case $INSTALL in 3632 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 3633 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 3634 esac 3635 3636 if test x"$ac_file" != x-; then 3637 { echo "$as_me:$LINENO: creating $ac_file" >&5 3638echo "$as_me: creating $ac_file" >&6;} 3639 rm -f "$ac_file" 3640 fi 3641 # Let's still pretend it is `configure' which instantiates (i.e., don't 3642 # use $as_me), people would be surprised to read: 3643 # /* config.h. Generated by config.status. */ 3644 if test x"$ac_file" = x-; then 3645 configure_input= 3646 else 3647 configure_input="$ac_file. " 3648 fi 3649 configure_input=$configure_input"Generated from `echo $ac_file_in | 3650 sed 's,.*/,,'` by configure." 3651 3652 # First look for the input files in the build tree, otherwise in the 3653 # src tree. 3654 ac_file_inputs=`IFS=: 3655 for f in $ac_file_in; do 3656 case $f in 3657 -) echo $tmp/stdin ;; 3658 [\\/$]*) 3659 # Absolute (can't be DOS-style, as IFS=:) 3660 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3661echo "$as_me: error: cannot find input file: $f" >&2;} 3662 { (exit 1); exit 1; }; } 3663 echo $f;; 3664 *) # Relative 3665 if test -f "$f"; then 3666 # Build tree 3667 echo $f 3668 elif test -f "$srcdir/$f"; then 3669 # Source tree 3670 echo $srcdir/$f 3671 else 3672 # /dev/null tree 3673 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3674echo "$as_me: error: cannot find input file: $f" >&2;} 3675 { (exit 1); exit 1; }; } 3676 fi;; 3677 esac 3678 done` || { (exit 1); exit 1; } 3679_ACEOF 3680cat >>$CONFIG_STATUS <<_ACEOF 3681 sed "$ac_vpsub 3682$extrasub 3683_ACEOF 3684cat >>$CONFIG_STATUS <<\_ACEOF 3685:t 3686/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 3687s,@configure_input@,$configure_input,;t t 3688s,@srcdir@,$ac_srcdir,;t t 3689s,@abs_srcdir@,$ac_abs_srcdir,;t t 3690s,@top_srcdir@,$ac_top_srcdir,;t t 3691s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 3692s,@builddir@,$ac_builddir,;t t 3693s,@abs_builddir@,$ac_abs_builddir,;t t 3694s,@top_builddir@,$ac_top_builddir,;t t 3695s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 3696s,@INSTALL@,$ac_INSTALL,;t t 3697" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 3698 rm -f $tmp/stdin 3699 if test x"$ac_file" != x-; then 3700 mv $tmp/out $ac_file 3701 else 3702 cat $tmp/out 3703 rm -f $tmp/out 3704 fi 3705 3706done 3707_ACEOF 3708cat >>$CONFIG_STATUS <<\_ACEOF 3709 3710# 3711# CONFIG_HEADER section. 3712# 3713 3714# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 3715# NAME is the cpp macro being defined and VALUE is the value it is being given. 3716# 3717# ac_d sets the value in "#define NAME VALUE" lines. 3718ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 3719ac_dB='[ ].*$,\1#\2' 3720ac_dC=' ' 3721ac_dD=',;t' 3722# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 3723ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 3724ac_uB='$,\1#\2define\3' 3725ac_uC=' ' 3726ac_uD=',;t' 3727 3728for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 3729 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3730 case $ac_file in 3731 - | *:- | *:-:* ) # input from stdin 3732 cat >$tmp/stdin 3733 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3734 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3735 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3736 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3737 * ) ac_file_in=$ac_file.in ;; 3738 esac 3739 3740 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 3741echo "$as_me: creating $ac_file" >&6;} 3742 3743 # First look for the input files in the build tree, otherwise in the 3744 # src tree. 3745 ac_file_inputs=`IFS=: 3746 for f in $ac_file_in; do 3747 case $f in 3748 -) echo $tmp/stdin ;; 3749 [\\/$]*) 3750 # Absolute (can't be DOS-style, as IFS=:) 3751 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3752echo "$as_me: error: cannot find input file: $f" >&2;} 3753 { (exit 1); exit 1; }; } 3754 echo $f;; 3755 *) # Relative 3756 if test -f "$f"; then 3757 # Build tree 3758 echo $f 3759 elif test -f "$srcdir/$f"; then 3760 # Source tree 3761 echo $srcdir/$f 3762 else 3763 # /dev/null tree 3764 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3765echo "$as_me: error: cannot find input file: $f" >&2;} 3766 { (exit 1); exit 1; }; } 3767 fi;; 3768 esac 3769 done` || { (exit 1); exit 1; } 3770 # Remove the trailing spaces. 3771 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 3772 3773_ACEOF 3774 3775# Transform confdefs.h into two sed scripts, `conftest.defines' and 3776# `conftest.undefs', that substitutes the proper values into 3777# config.h.in to produce config.h. The first handles `#define' 3778# templates, and the second `#undef' templates. 3779# And first: Protect against being on the right side of a sed subst in 3780# config.status. Protect against being in an unquoted here document 3781# in config.status. 3782rm -f conftest.defines conftest.undefs 3783# Using a here document instead of a string reduces the quoting nightmare. 3784# Putting comments in sed scripts is not portable. 3785# 3786# `end' is used to avoid that the second main sed command (meant for 3787# 0-ary CPP macros) applies to n-ary macro definitions. 3788# See the Autoconf documentation for `clear'. 3789cat >confdef2sed.sed <<\_ACEOF 3790s/[\\&,]/\\&/g 3791s,[\\$`],\\&,g 3792t clear 3793: clear 3794s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 3795t end 3796s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 3797: end 3798_ACEOF 3799# If some macros were called several times there might be several times 3800# the same #defines, which is useless. Nevertheless, we may not want to 3801# sort them, since we want the *last* AC-DEFINE to be honored. 3802uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 3803sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 3804rm -f confdef2sed.sed 3805 3806# This sed command replaces #undef with comments. This is necessary, for 3807# example, in the case of _POSIX_SOURCE, which is predefined and required 3808# on some systems where configure will not decide to define it. 3809cat >>conftest.undefs <<\_ACEOF 3810s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 3811_ACEOF 3812 3813# Break up conftest.defines because some shells have a limit on the size 3814# of here documents, and old seds have small limits too (100 cmds). 3815echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 3816echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 3817echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 3818echo ' :' >>$CONFIG_STATUS 3819rm -f conftest.tail 3820while grep . conftest.defines >/dev/null 3821do 3822 # Write a limited-size here document to $tmp/defines.sed. 3823 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 3824 # Speed up: don't consider the non `#define' lines. 3825 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 3826 # Work around the forget-to-reset-the-flag bug. 3827 echo 't clr' >>$CONFIG_STATUS 3828 echo ': clr' >>$CONFIG_STATUS 3829 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 3830 echo 'CEOF 3831 sed -f $tmp/defines.sed $tmp/in >$tmp/out 3832 rm -f $tmp/in 3833 mv $tmp/out $tmp/in 3834' >>$CONFIG_STATUS 3835 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 3836 rm -f conftest.defines 3837 mv conftest.tail conftest.defines 3838done 3839rm -f conftest.defines 3840echo ' fi # grep' >>$CONFIG_STATUS 3841echo >>$CONFIG_STATUS 3842 3843# Break up conftest.undefs because some shells have a limit on the size 3844# of here documents, and old seds have small limits too (100 cmds). 3845echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 3846rm -f conftest.tail 3847while grep . conftest.undefs >/dev/null 3848do 3849 # Write a limited-size here document to $tmp/undefs.sed. 3850 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 3851 # Speed up: don't consider the non `#undef' 3852 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 3853 # Work around the forget-to-reset-the-flag bug. 3854 echo 't clr' >>$CONFIG_STATUS 3855 echo ': clr' >>$CONFIG_STATUS 3856 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 3857 echo 'CEOF 3858 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 3859 rm -f $tmp/in 3860 mv $tmp/out $tmp/in 3861' >>$CONFIG_STATUS 3862 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 3863 rm -f conftest.undefs 3864 mv conftest.tail conftest.undefs 3865done 3866rm -f conftest.undefs 3867 3868cat >>$CONFIG_STATUS <<\_ACEOF 3869 # Let's still pretend it is `configure' which instantiates (i.e., don't 3870 # use $as_me), people would be surprised to read: 3871 # /* config.h. Generated by config.status. */ 3872 if test x"$ac_file" = x-; then 3873 echo "/* Generated by configure. */" >$tmp/config.h 3874 else 3875 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 3876 fi 3877 cat $tmp/in >>$tmp/config.h 3878 rm -f $tmp/in 3879 if test x"$ac_file" != x-; then 3880 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 3881 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 3882echo "$as_me: $ac_file is unchanged" >&6;} 3883 else 3884 ac_dir=`(dirname "$ac_file") 2>/dev/null || 3885$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3886 X"$ac_file" : 'X\(//\)[^/]' \| \ 3887 X"$ac_file" : 'X\(//\)$' \| \ 3888 X"$ac_file" : 'X\(/\)' \| \ 3889 . : '\(.\)' 2>/dev/null || 3890echo X"$ac_file" | 3891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3892 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3893 /^X\(\/\/\)$/{ s//\1/; q; } 3894 /^X\(\/\).*/{ s//\1/; q; } 3895 s/.*/./; q'` 3896 { if $as_mkdir_p; then 3897 mkdir -p "$ac_dir" 3898 else 3899 as_dir="$ac_dir" 3900 as_dirs= 3901 while test ! -d "$as_dir"; do 3902 as_dirs="$as_dir $as_dirs" 3903 as_dir=`(dirname "$as_dir") 2>/dev/null || 3904$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3905 X"$as_dir" : 'X\(//\)[^/]' \| \ 3906 X"$as_dir" : 'X\(//\)$' \| \ 3907 X"$as_dir" : 'X\(/\)' \| \ 3908 . : '\(.\)' 2>/dev/null || 3909echo X"$as_dir" | 3910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3911 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3912 /^X\(\/\/\)$/{ s//\1/; q; } 3913 /^X\(\/\).*/{ s//\1/; q; } 3914 s/.*/./; q'` 3915 done 3916 test ! -n "$as_dirs" || mkdir $as_dirs 3917 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 3918echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 3919 { (exit 1); exit 1; }; }; } 3920 3921 rm -f $ac_file 3922 mv $tmp/config.h $ac_file 3923 fi 3924 else 3925 cat $tmp/config.h 3926 rm -f $tmp/config.h 3927 fi 3928# Compute $ac_file's index in $config_headers. 3929_am_stamp_count=1 3930for _am_header in $config_headers :; do 3931 case $_am_header in 3932 $ac_file | $ac_file:* ) 3933 break ;; 3934 * ) 3935 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 3936 esac 3937done 3938echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 3939$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3940 X$ac_file : 'X\(//\)[^/]' \| \ 3941 X$ac_file : 'X\(//\)$' \| \ 3942 X$ac_file : 'X\(/\)' \| \ 3943 . : '\(.\)' 2>/dev/null || 3944echo X$ac_file | 3945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3946 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3947 /^X\(\/\/\)$/{ s//\1/; q; } 3948 /^X\(\/\).*/{ s//\1/; q; } 3949 s/.*/./; q'`/stamp-h$_am_stamp_count 3950done 3951_ACEOF 3952cat >>$CONFIG_STATUS <<\_ACEOF 3953 3954# 3955# CONFIG_COMMANDS section. 3956# 3957for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 3958 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 3959 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 3960 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 3961$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3962 X"$ac_dest" : 'X\(//\)[^/]' \| \ 3963 X"$ac_dest" : 'X\(//\)$' \| \ 3964 X"$ac_dest" : 'X\(/\)' \| \ 3965 . : '\(.\)' 2>/dev/null || 3966echo X"$ac_dest" | 3967 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3968 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3969 /^X\(\/\/\)$/{ s//\1/; q; } 3970 /^X\(\/\).*/{ s//\1/; q; } 3971 s/.*/./; q'` 3972 ac_builddir=. 3973 3974if test "$ac_dir" != .; then 3975 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 3976 # A "../" for each directory in $ac_dir_suffix. 3977 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 3978else 3979 ac_dir_suffix= ac_top_builddir= 3980fi 3981 3982case $srcdir in 3983 .) # No --srcdir option. We are building in place. 3984 ac_srcdir=. 3985 if test -z "$ac_top_builddir"; then 3986 ac_top_srcdir=. 3987 else 3988 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 3989 fi ;; 3990 [\\/]* | ?:[\\/]* ) # Absolute path. 3991 ac_srcdir=$srcdir$ac_dir_suffix; 3992 ac_top_srcdir=$srcdir ;; 3993 *) # Relative path. 3994 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 3995 ac_top_srcdir=$ac_top_builddir$srcdir ;; 3996esac 3997# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 3998# absolute. 3999ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 4000ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 4001ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 4002ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 4003 4004 4005 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 4006echo "$as_me: executing $ac_dest commands" >&6;} 4007 case $ac_dest in 4008 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 4009 # Strip MF so we end up with the name of the file. 4010 mf=`echo "$mf" | sed -e 's/:.*$//'` 4011 # Check whether this is an Automake generated Makefile or not. 4012 # We used to match only the files named `Makefile.in', but 4013 # some people rename them; so instead we look at the file content. 4014 # Grep'ing the first line is not enough: some people post-process 4015 # each Makefile.in and add a new line on top of each file to say so. 4016 # So let's grep whole file. 4017 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 4018 dirpart=`(dirname "$mf") 2>/dev/null || 4019$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4020 X"$mf" : 'X\(//\)[^/]' \| \ 4021 X"$mf" : 'X\(//\)$' \| \ 4022 X"$mf" : 'X\(/\)' \| \ 4023 . : '\(.\)' 2>/dev/null || 4024echo X"$mf" | 4025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4026 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4027 /^X\(\/\/\)$/{ s//\1/; q; } 4028 /^X\(\/\).*/{ s//\1/; q; } 4029 s/.*/./; q'` 4030 else 4031 continue 4032 fi 4033 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 4034 # Extract the definition of DEP_FILES from the Makefile without 4035 # running `make'. 4036 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 4037 test -z "$DEPDIR" && continue 4038 # When using ansi2knr, U may be empty or an underscore; expand it 4039 U=`sed -n -e '/^U = / s///p' < "$mf"` 4040 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 4041 # We invoke sed twice because it is the simplest approach to 4042 # changing $(DEPDIR) to its actual value in the expansion. 4043 for file in `sed -n -e ' 4044 /^DEP_FILES = .*\\\\$/ { 4045 s/^DEP_FILES = // 4046 :loop 4047 s/\\\\$// 4048 p 4049 n 4050 /\\\\$/ b loop 4051 p 4052 } 4053 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 4054 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 4055 # Make sure the directory exists. 4056 test -f "$dirpart/$file" && continue 4057 fdir=`(dirname "$file") 2>/dev/null || 4058$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4059 X"$file" : 'X\(//\)[^/]' \| \ 4060 X"$file" : 'X\(//\)$' \| \ 4061 X"$file" : 'X\(/\)' \| \ 4062 . : '\(.\)' 2>/dev/null || 4063echo X"$file" | 4064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4065 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4066 /^X\(\/\/\)$/{ s//\1/; q; } 4067 /^X\(\/\).*/{ s//\1/; q; } 4068 s/.*/./; q'` 4069 { if $as_mkdir_p; then 4070 mkdir -p $dirpart/$fdir 4071 else 4072 as_dir=$dirpart/$fdir 4073 as_dirs= 4074 while test ! -d "$as_dir"; do 4075 as_dirs="$as_dir $as_dirs" 4076 as_dir=`(dirname "$as_dir") 2>/dev/null || 4077$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4078 X"$as_dir" : 'X\(//\)[^/]' \| \ 4079 X"$as_dir" : 'X\(//\)$' \| \ 4080 X"$as_dir" : 'X\(/\)' \| \ 4081 . : '\(.\)' 2>/dev/null || 4082echo X"$as_dir" | 4083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4084 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4085 /^X\(\/\/\)$/{ s//\1/; q; } 4086 /^X\(\/\).*/{ s//\1/; q; } 4087 s/.*/./; q'` 4088 done 4089 test ! -n "$as_dirs" || mkdir $as_dirs 4090 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 4091echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 4092 { (exit 1); exit 1; }; }; } 4093 4094 # echo "creating $dirpart/$file" 4095 echo '# dummy' > "$dirpart/$file" 4096 done 4097done 4098 ;; 4099 esac 4100done 4101_ACEOF 4102 4103cat >>$CONFIG_STATUS <<\_ACEOF 4104 4105{ (exit 0); exit 0; } 4106_ACEOF 4107chmod +x $CONFIG_STATUS 4108ac_clean_files=$ac_clean_files_save 4109 4110 4111# configure is writing to config.log, and then calls config.status. 4112# config.status does its own redirection, appending to config.log. 4113# Unfortunately, on DOS this fails, as config.log is still kept open 4114# by configure, so config.status won't be able to write to it; its 4115# output is simply discarded. So we exec the FD to /dev/null, 4116# effectively closing config.log, so it can be properly (re)opened and 4117# appended to by config.status. When coming back to configure, we 4118# need to make the FD available again. 4119if test "$no_create" != yes; then 4120 ac_cs_success=: 4121 ac_config_status_args= 4122 test "$silent" = yes && 4123 ac_config_status_args="$ac_config_status_args --quiet" 4124 exec 5>/dev/null 4125 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4126 exec 5>>config.log 4127 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4128 # would make configure fail if this is the last instruction. 4129 $ac_cs_success || { (exit 1); exit 1; } 4130fi 4131 4132