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