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