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