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