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