[9642] | 1 | #! /bin/sh |
---|
| 2 | # Guess values for system-dependent variables and create Makefiles. |
---|
[9739] | 3 | # Generated by GNU Autoconf 2.69 for vine-notify-update 0.9.0. |
---|
[9642] | 4 | # |
---|
| 5 | # |
---|
[9739] | 6 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
---|
[9642] | 7 | # |
---|
| 8 | # |
---|
| 9 | # This configure script is free software; the Free Software Foundation |
---|
| 10 | # gives unlimited permission to copy, distribute and modify it. |
---|
| 11 | ## -------------------- ## |
---|
| 12 | ## M4sh Initialization. ## |
---|
| 13 | ## -------------------- ## |
---|
| 14 | |
---|
| 15 | # Be more Bourne compatible |
---|
| 16 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 18 | emulate sh |
---|
| 19 | NULLCMD=: |
---|
| 20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
| 21 | # is contrary to our usage. Disable this feature. |
---|
| 22 | alias -g '${1+"$@"}'='"$@"' |
---|
| 23 | setopt NO_GLOB_SUBST |
---|
| 24 | else |
---|
| 25 | case `(set -o) 2>/dev/null` in #( |
---|
| 26 | *posix*) : |
---|
| 27 | set -o posix ;; #( |
---|
| 28 | *) : |
---|
| 29 | ;; |
---|
| 30 | esac |
---|
| 31 | fi |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | as_nl=' |
---|
| 35 | ' |
---|
| 36 | export as_nl |
---|
| 37 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
| 38 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
| 39 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 40 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 41 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
| 42 | # but without wasting forks for bash or zsh. |
---|
| 43 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
| 44 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 45 | as_echo='print -r --' |
---|
| 46 | as_echo_n='print -rn --' |
---|
| 47 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 48 | as_echo='printf %s\n' |
---|
| 49 | as_echo_n='printf %s' |
---|
| 50 | else |
---|
| 51 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
| 52 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
| 53 | as_echo_n='/usr/ucb/echo -n' |
---|
| 54 | else |
---|
| 55 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
| 56 | as_echo_n_body='eval |
---|
| 57 | arg=$1; |
---|
| 58 | case $arg in #( |
---|
| 59 | *"$as_nl"*) |
---|
| 60 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
| 61 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
| 62 | esac; |
---|
| 63 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
| 64 | ' |
---|
| 65 | export as_echo_n_body |
---|
| 66 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
| 67 | fi |
---|
| 68 | export as_echo_body |
---|
| 69 | as_echo='sh -c $as_echo_body as_echo' |
---|
| 70 | fi |
---|
| 71 | |
---|
| 72 | # The user is always right. |
---|
| 73 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 74 | PATH_SEPARATOR=: |
---|
| 75 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
| 76 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
| 77 | PATH_SEPARATOR=';' |
---|
| 78 | } |
---|
| 79 | fi |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | # IFS |
---|
| 83 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 84 | # there to prevent editors from complaining about space-tab. |
---|
| 85 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 86 | # splitting by setting IFS to empty value.) |
---|
| 87 | IFS=" "" $as_nl" |
---|
| 88 | |
---|
| 89 | # Find who we are. Look in the path if we contain no directory separator. |
---|
| 90 | as_myself= |
---|
| 91 | case $0 in #(( |
---|
| 92 | *[\\/]* ) as_myself=$0 ;; |
---|
| 93 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 94 | for as_dir in $PATH |
---|
| 95 | do |
---|
| 96 | IFS=$as_save_IFS |
---|
| 97 | test -z "$as_dir" && as_dir=. |
---|
| 98 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 99 | done |
---|
| 100 | IFS=$as_save_IFS |
---|
| 101 | |
---|
| 102 | ;; |
---|
| 103 | esac |
---|
| 104 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 105 | # in which case we are not to be found in the path. |
---|
| 106 | if test "x$as_myself" = x; then |
---|
| 107 | as_myself=$0 |
---|
| 108 | fi |
---|
| 109 | if test ! -f "$as_myself"; then |
---|
| 110 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 111 | exit 1 |
---|
| 112 | fi |
---|
| 113 | |
---|
| 114 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
| 115 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
| 116 | # suppresses any "Segmentation fault" message there. '((' could |
---|
| 117 | # trigger a bug in pdksh 5.2.14. |
---|
| 118 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
| 119 | do eval test x\${$as_var+set} = xset \ |
---|
| 120 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
| 121 | done |
---|
| 122 | PS1='$ ' |
---|
| 123 | PS2='> ' |
---|
| 124 | PS4='+ ' |
---|
| 125 | |
---|
| 126 | # NLS nuisances. |
---|
| 127 | LC_ALL=C |
---|
| 128 | export LC_ALL |
---|
| 129 | LANGUAGE=C |
---|
| 130 | export LANGUAGE |
---|
| 131 | |
---|
| 132 | # CDPATH. |
---|
| 133 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
| 134 | |
---|
[9739] | 135 | # Use a proper internal environment variable to ensure we don't fall |
---|
| 136 | # into an infinite loop, continuously re-executing ourselves. |
---|
| 137 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
---|
| 138 | _as_can_reexec=no; export _as_can_reexec; |
---|
| 139 | # We cannot yet assume a decent shell, so we have to provide a |
---|
| 140 | # neutralization value for shells without unset; and this also |
---|
| 141 | # works around shells that cannot unset nonexistent variables. |
---|
| 142 | # Preserve -v and -x to the replacement shell. |
---|
| 143 | BASH_ENV=/dev/null |
---|
| 144 | ENV=/dev/null |
---|
| 145 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
| 146 | case $- in # (((( |
---|
| 147 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
| 148 | *v* ) as_opts=-v ;; |
---|
| 149 | *x* ) as_opts=-x ;; |
---|
| 150 | * ) as_opts= ;; |
---|
| 151 | esac |
---|
| 152 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
---|
| 153 | # Admittedly, this is quite paranoid, since all the known shells bail |
---|
| 154 | # out after a failed `exec'. |
---|
| 155 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
---|
| 156 | as_fn_exit 255 |
---|
| 157 | fi |
---|
| 158 | # We don't want this to propagate to other subprocesses. |
---|
| 159 | { _as_can_reexec=; unset _as_can_reexec;} |
---|
[9642] | 160 | if test "x$CONFIG_SHELL" = x; then |
---|
| 161 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 162 | emulate sh |
---|
| 163 | NULLCMD=: |
---|
| 164 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
---|
| 165 | # is contrary to our usage. Disable this feature. |
---|
| 166 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
---|
| 167 | setopt NO_GLOB_SUBST |
---|
| 168 | else |
---|
| 169 | case \`(set -o) 2>/dev/null\` in #( |
---|
| 170 | *posix*) : |
---|
| 171 | set -o posix ;; #( |
---|
| 172 | *) : |
---|
| 173 | ;; |
---|
| 174 | esac |
---|
| 175 | fi |
---|
| 176 | " |
---|
| 177 | as_required="as_fn_return () { (exit \$1); } |
---|
| 178 | as_fn_success () { as_fn_return 0; } |
---|
| 179 | as_fn_failure () { as_fn_return 1; } |
---|
| 180 | as_fn_ret_success () { return 0; } |
---|
| 181 | as_fn_ret_failure () { return 1; } |
---|
| 182 | |
---|
| 183 | exitcode=0 |
---|
| 184 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
---|
| 185 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
---|
| 186 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
---|
| 187 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
---|
| 188 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
---|
| 189 | |
---|
| 190 | else |
---|
| 191 | exitcode=1; echo positional parameters were not saved. |
---|
| 192 | fi |
---|
[9739] | 193 | test x\$exitcode = x0 || exit 1 |
---|
| 194 | test -x / || exit 1" |
---|
[9642] | 195 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
---|
| 196 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
---|
| 197 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
---|
| 198 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
---|
| 199 | test \$(( 1 + 1 )) = 2 || exit 1" |
---|
| 200 | if (eval "$as_required") 2>/dev/null; then : |
---|
| 201 | as_have_required=yes |
---|
| 202 | else |
---|
| 203 | as_have_required=no |
---|
| 204 | fi |
---|
| 205 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
---|
| 206 | |
---|
| 207 | else |
---|
| 208 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 209 | as_found=false |
---|
| 210 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
---|
| 211 | do |
---|
| 212 | IFS=$as_save_IFS |
---|
| 213 | test -z "$as_dir" && as_dir=. |
---|
| 214 | as_found=: |
---|
| 215 | case $as_dir in #( |
---|
| 216 | /*) |
---|
| 217 | for as_base in sh bash ksh sh5; do |
---|
| 218 | # Try only shells that exist, to save several forks. |
---|
| 219 | as_shell=$as_dir/$as_base |
---|
| 220 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
---|
| 221 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
| 222 | CONFIG_SHELL=$as_shell as_have_required=yes |
---|
| 223 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
---|
| 224 | break 2 |
---|
| 225 | fi |
---|
| 226 | fi |
---|
| 227 | done;; |
---|
| 228 | esac |
---|
| 229 | as_found=false |
---|
| 230 | done |
---|
| 231 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
---|
| 232 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
---|
| 233 | CONFIG_SHELL=$SHELL as_have_required=yes |
---|
| 234 | fi; } |
---|
| 235 | IFS=$as_save_IFS |
---|
| 236 | |
---|
| 237 | |
---|
| 238 | if test "x$CONFIG_SHELL" != x; then : |
---|
[9739] | 239 | export CONFIG_SHELL |
---|
| 240 | # We cannot yet assume a decent shell, so we have to provide a |
---|
| 241 | # neutralization value for shells without unset; and this also |
---|
| 242 | # works around shells that cannot unset nonexistent variables. |
---|
| 243 | # Preserve -v and -x to the replacement shell. |
---|
| 244 | BASH_ENV=/dev/null |
---|
| 245 | ENV=/dev/null |
---|
| 246 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
---|
| 247 | case $- in # (((( |
---|
| 248 | *v*x* | *x*v* ) as_opts=-vx ;; |
---|
| 249 | *v* ) as_opts=-v ;; |
---|
| 250 | *x* ) as_opts=-x ;; |
---|
| 251 | * ) as_opts= ;; |
---|
| 252 | esac |
---|
| 253 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
---|
| 254 | # Admittedly, this is quite paranoid, since all the known shells bail |
---|
| 255 | # out after a failed `exec'. |
---|
| 256 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
---|
| 257 | exit 255 |
---|
[9642] | 258 | fi |
---|
| 259 | |
---|
| 260 | if test x$as_have_required = xno; then : |
---|
| 261 | $as_echo "$0: This script requires a shell more modern than all" |
---|
| 262 | $as_echo "$0: the shells that I found on your system." |
---|
| 263 | if test x${ZSH_VERSION+set} = xset ; then |
---|
| 264 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
---|
| 265 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
---|
| 266 | else |
---|
| 267 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
---|
| 268 | $0: including any error possibly output before this |
---|
| 269 | $0: message. Then install a modern shell, or manually run |
---|
| 270 | $0: the script under such a shell if you do have one." |
---|
| 271 | fi |
---|
| 272 | exit 1 |
---|
| 273 | fi |
---|
| 274 | fi |
---|
| 275 | fi |
---|
| 276 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
| 277 | export SHELL |
---|
| 278 | # Unset more variables known to interfere with behavior of common tools. |
---|
| 279 | CLICOLOR_FORCE= GREP_OPTIONS= |
---|
| 280 | unset CLICOLOR_FORCE GREP_OPTIONS |
---|
| 281 | |
---|
| 282 | ## --------------------- ## |
---|
| 283 | ## M4sh Shell Functions. ## |
---|
| 284 | ## --------------------- ## |
---|
| 285 | # as_fn_unset VAR |
---|
| 286 | # --------------- |
---|
| 287 | # Portably unset VAR. |
---|
| 288 | as_fn_unset () |
---|
| 289 | { |
---|
| 290 | { eval $1=; unset $1;} |
---|
| 291 | } |
---|
| 292 | as_unset=as_fn_unset |
---|
| 293 | |
---|
| 294 | # as_fn_set_status STATUS |
---|
| 295 | # ----------------------- |
---|
| 296 | # Set $? to STATUS, without forking. |
---|
| 297 | as_fn_set_status () |
---|
| 298 | { |
---|
| 299 | return $1 |
---|
| 300 | } # as_fn_set_status |
---|
| 301 | |
---|
| 302 | # as_fn_exit STATUS |
---|
| 303 | # ----------------- |
---|
| 304 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
| 305 | as_fn_exit () |
---|
| 306 | { |
---|
| 307 | set +e |
---|
| 308 | as_fn_set_status $1 |
---|
| 309 | exit $1 |
---|
| 310 | } # as_fn_exit |
---|
| 311 | |
---|
| 312 | # as_fn_mkdir_p |
---|
| 313 | # ------------- |
---|
| 314 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
| 315 | as_fn_mkdir_p () |
---|
| 316 | { |
---|
| 317 | |
---|
| 318 | case $as_dir in #( |
---|
| 319 | -*) as_dir=./$as_dir;; |
---|
| 320 | esac |
---|
| 321 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
| 322 | as_dirs= |
---|
| 323 | while :; do |
---|
| 324 | case $as_dir in #( |
---|
| 325 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
| 326 | *) as_qdir=$as_dir;; |
---|
| 327 | esac |
---|
| 328 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 329 | as_dir=`$as_dirname -- "$as_dir" || |
---|
| 330 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 331 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 332 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 333 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 334 | $as_echo X"$as_dir" | |
---|
| 335 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 336 | s//\1/ |
---|
| 337 | q |
---|
| 338 | } |
---|
| 339 | /^X\(\/\/\)[^/].*/{ |
---|
| 340 | s//\1/ |
---|
| 341 | q |
---|
| 342 | } |
---|
| 343 | /^X\(\/\/\)$/{ |
---|
| 344 | s//\1/ |
---|
| 345 | q |
---|
| 346 | } |
---|
| 347 | /^X\(\/\).*/{ |
---|
| 348 | s//\1/ |
---|
| 349 | q |
---|
| 350 | } |
---|
| 351 | s/.*/./; q'` |
---|
| 352 | test -d "$as_dir" && break |
---|
| 353 | done |
---|
| 354 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 355 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
| 356 | |
---|
| 357 | |
---|
| 358 | } # as_fn_mkdir_p |
---|
[9739] | 359 | |
---|
| 360 | # as_fn_executable_p FILE |
---|
| 361 | # ----------------------- |
---|
| 362 | # Test if FILE is an executable regular file. |
---|
| 363 | as_fn_executable_p () |
---|
| 364 | { |
---|
| 365 | test -f "$1" && test -x "$1" |
---|
| 366 | } # as_fn_executable_p |
---|
[9642] | 367 | # as_fn_append VAR VALUE |
---|
| 368 | # ---------------------- |
---|
| 369 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
| 370 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
| 371 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
| 372 | # implementations. |
---|
| 373 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
| 374 | eval 'as_fn_append () |
---|
| 375 | { |
---|
| 376 | eval $1+=\$2 |
---|
| 377 | }' |
---|
| 378 | else |
---|
| 379 | as_fn_append () |
---|
| 380 | { |
---|
| 381 | eval $1=\$$1\$2 |
---|
| 382 | } |
---|
| 383 | fi # as_fn_append |
---|
| 384 | |
---|
| 385 | # as_fn_arith ARG... |
---|
| 386 | # ------------------ |
---|
| 387 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
| 388 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
| 389 | # must be portable across $(()) and expr. |
---|
| 390 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
| 391 | eval 'as_fn_arith () |
---|
| 392 | { |
---|
| 393 | as_val=$(( $* )) |
---|
| 394 | }' |
---|
| 395 | else |
---|
| 396 | as_fn_arith () |
---|
| 397 | { |
---|
| 398 | as_val=`expr "$@" || test $? -eq 1` |
---|
| 399 | } |
---|
| 400 | fi # as_fn_arith |
---|
| 401 | |
---|
| 402 | |
---|
| 403 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
| 404 | # ---------------------------------------- |
---|
| 405 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
| 406 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
| 407 | # script with STATUS, using 1 if that was 0. |
---|
| 408 | as_fn_error () |
---|
| 409 | { |
---|
| 410 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
| 411 | if test "$4"; then |
---|
| 412 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 413 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
| 414 | fi |
---|
| 415 | $as_echo "$as_me: error: $2" >&2 |
---|
| 416 | as_fn_exit $as_status |
---|
| 417 | } # as_fn_error |
---|
| 418 | |
---|
| 419 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 420 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
| 421 | as_expr=expr |
---|
| 422 | else |
---|
| 423 | as_expr=false |
---|
| 424 | fi |
---|
| 425 | |
---|
| 426 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
| 427 | as_basename=basename |
---|
| 428 | else |
---|
| 429 | as_basename=false |
---|
| 430 | fi |
---|
| 431 | |
---|
| 432 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 433 | as_dirname=dirname |
---|
| 434 | else |
---|
| 435 | as_dirname=false |
---|
| 436 | fi |
---|
| 437 | |
---|
| 438 | as_me=`$as_basename -- "$0" || |
---|
| 439 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 440 | X"$0" : 'X\(//\)$' \| \ |
---|
| 441 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 442 | $as_echo X/"$0" | |
---|
| 443 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 444 | s//\1/ |
---|
| 445 | q |
---|
| 446 | } |
---|
| 447 | /^X\/\(\/\/\)$/{ |
---|
| 448 | s//\1/ |
---|
| 449 | q |
---|
| 450 | } |
---|
| 451 | /^X\/\(\/\).*/{ |
---|
| 452 | s//\1/ |
---|
| 453 | q |
---|
| 454 | } |
---|
| 455 | s/.*/./; q'` |
---|
| 456 | |
---|
| 457 | # Avoid depending upon Character Ranges. |
---|
| 458 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 459 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 460 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 461 | as_cr_digits='0123456789' |
---|
| 462 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 463 | |
---|
| 464 | |
---|
| 465 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
---|
| 466 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
---|
| 467 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
---|
| 468 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
---|
| 469 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
---|
| 470 | sed -n ' |
---|
| 471 | p |
---|
| 472 | /[$]LINENO/= |
---|
| 473 | ' <$as_myself | |
---|
| 474 | sed ' |
---|
| 475 | s/[$]LINENO.*/&-/ |
---|
| 476 | t lineno |
---|
| 477 | b |
---|
| 478 | :lineno |
---|
| 479 | N |
---|
| 480 | :loop |
---|
| 481 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
---|
| 482 | t loop |
---|
| 483 | s/-\n.*// |
---|
| 484 | ' >$as_me.lineno && |
---|
| 485 | chmod +x "$as_me.lineno" || |
---|
| 486 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
---|
| 487 | |
---|
[9739] | 488 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
---|
| 489 | # already done that, so ensure we don't try to do so again and fall |
---|
| 490 | # in an infinite loop. This has already happened in practice. |
---|
| 491 | _as_can_reexec=no; export _as_can_reexec |
---|
[9642] | 492 | # Don't try to exec as it changes $[0], causing all sort of problems |
---|
| 493 | # (the dirname of $[0] is not the place where we might find the |
---|
| 494 | # original and so on. Autoconf is especially sensitive to this). |
---|
| 495 | . "./$as_me.lineno" |
---|
| 496 | # Exit status is that of the last command. |
---|
| 497 | exit |
---|
| 498 | } |
---|
| 499 | |
---|
| 500 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 501 | case `echo -n x` in #((((( |
---|
| 502 | -n*) |
---|
| 503 | case `echo 'xy\c'` in |
---|
| 504 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 505 | xy) ECHO_C='\c';; |
---|
| 506 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
| 507 | ECHO_T=' ';; |
---|
| 508 | esac;; |
---|
| 509 | *) |
---|
| 510 | ECHO_N='-n';; |
---|
| 511 | esac |
---|
| 512 | |
---|
| 513 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 514 | if test -d conf$$.dir; then |
---|
| 515 | rm -f conf$$.dir/conf$$.file |
---|
| 516 | else |
---|
| 517 | rm -f conf$$.dir |
---|
| 518 | mkdir conf$$.dir 2>/dev/null |
---|
| 519 | fi |
---|
| 520 | if (echo >conf$$.file) 2>/dev/null; then |
---|
| 521 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 522 | as_ln_s='ln -s' |
---|
| 523 | # ... but there are two gotchas: |
---|
| 524 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 525 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
[9739] | 526 | # In both cases, we have to default to `cp -pR'. |
---|
[9642] | 527 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
[9739] | 528 | as_ln_s='cp -pR' |
---|
[9642] | 529 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 530 | as_ln_s=ln |
---|
| 531 | else |
---|
[9739] | 532 | as_ln_s='cp -pR' |
---|
[9642] | 533 | fi |
---|
| 534 | else |
---|
[9739] | 535 | as_ln_s='cp -pR' |
---|
[9642] | 536 | fi |
---|
| 537 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 538 | rmdir conf$$.dir 2>/dev/null |
---|
| 539 | |
---|
| 540 | if mkdir -p . 2>/dev/null; then |
---|
| 541 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
| 542 | else |
---|
| 543 | test -d ./-p && rmdir ./-p |
---|
| 544 | as_mkdir_p=false |
---|
| 545 | fi |
---|
| 546 | |
---|
[9739] | 547 | as_test_x='test -x' |
---|
| 548 | as_executable_p=as_fn_executable_p |
---|
[9642] | 549 | |
---|
| 550 | # Sed expression to map a string onto a valid CPP name. |
---|
| 551 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 552 | |
---|
| 553 | # Sed expression to map a string onto a valid variable name. |
---|
| 554 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 555 | |
---|
| 556 | as_awk_strverscmp=' |
---|
| 557 | # Use only awk features that work with 7th edition Unix awk (1978). |
---|
| 558 | # My, what an old awk you have, Mr. Solaris! |
---|
| 559 | END { |
---|
| 560 | while (length(v1) && length(v2)) { |
---|
| 561 | # Set d1 to be the next thing to compare from v1, and likewise for d2. |
---|
| 562 | # Normally this is a single character, but if v1 and v2 contain digits, |
---|
| 563 | # compare them as integers and fractions as strverscmp does. |
---|
| 564 | if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) { |
---|
| 565 | # Split v1 and v2 into their leading digit string components d1 and d2, |
---|
| 566 | # and advance v1 and v2 past the leading digit strings. |
---|
| 567 | for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue |
---|
| 568 | for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue |
---|
| 569 | d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1) |
---|
| 570 | d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1) |
---|
| 571 | if (d1 ~ /^0/) { |
---|
| 572 | if (d2 ~ /^0/) { |
---|
| 573 | # Compare two fractions. |
---|
| 574 | while (d1 ~ /^0/ && d2 ~ /^0/) { |
---|
| 575 | d1 = substr(d1, 2); len1-- |
---|
| 576 | d2 = substr(d2, 2); len2-- |
---|
| 577 | } |
---|
| 578 | if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) { |
---|
| 579 | # The two components differ in length, and the common prefix |
---|
| 580 | # contains only leading zeros. Consider the longer to be less. |
---|
| 581 | d1 = -len1 |
---|
| 582 | d2 = -len2 |
---|
| 583 | } else { |
---|
| 584 | # Otherwise, compare as strings. |
---|
| 585 | d1 = "x" d1 |
---|
| 586 | d2 = "x" d2 |
---|
| 587 | } |
---|
| 588 | } else { |
---|
| 589 | # A fraction is less than an integer. |
---|
| 590 | exit 1 |
---|
| 591 | } |
---|
| 592 | } else { |
---|
| 593 | if (d2 ~ /^0/) { |
---|
| 594 | # An integer is greater than a fraction. |
---|
| 595 | exit 2 |
---|
| 596 | } else { |
---|
| 597 | # Compare two integers. |
---|
| 598 | d1 += 0 |
---|
| 599 | d2 += 0 |
---|
| 600 | } |
---|
| 601 | } |
---|
| 602 | } else { |
---|
| 603 | # The normal case, without worrying about digits. |
---|
| 604 | d1 = substr(v1, 1, 1); v1 = substr(v1, 2) |
---|
| 605 | d2 = substr(v2, 1, 1); v2 = substr(v2, 2) |
---|
| 606 | } |
---|
| 607 | if (d1 < d2) exit 1 |
---|
| 608 | if (d1 > d2) exit 2 |
---|
| 609 | } |
---|
| 610 | # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10), |
---|
| 611 | # which mishandles some comparisons of empty strings to integers. |
---|
| 612 | if (length(v2)) exit 1 |
---|
| 613 | if (length(v1)) exit 2 |
---|
| 614 | } |
---|
| 615 | ' |
---|
| 616 | |
---|
| 617 | test -n "$DJDIR" || exec 7<&0 </dev/null |
---|
| 618 | exec 6>&1 |
---|
| 619 | |
---|
| 620 | # Name of the host. |
---|
| 621 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
---|
| 622 | # so uname gets run too. |
---|
| 623 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 624 | |
---|
| 625 | # |
---|
| 626 | # Initializations. |
---|
| 627 | # |
---|
| 628 | ac_default_prefix=/usr/local |
---|
| 629 | ac_clean_files= |
---|
| 630 | ac_config_libobj_dir=. |
---|
| 631 | LIBOBJS= |
---|
| 632 | cross_compiling=no |
---|
| 633 | subdirs= |
---|
| 634 | MFLAGS= |
---|
| 635 | MAKEFLAGS= |
---|
| 636 | |
---|
| 637 | # Identity of this package. |
---|
| 638 | PACKAGE_NAME='vine-notify-update' |
---|
| 639 | PACKAGE_TARNAME='vine-notify-update' |
---|
[9739] | 640 | PACKAGE_VERSION='0.9.0' |
---|
| 641 | PACKAGE_STRING='vine-notify-update 0.9.0' |
---|
[9642] | 642 | PACKAGE_BUGREPORT='' |
---|
| 643 | PACKAGE_URL='' |
---|
| 644 | |
---|
| 645 | ac_unique_file="src/vine-notify-update.vala" |
---|
| 646 | # Factoring default headers for most tests. |
---|
| 647 | ac_includes_default="\ |
---|
| 648 | #include <stdio.h> |
---|
| 649 | #ifdef HAVE_SYS_TYPES_H |
---|
| 650 | # include <sys/types.h> |
---|
| 651 | #endif |
---|
| 652 | #ifdef HAVE_SYS_STAT_H |
---|
| 653 | # include <sys/stat.h> |
---|
| 654 | #endif |
---|
| 655 | #ifdef STDC_HEADERS |
---|
| 656 | # include <stdlib.h> |
---|
| 657 | # include <stddef.h> |
---|
| 658 | #else |
---|
| 659 | # ifdef HAVE_STDLIB_H |
---|
| 660 | # include <stdlib.h> |
---|
| 661 | # endif |
---|
| 662 | #endif |
---|
| 663 | #ifdef HAVE_STRING_H |
---|
| 664 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
---|
| 665 | # include <memory.h> |
---|
| 666 | # endif |
---|
| 667 | # include <string.h> |
---|
| 668 | #endif |
---|
| 669 | #ifdef HAVE_STRINGS_H |
---|
| 670 | # include <strings.h> |
---|
| 671 | #endif |
---|
| 672 | #ifdef HAVE_INTTYPES_H |
---|
| 673 | # include <inttypes.h> |
---|
| 674 | #endif |
---|
| 675 | #ifdef HAVE_STDINT_H |
---|
| 676 | # include <stdint.h> |
---|
| 677 | #endif |
---|
| 678 | #ifdef HAVE_UNISTD_H |
---|
| 679 | # include <unistd.h> |
---|
| 680 | #endif" |
---|
| 681 | |
---|
| 682 | ac_subst_vars='am__EXEEXT_FALSE |
---|
| 683 | am__EXEEXT_TRUE |
---|
| 684 | LTLIBOBJS |
---|
| 685 | LIBOBJS |
---|
| 686 | MKINSTALLDIRS |
---|
| 687 | POSUB |
---|
| 688 | POFILES |
---|
| 689 | PO_IN_DATADIR_FALSE |
---|
| 690 | PO_IN_DATADIR_TRUE |
---|
| 691 | INTLLIBS |
---|
| 692 | INSTOBJEXT |
---|
| 693 | GMOFILES |
---|
| 694 | CATOBJEXT |
---|
| 695 | CATALOGS |
---|
| 696 | MSGFMT_OPTS |
---|
| 697 | EGREP |
---|
| 698 | GREP |
---|
| 699 | CPP |
---|
| 700 | GETTEXT_PACKAGE |
---|
| 701 | VINE_NOTIFY_UPDATE_PACKAGES |
---|
| 702 | VINE_NOTIFY_UPDATE_LIBS |
---|
| 703 | VINE_NOTIFY_UPDATE_CFLAGS |
---|
| 704 | PKG_CONFIG_LIBDIR |
---|
| 705 | PKG_CONFIG_PATH |
---|
| 706 | PKG_CONFIG |
---|
| 707 | DATADIRNAME |
---|
| 708 | ALL_LINGUAS |
---|
| 709 | INTLTOOL_PERL |
---|
| 710 | GMSGFMT |
---|
| 711 | MSGFMT |
---|
| 712 | MSGMERGE |
---|
| 713 | XGETTEXT |
---|
| 714 | INTLTOOL_POLICY_RULE |
---|
| 715 | INTLTOOL_SERVICE_RULE |
---|
| 716 | INTLTOOL_THEME_RULE |
---|
| 717 | INTLTOOL_SCHEMAS_RULE |
---|
| 718 | INTLTOOL_CAVES_RULE |
---|
| 719 | INTLTOOL_XML_NOMERGE_RULE |
---|
| 720 | INTLTOOL_XML_RULE |
---|
| 721 | INTLTOOL_KBD_RULE |
---|
| 722 | INTLTOOL_XAM_RULE |
---|
| 723 | INTLTOOL_UI_RULE |
---|
| 724 | INTLTOOL_SOUNDLIST_RULE |
---|
| 725 | INTLTOOL_SHEET_RULE |
---|
| 726 | INTLTOOL_SERVER_RULE |
---|
| 727 | INTLTOOL_PONG_RULE |
---|
| 728 | INTLTOOL_OAF_RULE |
---|
| 729 | INTLTOOL_PROP_RULE |
---|
| 730 | INTLTOOL_KEYS_RULE |
---|
| 731 | INTLTOOL_DIRECTORY_RULE |
---|
| 732 | INTLTOOL_DESKTOP_RULE |
---|
| 733 | intltool__v_merge_options_0 |
---|
| 734 | intltool__v_merge_options_ |
---|
| 735 | INTLTOOL_V_MERGE_OPTIONS |
---|
| 736 | INTLTOOL__v_MERGE_0 |
---|
| 737 | INTLTOOL__v_MERGE_ |
---|
| 738 | INTLTOOL_V_MERGE |
---|
| 739 | INTLTOOL_EXTRACT |
---|
| 740 | INTLTOOL_MERGE |
---|
| 741 | INTLTOOL_UPDATE |
---|
| 742 | USE_NLS |
---|
| 743 | VALAC |
---|
| 744 | am__fastdepCC_FALSE |
---|
| 745 | am__fastdepCC_TRUE |
---|
| 746 | CCDEPMODE |
---|
[9739] | 747 | am__nodep |
---|
[9642] | 748 | AMDEPBACKSLASH |
---|
| 749 | AMDEP_FALSE |
---|
| 750 | AMDEP_TRUE |
---|
| 751 | am__quote |
---|
| 752 | am__include |
---|
| 753 | DEPDIR |
---|
| 754 | OBJEXT |
---|
| 755 | EXEEXT |
---|
| 756 | ac_ct_CC |
---|
| 757 | CPPFLAGS |
---|
| 758 | LDFLAGS |
---|
| 759 | CFLAGS |
---|
| 760 | CC |
---|
| 761 | MAINT |
---|
| 762 | MAINTAINER_MODE_FALSE |
---|
| 763 | MAINTAINER_MODE_TRUE |
---|
| 764 | AM_BACKSLASH |
---|
| 765 | AM_DEFAULT_VERBOSITY |
---|
[9739] | 766 | AM_DEFAULT_V |
---|
| 767 | AM_V |
---|
[9642] | 768 | am__untar |
---|
| 769 | am__tar |
---|
| 770 | AMTAR |
---|
| 771 | am__leading_dot |
---|
| 772 | SET_MAKE |
---|
| 773 | AWK |
---|
| 774 | mkdir_p |
---|
| 775 | MKDIR_P |
---|
| 776 | INSTALL_STRIP_PROGRAM |
---|
| 777 | STRIP |
---|
| 778 | install_sh |
---|
| 779 | MAKEINFO |
---|
| 780 | AUTOHEADER |
---|
| 781 | AUTOMAKE |
---|
| 782 | AUTOCONF |
---|
| 783 | ACLOCAL |
---|
| 784 | VERSION |
---|
| 785 | PACKAGE |
---|
| 786 | CYGPATH_W |
---|
| 787 | am__isrc |
---|
| 788 | INSTALL_DATA |
---|
| 789 | INSTALL_SCRIPT |
---|
| 790 | INSTALL_PROGRAM |
---|
| 791 | target_alias |
---|
| 792 | host_alias |
---|
| 793 | build_alias |
---|
| 794 | LIBS |
---|
| 795 | ECHO_T |
---|
| 796 | ECHO_N |
---|
| 797 | ECHO_C |
---|
| 798 | DEFS |
---|
| 799 | mandir |
---|
| 800 | localedir |
---|
| 801 | libdir |
---|
| 802 | psdir |
---|
| 803 | pdfdir |
---|
| 804 | dvidir |
---|
| 805 | htmldir |
---|
| 806 | infodir |
---|
| 807 | docdir |
---|
| 808 | oldincludedir |
---|
| 809 | includedir |
---|
| 810 | localstatedir |
---|
| 811 | sharedstatedir |
---|
| 812 | sysconfdir |
---|
| 813 | datadir |
---|
| 814 | datarootdir |
---|
| 815 | libexecdir |
---|
| 816 | sbindir |
---|
| 817 | bindir |
---|
| 818 | program_transform_name |
---|
| 819 | prefix |
---|
| 820 | exec_prefix |
---|
| 821 | PACKAGE_URL |
---|
| 822 | PACKAGE_BUGREPORT |
---|
| 823 | PACKAGE_STRING |
---|
| 824 | PACKAGE_VERSION |
---|
| 825 | PACKAGE_TARNAME |
---|
| 826 | PACKAGE_NAME |
---|
| 827 | PATH_SEPARATOR |
---|
| 828 | SHELL' |
---|
| 829 | ac_subst_files='' |
---|
| 830 | ac_user_opts=' |
---|
| 831 | enable_option_checking |
---|
| 832 | enable_silent_rules |
---|
| 833 | enable_maintainer_mode |
---|
| 834 | enable_dependency_tracking |
---|
| 835 | enable_nls |
---|
| 836 | ' |
---|
| 837 | ac_precious_vars='build_alias |
---|
| 838 | host_alias |
---|
| 839 | target_alias |
---|
| 840 | CC |
---|
| 841 | CFLAGS |
---|
| 842 | LDFLAGS |
---|
| 843 | LIBS |
---|
| 844 | CPPFLAGS |
---|
| 845 | PKG_CONFIG |
---|
| 846 | PKG_CONFIG_PATH |
---|
| 847 | PKG_CONFIG_LIBDIR |
---|
| 848 | VINE_NOTIFY_UPDATE_CFLAGS |
---|
| 849 | VINE_NOTIFY_UPDATE_LIBS |
---|
| 850 | CPP' |
---|
| 851 | |
---|
| 852 | |
---|
| 853 | # Initialize some variables set by options. |
---|
| 854 | ac_init_help= |
---|
| 855 | ac_init_version=false |
---|
| 856 | ac_unrecognized_opts= |
---|
| 857 | ac_unrecognized_sep= |
---|
| 858 | # The variables have the same names as the options, with |
---|
| 859 | # dashes changed to underlines. |
---|
| 860 | cache_file=/dev/null |
---|
| 861 | exec_prefix=NONE |
---|
| 862 | no_create= |
---|
| 863 | no_recursion= |
---|
| 864 | prefix=NONE |
---|
| 865 | program_prefix=NONE |
---|
| 866 | program_suffix=NONE |
---|
| 867 | program_transform_name=s,x,x, |
---|
| 868 | silent= |
---|
| 869 | site= |
---|
| 870 | srcdir= |
---|
| 871 | verbose= |
---|
| 872 | x_includes=NONE |
---|
| 873 | x_libraries=NONE |
---|
| 874 | |
---|
| 875 | # Installation directory options. |
---|
| 876 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
---|
| 877 | # and all the variables that are supposed to be based on exec_prefix |
---|
| 878 | # by default will actually change. |
---|
| 879 | # Use braces instead of parens because sh, perl, etc. also accept them. |
---|
| 880 | # (The list follows the same order as the GNU Coding Standards.) |
---|
| 881 | bindir='${exec_prefix}/bin' |
---|
| 882 | sbindir='${exec_prefix}/sbin' |
---|
| 883 | libexecdir='${exec_prefix}/libexec' |
---|
| 884 | datarootdir='${prefix}/share' |
---|
| 885 | datadir='${datarootdir}' |
---|
| 886 | sysconfdir='${prefix}/etc' |
---|
| 887 | sharedstatedir='${prefix}/com' |
---|
| 888 | localstatedir='${prefix}/var' |
---|
| 889 | includedir='${prefix}/include' |
---|
| 890 | oldincludedir='/usr/include' |
---|
| 891 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
| 892 | infodir='${datarootdir}/info' |
---|
| 893 | htmldir='${docdir}' |
---|
| 894 | dvidir='${docdir}' |
---|
| 895 | pdfdir='${docdir}' |
---|
| 896 | psdir='${docdir}' |
---|
| 897 | libdir='${exec_prefix}/lib' |
---|
| 898 | localedir='${datarootdir}/locale' |
---|
| 899 | mandir='${datarootdir}/man' |
---|
| 900 | |
---|
| 901 | ac_prev= |
---|
| 902 | ac_dashdash= |
---|
| 903 | for ac_option |
---|
| 904 | do |
---|
| 905 | # If the previous option needs an argument, assign it. |
---|
| 906 | if test -n "$ac_prev"; then |
---|
| 907 | eval $ac_prev=\$ac_option |
---|
| 908 | ac_prev= |
---|
| 909 | continue |
---|
| 910 | fi |
---|
| 911 | |
---|
| 912 | case $ac_option in |
---|
| 913 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
---|
| 914 | *=) ac_optarg= ;; |
---|
| 915 | *) ac_optarg=yes ;; |
---|
| 916 | esac |
---|
| 917 | |
---|
| 918 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 919 | |
---|
| 920 | case $ac_dashdash$ac_option in |
---|
| 921 | --) |
---|
| 922 | ac_dashdash=yes ;; |
---|
| 923 | |
---|
| 924 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 925 | ac_prev=bindir ;; |
---|
| 926 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
| 927 | bindir=$ac_optarg ;; |
---|
| 928 | |
---|
| 929 | -build | --build | --buil | --bui | --bu) |
---|
| 930 | ac_prev=build_alias ;; |
---|
| 931 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
| 932 | build_alias=$ac_optarg ;; |
---|
| 933 | |
---|
| 934 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 935 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 936 | ac_prev=cache_file ;; |
---|
| 937 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 938 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
| 939 | cache_file=$ac_optarg ;; |
---|
| 940 | |
---|
| 941 | --config-cache | -C) |
---|
| 942 | cache_file=config.cache ;; |
---|
| 943 | |
---|
| 944 | -datadir | --datadir | --datadi | --datad) |
---|
| 945 | ac_prev=datadir ;; |
---|
| 946 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
---|
| 947 | datadir=$ac_optarg ;; |
---|
| 948 | |
---|
| 949 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
---|
| 950 | | --dataroo | --dataro | --datar) |
---|
| 951 | ac_prev=datarootdir ;; |
---|
| 952 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
---|
| 953 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
---|
| 954 | datarootdir=$ac_optarg ;; |
---|
| 955 | |
---|
| 956 | -disable-* | --disable-*) |
---|
| 957 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
---|
| 958 | # Reject names that are not valid shell variable names. |
---|
| 959 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 960 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
| 961 | ac_useropt_orig=$ac_useropt |
---|
| 962 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 963 | case $ac_user_opts in |
---|
| 964 | *" |
---|
| 965 | "enable_$ac_useropt" |
---|
| 966 | "*) ;; |
---|
| 967 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
---|
| 968 | ac_unrecognized_sep=', ';; |
---|
| 969 | esac |
---|
| 970 | eval enable_$ac_useropt=no ;; |
---|
| 971 | |
---|
| 972 | -docdir | --docdir | --docdi | --doc | --do) |
---|
| 973 | ac_prev=docdir ;; |
---|
| 974 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
---|
| 975 | docdir=$ac_optarg ;; |
---|
| 976 | |
---|
| 977 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
---|
| 978 | ac_prev=dvidir ;; |
---|
| 979 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
---|
| 980 | dvidir=$ac_optarg ;; |
---|
| 981 | |
---|
| 982 | -enable-* | --enable-*) |
---|
| 983 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
---|
| 984 | # Reject names that are not valid shell variable names. |
---|
| 985 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 986 | as_fn_error $? "invalid feature name: $ac_useropt" |
---|
| 987 | ac_useropt_orig=$ac_useropt |
---|
| 988 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 989 | case $ac_user_opts in |
---|
| 990 | *" |
---|
| 991 | "enable_$ac_useropt" |
---|
| 992 | "*) ;; |
---|
| 993 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
---|
| 994 | ac_unrecognized_sep=', ';; |
---|
| 995 | esac |
---|
| 996 | eval enable_$ac_useropt=\$ac_optarg ;; |
---|
| 997 | |
---|
| 998 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 999 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 1000 | | --exec | --exe | --ex) |
---|
| 1001 | ac_prev=exec_prefix ;; |
---|
| 1002 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 1003 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 1004 | | --exec=* | --exe=* | --ex=*) |
---|
| 1005 | exec_prefix=$ac_optarg ;; |
---|
| 1006 | |
---|
| 1007 | -gas | --gas | --ga | --g) |
---|
| 1008 | # Obsolete; use --with-gas. |
---|
| 1009 | with_gas=yes ;; |
---|
| 1010 | |
---|
| 1011 | -help | --help | --hel | --he | -h) |
---|
| 1012 | ac_init_help=long ;; |
---|
| 1013 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
---|
| 1014 | ac_init_help=recursive ;; |
---|
| 1015 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
---|
| 1016 | ac_init_help=short ;; |
---|
| 1017 | |
---|
| 1018 | -host | --host | --hos | --ho) |
---|
| 1019 | ac_prev=host_alias ;; |
---|
| 1020 | -host=* | --host=* | --hos=* | --ho=*) |
---|
| 1021 | host_alias=$ac_optarg ;; |
---|
| 1022 | |
---|
| 1023 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
---|
| 1024 | ac_prev=htmldir ;; |
---|
| 1025 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
---|
| 1026 | | --ht=*) |
---|
| 1027 | htmldir=$ac_optarg ;; |
---|
| 1028 | |
---|
| 1029 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 1030 | | --includ | --inclu | --incl | --inc) |
---|
| 1031 | ac_prev=includedir ;; |
---|
| 1032 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 1033 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
| 1034 | includedir=$ac_optarg ;; |
---|
| 1035 | |
---|
| 1036 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 1037 | ac_prev=infodir ;; |
---|
| 1038 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
| 1039 | infodir=$ac_optarg ;; |
---|
| 1040 | |
---|
| 1041 | -libdir | --libdir | --libdi | --libd) |
---|
| 1042 | ac_prev=libdir ;; |
---|
| 1043 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
| 1044 | libdir=$ac_optarg ;; |
---|
| 1045 | |
---|
| 1046 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 1047 | | --libexe | --libex | --libe) |
---|
| 1048 | ac_prev=libexecdir ;; |
---|
| 1049 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 1050 | | --libexe=* | --libex=* | --libe=*) |
---|
| 1051 | libexecdir=$ac_optarg ;; |
---|
| 1052 | |
---|
| 1053 | -localedir | --localedir | --localedi | --localed | --locale) |
---|
| 1054 | ac_prev=localedir ;; |
---|
| 1055 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
---|
| 1056 | localedir=$ac_optarg ;; |
---|
| 1057 | |
---|
| 1058 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
| 1059 | | --localstate | --localstat | --localsta | --localst | --locals) |
---|
| 1060 | ac_prev=localstatedir ;; |
---|
| 1061 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
| 1062 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
---|
| 1063 | localstatedir=$ac_optarg ;; |
---|
| 1064 | |
---|
| 1065 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 1066 | ac_prev=mandir ;; |
---|
| 1067 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
| 1068 | mandir=$ac_optarg ;; |
---|
| 1069 | |
---|
| 1070 | -nfp | --nfp | --nf) |
---|
| 1071 | # Obsolete; use --without-fp. |
---|
| 1072 | with_fp=no ;; |
---|
| 1073 | |
---|
| 1074 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 1075 | | --no-cr | --no-c | -n) |
---|
| 1076 | no_create=yes ;; |
---|
| 1077 | |
---|
| 1078 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 1079 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 1080 | no_recursion=yes ;; |
---|
| 1081 | |
---|
| 1082 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 1083 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 1084 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 1085 | ac_prev=oldincludedir ;; |
---|
| 1086 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 1087 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 1088 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
| 1089 | oldincludedir=$ac_optarg ;; |
---|
| 1090 | |
---|
| 1091 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 1092 | ac_prev=prefix ;; |
---|
| 1093 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 1094 | prefix=$ac_optarg ;; |
---|
| 1095 | |
---|
| 1096 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 1097 | | --program-pre | --program-pr | --program-p) |
---|
| 1098 | ac_prev=program_prefix ;; |
---|
| 1099 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 1100 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
| 1101 | program_prefix=$ac_optarg ;; |
---|
| 1102 | |
---|
| 1103 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 1104 | | --program-suf | --program-su | --program-s) |
---|
| 1105 | ac_prev=program_suffix ;; |
---|
| 1106 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 1107 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
| 1108 | program_suffix=$ac_optarg ;; |
---|
| 1109 | |
---|
| 1110 | -program-transform-name | --program-transform-name \ |
---|
| 1111 | | --program-transform-nam | --program-transform-na \ |
---|
| 1112 | | --program-transform-n | --program-transform- \ |
---|
| 1113 | | --program-transform | --program-transfor \ |
---|
| 1114 | | --program-transfo | --program-transf \ |
---|
| 1115 | | --program-trans | --program-tran \ |
---|
| 1116 | | --progr-tra | --program-tr | --program-t) |
---|
| 1117 | ac_prev=program_transform_name ;; |
---|
| 1118 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 1119 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 1120 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 1121 | | --program-transform=* | --program-transfor=* \ |
---|
| 1122 | | --program-transfo=* | --program-transf=* \ |
---|
| 1123 | | --program-trans=* | --program-tran=* \ |
---|
| 1124 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
| 1125 | program_transform_name=$ac_optarg ;; |
---|
| 1126 | |
---|
| 1127 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
---|
| 1128 | ac_prev=pdfdir ;; |
---|
| 1129 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
---|
| 1130 | pdfdir=$ac_optarg ;; |
---|
| 1131 | |
---|
| 1132 | -psdir | --psdir | --psdi | --psd | --ps) |
---|
| 1133 | ac_prev=psdir ;; |
---|
| 1134 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
---|
| 1135 | psdir=$ac_optarg ;; |
---|
| 1136 | |
---|
| 1137 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 1138 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 1139 | silent=yes ;; |
---|
| 1140 | |
---|
| 1141 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 1142 | ac_prev=sbindir ;; |
---|
| 1143 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 1144 | | --sbi=* | --sb=*) |
---|
| 1145 | sbindir=$ac_optarg ;; |
---|
| 1146 | |
---|
| 1147 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 1148 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 1149 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 1150 | | --sha | --sh) |
---|
| 1151 | ac_prev=sharedstatedir ;; |
---|
| 1152 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 1153 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 1154 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 1155 | | --sha=* | --sh=*) |
---|
| 1156 | sharedstatedir=$ac_optarg ;; |
---|
| 1157 | |
---|
| 1158 | -site | --site | --sit) |
---|
| 1159 | ac_prev=site ;; |
---|
| 1160 | -site=* | --site=* | --sit=*) |
---|
| 1161 | site=$ac_optarg ;; |
---|
| 1162 | |
---|
| 1163 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 1164 | ac_prev=srcdir ;; |
---|
| 1165 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 1166 | srcdir=$ac_optarg ;; |
---|
| 1167 | |
---|
| 1168 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 1169 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 1170 | ac_prev=sysconfdir ;; |
---|
| 1171 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 1172 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
| 1173 | sysconfdir=$ac_optarg ;; |
---|
| 1174 | |
---|
| 1175 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
| 1176 | ac_prev=target_alias ;; |
---|
| 1177 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
| 1178 | target_alias=$ac_optarg ;; |
---|
| 1179 | |
---|
| 1180 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 1181 | verbose=yes ;; |
---|
| 1182 | |
---|
| 1183 | -version | --version | --versio | --versi | --vers | -V) |
---|
| 1184 | ac_init_version=: ;; |
---|
| 1185 | |
---|
| 1186 | -with-* | --with-*) |
---|
| 1187 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
---|
| 1188 | # Reject names that are not valid shell variable names. |
---|
| 1189 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 1190 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
| 1191 | ac_useropt_orig=$ac_useropt |
---|
| 1192 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 1193 | case $ac_user_opts in |
---|
| 1194 | *" |
---|
| 1195 | "with_$ac_useropt" |
---|
| 1196 | "*) ;; |
---|
| 1197 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
---|
| 1198 | ac_unrecognized_sep=', ';; |
---|
| 1199 | esac |
---|
| 1200 | eval with_$ac_useropt=\$ac_optarg ;; |
---|
| 1201 | |
---|
| 1202 | -without-* | --without-*) |
---|
| 1203 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
---|
| 1204 | # Reject names that are not valid shell variable names. |
---|
| 1205 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
---|
| 1206 | as_fn_error $? "invalid package name: $ac_useropt" |
---|
| 1207 | ac_useropt_orig=$ac_useropt |
---|
| 1208 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
---|
| 1209 | case $ac_user_opts in |
---|
| 1210 | *" |
---|
| 1211 | "with_$ac_useropt" |
---|
| 1212 | "*) ;; |
---|
| 1213 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
---|
| 1214 | ac_unrecognized_sep=', ';; |
---|
| 1215 | esac |
---|
| 1216 | eval with_$ac_useropt=no ;; |
---|
| 1217 | |
---|
| 1218 | --x) |
---|
| 1219 | # Obsolete; use --with-x. |
---|
| 1220 | with_x=yes ;; |
---|
| 1221 | |
---|
| 1222 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 1223 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 1224 | ac_prev=x_includes ;; |
---|
| 1225 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 1226 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
| 1227 | x_includes=$ac_optarg ;; |
---|
| 1228 | |
---|
| 1229 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 1230 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 1231 | ac_prev=x_libraries ;; |
---|
| 1232 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 1233 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
| 1234 | x_libraries=$ac_optarg ;; |
---|
| 1235 | |
---|
| 1236 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
---|
| 1237 | Try \`$0 --help' for more information" |
---|
| 1238 | ;; |
---|
| 1239 | |
---|
| 1240 | *=*) |
---|
| 1241 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
---|
| 1242 | # Reject names that are not valid shell variable names. |
---|
| 1243 | case $ac_envvar in #( |
---|
| 1244 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
---|
| 1245 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
---|
| 1246 | esac |
---|
| 1247 | eval $ac_envvar=\$ac_optarg |
---|
| 1248 | export $ac_envvar ;; |
---|
| 1249 | |
---|
| 1250 | *) |
---|
| 1251 | # FIXME: should be removed in autoconf 3.0. |
---|
| 1252 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
---|
| 1253 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
---|
| 1254 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
---|
| 1255 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
---|
| 1256 | ;; |
---|
| 1257 | |
---|
| 1258 | esac |
---|
| 1259 | done |
---|
| 1260 | |
---|
| 1261 | if test -n "$ac_prev"; then |
---|
| 1262 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
---|
| 1263 | as_fn_error $? "missing argument to $ac_option" |
---|
| 1264 | fi |
---|
| 1265 | |
---|
| 1266 | if test -n "$ac_unrecognized_opts"; then |
---|
| 1267 | case $enable_option_checking in |
---|
| 1268 | no) ;; |
---|
| 1269 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
---|
| 1270 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
---|
| 1271 | esac |
---|
| 1272 | fi |
---|
| 1273 | |
---|
| 1274 | # Check all directory arguments for consistency. |
---|
| 1275 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
---|
| 1276 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
---|
| 1277 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
---|
| 1278 | libdir localedir mandir |
---|
| 1279 | do |
---|
| 1280 | eval ac_val=\$$ac_var |
---|
| 1281 | # Remove trailing slashes. |
---|
| 1282 | case $ac_val in |
---|
| 1283 | */ ) |
---|
| 1284 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
---|
| 1285 | eval $ac_var=\$ac_val;; |
---|
| 1286 | esac |
---|
| 1287 | # Be sure to have absolute directory names. |
---|
| 1288 | case $ac_val in |
---|
| 1289 | [\\/$]* | ?:[\\/]* ) continue;; |
---|
| 1290 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
---|
| 1291 | esac |
---|
| 1292 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
---|
| 1293 | done |
---|
| 1294 | |
---|
| 1295 | # There might be people who depend on the old broken behavior: `$host' |
---|
| 1296 | # used to hold the argument of --host etc. |
---|
| 1297 | # FIXME: To remove some day. |
---|
| 1298 | build=$build_alias |
---|
| 1299 | host=$host_alias |
---|
| 1300 | target=$target_alias |
---|
| 1301 | |
---|
| 1302 | # FIXME: To remove some day. |
---|
| 1303 | if test "x$host_alias" != x; then |
---|
| 1304 | if test "x$build_alias" = x; then |
---|
| 1305 | cross_compiling=maybe |
---|
| 1306 | elif test "x$build_alias" != "x$host_alias"; then |
---|
| 1307 | cross_compiling=yes |
---|
| 1308 | fi |
---|
| 1309 | fi |
---|
| 1310 | |
---|
| 1311 | ac_tool_prefix= |
---|
| 1312 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
---|
| 1313 | |
---|
| 1314 | test "$silent" = yes && exec 6>/dev/null |
---|
| 1315 | |
---|
| 1316 | |
---|
| 1317 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
---|
| 1318 | ac_ls_di=`ls -di .` && |
---|
| 1319 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
---|
| 1320 | as_fn_error $? "working directory cannot be determined" |
---|
| 1321 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
---|
| 1322 | as_fn_error $? "pwd does not report name of working directory" |
---|
| 1323 | |
---|
| 1324 | |
---|
| 1325 | # Find the source files, if location was not specified. |
---|
| 1326 | if test -z "$srcdir"; then |
---|
| 1327 | ac_srcdir_defaulted=yes |
---|
| 1328 | # Try the directory containing this script, then the parent directory. |
---|
| 1329 | ac_confdir=`$as_dirname -- "$as_myself" || |
---|
| 1330 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 1331 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
---|
| 1332 | X"$as_myself" : 'X\(//\)$' \| \ |
---|
| 1333 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 1334 | $as_echo X"$as_myself" | |
---|
| 1335 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 1336 | s//\1/ |
---|
| 1337 | q |
---|
| 1338 | } |
---|
| 1339 | /^X\(\/\/\)[^/].*/{ |
---|
| 1340 | s//\1/ |
---|
| 1341 | q |
---|
| 1342 | } |
---|
| 1343 | /^X\(\/\/\)$/{ |
---|
| 1344 | s//\1/ |
---|
| 1345 | q |
---|
| 1346 | } |
---|
| 1347 | /^X\(\/\).*/{ |
---|
| 1348 | s//\1/ |
---|
| 1349 | q |
---|
| 1350 | } |
---|
| 1351 | s/.*/./; q'` |
---|
| 1352 | srcdir=$ac_confdir |
---|
| 1353 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1354 | srcdir=.. |
---|
| 1355 | fi |
---|
| 1356 | else |
---|
| 1357 | ac_srcdir_defaulted=no |
---|
| 1358 | fi |
---|
| 1359 | if test ! -r "$srcdir/$ac_unique_file"; then |
---|
| 1360 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
---|
| 1361 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
---|
| 1362 | fi |
---|
| 1363 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
---|
| 1364 | ac_abs_confdir=`( |
---|
| 1365 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
---|
| 1366 | pwd)` |
---|
| 1367 | # When building in place, set srcdir=. |
---|
| 1368 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
---|
| 1369 | srcdir=. |
---|
| 1370 | fi |
---|
| 1371 | # Remove unnecessary trailing slashes from srcdir. |
---|
| 1372 | # Double slashes in file names in object file debugging info |
---|
| 1373 | # mess up M-x gdb in Emacs. |
---|
| 1374 | case $srcdir in |
---|
| 1375 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
---|
| 1376 | esac |
---|
| 1377 | for ac_var in $ac_precious_vars; do |
---|
| 1378 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1379 | eval ac_env_${ac_var}_value=\$${ac_var} |
---|
| 1380 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
---|
| 1381 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
---|
| 1382 | done |
---|
| 1383 | |
---|
| 1384 | # |
---|
| 1385 | # Report the --help message. |
---|
| 1386 | # |
---|
| 1387 | if test "$ac_init_help" = "long"; then |
---|
| 1388 | # Omit some internal or obsolete options to make the list less imposing. |
---|
| 1389 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
| 1390 | cat <<_ACEOF |
---|
[9739] | 1391 | \`configure' configures vine-notify-update 0.9.0 to adapt to many kinds of systems. |
---|
[9642] | 1392 | |
---|
| 1393 | Usage: $0 [OPTION]... [VAR=VALUE]... |
---|
| 1394 | |
---|
| 1395 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
---|
| 1396 | VAR=VALUE. See below for descriptions of some of the useful variables. |
---|
| 1397 | |
---|
| 1398 | Defaults for the options are specified in brackets. |
---|
| 1399 | |
---|
| 1400 | Configuration: |
---|
| 1401 | -h, --help display this help and exit |
---|
| 1402 | --help=short display options specific to this package |
---|
| 1403 | --help=recursive display the short help of all the included packages |
---|
| 1404 | -V, --version display version information and exit |
---|
| 1405 | -q, --quiet, --silent do not print \`checking ...' messages |
---|
| 1406 | --cache-file=FILE cache test results in FILE [disabled] |
---|
| 1407 | -C, --config-cache alias for \`--cache-file=config.cache' |
---|
| 1408 | -n, --no-create do not create output files |
---|
| 1409 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
---|
| 1410 | |
---|
| 1411 | Installation directories: |
---|
| 1412 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
| 1413 | [$ac_default_prefix] |
---|
| 1414 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
| 1415 | [PREFIX] |
---|
| 1416 | |
---|
| 1417 | By default, \`make install' will install all the files in |
---|
| 1418 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
---|
| 1419 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
---|
| 1420 | for instance \`--prefix=\$HOME'. |
---|
| 1421 | |
---|
| 1422 | For better control, use the options below. |
---|
| 1423 | |
---|
| 1424 | Fine tuning of the installation directories: |
---|
| 1425 | --bindir=DIR user executables [EPREFIX/bin] |
---|
| 1426 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
---|
| 1427 | --libexecdir=DIR program executables [EPREFIX/libexec] |
---|
| 1428 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
---|
| 1429 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
---|
| 1430 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
---|
| 1431 | --libdir=DIR object code libraries [EPREFIX/lib] |
---|
| 1432 | --includedir=DIR C header files [PREFIX/include] |
---|
| 1433 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
---|
| 1434 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
---|
| 1435 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
---|
| 1436 | --infodir=DIR info documentation [DATAROOTDIR/info] |
---|
| 1437 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
---|
| 1438 | --mandir=DIR man documentation [DATAROOTDIR/man] |
---|
| 1439 | --docdir=DIR documentation root |
---|
| 1440 | [DATAROOTDIR/doc/vine-notify-update] |
---|
| 1441 | --htmldir=DIR html documentation [DOCDIR] |
---|
| 1442 | --dvidir=DIR dvi documentation [DOCDIR] |
---|
| 1443 | --pdfdir=DIR pdf documentation [DOCDIR] |
---|
| 1444 | --psdir=DIR ps documentation [DOCDIR] |
---|
| 1445 | _ACEOF |
---|
| 1446 | |
---|
| 1447 | cat <<\_ACEOF |
---|
| 1448 | |
---|
| 1449 | Program names: |
---|
| 1450 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
| 1451 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
| 1452 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
---|
| 1453 | _ACEOF |
---|
| 1454 | fi |
---|
| 1455 | |
---|
| 1456 | if test -n "$ac_init_help"; then |
---|
| 1457 | case $ac_init_help in |
---|
[9739] | 1458 | short | recursive ) echo "Configuration of vine-notify-update 0.9.0:";; |
---|
[9642] | 1459 | esac |
---|
| 1460 | cat <<\_ACEOF |
---|
| 1461 | |
---|
| 1462 | Optional Features: |
---|
| 1463 | --disable-option-checking ignore unrecognized --enable/--with options |
---|
| 1464 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
| 1465 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
[9739] | 1466 | --enable-silent-rules less verbose build output (undo: "make V=1") |
---|
| 1467 | --disable-silent-rules verbose build output (undo: "make V=0") |
---|
| 1468 | --enable-maintainer-mode |
---|
| 1469 | enable make rules and dependencies not useful (and |
---|
| 1470 | sometimes confusing) to the casual installer |
---|
| 1471 | --enable-dependency-tracking |
---|
| 1472 | do not reject slow dependency extractors |
---|
| 1473 | --disable-dependency-tracking |
---|
| 1474 | speeds up one-time build |
---|
[9642] | 1475 | --disable-nls do not use Native Language Support |
---|
| 1476 | |
---|
| 1477 | Some influential environment variables: |
---|
| 1478 | CC C compiler command |
---|
| 1479 | CFLAGS C compiler flags |
---|
| 1480 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
---|
| 1481 | nonstandard directory <lib dir> |
---|
| 1482 | LIBS libraries to pass to the linker, e.g. -l<library> |
---|
| 1483 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
---|
| 1484 | you have headers in a nonstandard directory <include dir> |
---|
| 1485 | PKG_CONFIG path to pkg-config utility |
---|
| 1486 | PKG_CONFIG_PATH |
---|
| 1487 | directories to add to pkg-config's search path |
---|
| 1488 | PKG_CONFIG_LIBDIR |
---|
| 1489 | path overriding pkg-config's built-in search path |
---|
| 1490 | VINE_NOTIFY_UPDATE_CFLAGS |
---|
| 1491 | C compiler flags for VINE_NOTIFY_UPDATE, overriding pkg-config |
---|
| 1492 | VINE_NOTIFY_UPDATE_LIBS |
---|
| 1493 | linker flags for VINE_NOTIFY_UPDATE, overriding pkg-config |
---|
| 1494 | CPP C preprocessor |
---|
| 1495 | |
---|
| 1496 | Use these variables to override the choices made by `configure' or to help |
---|
| 1497 | it to find libraries and programs with nonstandard names/locations. |
---|
| 1498 | |
---|
| 1499 | Report bugs to the package provider. |
---|
| 1500 | _ACEOF |
---|
| 1501 | ac_status=$? |
---|
| 1502 | fi |
---|
| 1503 | |
---|
| 1504 | if test "$ac_init_help" = "recursive"; then |
---|
| 1505 | # If there are subdirs, report their specific --help. |
---|
| 1506 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
---|
| 1507 | test -d "$ac_dir" || |
---|
| 1508 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
---|
| 1509 | continue |
---|
| 1510 | ac_builddir=. |
---|
| 1511 | |
---|
| 1512 | case "$ac_dir" in |
---|
| 1513 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1514 | *) |
---|
| 1515 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
| 1516 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 1517 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
| 1518 | case $ac_top_builddir_sub in |
---|
| 1519 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 1520 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 1521 | esac ;; |
---|
| 1522 | esac |
---|
| 1523 | ac_abs_top_builddir=$ac_pwd |
---|
| 1524 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 1525 | # for backward compatibility: |
---|
| 1526 | ac_top_builddir=$ac_top_build_prefix |
---|
| 1527 | |
---|
| 1528 | case $srcdir in |
---|
| 1529 | .) # We are building in place. |
---|
| 1530 | ac_srcdir=. |
---|
| 1531 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 1532 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 1533 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
| 1534 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 1535 | ac_top_srcdir=$srcdir |
---|
| 1536 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 1537 | *) # Relative name. |
---|
| 1538 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 1539 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 1540 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
| 1541 | esac |
---|
| 1542 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 1543 | |
---|
| 1544 | cd "$ac_dir" || { ac_status=$?; continue; } |
---|
| 1545 | # Check for guested configure. |
---|
| 1546 | if test -f "$ac_srcdir/configure.gnu"; then |
---|
| 1547 | echo && |
---|
| 1548 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
---|
| 1549 | elif test -f "$ac_srcdir/configure"; then |
---|
| 1550 | echo && |
---|
| 1551 | $SHELL "$ac_srcdir/configure" --help=recursive |
---|
| 1552 | else |
---|
| 1553 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
---|
| 1554 | fi || ac_status=$? |
---|
| 1555 | cd "$ac_pwd" || { ac_status=$?; break; } |
---|
| 1556 | done |
---|
| 1557 | fi |
---|
| 1558 | |
---|
| 1559 | test -n "$ac_init_help" && exit $ac_status |
---|
| 1560 | if $ac_init_version; then |
---|
| 1561 | cat <<\_ACEOF |
---|
[9739] | 1562 | vine-notify-update configure 0.9.0 |
---|
| 1563 | generated by GNU Autoconf 2.69 |
---|
[9642] | 1564 | |
---|
[9739] | 1565 | Copyright (C) 2012 Free Software Foundation, Inc. |
---|
[9642] | 1566 | This configure script is free software; the Free Software Foundation |
---|
| 1567 | gives unlimited permission to copy, distribute and modify it. |
---|
| 1568 | _ACEOF |
---|
| 1569 | exit |
---|
| 1570 | fi |
---|
| 1571 | |
---|
| 1572 | ## ------------------------ ## |
---|
| 1573 | ## Autoconf initialization. ## |
---|
| 1574 | ## ------------------------ ## |
---|
| 1575 | |
---|
| 1576 | # ac_fn_c_try_compile LINENO |
---|
| 1577 | # -------------------------- |
---|
| 1578 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
---|
| 1579 | ac_fn_c_try_compile () |
---|
| 1580 | { |
---|
| 1581 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1582 | rm -f conftest.$ac_objext |
---|
| 1583 | if { { ac_try="$ac_compile" |
---|
| 1584 | case "(($ac_try" in |
---|
| 1585 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1586 | *) ac_try_echo=$ac_try;; |
---|
| 1587 | esac |
---|
| 1588 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1589 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1590 | (eval "$ac_compile") 2>conftest.err |
---|
| 1591 | ac_status=$? |
---|
| 1592 | if test -s conftest.err; then |
---|
| 1593 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1594 | cat conftest.er1 >&5 |
---|
| 1595 | mv -f conftest.er1 conftest.err |
---|
| 1596 | fi |
---|
| 1597 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1598 | test $ac_status = 0; } && { |
---|
| 1599 | test -z "$ac_c_werror_flag" || |
---|
| 1600 | test ! -s conftest.err |
---|
| 1601 | } && test -s conftest.$ac_objext; then : |
---|
| 1602 | ac_retval=0 |
---|
| 1603 | else |
---|
| 1604 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1605 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1606 | |
---|
| 1607 | ac_retval=1 |
---|
| 1608 | fi |
---|
| 1609 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1610 | as_fn_set_status $ac_retval |
---|
| 1611 | |
---|
| 1612 | } # ac_fn_c_try_compile |
---|
| 1613 | |
---|
| 1614 | # ac_fn_c_try_link LINENO |
---|
| 1615 | # ----------------------- |
---|
| 1616 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
---|
| 1617 | ac_fn_c_try_link () |
---|
| 1618 | { |
---|
| 1619 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1620 | rm -f conftest.$ac_objext conftest$ac_exeext |
---|
| 1621 | if { { ac_try="$ac_link" |
---|
| 1622 | case "(($ac_try" in |
---|
| 1623 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1624 | *) ac_try_echo=$ac_try;; |
---|
| 1625 | esac |
---|
| 1626 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1627 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1628 | (eval "$ac_link") 2>conftest.err |
---|
| 1629 | ac_status=$? |
---|
| 1630 | if test -s conftest.err; then |
---|
| 1631 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1632 | cat conftest.er1 >&5 |
---|
| 1633 | mv -f conftest.er1 conftest.err |
---|
| 1634 | fi |
---|
| 1635 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1636 | test $ac_status = 0; } && { |
---|
| 1637 | test -z "$ac_c_werror_flag" || |
---|
| 1638 | test ! -s conftest.err |
---|
| 1639 | } && test -s conftest$ac_exeext && { |
---|
| 1640 | test "$cross_compiling" = yes || |
---|
[9739] | 1641 | test -x conftest$ac_exeext |
---|
[9642] | 1642 | }; then : |
---|
| 1643 | ac_retval=0 |
---|
| 1644 | else |
---|
| 1645 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1646 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1647 | |
---|
| 1648 | ac_retval=1 |
---|
| 1649 | fi |
---|
| 1650 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
---|
| 1651 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
---|
| 1652 | # interfere with the next link command; also delete a directory that is |
---|
| 1653 | # left behind by Apple's compiler. We do this before executing the actions. |
---|
| 1654 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
---|
| 1655 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1656 | as_fn_set_status $ac_retval |
---|
| 1657 | |
---|
| 1658 | } # ac_fn_c_try_link |
---|
| 1659 | |
---|
| 1660 | # ac_fn_c_check_func LINENO FUNC VAR |
---|
| 1661 | # ---------------------------------- |
---|
| 1662 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
---|
| 1663 | ac_fn_c_check_func () |
---|
| 1664 | { |
---|
| 1665 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1666 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
| 1667 | $as_echo_n "checking for $2... " >&6; } |
---|
| 1668 | if eval \${$3+:} false; then : |
---|
| 1669 | $as_echo_n "(cached) " >&6 |
---|
| 1670 | else |
---|
| 1671 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1672 | /* end confdefs.h. */ |
---|
| 1673 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
---|
| 1674 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
---|
| 1675 | #define $2 innocuous_$2 |
---|
| 1676 | |
---|
| 1677 | /* System header to define __stub macros and hopefully few prototypes, |
---|
| 1678 | which can conflict with char $2 (); below. |
---|
| 1679 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 1680 | <limits.h> exists even on freestanding compilers. */ |
---|
| 1681 | |
---|
| 1682 | #ifdef __STDC__ |
---|
| 1683 | # include <limits.h> |
---|
| 1684 | #else |
---|
| 1685 | # include <assert.h> |
---|
| 1686 | #endif |
---|
| 1687 | |
---|
| 1688 | #undef $2 |
---|
| 1689 | |
---|
| 1690 | /* Override any GCC internal prototype to avoid an error. |
---|
| 1691 | Use char because int might match the return type of a GCC |
---|
| 1692 | builtin and then its argument prototype would still apply. */ |
---|
| 1693 | #ifdef __cplusplus |
---|
| 1694 | extern "C" |
---|
| 1695 | #endif |
---|
| 1696 | char $2 (); |
---|
| 1697 | /* The GNU C library defines this for functions which it implements |
---|
| 1698 | to always fail with ENOSYS. Some functions are actually named |
---|
| 1699 | something starting with __ and the normal name is an alias. */ |
---|
| 1700 | #if defined __stub_$2 || defined __stub___$2 |
---|
| 1701 | choke me |
---|
| 1702 | #endif |
---|
| 1703 | |
---|
| 1704 | int |
---|
| 1705 | main () |
---|
| 1706 | { |
---|
| 1707 | return $2 (); |
---|
| 1708 | ; |
---|
| 1709 | return 0; |
---|
| 1710 | } |
---|
| 1711 | _ACEOF |
---|
| 1712 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 1713 | eval "$3=yes" |
---|
| 1714 | else |
---|
| 1715 | eval "$3=no" |
---|
| 1716 | fi |
---|
| 1717 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 1718 | conftest$ac_exeext conftest.$ac_ext |
---|
| 1719 | fi |
---|
| 1720 | eval ac_res=\$$3 |
---|
| 1721 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1722 | $as_echo "$ac_res" >&6; } |
---|
| 1723 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1724 | |
---|
| 1725 | } # ac_fn_c_check_func |
---|
| 1726 | |
---|
| 1727 | # ac_fn_c_try_cpp LINENO |
---|
| 1728 | # ---------------------- |
---|
| 1729 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
---|
| 1730 | ac_fn_c_try_cpp () |
---|
| 1731 | { |
---|
| 1732 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1733 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
---|
| 1734 | case "(($ac_try" in |
---|
| 1735 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1736 | *) ac_try_echo=$ac_try;; |
---|
| 1737 | esac |
---|
| 1738 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1739 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1740 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
---|
| 1741 | ac_status=$? |
---|
| 1742 | if test -s conftest.err; then |
---|
| 1743 | grep -v '^ *+' conftest.err >conftest.er1 |
---|
| 1744 | cat conftest.er1 >&5 |
---|
| 1745 | mv -f conftest.er1 conftest.err |
---|
| 1746 | fi |
---|
| 1747 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1748 | test $ac_status = 0; } > conftest.i && { |
---|
| 1749 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
---|
| 1750 | test ! -s conftest.err |
---|
| 1751 | }; then : |
---|
| 1752 | ac_retval=0 |
---|
| 1753 | else |
---|
| 1754 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1755 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1756 | |
---|
| 1757 | ac_retval=1 |
---|
| 1758 | fi |
---|
| 1759 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1760 | as_fn_set_status $ac_retval |
---|
| 1761 | |
---|
| 1762 | } # ac_fn_c_try_cpp |
---|
| 1763 | |
---|
| 1764 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
---|
| 1765 | # ------------------------------------------------------- |
---|
| 1766 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
---|
| 1767 | # the include files in INCLUDES and setting the cache variable VAR |
---|
| 1768 | # accordingly. |
---|
| 1769 | ac_fn_c_check_header_mongrel () |
---|
| 1770 | { |
---|
| 1771 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1772 | if eval \${$3+:} false; then : |
---|
| 1773 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
| 1774 | $as_echo_n "checking for $2... " >&6; } |
---|
| 1775 | if eval \${$3+:} false; then : |
---|
| 1776 | $as_echo_n "(cached) " >&6 |
---|
| 1777 | fi |
---|
| 1778 | eval ac_res=\$$3 |
---|
| 1779 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1780 | $as_echo "$ac_res" >&6; } |
---|
| 1781 | else |
---|
| 1782 | # Is the header compilable? |
---|
| 1783 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
---|
| 1784 | $as_echo_n "checking $2 usability... " >&6; } |
---|
| 1785 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1786 | /* end confdefs.h. */ |
---|
| 1787 | $4 |
---|
| 1788 | #include <$2> |
---|
| 1789 | _ACEOF |
---|
| 1790 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1791 | ac_header_compiler=yes |
---|
| 1792 | else |
---|
| 1793 | ac_header_compiler=no |
---|
| 1794 | fi |
---|
| 1795 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1796 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
---|
| 1797 | $as_echo "$ac_header_compiler" >&6; } |
---|
| 1798 | |
---|
| 1799 | # Is the header present? |
---|
| 1800 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
---|
| 1801 | $as_echo_n "checking $2 presence... " >&6; } |
---|
| 1802 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1803 | /* end confdefs.h. */ |
---|
| 1804 | #include <$2> |
---|
| 1805 | _ACEOF |
---|
| 1806 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 1807 | ac_header_preproc=yes |
---|
| 1808 | else |
---|
| 1809 | ac_header_preproc=no |
---|
| 1810 | fi |
---|
| 1811 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
| 1812 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
---|
| 1813 | $as_echo "$ac_header_preproc" >&6; } |
---|
| 1814 | |
---|
| 1815 | # So? What about this header? |
---|
| 1816 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
---|
| 1817 | yes:no: ) |
---|
| 1818 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
---|
| 1819 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
---|
| 1820 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
---|
| 1821 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
---|
| 1822 | ;; |
---|
| 1823 | no:yes:* ) |
---|
| 1824 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
---|
| 1825 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
---|
| 1826 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
---|
| 1827 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
---|
| 1828 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
---|
| 1829 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
---|
| 1830 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
---|
| 1831 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
---|
| 1832 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
---|
| 1833 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
---|
| 1834 | ;; |
---|
| 1835 | esac |
---|
| 1836 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
| 1837 | $as_echo_n "checking for $2... " >&6; } |
---|
| 1838 | if eval \${$3+:} false; then : |
---|
| 1839 | $as_echo_n "(cached) " >&6 |
---|
| 1840 | else |
---|
| 1841 | eval "$3=\$ac_header_compiler" |
---|
| 1842 | fi |
---|
| 1843 | eval ac_res=\$$3 |
---|
| 1844 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1845 | $as_echo "$ac_res" >&6; } |
---|
| 1846 | fi |
---|
| 1847 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1848 | |
---|
| 1849 | } # ac_fn_c_check_header_mongrel |
---|
| 1850 | |
---|
[9739] | 1851 | # ac_fn_c_try_run LINENO |
---|
| 1852 | # ---------------------- |
---|
| 1853 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
---|
| 1854 | # that executables *can* be run. |
---|
| 1855 | ac_fn_c_try_run () |
---|
| 1856 | { |
---|
| 1857 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1858 | if { { ac_try="$ac_link" |
---|
| 1859 | case "(($ac_try" in |
---|
| 1860 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1861 | *) ac_try_echo=$ac_try;; |
---|
| 1862 | esac |
---|
| 1863 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1864 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1865 | (eval "$ac_link") 2>&5 |
---|
| 1866 | ac_status=$? |
---|
| 1867 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1868 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
---|
| 1869 | { { case "(($ac_try" in |
---|
| 1870 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 1871 | *) ac_try_echo=$ac_try;; |
---|
| 1872 | esac |
---|
| 1873 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 1874 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 1875 | (eval "$ac_try") 2>&5 |
---|
| 1876 | ac_status=$? |
---|
| 1877 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 1878 | test $ac_status = 0; }; }; then : |
---|
| 1879 | ac_retval=0 |
---|
| 1880 | else |
---|
| 1881 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
---|
| 1882 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 1883 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 1884 | |
---|
| 1885 | ac_retval=$ac_status |
---|
| 1886 | fi |
---|
| 1887 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
---|
| 1888 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1889 | as_fn_set_status $ac_retval |
---|
| 1890 | |
---|
| 1891 | } # ac_fn_c_try_run |
---|
| 1892 | |
---|
[9642] | 1893 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
---|
| 1894 | # ------------------------------------------------------- |
---|
| 1895 | # Tests whether HEADER exists and can be compiled using the include files in |
---|
| 1896 | # INCLUDES, setting the cache variable VAR accordingly. |
---|
| 1897 | ac_fn_c_check_header_compile () |
---|
| 1898 | { |
---|
| 1899 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 1900 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
---|
| 1901 | $as_echo_n "checking for $2... " >&6; } |
---|
| 1902 | if eval \${$3+:} false; then : |
---|
| 1903 | $as_echo_n "(cached) " >&6 |
---|
| 1904 | else |
---|
| 1905 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 1906 | /* end confdefs.h. */ |
---|
| 1907 | $4 |
---|
| 1908 | #include <$2> |
---|
| 1909 | _ACEOF |
---|
| 1910 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 1911 | eval "$3=yes" |
---|
| 1912 | else |
---|
| 1913 | eval "$3=no" |
---|
| 1914 | fi |
---|
| 1915 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 1916 | fi |
---|
| 1917 | eval ac_res=\$$3 |
---|
| 1918 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
---|
| 1919 | $as_echo "$ac_res" >&6; } |
---|
| 1920 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
---|
| 1921 | |
---|
| 1922 | } # ac_fn_c_check_header_compile |
---|
| 1923 | cat >config.log <<_ACEOF |
---|
| 1924 | This file contains any messages produced by compilers while |
---|
| 1925 | running configure, to aid debugging if configure makes a mistake. |
---|
| 1926 | |
---|
[9739] | 1927 | It was created by vine-notify-update $as_me 0.9.0, which was |
---|
| 1928 | generated by GNU Autoconf 2.69. Invocation command line was |
---|
[9642] | 1929 | |
---|
| 1930 | $ $0 $@ |
---|
| 1931 | |
---|
| 1932 | _ACEOF |
---|
| 1933 | exec 5>>config.log |
---|
| 1934 | { |
---|
| 1935 | cat <<_ASUNAME |
---|
| 1936 | ## --------- ## |
---|
| 1937 | ## Platform. ## |
---|
| 1938 | ## --------- ## |
---|
| 1939 | |
---|
| 1940 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 1941 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
---|
| 1942 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
---|
| 1943 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
---|
| 1944 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
---|
| 1945 | |
---|
| 1946 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
---|
| 1947 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
---|
| 1948 | |
---|
| 1949 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
---|
| 1950 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
---|
| 1951 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
---|
| 1952 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
---|
| 1953 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
---|
| 1954 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
---|
| 1955 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
---|
| 1956 | |
---|
| 1957 | _ASUNAME |
---|
| 1958 | |
---|
| 1959 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 1960 | for as_dir in $PATH |
---|
| 1961 | do |
---|
| 1962 | IFS=$as_save_IFS |
---|
| 1963 | test -z "$as_dir" && as_dir=. |
---|
| 1964 | $as_echo "PATH: $as_dir" |
---|
| 1965 | done |
---|
| 1966 | IFS=$as_save_IFS |
---|
| 1967 | |
---|
| 1968 | } >&5 |
---|
| 1969 | |
---|
| 1970 | cat >&5 <<_ACEOF |
---|
| 1971 | |
---|
| 1972 | |
---|
| 1973 | ## ----------- ## |
---|
| 1974 | ## Core tests. ## |
---|
| 1975 | ## ----------- ## |
---|
| 1976 | |
---|
| 1977 | _ACEOF |
---|
| 1978 | |
---|
| 1979 | |
---|
| 1980 | # Keep a trace of the command line. |
---|
| 1981 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
| 1982 | # Strip out --silent because we don't want to record it for future runs. |
---|
| 1983 | # Also quote any args containing shell meta-characters. |
---|
| 1984 | # Make two passes to allow for proper duplicate-argument suppression. |
---|
| 1985 | ac_configure_args= |
---|
| 1986 | ac_configure_args0= |
---|
| 1987 | ac_configure_args1= |
---|
| 1988 | ac_must_keep_next=false |
---|
| 1989 | for ac_pass in 1 2 |
---|
| 1990 | do |
---|
| 1991 | for ac_arg |
---|
| 1992 | do |
---|
| 1993 | case $ac_arg in |
---|
| 1994 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
---|
| 1995 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 1996 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 1997 | continue ;; |
---|
| 1998 | *\'*) |
---|
| 1999 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 2000 | esac |
---|
| 2001 | case $ac_pass in |
---|
| 2002 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
---|
| 2003 | 2) |
---|
| 2004 | as_fn_append ac_configure_args1 " '$ac_arg'" |
---|
| 2005 | if test $ac_must_keep_next = true; then |
---|
| 2006 | ac_must_keep_next=false # Got value, back to normal. |
---|
| 2007 | else |
---|
| 2008 | case $ac_arg in |
---|
| 2009 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
---|
| 2010 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
---|
| 2011 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
---|
| 2012 | | -with-* | --with-* | -without-* | --without-* | --x) |
---|
| 2013 | case "$ac_configure_args0 " in |
---|
| 2014 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
---|
| 2015 | esac |
---|
| 2016 | ;; |
---|
| 2017 | -* ) ac_must_keep_next=true ;; |
---|
| 2018 | esac |
---|
| 2019 | fi |
---|
| 2020 | as_fn_append ac_configure_args " '$ac_arg'" |
---|
| 2021 | ;; |
---|
| 2022 | esac |
---|
| 2023 | done |
---|
| 2024 | done |
---|
| 2025 | { ac_configure_args0=; unset ac_configure_args0;} |
---|
| 2026 | { ac_configure_args1=; unset ac_configure_args1;} |
---|
| 2027 | |
---|
| 2028 | # When interrupted or exit'd, cleanup temporary files, and complete |
---|
| 2029 | # config.log. We remove comments because anyway the quotes in there |
---|
| 2030 | # would cause problems or look ugly. |
---|
| 2031 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
---|
| 2032 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
---|
| 2033 | trap 'exit_status=$? |
---|
| 2034 | # Save into config.log some information that might help in debugging. |
---|
| 2035 | { |
---|
| 2036 | echo |
---|
| 2037 | |
---|
| 2038 | $as_echo "## ---------------- ## |
---|
| 2039 | ## Cache variables. ## |
---|
| 2040 | ## ---------------- ##" |
---|
| 2041 | echo |
---|
| 2042 | # The following way of writing the cache mishandles newlines in values, |
---|
| 2043 | ( |
---|
| 2044 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
---|
| 2045 | eval ac_val=\$$ac_var |
---|
| 2046 | case $ac_val in #( |
---|
| 2047 | *${as_nl}*) |
---|
| 2048 | case $ac_var in #( |
---|
| 2049 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
| 2050 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
| 2051 | esac |
---|
| 2052 | case $ac_var in #( |
---|
| 2053 | _ | IFS | as_nl) ;; #( |
---|
| 2054 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
| 2055 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
| 2056 | esac ;; |
---|
| 2057 | esac |
---|
| 2058 | done |
---|
| 2059 | (set) 2>&1 | |
---|
| 2060 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
---|
| 2061 | *${as_nl}ac_space=\ *) |
---|
| 2062 | sed -n \ |
---|
| 2063 | "s/'\''/'\''\\\\'\'''\''/g; |
---|
| 2064 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
---|
| 2065 | ;; #( |
---|
| 2066 | *) |
---|
| 2067 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
| 2068 | ;; |
---|
| 2069 | esac | |
---|
| 2070 | sort |
---|
| 2071 | ) |
---|
| 2072 | echo |
---|
| 2073 | |
---|
| 2074 | $as_echo "## ----------------- ## |
---|
| 2075 | ## Output variables. ## |
---|
| 2076 | ## ----------------- ##" |
---|
| 2077 | echo |
---|
| 2078 | for ac_var in $ac_subst_vars |
---|
| 2079 | do |
---|
| 2080 | eval ac_val=\$$ac_var |
---|
| 2081 | case $ac_val in |
---|
| 2082 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 2083 | esac |
---|
| 2084 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
| 2085 | done | sort |
---|
| 2086 | echo |
---|
| 2087 | |
---|
| 2088 | if test -n "$ac_subst_files"; then |
---|
| 2089 | $as_echo "## ------------------- ## |
---|
| 2090 | ## File substitutions. ## |
---|
| 2091 | ## ------------------- ##" |
---|
| 2092 | echo |
---|
| 2093 | for ac_var in $ac_subst_files |
---|
| 2094 | do |
---|
| 2095 | eval ac_val=\$$ac_var |
---|
| 2096 | case $ac_val in |
---|
| 2097 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
---|
| 2098 | esac |
---|
| 2099 | $as_echo "$ac_var='\''$ac_val'\''" |
---|
| 2100 | done | sort |
---|
| 2101 | echo |
---|
| 2102 | fi |
---|
| 2103 | |
---|
| 2104 | if test -s confdefs.h; then |
---|
| 2105 | $as_echo "## ----------- ## |
---|
| 2106 | ## confdefs.h. ## |
---|
| 2107 | ## ----------- ##" |
---|
| 2108 | echo |
---|
| 2109 | cat confdefs.h |
---|
| 2110 | echo |
---|
| 2111 | fi |
---|
| 2112 | test "$ac_signal" != 0 && |
---|
| 2113 | $as_echo "$as_me: caught signal $ac_signal" |
---|
| 2114 | $as_echo "$as_me: exit $exit_status" |
---|
| 2115 | } >&5 |
---|
| 2116 | rm -f core *.core core.conftest.* && |
---|
| 2117 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
---|
| 2118 | exit $exit_status |
---|
| 2119 | ' 0 |
---|
| 2120 | for ac_signal in 1 2 13 15; do |
---|
| 2121 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
---|
| 2122 | done |
---|
| 2123 | ac_signal=0 |
---|
| 2124 | |
---|
| 2125 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
| 2126 | rm -f -r conftest* confdefs.h |
---|
| 2127 | |
---|
| 2128 | $as_echo "/* confdefs.h */" > confdefs.h |
---|
| 2129 | |
---|
| 2130 | # Predefined preprocessor variables. |
---|
| 2131 | |
---|
| 2132 | cat >>confdefs.h <<_ACEOF |
---|
| 2133 | #define PACKAGE_NAME "$PACKAGE_NAME" |
---|
| 2134 | _ACEOF |
---|
| 2135 | |
---|
| 2136 | cat >>confdefs.h <<_ACEOF |
---|
| 2137 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
---|
| 2138 | _ACEOF |
---|
| 2139 | |
---|
| 2140 | cat >>confdefs.h <<_ACEOF |
---|
| 2141 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
---|
| 2142 | _ACEOF |
---|
| 2143 | |
---|
| 2144 | cat >>confdefs.h <<_ACEOF |
---|
| 2145 | #define PACKAGE_STRING "$PACKAGE_STRING" |
---|
| 2146 | _ACEOF |
---|
| 2147 | |
---|
| 2148 | cat >>confdefs.h <<_ACEOF |
---|
| 2149 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
---|
| 2150 | _ACEOF |
---|
| 2151 | |
---|
| 2152 | cat >>confdefs.h <<_ACEOF |
---|
| 2153 | #define PACKAGE_URL "$PACKAGE_URL" |
---|
| 2154 | _ACEOF |
---|
| 2155 | |
---|
| 2156 | |
---|
| 2157 | # Let the site file select an alternate cache file if it wants to. |
---|
| 2158 | # Prefer an explicitly selected file to automatically selected ones. |
---|
| 2159 | ac_site_file1=NONE |
---|
| 2160 | ac_site_file2=NONE |
---|
| 2161 | if test -n "$CONFIG_SITE"; then |
---|
| 2162 | # We do not want a PATH search for config.site. |
---|
| 2163 | case $CONFIG_SITE in #(( |
---|
| 2164 | -*) ac_site_file1=./$CONFIG_SITE;; |
---|
| 2165 | */*) ac_site_file1=$CONFIG_SITE;; |
---|
| 2166 | *) ac_site_file1=./$CONFIG_SITE;; |
---|
| 2167 | esac |
---|
| 2168 | elif test "x$prefix" != xNONE; then |
---|
| 2169 | ac_site_file1=$prefix/share/config.site |
---|
| 2170 | ac_site_file2=$prefix/etc/config.site |
---|
| 2171 | else |
---|
| 2172 | ac_site_file1=$ac_default_prefix/share/config.site |
---|
| 2173 | ac_site_file2=$ac_default_prefix/etc/config.site |
---|
| 2174 | fi |
---|
| 2175 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
---|
| 2176 | do |
---|
| 2177 | test "x$ac_site_file" = xNONE && continue |
---|
| 2178 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
---|
| 2179 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
---|
| 2180 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
---|
| 2181 | sed 's/^/| /' "$ac_site_file" >&5 |
---|
| 2182 | . "$ac_site_file" \ |
---|
| 2183 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2184 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2185 | as_fn_error $? "failed to load site script $ac_site_file |
---|
| 2186 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 2187 | fi |
---|
| 2188 | done |
---|
| 2189 | |
---|
| 2190 | if test -r "$cache_file"; then |
---|
| 2191 | # Some versions of bash will fail to source /dev/null (special files |
---|
| 2192 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
---|
| 2193 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
---|
| 2194 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
---|
| 2195 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
---|
| 2196 | case $cache_file in |
---|
| 2197 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
---|
| 2198 | *) . "./$cache_file";; |
---|
| 2199 | esac |
---|
| 2200 | fi |
---|
| 2201 | else |
---|
| 2202 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
---|
| 2203 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
---|
| 2204 | >$cache_file |
---|
| 2205 | fi |
---|
| 2206 | |
---|
| 2207 | # Check that the precious variables saved in the cache have kept the same |
---|
| 2208 | # value. |
---|
| 2209 | ac_cache_corrupted=false |
---|
| 2210 | for ac_var in $ac_precious_vars; do |
---|
| 2211 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
---|
| 2212 | eval ac_new_set=\$ac_env_${ac_var}_set |
---|
| 2213 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
---|
| 2214 | eval ac_new_val=\$ac_env_${ac_var}_value |
---|
| 2215 | case $ac_old_set,$ac_new_set in |
---|
| 2216 | set,) |
---|
| 2217 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
---|
| 2218 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
---|
| 2219 | ac_cache_corrupted=: ;; |
---|
| 2220 | ,set) |
---|
| 2221 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
---|
| 2222 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
---|
| 2223 | ac_cache_corrupted=: ;; |
---|
| 2224 | ,);; |
---|
| 2225 | *) |
---|
| 2226 | if test "x$ac_old_val" != "x$ac_new_val"; then |
---|
| 2227 | # differences in whitespace do not lead to failure. |
---|
| 2228 | ac_old_val_w=`echo x $ac_old_val` |
---|
| 2229 | ac_new_val_w=`echo x $ac_new_val` |
---|
| 2230 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
---|
| 2231 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
---|
| 2232 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
---|
| 2233 | ac_cache_corrupted=: |
---|
| 2234 | else |
---|
| 2235 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
---|
| 2236 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
---|
| 2237 | eval $ac_var=\$ac_old_val |
---|
| 2238 | fi |
---|
| 2239 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
---|
| 2240 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
---|
| 2241 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
---|
| 2242 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
---|
| 2243 | fi;; |
---|
| 2244 | esac |
---|
| 2245 | # Pass precious variables to config.status. |
---|
| 2246 | if test "$ac_new_set" = set; then |
---|
| 2247 | case $ac_new_val in |
---|
| 2248 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 2249 | *) ac_arg=$ac_var=$ac_new_val ;; |
---|
| 2250 | esac |
---|
| 2251 | case " $ac_configure_args " in |
---|
| 2252 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
---|
| 2253 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
---|
| 2254 | esac |
---|
| 2255 | fi |
---|
| 2256 | done |
---|
| 2257 | if $ac_cache_corrupted; then |
---|
| 2258 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 2259 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 2260 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
---|
| 2261 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
---|
| 2262 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
---|
| 2263 | fi |
---|
| 2264 | ## -------------------- ## |
---|
| 2265 | ## Main body of script. ## |
---|
| 2266 | ## -------------------- ## |
---|
| 2267 | |
---|
| 2268 | ac_ext=c |
---|
| 2269 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2270 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2271 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2272 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2273 | |
---|
| 2274 | |
---|
| 2275 | |
---|
| 2276 | ac_config_headers="$ac_config_headers config.h" |
---|
| 2277 | |
---|
| 2278 | |
---|
[9739] | 2279 | am__api_version='1.14' |
---|
[9642] | 2280 | |
---|
| 2281 | ac_aux_dir= |
---|
| 2282 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
---|
| 2283 | if test -f "$ac_dir/install-sh"; then |
---|
| 2284 | ac_aux_dir=$ac_dir |
---|
| 2285 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
| 2286 | break |
---|
| 2287 | elif test -f "$ac_dir/install.sh"; then |
---|
| 2288 | ac_aux_dir=$ac_dir |
---|
| 2289 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
| 2290 | break |
---|
| 2291 | elif test -f "$ac_dir/shtool"; then |
---|
| 2292 | ac_aux_dir=$ac_dir |
---|
| 2293 | ac_install_sh="$ac_aux_dir/shtool install -c" |
---|
| 2294 | break |
---|
| 2295 | fi |
---|
| 2296 | done |
---|
| 2297 | if test -z "$ac_aux_dir"; then |
---|
| 2298 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
---|
| 2299 | fi |
---|
| 2300 | |
---|
| 2301 | # These three variables are undocumented and unsupported, |
---|
| 2302 | # and are intended to be withdrawn in a future Autoconf release. |
---|
| 2303 | # They can cause serious problems if a builder's source tree is in a directory |
---|
| 2304 | # whose full name contains unusual characters. |
---|
| 2305 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
---|
| 2306 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
---|
| 2307 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
---|
| 2308 | |
---|
| 2309 | |
---|
| 2310 | # Find a good install program. We prefer a C program (faster), |
---|
| 2311 | # so one script is as good as another. But avoid the broken or |
---|
| 2312 | # incompatible versions: |
---|
| 2313 | # SysV /etc/install, /usr/sbin/install |
---|
| 2314 | # SunOS /usr/etc/install |
---|
| 2315 | # IRIX /sbin/install |
---|
| 2316 | # AIX /bin/install |
---|
| 2317 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
---|
| 2318 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
| 2319 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
| 2320 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
| 2321 | # OS/2's system install, which has a completely different semantic |
---|
| 2322 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
| 2323 | # Reject install programs that cannot install multiple files. |
---|
| 2324 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
---|
| 2325 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
---|
| 2326 | if test -z "$INSTALL"; then |
---|
| 2327 | if ${ac_cv_path_install+:} false; then : |
---|
| 2328 | $as_echo_n "(cached) " >&6 |
---|
| 2329 | else |
---|
| 2330 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2331 | for as_dir in $PATH |
---|
| 2332 | do |
---|
| 2333 | IFS=$as_save_IFS |
---|
| 2334 | test -z "$as_dir" && as_dir=. |
---|
| 2335 | # Account for people who put trailing slashes in PATH elements. |
---|
| 2336 | case $as_dir/ in #(( |
---|
| 2337 | ./ | .// | /[cC]/* | \ |
---|
| 2338 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
---|
| 2339 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
---|
| 2340 | /usr/ucb/* ) ;; |
---|
| 2341 | *) |
---|
| 2342 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
| 2343 | # Don't use installbsd from OSF since it installs stuff as root |
---|
| 2344 | # by default. |
---|
| 2345 | for ac_prog in ginstall scoinst install; do |
---|
| 2346 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 2347 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
---|
[9642] | 2348 | if test $ac_prog = install && |
---|
| 2349 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 2350 | # AIX install. It has an incompatible calling convention. |
---|
| 2351 | : |
---|
| 2352 | elif test $ac_prog = install && |
---|
| 2353 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
---|
| 2354 | # program-specific install script used by HP pwplus--don't use. |
---|
| 2355 | : |
---|
| 2356 | else |
---|
| 2357 | rm -rf conftest.one conftest.two conftest.dir |
---|
| 2358 | echo one > conftest.one |
---|
| 2359 | echo two > conftest.two |
---|
| 2360 | mkdir conftest.dir |
---|
| 2361 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
---|
| 2362 | test -s conftest.one && test -s conftest.two && |
---|
| 2363 | test -s conftest.dir/conftest.one && |
---|
| 2364 | test -s conftest.dir/conftest.two |
---|
| 2365 | then |
---|
| 2366 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
---|
| 2367 | break 3 |
---|
| 2368 | fi |
---|
| 2369 | fi |
---|
| 2370 | fi |
---|
| 2371 | done |
---|
| 2372 | done |
---|
| 2373 | ;; |
---|
| 2374 | esac |
---|
| 2375 | |
---|
| 2376 | done |
---|
| 2377 | IFS=$as_save_IFS |
---|
| 2378 | |
---|
| 2379 | rm -rf conftest.one conftest.two conftest.dir |
---|
| 2380 | |
---|
| 2381 | fi |
---|
| 2382 | if test "${ac_cv_path_install+set}" = set; then |
---|
| 2383 | INSTALL=$ac_cv_path_install |
---|
| 2384 | else |
---|
| 2385 | # As a last resort, use the slow shell script. Don't cache a |
---|
| 2386 | # value for INSTALL within a source directory, because that will |
---|
| 2387 | # break other packages using the cache if that directory is |
---|
| 2388 | # removed, or if the value is a relative name. |
---|
| 2389 | INSTALL=$ac_install_sh |
---|
| 2390 | fi |
---|
| 2391 | fi |
---|
| 2392 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
---|
| 2393 | $as_echo "$INSTALL" >&6; } |
---|
| 2394 | |
---|
| 2395 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
| 2396 | # It thinks the first close brace ends the variable substitution. |
---|
| 2397 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
| 2398 | |
---|
| 2399 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
---|
| 2400 | |
---|
| 2401 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
| 2402 | |
---|
| 2403 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
---|
| 2404 | $as_echo_n "checking whether build environment is sane... " >&6; } |
---|
| 2405 | # Reject unsafe characters in $srcdir or the absolute working directory |
---|
| 2406 | # name. Accept space and tab only in the latter. |
---|
| 2407 | am_lf=' |
---|
| 2408 | ' |
---|
| 2409 | case `pwd` in |
---|
| 2410 | *[\\\"\#\$\&\'\`$am_lf]*) |
---|
| 2411 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
---|
| 2412 | esac |
---|
| 2413 | case $srcdir in |
---|
| 2414 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
---|
[9739] | 2415 | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
---|
[9642] | 2416 | esac |
---|
| 2417 | |
---|
[9739] | 2418 | # Do 'set' in a subshell so we don't clobber the current shell's |
---|
[9642] | 2419 | # arguments. Must try -L first in case configure is actually a |
---|
| 2420 | # symlink; some systems play weird games with the mod time of symlinks |
---|
| 2421 | # (eg FreeBSD returns the mod time of the symlink's containing |
---|
| 2422 | # directory). |
---|
| 2423 | if ( |
---|
[9739] | 2424 | am_has_slept=no |
---|
| 2425 | for am_try in 1 2; do |
---|
| 2426 | echo "timestamp, slept: $am_has_slept" > conftest.file |
---|
| 2427 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
---|
| 2428 | if test "$*" = "X"; then |
---|
| 2429 | # -L didn't work. |
---|
| 2430 | set X `ls -t "$srcdir/configure" conftest.file` |
---|
| 2431 | fi |
---|
| 2432 | if test "$*" != "X $srcdir/configure conftest.file" \ |
---|
| 2433 | && test "$*" != "X conftest.file $srcdir/configure"; then |
---|
[9642] | 2434 | |
---|
[9739] | 2435 | # If neither matched, then we have a broken ls. This can happen |
---|
| 2436 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
---|
| 2437 | # broken ls alias from the environment. This has actually |
---|
| 2438 | # happened. Such a system could not be considered "sane". |
---|
| 2439 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
---|
| 2440 | alias in your environment" "$LINENO" 5 |
---|
| 2441 | fi |
---|
| 2442 | if test "$2" = conftest.file || test $am_try -eq 2; then |
---|
| 2443 | break |
---|
| 2444 | fi |
---|
| 2445 | # Just in case. |
---|
| 2446 | sleep 1 |
---|
| 2447 | am_has_slept=yes |
---|
| 2448 | done |
---|
[9642] | 2449 | test "$2" = conftest.file |
---|
| 2450 | ) |
---|
| 2451 | then |
---|
| 2452 | # Ok. |
---|
| 2453 | : |
---|
| 2454 | else |
---|
| 2455 | as_fn_error $? "newly created file is older than distributed files! |
---|
| 2456 | Check your system clock" "$LINENO" 5 |
---|
| 2457 | fi |
---|
| 2458 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 2459 | $as_echo "yes" >&6; } |
---|
[9739] | 2460 | # If we didn't sleep, we still need to ensure time stamps of config.status and |
---|
| 2461 | # generated files are strictly newer. |
---|
| 2462 | am_sleep_pid= |
---|
| 2463 | if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
---|
| 2464 | ( sleep 1 ) & |
---|
| 2465 | am_sleep_pid=$! |
---|
| 2466 | fi |
---|
| 2467 | |
---|
| 2468 | rm -f conftest.file |
---|
| 2469 | |
---|
[9642] | 2470 | test "$program_prefix" != NONE && |
---|
| 2471 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
---|
| 2472 | # Use a double $ so make ignores it. |
---|
| 2473 | test "$program_suffix" != NONE && |
---|
| 2474 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
---|
| 2475 | # Double any \ or $. |
---|
| 2476 | # By default was `s,x,x', remove it if useless. |
---|
| 2477 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
---|
| 2478 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
---|
| 2479 | |
---|
| 2480 | # expand $ac_aux_dir to an absolute path |
---|
| 2481 | am_aux_dir=`cd $ac_aux_dir && pwd` |
---|
| 2482 | |
---|
| 2483 | if test x"${MISSING+set}" != xset; then |
---|
| 2484 | case $am_aux_dir in |
---|
| 2485 | *\ * | *\ *) |
---|
| 2486 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
---|
| 2487 | *) |
---|
| 2488 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
---|
| 2489 | esac |
---|
| 2490 | fi |
---|
| 2491 | # Use eval to expand $SHELL |
---|
[9739] | 2492 | if eval "$MISSING --is-lightweight"; then |
---|
| 2493 | am_missing_run="$MISSING " |
---|
[9642] | 2494 | else |
---|
| 2495 | am_missing_run= |
---|
[9739] | 2496 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
---|
| 2497 | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
---|
[9642] | 2498 | fi |
---|
| 2499 | |
---|
| 2500 | if test x"${install_sh}" != xset; then |
---|
| 2501 | case $am_aux_dir in |
---|
| 2502 | *\ * | *\ *) |
---|
| 2503 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
---|
| 2504 | *) |
---|
| 2505 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
---|
| 2506 | esac |
---|
| 2507 | fi |
---|
| 2508 | |
---|
[9739] | 2509 | # Installed binaries are usually stripped using 'strip' when the user |
---|
| 2510 | # run "make install-strip". However 'strip' might not be the right |
---|
[9642] | 2511 | # tool to use in cross-compilation environments, therefore Automake |
---|
[9739] | 2512 | # will honor the 'STRIP' environment variable to overrule this program. |
---|
[9642] | 2513 | if test "$cross_compiling" != no; then |
---|
| 2514 | if test -n "$ac_tool_prefix"; then |
---|
| 2515 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
---|
| 2516 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
---|
| 2517 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2518 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2519 | if ${ac_cv_prog_STRIP+:} false; then : |
---|
| 2520 | $as_echo_n "(cached) " >&6 |
---|
| 2521 | else |
---|
| 2522 | if test -n "$STRIP"; then |
---|
| 2523 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
---|
| 2524 | else |
---|
| 2525 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2526 | for as_dir in $PATH |
---|
| 2527 | do |
---|
| 2528 | IFS=$as_save_IFS |
---|
| 2529 | test -z "$as_dir" && as_dir=. |
---|
| 2530 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 2531 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 2532 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
---|
| 2533 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2534 | break 2 |
---|
| 2535 | fi |
---|
| 2536 | done |
---|
| 2537 | done |
---|
| 2538 | IFS=$as_save_IFS |
---|
| 2539 | |
---|
| 2540 | fi |
---|
| 2541 | fi |
---|
| 2542 | STRIP=$ac_cv_prog_STRIP |
---|
| 2543 | if test -n "$STRIP"; then |
---|
| 2544 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
---|
| 2545 | $as_echo "$STRIP" >&6; } |
---|
| 2546 | else |
---|
| 2547 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2548 | $as_echo "no" >&6; } |
---|
| 2549 | fi |
---|
| 2550 | |
---|
| 2551 | |
---|
| 2552 | fi |
---|
| 2553 | if test -z "$ac_cv_prog_STRIP"; then |
---|
| 2554 | ac_ct_STRIP=$STRIP |
---|
| 2555 | # Extract the first word of "strip", so it can be a program name with args. |
---|
| 2556 | set dummy strip; ac_word=$2 |
---|
| 2557 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2558 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2559 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
---|
| 2560 | $as_echo_n "(cached) " >&6 |
---|
| 2561 | else |
---|
| 2562 | if test -n "$ac_ct_STRIP"; then |
---|
| 2563 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
---|
| 2564 | else |
---|
| 2565 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2566 | for as_dir in $PATH |
---|
| 2567 | do |
---|
| 2568 | IFS=$as_save_IFS |
---|
| 2569 | test -z "$as_dir" && as_dir=. |
---|
| 2570 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 2571 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 2572 | ac_cv_prog_ac_ct_STRIP="strip" |
---|
| 2573 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2574 | break 2 |
---|
| 2575 | fi |
---|
| 2576 | done |
---|
| 2577 | done |
---|
| 2578 | IFS=$as_save_IFS |
---|
| 2579 | |
---|
| 2580 | fi |
---|
| 2581 | fi |
---|
| 2582 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
---|
| 2583 | if test -n "$ac_ct_STRIP"; then |
---|
| 2584 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
---|
| 2585 | $as_echo "$ac_ct_STRIP" >&6; } |
---|
| 2586 | else |
---|
| 2587 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2588 | $as_echo "no" >&6; } |
---|
| 2589 | fi |
---|
| 2590 | |
---|
| 2591 | if test "x$ac_ct_STRIP" = x; then |
---|
| 2592 | STRIP=":" |
---|
| 2593 | else |
---|
| 2594 | case $cross_compiling:$ac_tool_warned in |
---|
| 2595 | yes:) |
---|
| 2596 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 2597 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 2598 | ac_tool_warned=yes ;; |
---|
| 2599 | esac |
---|
| 2600 | STRIP=$ac_ct_STRIP |
---|
| 2601 | fi |
---|
| 2602 | else |
---|
| 2603 | STRIP="$ac_cv_prog_STRIP" |
---|
| 2604 | fi |
---|
| 2605 | |
---|
| 2606 | fi |
---|
| 2607 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
---|
| 2608 | |
---|
| 2609 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
---|
| 2610 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
---|
| 2611 | if test -z "$MKDIR_P"; then |
---|
| 2612 | if ${ac_cv_path_mkdir+:} false; then : |
---|
| 2613 | $as_echo_n "(cached) " >&6 |
---|
| 2614 | else |
---|
| 2615 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2616 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
---|
| 2617 | do |
---|
| 2618 | IFS=$as_save_IFS |
---|
| 2619 | test -z "$as_dir" && as_dir=. |
---|
| 2620 | for ac_prog in mkdir gmkdir; do |
---|
| 2621 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 2622 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
---|
[9642] | 2623 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
---|
| 2624 | 'mkdir (GNU coreutils) '* | \ |
---|
| 2625 | 'mkdir (coreutils) '* | \ |
---|
| 2626 | 'mkdir (fileutils) '4.1*) |
---|
| 2627 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
---|
| 2628 | break 3;; |
---|
| 2629 | esac |
---|
| 2630 | done |
---|
| 2631 | done |
---|
| 2632 | done |
---|
| 2633 | IFS=$as_save_IFS |
---|
| 2634 | |
---|
| 2635 | fi |
---|
| 2636 | |
---|
| 2637 | test -d ./--version && rmdir ./--version |
---|
| 2638 | if test "${ac_cv_path_mkdir+set}" = set; then |
---|
| 2639 | MKDIR_P="$ac_cv_path_mkdir -p" |
---|
| 2640 | else |
---|
| 2641 | # As a last resort, use the slow shell script. Don't cache a |
---|
| 2642 | # value for MKDIR_P within a source directory, because that will |
---|
| 2643 | # break other packages using the cache if that directory is |
---|
| 2644 | # removed, or if the value is a relative name. |
---|
| 2645 | MKDIR_P="$ac_install_sh -d" |
---|
| 2646 | fi |
---|
| 2647 | fi |
---|
| 2648 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
---|
| 2649 | $as_echo "$MKDIR_P" >&6; } |
---|
| 2650 | |
---|
| 2651 | for ac_prog in gawk mawk nawk awk |
---|
| 2652 | do |
---|
| 2653 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 2654 | set dummy $ac_prog; ac_word=$2 |
---|
| 2655 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2656 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2657 | if ${ac_cv_prog_AWK+:} false; then : |
---|
| 2658 | $as_echo_n "(cached) " >&6 |
---|
| 2659 | else |
---|
| 2660 | if test -n "$AWK"; then |
---|
| 2661 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
---|
| 2662 | else |
---|
| 2663 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2664 | for as_dir in $PATH |
---|
| 2665 | do |
---|
| 2666 | IFS=$as_save_IFS |
---|
| 2667 | test -z "$as_dir" && as_dir=. |
---|
| 2668 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 2669 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 2670 | ac_cv_prog_AWK="$ac_prog" |
---|
| 2671 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2672 | break 2 |
---|
| 2673 | fi |
---|
| 2674 | done |
---|
| 2675 | done |
---|
| 2676 | IFS=$as_save_IFS |
---|
| 2677 | |
---|
| 2678 | fi |
---|
| 2679 | fi |
---|
| 2680 | AWK=$ac_cv_prog_AWK |
---|
| 2681 | if test -n "$AWK"; then |
---|
| 2682 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
---|
| 2683 | $as_echo "$AWK" >&6; } |
---|
| 2684 | else |
---|
| 2685 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2686 | $as_echo "no" >&6; } |
---|
| 2687 | fi |
---|
| 2688 | |
---|
| 2689 | |
---|
| 2690 | test -n "$AWK" && break |
---|
| 2691 | done |
---|
| 2692 | |
---|
| 2693 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
---|
| 2694 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
---|
| 2695 | set x ${MAKE-make} |
---|
| 2696 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
---|
| 2697 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
---|
| 2698 | $as_echo_n "(cached) " >&6 |
---|
| 2699 | else |
---|
| 2700 | cat >conftest.make <<\_ACEOF |
---|
| 2701 | SHELL = /bin/sh |
---|
| 2702 | all: |
---|
| 2703 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
---|
| 2704 | _ACEOF |
---|
| 2705 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
---|
| 2706 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
---|
| 2707 | *@@@%%%=?*=@@@%%%*) |
---|
| 2708 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
---|
| 2709 | *) |
---|
| 2710 | eval ac_cv_prog_make_${ac_make}_set=no;; |
---|
| 2711 | esac |
---|
| 2712 | rm -f conftest.make |
---|
| 2713 | fi |
---|
| 2714 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
---|
| 2715 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 2716 | $as_echo "yes" >&6; } |
---|
| 2717 | SET_MAKE= |
---|
| 2718 | else |
---|
| 2719 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2720 | $as_echo "no" >&6; } |
---|
| 2721 | SET_MAKE="MAKE=${MAKE-make}" |
---|
| 2722 | fi |
---|
| 2723 | |
---|
| 2724 | rm -rf .tst 2>/dev/null |
---|
| 2725 | mkdir .tst 2>/dev/null |
---|
| 2726 | if test -d .tst; then |
---|
| 2727 | am__leading_dot=. |
---|
| 2728 | else |
---|
| 2729 | am__leading_dot=_ |
---|
| 2730 | fi |
---|
| 2731 | rmdir .tst 2>/dev/null |
---|
| 2732 | |
---|
[9739] | 2733 | # Check whether --enable-silent-rules was given. |
---|
| 2734 | if test "${enable_silent_rules+set}" = set; then : |
---|
| 2735 | enableval=$enable_silent_rules; |
---|
| 2736 | fi |
---|
| 2737 | |
---|
| 2738 | case $enable_silent_rules in # ((( |
---|
| 2739 | yes) AM_DEFAULT_VERBOSITY=0;; |
---|
| 2740 | no) AM_DEFAULT_VERBOSITY=1;; |
---|
| 2741 | *) AM_DEFAULT_VERBOSITY=1;; |
---|
| 2742 | esac |
---|
| 2743 | am_make=${MAKE-make} |
---|
| 2744 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
---|
| 2745 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
---|
| 2746 | if ${am_cv_make_support_nested_variables+:} false; then : |
---|
| 2747 | $as_echo_n "(cached) " >&6 |
---|
| 2748 | else |
---|
| 2749 | if $as_echo 'TRUE=$(BAR$(V)) |
---|
| 2750 | BAR0=false |
---|
| 2751 | BAR1=true |
---|
| 2752 | V=1 |
---|
| 2753 | am__doit: |
---|
| 2754 | @$(TRUE) |
---|
| 2755 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
---|
| 2756 | am_cv_make_support_nested_variables=yes |
---|
| 2757 | else |
---|
| 2758 | am_cv_make_support_nested_variables=no |
---|
| 2759 | fi |
---|
| 2760 | fi |
---|
| 2761 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
---|
| 2762 | $as_echo "$am_cv_make_support_nested_variables" >&6; } |
---|
| 2763 | if test $am_cv_make_support_nested_variables = yes; then |
---|
| 2764 | AM_V='$(V)' |
---|
| 2765 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
---|
| 2766 | else |
---|
| 2767 | AM_V=$AM_DEFAULT_VERBOSITY |
---|
| 2768 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
---|
| 2769 | fi |
---|
| 2770 | AM_BACKSLASH='\' |
---|
| 2771 | |
---|
[9642] | 2772 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
---|
| 2773 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
---|
| 2774 | # is not polluted with repeated "-I." |
---|
| 2775 | am__isrc=' -I$(srcdir)' |
---|
| 2776 | # test to see if srcdir already configured |
---|
| 2777 | if test -f $srcdir/config.status; then |
---|
| 2778 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
---|
| 2779 | fi |
---|
| 2780 | fi |
---|
| 2781 | |
---|
| 2782 | # test whether we have cygpath |
---|
| 2783 | if test -z "$CYGPATH_W"; then |
---|
| 2784 | if (cygpath --version) >/dev/null 2>/dev/null; then |
---|
| 2785 | CYGPATH_W='cygpath -w' |
---|
| 2786 | else |
---|
| 2787 | CYGPATH_W=echo |
---|
| 2788 | fi |
---|
| 2789 | fi |
---|
| 2790 | |
---|
| 2791 | |
---|
| 2792 | # Define the identity of the package. |
---|
| 2793 | PACKAGE='vine-notify-update' |
---|
[9739] | 2794 | VERSION='0.9.0' |
---|
[9642] | 2795 | |
---|
| 2796 | |
---|
| 2797 | cat >>confdefs.h <<_ACEOF |
---|
| 2798 | #define PACKAGE "$PACKAGE" |
---|
| 2799 | _ACEOF |
---|
| 2800 | |
---|
| 2801 | |
---|
| 2802 | cat >>confdefs.h <<_ACEOF |
---|
| 2803 | #define VERSION "$VERSION" |
---|
| 2804 | _ACEOF |
---|
| 2805 | |
---|
| 2806 | # Some tools Automake needs. |
---|
| 2807 | |
---|
| 2808 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
---|
| 2809 | |
---|
| 2810 | |
---|
| 2811 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
---|
| 2812 | |
---|
| 2813 | |
---|
| 2814 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
---|
| 2815 | |
---|
| 2816 | |
---|
| 2817 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
---|
| 2818 | |
---|
| 2819 | |
---|
| 2820 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
---|
| 2821 | |
---|
[9739] | 2822 | # For better backward compatibility. To be removed once Automake 1.9.x |
---|
| 2823 | # dies out for good. For more background, see: |
---|
| 2824 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
---|
| 2825 | # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
---|
| 2826 | mkdir_p='$(MKDIR_P)' |
---|
| 2827 | |
---|
[9642] | 2828 | # We need awk for the "check" target. The system "awk" is bad on |
---|
| 2829 | # some platforms. |
---|
[9739] | 2830 | # Always define AMTAR for backward compatibility. Yes, it's still used |
---|
| 2831 | # in the wild :-( We should find a proper way to deprecate it ... |
---|
| 2832 | AMTAR='$${TAR-tar}' |
---|
[9642] | 2833 | |
---|
| 2834 | |
---|
[9739] | 2835 | # We'll loop over all known methods to create a tar archive until one works. |
---|
| 2836 | _am_tools='gnutar pax cpio none' |
---|
[9642] | 2837 | |
---|
[9739] | 2838 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
---|
[9642] | 2839 | |
---|
| 2840 | |
---|
| 2841 | |
---|
| 2842 | |
---|
| 2843 | |
---|
[9739] | 2844 | |
---|
| 2845 | # POSIX will say in a future version that running "rm -f" with no argument |
---|
| 2846 | # is OK; and we want to be able to make that assumption in our Makefile |
---|
| 2847 | # recipes. So use an aggressive probe to check that the usage we want is |
---|
| 2848 | # actually supported "in the wild" to an acceptable degree. |
---|
| 2849 | # See automake bug#10828. |
---|
| 2850 | # To make any issue more visible, cause the running configure to be aborted |
---|
| 2851 | # by default if the 'rm' program in use doesn't match our expectations; the |
---|
| 2852 | # user can still override this though. |
---|
| 2853 | if rm -f && rm -fr && rm -rf; then : OK; else |
---|
| 2854 | cat >&2 <<'END' |
---|
| 2855 | Oops! |
---|
| 2856 | |
---|
| 2857 | Your 'rm' program seems unable to run without file operands specified |
---|
| 2858 | on the command line, even when the '-f' option is present. This is contrary |
---|
| 2859 | to the behaviour of most rm programs out there, and not conforming with |
---|
| 2860 | the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
---|
| 2861 | |
---|
| 2862 | Please tell bug-automake@gnu.org about your system, including the value |
---|
| 2863 | of your $PATH and any error possibly output before this message. This |
---|
| 2864 | can help us improve future automake versions. |
---|
| 2865 | |
---|
| 2866 | END |
---|
| 2867 | if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
---|
| 2868 | echo 'Configuration will proceed anyway, since you have set the' >&2 |
---|
| 2869 | echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
---|
| 2870 | echo >&2 |
---|
| 2871 | else |
---|
| 2872 | cat >&2 <<'END' |
---|
| 2873 | Aborting the configuration process, to ensure you take notice of the issue. |
---|
| 2874 | |
---|
| 2875 | You can download and install GNU coreutils to get an 'rm' implementation |
---|
| 2876 | that behaves properly: <http://www.gnu.org/software/coreutils/>. |
---|
| 2877 | |
---|
| 2878 | If you want to complete the configuration process using your problematic |
---|
| 2879 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
---|
| 2880 | to "yes", and re-run configure. |
---|
| 2881 | |
---|
| 2882 | END |
---|
| 2883 | as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
---|
| 2884 | fi |
---|
| 2885 | fi |
---|
| 2886 | |
---|
[9642] | 2887 | # Enable silent rules is available |
---|
| 2888 | # Check whether --enable-silent-rules was given. |
---|
| 2889 | if test "${enable_silent_rules+set}" = set; then : |
---|
| 2890 | enableval=$enable_silent_rules; |
---|
| 2891 | fi |
---|
| 2892 | |
---|
[9739] | 2893 | case $enable_silent_rules in # ((( |
---|
| 2894 | yes) AM_DEFAULT_VERBOSITY=0;; |
---|
| 2895 | no) AM_DEFAULT_VERBOSITY=1;; |
---|
| 2896 | *) AM_DEFAULT_VERBOSITY=0;; |
---|
[9642] | 2897 | esac |
---|
[9739] | 2898 | am_make=${MAKE-make} |
---|
| 2899 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
---|
| 2900 | $as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
---|
| 2901 | if ${am_cv_make_support_nested_variables+:} false; then : |
---|
| 2902 | $as_echo_n "(cached) " >&6 |
---|
| 2903 | else |
---|
| 2904 | if $as_echo 'TRUE=$(BAR$(V)) |
---|
| 2905 | BAR0=false |
---|
| 2906 | BAR1=true |
---|
| 2907 | V=1 |
---|
| 2908 | am__doit: |
---|
| 2909 | @$(TRUE) |
---|
| 2910 | .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
---|
| 2911 | am_cv_make_support_nested_variables=yes |
---|
| 2912 | else |
---|
| 2913 | am_cv_make_support_nested_variables=no |
---|
| 2914 | fi |
---|
| 2915 | fi |
---|
| 2916 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
---|
| 2917 | $as_echo "$am_cv_make_support_nested_variables" >&6; } |
---|
| 2918 | if test $am_cv_make_support_nested_variables = yes; then |
---|
| 2919 | AM_V='$(V)' |
---|
| 2920 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
---|
| 2921 | else |
---|
| 2922 | AM_V=$AM_DEFAULT_VERBOSITY |
---|
| 2923 | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
---|
| 2924 | fi |
---|
[9642] | 2925 | AM_BACKSLASH='\' |
---|
| 2926 | |
---|
| 2927 | |
---|
| 2928 | |
---|
| 2929 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
---|
| 2930 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
---|
| 2931 | # Check whether --enable-maintainer-mode was given. |
---|
| 2932 | if test "${enable_maintainer_mode+set}" = set; then : |
---|
| 2933 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
---|
| 2934 | else |
---|
| 2935 | USE_MAINTAINER_MODE=no |
---|
| 2936 | fi |
---|
| 2937 | |
---|
| 2938 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
---|
| 2939 | $as_echo "$USE_MAINTAINER_MODE" >&6; } |
---|
| 2940 | if test $USE_MAINTAINER_MODE = yes; then |
---|
| 2941 | MAINTAINER_MODE_TRUE= |
---|
| 2942 | MAINTAINER_MODE_FALSE='#' |
---|
| 2943 | else |
---|
| 2944 | MAINTAINER_MODE_TRUE='#' |
---|
| 2945 | MAINTAINER_MODE_FALSE= |
---|
| 2946 | fi |
---|
| 2947 | |
---|
| 2948 | MAINT=$MAINTAINER_MODE_TRUE |
---|
| 2949 | |
---|
| 2950 | |
---|
| 2951 | |
---|
| 2952 | ac_ext=c |
---|
| 2953 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 2954 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 2955 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 2956 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 2957 | if test -n "$ac_tool_prefix"; then |
---|
| 2958 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
---|
| 2959 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
---|
| 2960 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 2961 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 2962 | if ${ac_cv_prog_CC+:} false; then : |
---|
| 2963 | $as_echo_n "(cached) " >&6 |
---|
| 2964 | else |
---|
| 2965 | if test -n "$CC"; then |
---|
| 2966 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 2967 | else |
---|
| 2968 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 2969 | for as_dir in $PATH |
---|
| 2970 | do |
---|
| 2971 | IFS=$as_save_IFS |
---|
| 2972 | test -z "$as_dir" && as_dir=. |
---|
| 2973 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 2974 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 2975 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
---|
| 2976 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 2977 | break 2 |
---|
| 2978 | fi |
---|
| 2979 | done |
---|
| 2980 | done |
---|
| 2981 | IFS=$as_save_IFS |
---|
| 2982 | |
---|
| 2983 | fi |
---|
| 2984 | fi |
---|
| 2985 | CC=$ac_cv_prog_CC |
---|
| 2986 | if test -n "$CC"; then |
---|
| 2987 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 2988 | $as_echo "$CC" >&6; } |
---|
| 2989 | else |
---|
| 2990 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 2991 | $as_echo "no" >&6; } |
---|
| 2992 | fi |
---|
| 2993 | |
---|
| 2994 | |
---|
| 2995 | fi |
---|
| 2996 | if test -z "$ac_cv_prog_CC"; then |
---|
| 2997 | ac_ct_CC=$CC |
---|
| 2998 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
| 2999 | set dummy gcc; ac_word=$2 |
---|
| 3000 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3001 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 3002 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
---|
| 3003 | $as_echo_n "(cached) " >&6 |
---|
| 3004 | else |
---|
| 3005 | if test -n "$ac_ct_CC"; then |
---|
| 3006 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 3007 | else |
---|
| 3008 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3009 | for as_dir in $PATH |
---|
| 3010 | do |
---|
| 3011 | IFS=$as_save_IFS |
---|
| 3012 | test -z "$as_dir" && as_dir=. |
---|
| 3013 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 3014 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 3015 | ac_cv_prog_ac_ct_CC="gcc" |
---|
| 3016 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3017 | break 2 |
---|
| 3018 | fi |
---|
| 3019 | done |
---|
| 3020 | done |
---|
| 3021 | IFS=$as_save_IFS |
---|
| 3022 | |
---|
| 3023 | fi |
---|
| 3024 | fi |
---|
| 3025 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 3026 | if test -n "$ac_ct_CC"; then |
---|
| 3027 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
| 3028 | $as_echo "$ac_ct_CC" >&6; } |
---|
| 3029 | else |
---|
| 3030 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3031 | $as_echo "no" >&6; } |
---|
| 3032 | fi |
---|
| 3033 | |
---|
| 3034 | if test "x$ac_ct_CC" = x; then |
---|
| 3035 | CC="" |
---|
| 3036 | else |
---|
| 3037 | case $cross_compiling:$ac_tool_warned in |
---|
| 3038 | yes:) |
---|
| 3039 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 3040 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 3041 | ac_tool_warned=yes ;; |
---|
| 3042 | esac |
---|
| 3043 | CC=$ac_ct_CC |
---|
| 3044 | fi |
---|
| 3045 | else |
---|
| 3046 | CC="$ac_cv_prog_CC" |
---|
| 3047 | fi |
---|
| 3048 | |
---|
| 3049 | if test -z "$CC"; then |
---|
| 3050 | if test -n "$ac_tool_prefix"; then |
---|
| 3051 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
---|
| 3052 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
---|
| 3053 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3054 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 3055 | if ${ac_cv_prog_CC+:} false; then : |
---|
| 3056 | $as_echo_n "(cached) " >&6 |
---|
| 3057 | else |
---|
| 3058 | if test -n "$CC"; then |
---|
| 3059 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 3060 | else |
---|
| 3061 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3062 | for as_dir in $PATH |
---|
| 3063 | do |
---|
| 3064 | IFS=$as_save_IFS |
---|
| 3065 | test -z "$as_dir" && as_dir=. |
---|
| 3066 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 3067 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 3068 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
---|
| 3069 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3070 | break 2 |
---|
| 3071 | fi |
---|
| 3072 | done |
---|
| 3073 | done |
---|
| 3074 | IFS=$as_save_IFS |
---|
| 3075 | |
---|
| 3076 | fi |
---|
| 3077 | fi |
---|
| 3078 | CC=$ac_cv_prog_CC |
---|
| 3079 | if test -n "$CC"; then |
---|
| 3080 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 3081 | $as_echo "$CC" >&6; } |
---|
| 3082 | else |
---|
| 3083 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3084 | $as_echo "no" >&6; } |
---|
| 3085 | fi |
---|
| 3086 | |
---|
| 3087 | |
---|
| 3088 | fi |
---|
| 3089 | fi |
---|
| 3090 | if test -z "$CC"; then |
---|
| 3091 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 3092 | set dummy cc; ac_word=$2 |
---|
| 3093 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3094 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 3095 | if ${ac_cv_prog_CC+:} false; then : |
---|
| 3096 | $as_echo_n "(cached) " >&6 |
---|
| 3097 | else |
---|
| 3098 | if test -n "$CC"; then |
---|
| 3099 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 3100 | else |
---|
| 3101 | ac_prog_rejected=no |
---|
| 3102 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3103 | for as_dir in $PATH |
---|
| 3104 | do |
---|
| 3105 | IFS=$as_save_IFS |
---|
| 3106 | test -z "$as_dir" && as_dir=. |
---|
| 3107 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 3108 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 3109 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
---|
| 3110 | ac_prog_rejected=yes |
---|
| 3111 | continue |
---|
| 3112 | fi |
---|
| 3113 | ac_cv_prog_CC="cc" |
---|
| 3114 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3115 | break 2 |
---|
| 3116 | fi |
---|
| 3117 | done |
---|
| 3118 | done |
---|
| 3119 | IFS=$as_save_IFS |
---|
| 3120 | |
---|
| 3121 | if test $ac_prog_rejected = yes; then |
---|
| 3122 | # We found a bogon in the path, so make sure we never use it. |
---|
| 3123 | set dummy $ac_cv_prog_CC |
---|
| 3124 | shift |
---|
| 3125 | if test $# != 0; then |
---|
| 3126 | # We chose a different compiler from the bogus one. |
---|
| 3127 | # However, it has the same basename, so the bogon will be chosen |
---|
| 3128 | # first if we set CC to just the basename; use the full file name. |
---|
| 3129 | shift |
---|
| 3130 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
---|
| 3131 | fi |
---|
| 3132 | fi |
---|
| 3133 | fi |
---|
| 3134 | fi |
---|
| 3135 | CC=$ac_cv_prog_CC |
---|
| 3136 | if test -n "$CC"; then |
---|
| 3137 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 3138 | $as_echo "$CC" >&6; } |
---|
| 3139 | else |
---|
| 3140 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3141 | $as_echo "no" >&6; } |
---|
| 3142 | fi |
---|
| 3143 | |
---|
| 3144 | |
---|
| 3145 | fi |
---|
| 3146 | if test -z "$CC"; then |
---|
| 3147 | if test -n "$ac_tool_prefix"; then |
---|
| 3148 | for ac_prog in cl.exe |
---|
| 3149 | do |
---|
| 3150 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
---|
| 3151 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
---|
| 3152 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3153 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 3154 | if ${ac_cv_prog_CC+:} false; then : |
---|
| 3155 | $as_echo_n "(cached) " >&6 |
---|
| 3156 | else |
---|
| 3157 | if test -n "$CC"; then |
---|
| 3158 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 3159 | else |
---|
| 3160 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3161 | for as_dir in $PATH |
---|
| 3162 | do |
---|
| 3163 | IFS=$as_save_IFS |
---|
| 3164 | test -z "$as_dir" && as_dir=. |
---|
| 3165 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 3166 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 3167 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
---|
| 3168 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3169 | break 2 |
---|
| 3170 | fi |
---|
| 3171 | done |
---|
| 3172 | done |
---|
| 3173 | IFS=$as_save_IFS |
---|
| 3174 | |
---|
| 3175 | fi |
---|
| 3176 | fi |
---|
| 3177 | CC=$ac_cv_prog_CC |
---|
| 3178 | if test -n "$CC"; then |
---|
| 3179 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
---|
| 3180 | $as_echo "$CC" >&6; } |
---|
| 3181 | else |
---|
| 3182 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3183 | $as_echo "no" >&6; } |
---|
| 3184 | fi |
---|
| 3185 | |
---|
| 3186 | |
---|
| 3187 | test -n "$CC" && break |
---|
| 3188 | done |
---|
| 3189 | fi |
---|
| 3190 | if test -z "$CC"; then |
---|
| 3191 | ac_ct_CC=$CC |
---|
| 3192 | for ac_prog in cl.exe |
---|
| 3193 | do |
---|
| 3194 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 3195 | set dummy $ac_prog; ac_word=$2 |
---|
| 3196 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 3197 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 3198 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
---|
| 3199 | $as_echo_n "(cached) " >&6 |
---|
| 3200 | else |
---|
| 3201 | if test -n "$ac_ct_CC"; then |
---|
| 3202 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
---|
| 3203 | else |
---|
| 3204 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 3205 | for as_dir in $PATH |
---|
| 3206 | do |
---|
| 3207 | IFS=$as_save_IFS |
---|
| 3208 | test -z "$as_dir" && as_dir=. |
---|
| 3209 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 3210 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 3211 | ac_cv_prog_ac_ct_CC="$ac_prog" |
---|
| 3212 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 3213 | break 2 |
---|
| 3214 | fi |
---|
| 3215 | done |
---|
| 3216 | done |
---|
| 3217 | IFS=$as_save_IFS |
---|
| 3218 | |
---|
| 3219 | fi |
---|
| 3220 | fi |
---|
| 3221 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
---|
| 3222 | if test -n "$ac_ct_CC"; then |
---|
| 3223 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
---|
| 3224 | $as_echo "$ac_ct_CC" >&6; } |
---|
| 3225 | else |
---|
| 3226 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3227 | $as_echo "no" >&6; } |
---|
| 3228 | fi |
---|
| 3229 | |
---|
| 3230 | |
---|
| 3231 | test -n "$ac_ct_CC" && break |
---|
| 3232 | done |
---|
| 3233 | |
---|
| 3234 | if test "x$ac_ct_CC" = x; then |
---|
| 3235 | CC="" |
---|
| 3236 | else |
---|
| 3237 | case $cross_compiling:$ac_tool_warned in |
---|
| 3238 | yes:) |
---|
| 3239 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 3240 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 3241 | ac_tool_warned=yes ;; |
---|
| 3242 | esac |
---|
| 3243 | CC=$ac_ct_CC |
---|
| 3244 | fi |
---|
| 3245 | fi |
---|
| 3246 | |
---|
| 3247 | fi |
---|
| 3248 | |
---|
| 3249 | |
---|
| 3250 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3251 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 3252 | as_fn_error $? "no acceptable C compiler found in \$PATH |
---|
| 3253 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 3254 | |
---|
| 3255 | # Provide some information about the compiler. |
---|
| 3256 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
---|
| 3257 | set X $ac_compile |
---|
| 3258 | ac_compiler=$2 |
---|
| 3259 | for ac_option in --version -v -V -qversion; do |
---|
| 3260 | { { ac_try="$ac_compiler $ac_option >&5" |
---|
| 3261 | case "(($ac_try" in |
---|
| 3262 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3263 | *) ac_try_echo=$ac_try;; |
---|
| 3264 | esac |
---|
| 3265 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3266 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3267 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
---|
| 3268 | ac_status=$? |
---|
| 3269 | if test -s conftest.err; then |
---|
| 3270 | sed '10a\ |
---|
| 3271 | ... rest of stderr output deleted ... |
---|
| 3272 | 10q' conftest.err >conftest.er1 |
---|
| 3273 | cat conftest.er1 >&5 |
---|
| 3274 | fi |
---|
| 3275 | rm -f conftest.er1 conftest.err |
---|
| 3276 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3277 | test $ac_status = 0; } |
---|
| 3278 | done |
---|
| 3279 | |
---|
| 3280 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3281 | /* end confdefs.h. */ |
---|
| 3282 | |
---|
| 3283 | int |
---|
| 3284 | main () |
---|
| 3285 | { |
---|
| 3286 | |
---|
| 3287 | ; |
---|
| 3288 | return 0; |
---|
| 3289 | } |
---|
| 3290 | _ACEOF |
---|
| 3291 | ac_clean_files_save=$ac_clean_files |
---|
| 3292 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
---|
| 3293 | # Try to create an executable without -o first, disregard a.out. |
---|
| 3294 | # It will help us diagnose broken compilers, and finding out an intuition |
---|
| 3295 | # of exeext. |
---|
| 3296 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
---|
| 3297 | $as_echo_n "checking whether the C compiler works... " >&6; } |
---|
| 3298 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
---|
| 3299 | |
---|
| 3300 | # The possible output files: |
---|
| 3301 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
---|
| 3302 | |
---|
| 3303 | ac_rmfiles= |
---|
| 3304 | for ac_file in $ac_files |
---|
| 3305 | do |
---|
| 3306 | case $ac_file in |
---|
| 3307 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
| 3308 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
---|
| 3309 | esac |
---|
| 3310 | done |
---|
| 3311 | rm -f $ac_rmfiles |
---|
| 3312 | |
---|
| 3313 | if { { ac_try="$ac_link_default" |
---|
| 3314 | case "(($ac_try" in |
---|
| 3315 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3316 | *) ac_try_echo=$ac_try;; |
---|
| 3317 | esac |
---|
| 3318 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3319 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3320 | (eval "$ac_link_default") 2>&5 |
---|
| 3321 | ac_status=$? |
---|
| 3322 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3323 | test $ac_status = 0; }; then : |
---|
| 3324 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
---|
| 3325 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
---|
| 3326 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
---|
| 3327 | # so that the user can short-circuit this test for compilers unknown to |
---|
| 3328 | # Autoconf. |
---|
| 3329 | for ac_file in $ac_files '' |
---|
| 3330 | do |
---|
| 3331 | test -f "$ac_file" || continue |
---|
| 3332 | case $ac_file in |
---|
| 3333 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
---|
| 3334 | ;; |
---|
| 3335 | [ab].out ) |
---|
| 3336 | # We found the default executable, but exeext='' is most |
---|
| 3337 | # certainly right. |
---|
| 3338 | break;; |
---|
| 3339 | *.* ) |
---|
| 3340 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
---|
| 3341 | then :; else |
---|
| 3342 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 3343 | fi |
---|
| 3344 | # We set ac_cv_exeext here because the later test for it is not |
---|
| 3345 | # safe: cross compilers may not add the suffix if given an `-o' |
---|
| 3346 | # argument, so we may need to know it at that point already. |
---|
| 3347 | # Even if this section looks crufty: it has the advantage of |
---|
| 3348 | # actually working. |
---|
| 3349 | break;; |
---|
| 3350 | * ) |
---|
| 3351 | break;; |
---|
| 3352 | esac |
---|
| 3353 | done |
---|
| 3354 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
---|
| 3355 | |
---|
| 3356 | else |
---|
| 3357 | ac_file='' |
---|
| 3358 | fi |
---|
| 3359 | if test -z "$ac_file"; then : |
---|
| 3360 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 3361 | $as_echo "no" >&6; } |
---|
| 3362 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 3363 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3364 | |
---|
| 3365 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3366 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 3367 | as_fn_error 77 "C compiler cannot create executables |
---|
| 3368 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 3369 | else |
---|
| 3370 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 3371 | $as_echo "yes" >&6; } |
---|
| 3372 | fi |
---|
| 3373 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
---|
| 3374 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
---|
| 3375 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
---|
| 3376 | $as_echo "$ac_file" >&6; } |
---|
| 3377 | ac_exeext=$ac_cv_exeext |
---|
| 3378 | |
---|
| 3379 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
---|
| 3380 | ac_clean_files=$ac_clean_files_save |
---|
| 3381 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
---|
| 3382 | $as_echo_n "checking for suffix of executables... " >&6; } |
---|
| 3383 | if { { ac_try="$ac_link" |
---|
| 3384 | case "(($ac_try" in |
---|
| 3385 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3386 | *) ac_try_echo=$ac_try;; |
---|
| 3387 | esac |
---|
| 3388 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3389 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3390 | (eval "$ac_link") 2>&5 |
---|
| 3391 | ac_status=$? |
---|
| 3392 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3393 | test $ac_status = 0; }; then : |
---|
| 3394 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
---|
| 3395 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
---|
| 3396 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
---|
| 3397 | # `rm'. |
---|
| 3398 | for ac_file in conftest.exe conftest conftest.*; do |
---|
| 3399 | test -f "$ac_file" || continue |
---|
| 3400 | case $ac_file in |
---|
| 3401 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
---|
| 3402 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
---|
| 3403 | break;; |
---|
| 3404 | * ) break;; |
---|
| 3405 | esac |
---|
| 3406 | done |
---|
| 3407 | else |
---|
| 3408 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3409 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 3410 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
---|
| 3411 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 3412 | fi |
---|
| 3413 | rm -f conftest conftest$ac_cv_exeext |
---|
| 3414 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
---|
| 3415 | $as_echo "$ac_cv_exeext" >&6; } |
---|
| 3416 | |
---|
| 3417 | rm -f conftest.$ac_ext |
---|
| 3418 | EXEEXT=$ac_cv_exeext |
---|
| 3419 | ac_exeext=$EXEEXT |
---|
| 3420 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3421 | /* end confdefs.h. */ |
---|
| 3422 | #include <stdio.h> |
---|
| 3423 | int |
---|
| 3424 | main () |
---|
| 3425 | { |
---|
| 3426 | FILE *f = fopen ("conftest.out", "w"); |
---|
| 3427 | return ferror (f) || fclose (f) != 0; |
---|
| 3428 | |
---|
| 3429 | ; |
---|
| 3430 | return 0; |
---|
| 3431 | } |
---|
| 3432 | _ACEOF |
---|
| 3433 | ac_clean_files="$ac_clean_files conftest.out" |
---|
| 3434 | # Check that the compiler produces executables we can run. If not, either |
---|
| 3435 | # the compiler is broken, or we cross compile. |
---|
| 3436 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
---|
| 3437 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
---|
| 3438 | if test "$cross_compiling" != yes; then |
---|
| 3439 | { { ac_try="$ac_link" |
---|
| 3440 | case "(($ac_try" in |
---|
| 3441 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3442 | *) ac_try_echo=$ac_try;; |
---|
| 3443 | esac |
---|
| 3444 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3445 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3446 | (eval "$ac_link") 2>&5 |
---|
| 3447 | ac_status=$? |
---|
| 3448 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3449 | test $ac_status = 0; } |
---|
| 3450 | if { ac_try='./conftest$ac_cv_exeext' |
---|
| 3451 | { { case "(($ac_try" in |
---|
| 3452 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3453 | *) ac_try_echo=$ac_try;; |
---|
| 3454 | esac |
---|
| 3455 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3456 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3457 | (eval "$ac_try") 2>&5 |
---|
| 3458 | ac_status=$? |
---|
| 3459 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3460 | test $ac_status = 0; }; }; then |
---|
| 3461 | cross_compiling=no |
---|
| 3462 | else |
---|
| 3463 | if test "$cross_compiling" = maybe; then |
---|
| 3464 | cross_compiling=yes |
---|
| 3465 | else |
---|
| 3466 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3467 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 3468 | as_fn_error $? "cannot run C compiled programs. |
---|
| 3469 | If you meant to cross compile, use \`--host'. |
---|
| 3470 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 3471 | fi |
---|
| 3472 | fi |
---|
| 3473 | fi |
---|
| 3474 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
---|
| 3475 | $as_echo "$cross_compiling" >&6; } |
---|
| 3476 | |
---|
| 3477 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
---|
| 3478 | ac_clean_files=$ac_clean_files_save |
---|
| 3479 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
---|
| 3480 | $as_echo_n "checking for suffix of object files... " >&6; } |
---|
| 3481 | if ${ac_cv_objext+:} false; then : |
---|
| 3482 | $as_echo_n "(cached) " >&6 |
---|
| 3483 | else |
---|
| 3484 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3485 | /* end confdefs.h. */ |
---|
| 3486 | |
---|
| 3487 | int |
---|
| 3488 | main () |
---|
| 3489 | { |
---|
| 3490 | |
---|
| 3491 | ; |
---|
| 3492 | return 0; |
---|
| 3493 | } |
---|
| 3494 | _ACEOF |
---|
| 3495 | rm -f conftest.o conftest.obj |
---|
| 3496 | if { { ac_try="$ac_compile" |
---|
| 3497 | case "(($ac_try" in |
---|
| 3498 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
---|
| 3499 | *) ac_try_echo=$ac_try;; |
---|
| 3500 | esac |
---|
| 3501 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
---|
| 3502 | $as_echo "$ac_try_echo"; } >&5 |
---|
| 3503 | (eval "$ac_compile") 2>&5 |
---|
| 3504 | ac_status=$? |
---|
| 3505 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 3506 | test $ac_status = 0; }; then : |
---|
| 3507 | for ac_file in conftest.o conftest.obj conftest.*; do |
---|
| 3508 | test -f "$ac_file" || continue; |
---|
| 3509 | case $ac_file in |
---|
| 3510 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
---|
| 3511 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
---|
| 3512 | break;; |
---|
| 3513 | esac |
---|
| 3514 | done |
---|
| 3515 | else |
---|
| 3516 | $as_echo "$as_me: failed program was:" >&5 |
---|
| 3517 | sed 's/^/| /' conftest.$ac_ext >&5 |
---|
| 3518 | |
---|
| 3519 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 3520 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 3521 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
---|
| 3522 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 3523 | fi |
---|
| 3524 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
---|
| 3525 | fi |
---|
| 3526 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
---|
| 3527 | $as_echo "$ac_cv_objext" >&6; } |
---|
| 3528 | OBJEXT=$ac_cv_objext |
---|
| 3529 | ac_objext=$OBJEXT |
---|
| 3530 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
---|
| 3531 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
---|
| 3532 | if ${ac_cv_c_compiler_gnu+:} false; then : |
---|
| 3533 | $as_echo_n "(cached) " >&6 |
---|
| 3534 | else |
---|
| 3535 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3536 | /* end confdefs.h. */ |
---|
| 3537 | |
---|
| 3538 | int |
---|
| 3539 | main () |
---|
| 3540 | { |
---|
| 3541 | #ifndef __GNUC__ |
---|
| 3542 | choke me |
---|
| 3543 | #endif |
---|
| 3544 | |
---|
| 3545 | ; |
---|
| 3546 | return 0; |
---|
| 3547 | } |
---|
| 3548 | _ACEOF |
---|
| 3549 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 3550 | ac_compiler_gnu=yes |
---|
| 3551 | else |
---|
| 3552 | ac_compiler_gnu=no |
---|
| 3553 | fi |
---|
| 3554 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3555 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
---|
| 3556 | |
---|
| 3557 | fi |
---|
| 3558 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
---|
| 3559 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
---|
| 3560 | if test $ac_compiler_gnu = yes; then |
---|
| 3561 | GCC=yes |
---|
| 3562 | else |
---|
| 3563 | GCC= |
---|
| 3564 | fi |
---|
| 3565 | ac_test_CFLAGS=${CFLAGS+set} |
---|
| 3566 | ac_save_CFLAGS=$CFLAGS |
---|
| 3567 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
---|
| 3568 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
---|
| 3569 | if ${ac_cv_prog_cc_g+:} false; then : |
---|
| 3570 | $as_echo_n "(cached) " >&6 |
---|
| 3571 | else |
---|
| 3572 | ac_save_c_werror_flag=$ac_c_werror_flag |
---|
| 3573 | ac_c_werror_flag=yes |
---|
| 3574 | ac_cv_prog_cc_g=no |
---|
| 3575 | CFLAGS="-g" |
---|
| 3576 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3577 | /* end confdefs.h. */ |
---|
| 3578 | |
---|
| 3579 | int |
---|
| 3580 | main () |
---|
| 3581 | { |
---|
| 3582 | |
---|
| 3583 | ; |
---|
| 3584 | return 0; |
---|
| 3585 | } |
---|
| 3586 | _ACEOF |
---|
| 3587 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 3588 | ac_cv_prog_cc_g=yes |
---|
| 3589 | else |
---|
| 3590 | CFLAGS="" |
---|
| 3591 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3592 | /* end confdefs.h. */ |
---|
| 3593 | |
---|
| 3594 | int |
---|
| 3595 | main () |
---|
| 3596 | { |
---|
| 3597 | |
---|
| 3598 | ; |
---|
| 3599 | return 0; |
---|
| 3600 | } |
---|
| 3601 | _ACEOF |
---|
| 3602 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 3603 | |
---|
| 3604 | else |
---|
| 3605 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 3606 | CFLAGS="-g" |
---|
| 3607 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3608 | /* end confdefs.h. */ |
---|
| 3609 | |
---|
| 3610 | int |
---|
| 3611 | main () |
---|
| 3612 | { |
---|
| 3613 | |
---|
| 3614 | ; |
---|
| 3615 | return 0; |
---|
| 3616 | } |
---|
| 3617 | _ACEOF |
---|
| 3618 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 3619 | ac_cv_prog_cc_g=yes |
---|
| 3620 | fi |
---|
| 3621 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3622 | fi |
---|
| 3623 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3624 | fi |
---|
| 3625 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 3626 | ac_c_werror_flag=$ac_save_c_werror_flag |
---|
| 3627 | fi |
---|
| 3628 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
---|
| 3629 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
---|
| 3630 | if test "$ac_test_CFLAGS" = set; then |
---|
| 3631 | CFLAGS=$ac_save_CFLAGS |
---|
| 3632 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 3633 | if test "$GCC" = yes; then |
---|
| 3634 | CFLAGS="-g -O2" |
---|
| 3635 | else |
---|
| 3636 | CFLAGS="-g" |
---|
| 3637 | fi |
---|
| 3638 | else |
---|
| 3639 | if test "$GCC" = yes; then |
---|
| 3640 | CFLAGS="-O2" |
---|
| 3641 | else |
---|
| 3642 | CFLAGS= |
---|
| 3643 | fi |
---|
| 3644 | fi |
---|
| 3645 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
---|
| 3646 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
---|
| 3647 | if ${ac_cv_prog_cc_c89+:} false; then : |
---|
| 3648 | $as_echo_n "(cached) " >&6 |
---|
| 3649 | else |
---|
| 3650 | ac_cv_prog_cc_c89=no |
---|
| 3651 | ac_save_CC=$CC |
---|
| 3652 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3653 | /* end confdefs.h. */ |
---|
| 3654 | #include <stdarg.h> |
---|
| 3655 | #include <stdio.h> |
---|
[9739] | 3656 | struct stat; |
---|
[9642] | 3657 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
| 3658 | struct buf { int x; }; |
---|
| 3659 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
| 3660 | static char *e (p, i) |
---|
| 3661 | char **p; |
---|
| 3662 | int i; |
---|
| 3663 | { |
---|
| 3664 | return p[i]; |
---|
| 3665 | } |
---|
| 3666 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
| 3667 | { |
---|
| 3668 | char *s; |
---|
| 3669 | va_list v; |
---|
| 3670 | va_start (v,p); |
---|
| 3671 | s = g (p, va_arg (v,int)); |
---|
| 3672 | va_end (v); |
---|
| 3673 | return s; |
---|
| 3674 | } |
---|
| 3675 | |
---|
| 3676 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
| 3677 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
| 3678 | These don't provoke an error unfortunately, instead are silently treated |
---|
| 3679 | as 'x'. The following induces an error, until -std is added to get |
---|
| 3680 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
| 3681 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
| 3682 | that's true only with -std. */ |
---|
| 3683 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
| 3684 | |
---|
| 3685 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
| 3686 | inside strings and character constants. */ |
---|
| 3687 | #define FOO(x) 'x' |
---|
| 3688 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
| 3689 | |
---|
| 3690 | int test (int i, double x); |
---|
| 3691 | struct s1 {int (*f) (int a);}; |
---|
| 3692 | struct s2 {int (*f) (double a);}; |
---|
| 3693 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
| 3694 | int argc; |
---|
| 3695 | char **argv; |
---|
| 3696 | int |
---|
| 3697 | main () |
---|
| 3698 | { |
---|
| 3699 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
| 3700 | ; |
---|
| 3701 | return 0; |
---|
| 3702 | } |
---|
| 3703 | _ACEOF |
---|
| 3704 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
| 3705 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
| 3706 | do |
---|
| 3707 | CC="$ac_save_CC $ac_arg" |
---|
| 3708 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 3709 | ac_cv_prog_cc_c89=$ac_arg |
---|
| 3710 | fi |
---|
| 3711 | rm -f core conftest.err conftest.$ac_objext |
---|
| 3712 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
| 3713 | done |
---|
| 3714 | rm -f conftest.$ac_ext |
---|
| 3715 | CC=$ac_save_CC |
---|
| 3716 | |
---|
| 3717 | fi |
---|
| 3718 | # AC_CACHE_VAL |
---|
| 3719 | case "x$ac_cv_prog_cc_c89" in |
---|
| 3720 | x) |
---|
| 3721 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
---|
| 3722 | $as_echo "none needed" >&6; } ;; |
---|
| 3723 | xno) |
---|
| 3724 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
---|
| 3725 | $as_echo "unsupported" >&6; } ;; |
---|
| 3726 | *) |
---|
| 3727 | CC="$CC $ac_cv_prog_cc_c89" |
---|
| 3728 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
---|
| 3729 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
---|
| 3730 | esac |
---|
| 3731 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
---|
| 3732 | |
---|
| 3733 | fi |
---|
| 3734 | |
---|
| 3735 | ac_ext=c |
---|
| 3736 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 3737 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 3738 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 3739 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
[9739] | 3740 | |
---|
| 3741 | ac_ext=c |
---|
| 3742 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 3743 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 3744 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 3745 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 3746 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
---|
| 3747 | $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
---|
| 3748 | if ${am_cv_prog_cc_c_o+:} false; then : |
---|
| 3749 | $as_echo_n "(cached) " >&6 |
---|
| 3750 | else |
---|
| 3751 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 3752 | /* end confdefs.h. */ |
---|
| 3753 | |
---|
| 3754 | int |
---|
| 3755 | main () |
---|
| 3756 | { |
---|
| 3757 | |
---|
| 3758 | ; |
---|
| 3759 | return 0; |
---|
| 3760 | } |
---|
| 3761 | _ACEOF |
---|
| 3762 | # Make sure it works both with $CC and with simple cc. |
---|
| 3763 | # Following AC_PROG_CC_C_O, we do the test twice because some |
---|
| 3764 | # compilers refuse to overwrite an existing .o file with -o, |
---|
| 3765 | # though they will create one. |
---|
| 3766 | am_cv_prog_cc_c_o=yes |
---|
| 3767 | for am_i in 1 2; do |
---|
| 3768 | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
---|
| 3769 | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
---|
| 3770 | ac_status=$? |
---|
| 3771 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
---|
| 3772 | (exit $ac_status); } \ |
---|
| 3773 | && test -f conftest2.$ac_objext; then |
---|
| 3774 | : OK |
---|
| 3775 | else |
---|
| 3776 | am_cv_prog_cc_c_o=no |
---|
| 3777 | break |
---|
| 3778 | fi |
---|
| 3779 | done |
---|
| 3780 | rm -f core conftest* |
---|
| 3781 | unset am_i |
---|
| 3782 | fi |
---|
| 3783 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
---|
| 3784 | $as_echo "$am_cv_prog_cc_c_o" >&6; } |
---|
| 3785 | if test "$am_cv_prog_cc_c_o" != yes; then |
---|
| 3786 | # Losing compiler, so override with the script. |
---|
| 3787 | # FIXME: It is wrong to rewrite CC. |
---|
| 3788 | # But if we don't then we get into trouble of one sort or another. |
---|
| 3789 | # A longer-term fix would be to have automake use am__CC in this case, |
---|
| 3790 | # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
---|
| 3791 | CC="$am_aux_dir/compile $CC" |
---|
| 3792 | fi |
---|
| 3793 | ac_ext=c |
---|
| 3794 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 3795 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 3796 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 3797 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 3798 | |
---|
[9642] | 3799 | DEPDIR="${am__leading_dot}deps" |
---|
| 3800 | |
---|
| 3801 | ac_config_commands="$ac_config_commands depfiles" |
---|
| 3802 | |
---|
| 3803 | |
---|
| 3804 | am_make=${MAKE-make} |
---|
| 3805 | cat > confinc << 'END' |
---|
| 3806 | am__doit: |
---|
| 3807 | @echo this is the am__doit target |
---|
| 3808 | .PHONY: am__doit |
---|
| 3809 | END |
---|
| 3810 | # If we don't find an include directive, just comment out the code. |
---|
| 3811 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
---|
| 3812 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
---|
| 3813 | am__include="#" |
---|
| 3814 | am__quote= |
---|
| 3815 | _am_result=none |
---|
| 3816 | # First try GNU make style include. |
---|
| 3817 | echo "include confinc" > confmf |
---|
[9739] | 3818 | # Ignore all kinds of additional output from 'make'. |
---|
[9642] | 3819 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
| 3820 | *the\ am__doit\ target*) |
---|
| 3821 | am__include=include |
---|
| 3822 | am__quote= |
---|
| 3823 | _am_result=GNU |
---|
| 3824 | ;; |
---|
| 3825 | esac |
---|
| 3826 | # Now try BSD make style include. |
---|
| 3827 | if test "$am__include" = "#"; then |
---|
| 3828 | echo '.include "confinc"' > confmf |
---|
| 3829 | case `$am_make -s -f confmf 2> /dev/null` in #( |
---|
| 3830 | *the\ am__doit\ target*) |
---|
| 3831 | am__include=.include |
---|
| 3832 | am__quote="\"" |
---|
| 3833 | _am_result=BSD |
---|
| 3834 | ;; |
---|
| 3835 | esac |
---|
| 3836 | fi |
---|
| 3837 | |
---|
| 3838 | |
---|
| 3839 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
---|
| 3840 | $as_echo "$_am_result" >&6; } |
---|
| 3841 | rm -f confinc confmf |
---|
| 3842 | |
---|
| 3843 | # Check whether --enable-dependency-tracking was given. |
---|
| 3844 | if test "${enable_dependency_tracking+set}" = set; then : |
---|
| 3845 | enableval=$enable_dependency_tracking; |
---|
| 3846 | fi |
---|
| 3847 | |
---|
| 3848 | if test "x$enable_dependency_tracking" != xno; then |
---|
| 3849 | am_depcomp="$ac_aux_dir/depcomp" |
---|
| 3850 | AMDEPBACKSLASH='\' |
---|
[9739] | 3851 | am__nodep='_no' |
---|
[9642] | 3852 | fi |
---|
| 3853 | if test "x$enable_dependency_tracking" != xno; then |
---|
| 3854 | AMDEP_TRUE= |
---|
| 3855 | AMDEP_FALSE='#' |
---|
| 3856 | else |
---|
| 3857 | AMDEP_TRUE='#' |
---|
| 3858 | AMDEP_FALSE= |
---|
| 3859 | fi |
---|
| 3860 | |
---|
| 3861 | |
---|
| 3862 | |
---|
| 3863 | depcc="$CC" am_compiler_list= |
---|
| 3864 | |
---|
| 3865 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
---|
| 3866 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
---|
| 3867 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
---|
| 3868 | $as_echo_n "(cached) " >&6 |
---|
| 3869 | else |
---|
| 3870 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
---|
| 3871 | # We make a subdir and do the tests there. Otherwise we can end up |
---|
| 3872 | # making bogus files that we don't know about and never remove. For |
---|
| 3873 | # instance it was reported that on HP-UX the gcc test will end up |
---|
[9739] | 3874 | # making a dummy file named 'D' -- because '-MD' means "put the output |
---|
| 3875 | # in D". |
---|
| 3876 | rm -rf conftest.dir |
---|
[9642] | 3877 | mkdir conftest.dir |
---|
| 3878 | # Copy depcomp to subdir because otherwise we won't find it if we're |
---|
| 3879 | # using a relative directory. |
---|
| 3880 | cp "$am_depcomp" conftest.dir |
---|
| 3881 | cd conftest.dir |
---|
| 3882 | # We will build objects and dependencies in a subdirectory because |
---|
| 3883 | # it helps to detect inapplicable dependency modes. For instance |
---|
| 3884 | # both Tru64's cc and ICC support -MD to output dependencies as a |
---|
| 3885 | # side effect of compilation, but ICC will put the dependencies in |
---|
| 3886 | # the current directory while Tru64 will put them in the object |
---|
| 3887 | # directory. |
---|
| 3888 | mkdir sub |
---|
| 3889 | |
---|
| 3890 | am_cv_CC_dependencies_compiler_type=none |
---|
| 3891 | if test "$am_compiler_list" = ""; then |
---|
| 3892 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
---|
| 3893 | fi |
---|
| 3894 | am__universal=false |
---|
| 3895 | case " $depcc " in #( |
---|
| 3896 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
---|
| 3897 | esac |
---|
| 3898 | |
---|
| 3899 | for depmode in $am_compiler_list; do |
---|
| 3900 | # Setup a source with many dependencies, because some compilers |
---|
| 3901 | # like to wrap large dependency lists on column 80 (with \), and |
---|
| 3902 | # we should not choose a depcomp mode which is confused by this. |
---|
| 3903 | # |
---|
| 3904 | # We need to recreate these files for each test, as the compiler may |
---|
| 3905 | # overwrite some of them when testing with obscure command lines. |
---|
| 3906 | # This happens at least with the AIX C compiler. |
---|
| 3907 | : > sub/conftest.c |
---|
| 3908 | for i in 1 2 3 4 5 6; do |
---|
| 3909 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
---|
[9739] | 3910 | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
---|
| 3911 | # Solaris 10 /bin/sh. |
---|
| 3912 | echo '/* dummy */' > sub/conftst$i.h |
---|
[9642] | 3913 | done |
---|
| 3914 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
---|
| 3915 | |
---|
[9739] | 3916 | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
---|
[9642] | 3917 | # mode. It turns out that the SunPro C++ compiler does not properly |
---|
[9739] | 3918 | # handle '-M -o', and we need to detect this. Also, some Intel |
---|
| 3919 | # versions had trouble with output in subdirs. |
---|
[9642] | 3920 | am__obj=sub/conftest.${OBJEXT-o} |
---|
| 3921 | am__minus_obj="-o $am__obj" |
---|
| 3922 | case $depmode in |
---|
| 3923 | gcc) |
---|
| 3924 | # This depmode causes a compiler race in universal mode. |
---|
| 3925 | test "$am__universal" = false || continue |
---|
| 3926 | ;; |
---|
| 3927 | nosideeffect) |
---|
[9739] | 3928 | # After this tag, mechanisms are not by side-effect, so they'll |
---|
| 3929 | # only be used when explicitly requested. |
---|
[9642] | 3930 | if test "x$enable_dependency_tracking" = xyes; then |
---|
| 3931 | continue |
---|
| 3932 | else |
---|
| 3933 | break |
---|
| 3934 | fi |
---|
| 3935 | ;; |
---|
[9739] | 3936 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
---|
| 3937 | # This compiler won't grok '-c -o', but also, the minuso test has |
---|
[9642] | 3938 | # not run yet. These depmodes are late enough in the game, and |
---|
| 3939 | # so weak that their functioning should not be impacted. |
---|
| 3940 | am__obj=conftest.${OBJEXT-o} |
---|
| 3941 | am__minus_obj= |
---|
| 3942 | ;; |
---|
| 3943 | none) break ;; |
---|
| 3944 | esac |
---|
| 3945 | if depmode=$depmode \ |
---|
| 3946 | source=sub/conftest.c object=$am__obj \ |
---|
| 3947 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
---|
| 3948 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
---|
| 3949 | >/dev/null 2>conftest.err && |
---|
| 3950 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
---|
| 3951 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
---|
| 3952 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
---|
| 3953 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
---|
| 3954 | # icc doesn't choke on unknown options, it will just issue warnings |
---|
| 3955 | # or remarks (even with -Werror). So we grep stderr for any message |
---|
| 3956 | # that says an option was ignored or not supported. |
---|
| 3957 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
---|
| 3958 | # icc: Command line warning: ignoring option '-M'; no argument required |
---|
| 3959 | # The diagnosis changed in icc 8.0: |
---|
| 3960 | # icc: Command line remark: option '-MP' not supported |
---|
| 3961 | if (grep 'ignoring option' conftest.err || |
---|
| 3962 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
---|
| 3963 | am_cv_CC_dependencies_compiler_type=$depmode |
---|
| 3964 | break |
---|
| 3965 | fi |
---|
| 3966 | fi |
---|
| 3967 | done |
---|
| 3968 | |
---|
| 3969 | cd .. |
---|
| 3970 | rm -rf conftest.dir |
---|
| 3971 | else |
---|
| 3972 | am_cv_CC_dependencies_compiler_type=none |
---|
| 3973 | fi |
---|
| 3974 | |
---|
| 3975 | fi |
---|
| 3976 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
---|
| 3977 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
---|
| 3978 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
---|
| 3979 | |
---|
| 3980 | if |
---|
| 3981 | test "x$enable_dependency_tracking" != xno \ |
---|
| 3982 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
---|
| 3983 | am__fastdepCC_TRUE= |
---|
| 3984 | am__fastdepCC_FALSE='#' |
---|
| 3985 | else |
---|
| 3986 | am__fastdepCC_TRUE='#' |
---|
| 3987 | am__fastdepCC_FALSE= |
---|
| 3988 | fi |
---|
| 3989 | |
---|
| 3990 | |
---|
| 3991 | case $ac_cv_prog_cc_stdc in #( |
---|
| 3992 | no) : |
---|
| 3993 | ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( |
---|
| 3994 | *) : |
---|
| 3995 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
---|
| 3996 | $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
---|
| 3997 | if ${ac_cv_prog_cc_c99+:} false; then : |
---|
| 3998 | $as_echo_n "(cached) " >&6 |
---|
| 3999 | else |
---|
| 4000 | ac_cv_prog_cc_c99=no |
---|
| 4001 | ac_save_CC=$CC |
---|
| 4002 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4003 | /* end confdefs.h. */ |
---|
| 4004 | #include <stdarg.h> |
---|
| 4005 | #include <stdbool.h> |
---|
| 4006 | #include <stdlib.h> |
---|
| 4007 | #include <wchar.h> |
---|
| 4008 | #include <stdio.h> |
---|
| 4009 | |
---|
| 4010 | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
---|
| 4011 | #define debug(...) fprintf (stderr, __VA_ARGS__) |
---|
| 4012 | #define showlist(...) puts (#__VA_ARGS__) |
---|
| 4013 | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
---|
| 4014 | static void |
---|
| 4015 | test_varargs_macros (void) |
---|
| 4016 | { |
---|
| 4017 | int x = 1234; |
---|
| 4018 | int y = 5678; |
---|
| 4019 | debug ("Flag"); |
---|
| 4020 | debug ("X = %d\n", x); |
---|
| 4021 | showlist (The first, second, and third items.); |
---|
| 4022 | report (x>y, "x is %d but y is %d", x, y); |
---|
| 4023 | } |
---|
| 4024 | |
---|
| 4025 | // Check long long types. |
---|
| 4026 | #define BIG64 18446744073709551615ull |
---|
| 4027 | #define BIG32 4294967295ul |
---|
| 4028 | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
---|
| 4029 | #if !BIG_OK |
---|
| 4030 | your preprocessor is broken; |
---|
| 4031 | #endif |
---|
| 4032 | #if BIG_OK |
---|
| 4033 | #else |
---|
| 4034 | your preprocessor is broken; |
---|
| 4035 | #endif |
---|
| 4036 | static long long int bignum = -9223372036854775807LL; |
---|
| 4037 | static unsigned long long int ubignum = BIG64; |
---|
| 4038 | |
---|
| 4039 | struct incomplete_array |
---|
| 4040 | { |
---|
| 4041 | int datasize; |
---|
| 4042 | double data[]; |
---|
| 4043 | }; |
---|
| 4044 | |
---|
| 4045 | struct named_init { |
---|
| 4046 | int number; |
---|
| 4047 | const wchar_t *name; |
---|
| 4048 | double average; |
---|
| 4049 | }; |
---|
| 4050 | |
---|
| 4051 | typedef const char *ccp; |
---|
| 4052 | |
---|
| 4053 | static inline int |
---|
| 4054 | test_restrict (ccp restrict text) |
---|
| 4055 | { |
---|
| 4056 | // See if C++-style comments work. |
---|
| 4057 | // Iterate through items via the restricted pointer. |
---|
| 4058 | // Also check for declarations in for loops. |
---|
| 4059 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
| 4060 | continue; |
---|
| 4061 | return 0; |
---|
| 4062 | } |
---|
| 4063 | |
---|
| 4064 | // Check varargs and va_copy. |
---|
| 4065 | static void |
---|
| 4066 | test_varargs (const char *format, ...) |
---|
| 4067 | { |
---|
| 4068 | va_list args; |
---|
| 4069 | va_start (args, format); |
---|
| 4070 | va_list args_copy; |
---|
| 4071 | va_copy (args_copy, args); |
---|
| 4072 | |
---|
| 4073 | const char *str; |
---|
| 4074 | int number; |
---|
| 4075 | float fnumber; |
---|
| 4076 | |
---|
| 4077 | while (*format) |
---|
| 4078 | { |
---|
| 4079 | switch (*format++) |
---|
| 4080 | { |
---|
| 4081 | case 's': // string |
---|
| 4082 | str = va_arg (args_copy, const char *); |
---|
| 4083 | break; |
---|
| 4084 | case 'd': // int |
---|
| 4085 | number = va_arg (args_copy, int); |
---|
| 4086 | break; |
---|
| 4087 | case 'f': // float |
---|
| 4088 | fnumber = va_arg (args_copy, double); |
---|
| 4089 | break; |
---|
| 4090 | default: |
---|
| 4091 | break; |
---|
| 4092 | } |
---|
| 4093 | } |
---|
| 4094 | va_end (args_copy); |
---|
| 4095 | va_end (args); |
---|
| 4096 | } |
---|
| 4097 | |
---|
| 4098 | int |
---|
| 4099 | main () |
---|
| 4100 | { |
---|
| 4101 | |
---|
| 4102 | // Check bool. |
---|
| 4103 | _Bool success = false; |
---|
| 4104 | |
---|
| 4105 | // Check restrict. |
---|
| 4106 | if (test_restrict ("String literal") == 0) |
---|
| 4107 | success = true; |
---|
| 4108 | char *restrict newvar = "Another string"; |
---|
| 4109 | |
---|
| 4110 | // Check varargs. |
---|
| 4111 | test_varargs ("s, d' f .", "string", 65, 34.234); |
---|
| 4112 | test_varargs_macros (); |
---|
| 4113 | |
---|
| 4114 | // Check flexible array members. |
---|
| 4115 | struct incomplete_array *ia = |
---|
| 4116 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
---|
| 4117 | ia->datasize = 10; |
---|
| 4118 | for (int i = 0; i < ia->datasize; ++i) |
---|
| 4119 | ia->data[i] = i * 1.234; |
---|
| 4120 | |
---|
| 4121 | // Check named initializers. |
---|
| 4122 | struct named_init ni = { |
---|
| 4123 | .number = 34, |
---|
| 4124 | .name = L"Test wide string", |
---|
| 4125 | .average = 543.34343, |
---|
| 4126 | }; |
---|
| 4127 | |
---|
| 4128 | ni.number = 58; |
---|
| 4129 | |
---|
| 4130 | int dynamic_array[ni.number]; |
---|
| 4131 | dynamic_array[ni.number - 1] = 543; |
---|
| 4132 | |
---|
| 4133 | // work around unused variable warnings |
---|
| 4134 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
| 4135 | || dynamic_array[ni.number - 1] != 543); |
---|
| 4136 | |
---|
| 4137 | ; |
---|
| 4138 | return 0; |
---|
| 4139 | } |
---|
| 4140 | _ACEOF |
---|
[9739] | 4141 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 |
---|
[9642] | 4142 | do |
---|
| 4143 | CC="$ac_save_CC $ac_arg" |
---|
| 4144 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 4145 | ac_cv_prog_cc_c99=$ac_arg |
---|
| 4146 | fi |
---|
| 4147 | rm -f core conftest.err conftest.$ac_objext |
---|
| 4148 | test "x$ac_cv_prog_cc_c99" != "xno" && break |
---|
| 4149 | done |
---|
| 4150 | rm -f conftest.$ac_ext |
---|
| 4151 | CC=$ac_save_CC |
---|
| 4152 | |
---|
| 4153 | fi |
---|
| 4154 | # AC_CACHE_VAL |
---|
| 4155 | case "x$ac_cv_prog_cc_c99" in |
---|
| 4156 | x) |
---|
| 4157 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
---|
| 4158 | $as_echo "none needed" >&6; } ;; |
---|
| 4159 | xno) |
---|
| 4160 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
---|
| 4161 | $as_echo "unsupported" >&6; } ;; |
---|
| 4162 | *) |
---|
| 4163 | CC="$CC $ac_cv_prog_cc_c99" |
---|
| 4164 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
---|
| 4165 | $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; |
---|
| 4166 | esac |
---|
| 4167 | if test "x$ac_cv_prog_cc_c99" != xno; then : |
---|
| 4168 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
---|
| 4169 | else |
---|
| 4170 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
---|
| 4171 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
---|
| 4172 | if ${ac_cv_prog_cc_c89+:} false; then : |
---|
| 4173 | $as_echo_n "(cached) " >&6 |
---|
| 4174 | else |
---|
| 4175 | ac_cv_prog_cc_c89=no |
---|
| 4176 | ac_save_CC=$CC |
---|
| 4177 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4178 | /* end confdefs.h. */ |
---|
| 4179 | #include <stdarg.h> |
---|
| 4180 | #include <stdio.h> |
---|
[9739] | 4181 | struct stat; |
---|
[9642] | 4182 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
---|
| 4183 | struct buf { int x; }; |
---|
| 4184 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
---|
| 4185 | static char *e (p, i) |
---|
| 4186 | char **p; |
---|
| 4187 | int i; |
---|
| 4188 | { |
---|
| 4189 | return p[i]; |
---|
| 4190 | } |
---|
| 4191 | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
| 4192 | { |
---|
| 4193 | char *s; |
---|
| 4194 | va_list v; |
---|
| 4195 | va_start (v,p); |
---|
| 4196 | s = g (p, va_arg (v,int)); |
---|
| 4197 | va_end (v); |
---|
| 4198 | return s; |
---|
| 4199 | } |
---|
| 4200 | |
---|
| 4201 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
| 4202 | function prototypes and stuff, but not '\xHH' hex character constants. |
---|
| 4203 | These don't provoke an error unfortunately, instead are silently treated |
---|
| 4204 | as 'x'. The following induces an error, until -std is added to get |
---|
| 4205 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
---|
| 4206 | array size at least. It's necessary to write '\x00'==0 to get something |
---|
| 4207 | that's true only with -std. */ |
---|
| 4208 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
| 4209 | |
---|
| 4210 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
| 4211 | inside strings and character constants. */ |
---|
| 4212 | #define FOO(x) 'x' |
---|
| 4213 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
| 4214 | |
---|
| 4215 | int test (int i, double x); |
---|
| 4216 | struct s1 {int (*f) (int a);}; |
---|
| 4217 | struct s2 {int (*f) (double a);}; |
---|
| 4218 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
---|
| 4219 | int argc; |
---|
| 4220 | char **argv; |
---|
| 4221 | int |
---|
| 4222 | main () |
---|
| 4223 | { |
---|
| 4224 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
---|
| 4225 | ; |
---|
| 4226 | return 0; |
---|
| 4227 | } |
---|
| 4228 | _ACEOF |
---|
| 4229 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
---|
| 4230 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
---|
| 4231 | do |
---|
| 4232 | CC="$ac_save_CC $ac_arg" |
---|
| 4233 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 4234 | ac_cv_prog_cc_c89=$ac_arg |
---|
| 4235 | fi |
---|
| 4236 | rm -f core conftest.err conftest.$ac_objext |
---|
| 4237 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
---|
| 4238 | done |
---|
| 4239 | rm -f conftest.$ac_ext |
---|
| 4240 | CC=$ac_save_CC |
---|
| 4241 | |
---|
| 4242 | fi |
---|
| 4243 | # AC_CACHE_VAL |
---|
| 4244 | case "x$ac_cv_prog_cc_c89" in |
---|
| 4245 | x) |
---|
| 4246 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
---|
| 4247 | $as_echo "none needed" >&6; } ;; |
---|
| 4248 | xno) |
---|
| 4249 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
---|
| 4250 | $as_echo "unsupported" >&6; } ;; |
---|
| 4251 | *) |
---|
| 4252 | CC="$CC $ac_cv_prog_cc_c89" |
---|
| 4253 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
---|
| 4254 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
---|
| 4255 | esac |
---|
| 4256 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
---|
| 4257 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
---|
| 4258 | else |
---|
| 4259 | ac_cv_prog_cc_stdc=no |
---|
| 4260 | fi |
---|
| 4261 | |
---|
| 4262 | fi |
---|
| 4263 | ;; |
---|
| 4264 | esac |
---|
| 4265 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 |
---|
| 4266 | $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } |
---|
| 4267 | if ${ac_cv_prog_cc_stdc+:} false; then : |
---|
| 4268 | $as_echo_n "(cached) " >&6 |
---|
| 4269 | fi |
---|
| 4270 | |
---|
| 4271 | case $ac_cv_prog_cc_stdc in #( |
---|
| 4272 | no) : |
---|
| 4273 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
---|
| 4274 | $as_echo "unsupported" >&6; } ;; #( |
---|
| 4275 | '') : |
---|
| 4276 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
---|
| 4277 | $as_echo "none needed" >&6; } ;; #( |
---|
| 4278 | *) : |
---|
| 4279 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 |
---|
| 4280 | $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; |
---|
| 4281 | esac |
---|
| 4282 | |
---|
| 4283 | # Extract the first word of "valac", so it can be a program name with args. |
---|
| 4284 | set dummy valac; ac_word=$2 |
---|
| 4285 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4286 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4287 | if ${ac_cv_path_VALAC+:} false; then : |
---|
| 4288 | $as_echo_n "(cached) " >&6 |
---|
| 4289 | else |
---|
| 4290 | case $VALAC in |
---|
| 4291 | [\\/]* | ?:[\\/]*) |
---|
| 4292 | ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path. |
---|
| 4293 | ;; |
---|
| 4294 | *) |
---|
| 4295 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4296 | for as_dir in $PATH |
---|
| 4297 | do |
---|
| 4298 | IFS=$as_save_IFS |
---|
| 4299 | test -z "$as_dir" && as_dir=. |
---|
| 4300 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 4301 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 4302 | ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext" |
---|
| 4303 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 4304 | break 2 |
---|
| 4305 | fi |
---|
| 4306 | done |
---|
| 4307 | done |
---|
| 4308 | IFS=$as_save_IFS |
---|
| 4309 | |
---|
[9739] | 4310 | test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac" |
---|
[9642] | 4311 | ;; |
---|
| 4312 | esac |
---|
| 4313 | fi |
---|
| 4314 | VALAC=$ac_cv_path_VALAC |
---|
| 4315 | if test -n "$VALAC"; then |
---|
| 4316 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5 |
---|
| 4317 | $as_echo "$VALAC" >&6; } |
---|
| 4318 | else |
---|
| 4319 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4320 | $as_echo "no" >&6; } |
---|
| 4321 | fi |
---|
| 4322 | |
---|
| 4323 | |
---|
[9739] | 4324 | if test "$VALAC" != valac && test -n "0.18.0"; then : |
---|
| 4325 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version 0.18.0" >&5 |
---|
| 4326 | $as_echo_n "checking whether $VALAC is at least version 0.18.0... " >&6; } |
---|
[9642] | 4327 | am__vala_version=`$VALAC --version | sed 's/Vala *//'` |
---|
| 4328 | as_arg_v1=0.18.0 |
---|
| 4329 | as_arg_v2="$am__vala_version" |
---|
| 4330 | awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null |
---|
| 4331 | case $? in #( |
---|
| 4332 | 1) : |
---|
| 4333 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 4334 | $as_echo "yes" >&6; } ;; #( |
---|
| 4335 | 0) : |
---|
| 4336 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 4337 | $as_echo "yes" >&6; } ;; #( |
---|
| 4338 | 2) : |
---|
| 4339 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4340 | $as_echo "no" >&6; } |
---|
[9739] | 4341 | VALAC=valac ;; #( |
---|
[9642] | 4342 | *) : |
---|
| 4343 | ;; |
---|
| 4344 | esac |
---|
| 4345 | fi |
---|
[9739] | 4346 | if test "$VALAC" = valac; then |
---|
| 4347 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5 |
---|
| 4348 | $as_echo "$as_me: WARNING: no proper vala compiler found" >&2;} |
---|
| 4349 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5 |
---|
| 4350 | $as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;} |
---|
| 4351 | else |
---|
| 4352 | : |
---|
| 4353 | fi |
---|
[9642] | 4354 | |
---|
| 4355 | |
---|
| 4356 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 |
---|
| 4357 | $as_echo_n "checking whether NLS is requested... " >&6; } |
---|
| 4358 | # Check whether --enable-nls was given. |
---|
| 4359 | if test "${enable_nls+set}" = set; then : |
---|
| 4360 | enableval=$enable_nls; USE_NLS=$enableval |
---|
| 4361 | else |
---|
| 4362 | USE_NLS=yes |
---|
| 4363 | fi |
---|
| 4364 | |
---|
| 4365 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 |
---|
| 4366 | $as_echo "$USE_NLS" >&6; } |
---|
| 4367 | |
---|
| 4368 | |
---|
| 4369 | |
---|
| 4370 | |
---|
| 4371 | |
---|
| 4372 | case "$am__api_version" in |
---|
| 4373 | 1.01234) |
---|
| 4374 | as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 |
---|
| 4375 | ;; |
---|
| 4376 | *) |
---|
| 4377 | ;; |
---|
| 4378 | esac |
---|
| 4379 | |
---|
| 4380 | INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.50 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` |
---|
| 4381 | INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` |
---|
| 4382 | INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` |
---|
| 4383 | if test -n "0.50"; then |
---|
| 4384 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.50" >&5 |
---|
| 4385 | $as_echo_n "checking for intltool >= 0.50... " >&6; } |
---|
| 4386 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 |
---|
| 4387 | $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } |
---|
| 4388 | test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || |
---|
| 4389 | as_fn_error $? "Your intltool is too old. You need intltool 0.50 or later." "$LINENO" 5 |
---|
| 4390 | fi |
---|
| 4391 | |
---|
| 4392 | # Extract the first word of "intltool-update", so it can be a program name with args. |
---|
| 4393 | set dummy intltool-update; ac_word=$2 |
---|
| 4394 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4395 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4396 | if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : |
---|
| 4397 | $as_echo_n "(cached) " >&6 |
---|
| 4398 | else |
---|
| 4399 | case $INTLTOOL_UPDATE in |
---|
| 4400 | [\\/]* | ?:[\\/]*) |
---|
| 4401 | ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. |
---|
| 4402 | ;; |
---|
| 4403 | *) |
---|
| 4404 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4405 | for as_dir in $PATH |
---|
| 4406 | do |
---|
| 4407 | IFS=$as_save_IFS |
---|
| 4408 | test -z "$as_dir" && as_dir=. |
---|
| 4409 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 4410 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 4411 | ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" |
---|
| 4412 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 4413 | break 2 |
---|
| 4414 | fi |
---|
| 4415 | done |
---|
| 4416 | done |
---|
| 4417 | IFS=$as_save_IFS |
---|
| 4418 | |
---|
| 4419 | ;; |
---|
| 4420 | esac |
---|
| 4421 | fi |
---|
| 4422 | INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE |
---|
| 4423 | if test -n "$INTLTOOL_UPDATE"; then |
---|
| 4424 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 |
---|
| 4425 | $as_echo "$INTLTOOL_UPDATE" >&6; } |
---|
| 4426 | else |
---|
| 4427 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4428 | $as_echo "no" >&6; } |
---|
| 4429 | fi |
---|
| 4430 | |
---|
| 4431 | |
---|
| 4432 | # Extract the first word of "intltool-merge", so it can be a program name with args. |
---|
| 4433 | set dummy intltool-merge; ac_word=$2 |
---|
| 4434 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4435 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4436 | if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : |
---|
| 4437 | $as_echo_n "(cached) " >&6 |
---|
| 4438 | else |
---|
| 4439 | case $INTLTOOL_MERGE in |
---|
| 4440 | [\\/]* | ?:[\\/]*) |
---|
| 4441 | ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. |
---|
| 4442 | ;; |
---|
| 4443 | *) |
---|
| 4444 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4445 | for as_dir in $PATH |
---|
| 4446 | do |
---|
| 4447 | IFS=$as_save_IFS |
---|
| 4448 | test -z "$as_dir" && as_dir=. |
---|
| 4449 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 4450 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 4451 | ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" |
---|
| 4452 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 4453 | break 2 |
---|
| 4454 | fi |
---|
| 4455 | done |
---|
| 4456 | done |
---|
| 4457 | IFS=$as_save_IFS |
---|
| 4458 | |
---|
| 4459 | ;; |
---|
| 4460 | esac |
---|
| 4461 | fi |
---|
| 4462 | INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE |
---|
| 4463 | if test -n "$INTLTOOL_MERGE"; then |
---|
| 4464 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 |
---|
| 4465 | $as_echo "$INTLTOOL_MERGE" >&6; } |
---|
| 4466 | else |
---|
| 4467 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4468 | $as_echo "no" >&6; } |
---|
| 4469 | fi |
---|
| 4470 | |
---|
| 4471 | |
---|
| 4472 | # Extract the first word of "intltool-extract", so it can be a program name with args. |
---|
| 4473 | set dummy intltool-extract; ac_word=$2 |
---|
| 4474 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4475 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4476 | if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : |
---|
| 4477 | $as_echo_n "(cached) " >&6 |
---|
| 4478 | else |
---|
| 4479 | case $INTLTOOL_EXTRACT in |
---|
| 4480 | [\\/]* | ?:[\\/]*) |
---|
| 4481 | ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. |
---|
| 4482 | ;; |
---|
| 4483 | *) |
---|
| 4484 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4485 | for as_dir in $PATH |
---|
| 4486 | do |
---|
| 4487 | IFS=$as_save_IFS |
---|
| 4488 | test -z "$as_dir" && as_dir=. |
---|
| 4489 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 4490 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 4491 | ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" |
---|
| 4492 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 4493 | break 2 |
---|
| 4494 | fi |
---|
| 4495 | done |
---|
| 4496 | done |
---|
| 4497 | IFS=$as_save_IFS |
---|
| 4498 | |
---|
| 4499 | ;; |
---|
| 4500 | esac |
---|
| 4501 | fi |
---|
| 4502 | INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT |
---|
| 4503 | if test -n "$INTLTOOL_EXTRACT"; then |
---|
| 4504 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 |
---|
| 4505 | $as_echo "$INTLTOOL_EXTRACT" >&6; } |
---|
| 4506 | else |
---|
| 4507 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4508 | $as_echo "no" >&6; } |
---|
| 4509 | fi |
---|
| 4510 | |
---|
| 4511 | |
---|
| 4512 | if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then |
---|
| 4513 | as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 |
---|
| 4514 | fi |
---|
| 4515 | |
---|
| 4516 | if test -z "$AM_DEFAULT_VERBOSITY"; then |
---|
| 4517 | AM_DEFAULT_VERBOSITY=1 |
---|
| 4518 | fi |
---|
| 4519 | |
---|
| 4520 | |
---|
| 4521 | INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' |
---|
| 4522 | INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' |
---|
| 4523 | INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' |
---|
| 4524 | |
---|
| 4525 | |
---|
| 4526 | |
---|
| 4527 | |
---|
| 4528 | INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' |
---|
| 4529 | intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' |
---|
| 4530 | intltool__v_merge_options_0='-q' |
---|
| 4531 | |
---|
| 4532 | |
---|
| 4533 | |
---|
| 4534 | |
---|
| 4535 | INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4536 | INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4537 | INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4538 | INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4539 | INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' |
---|
| 4540 | INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4541 | INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4542 | INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4543 | INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4544 | INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4545 | INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4546 | if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then |
---|
| 4547 | INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' |
---|
| 4548 | else |
---|
| 4549 | INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' |
---|
| 4550 | fi |
---|
| 4551 | INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4552 | INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4553 | INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4554 | INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4555 | INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4556 | INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4557 | INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' |
---|
| 4558 | |
---|
| 4559 | |
---|
| 4560 | |
---|
| 4561 | |
---|
| 4562 | |
---|
| 4563 | |
---|
| 4564 | |
---|
| 4565 | |
---|
| 4566 | |
---|
| 4567 | |
---|
| 4568 | |
---|
| 4569 | |
---|
| 4570 | |
---|
| 4571 | |
---|
| 4572 | |
---|
| 4573 | |
---|
| 4574 | |
---|
| 4575 | |
---|
| 4576 | |
---|
| 4577 | |
---|
| 4578 | |
---|
| 4579 | |
---|
| 4580 | |
---|
| 4581 | |
---|
| 4582 | |
---|
| 4583 | |
---|
| 4584 | |
---|
| 4585 | |
---|
| 4586 | |
---|
| 4587 | |
---|
| 4588 | |
---|
| 4589 | |
---|
| 4590 | |
---|
| 4591 | |
---|
| 4592 | |
---|
| 4593 | |
---|
| 4594 | |
---|
| 4595 | |
---|
| 4596 | |
---|
| 4597 | |
---|
| 4598 | |
---|
| 4599 | |
---|
| 4600 | |
---|
| 4601 | |
---|
| 4602 | |
---|
| 4603 | |
---|
| 4604 | |
---|
| 4605 | |
---|
| 4606 | |
---|
| 4607 | |
---|
| 4608 | |
---|
| 4609 | |
---|
| 4610 | |
---|
| 4611 | |
---|
| 4612 | |
---|
| 4613 | |
---|
| 4614 | |
---|
| 4615 | |
---|
| 4616 | |
---|
| 4617 | |
---|
| 4618 | |
---|
| 4619 | |
---|
| 4620 | |
---|
| 4621 | |
---|
| 4622 | |
---|
| 4623 | |
---|
| 4624 | |
---|
| 4625 | |
---|
| 4626 | |
---|
| 4627 | |
---|
| 4628 | |
---|
| 4629 | |
---|
| 4630 | |
---|
| 4631 | |
---|
| 4632 | |
---|
| 4633 | |
---|
| 4634 | |
---|
| 4635 | |
---|
| 4636 | |
---|
| 4637 | |
---|
| 4638 | |
---|
| 4639 | |
---|
| 4640 | |
---|
| 4641 | |
---|
| 4642 | |
---|
| 4643 | |
---|
| 4644 | |
---|
| 4645 | |
---|
| 4646 | |
---|
| 4647 | |
---|
| 4648 | |
---|
| 4649 | |
---|
| 4650 | |
---|
| 4651 | |
---|
| 4652 | |
---|
| 4653 | |
---|
| 4654 | |
---|
| 4655 | # Check the gettext tools to make sure they are GNU |
---|
| 4656 | # Extract the first word of "xgettext", so it can be a program name with args. |
---|
| 4657 | set dummy xgettext; ac_word=$2 |
---|
| 4658 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4659 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4660 | if ${ac_cv_path_XGETTEXT+:} false; then : |
---|
| 4661 | $as_echo_n "(cached) " >&6 |
---|
| 4662 | else |
---|
| 4663 | case $XGETTEXT in |
---|
| 4664 | [\\/]* | ?:[\\/]*) |
---|
| 4665 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
---|
| 4666 | ;; |
---|
| 4667 | *) |
---|
| 4668 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4669 | for as_dir in $PATH |
---|
| 4670 | do |
---|
| 4671 | IFS=$as_save_IFS |
---|
| 4672 | test -z "$as_dir" && as_dir=. |
---|
| 4673 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 4674 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 4675 | ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" |
---|
| 4676 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 4677 | break 2 |
---|
| 4678 | fi |
---|
| 4679 | done |
---|
| 4680 | done |
---|
| 4681 | IFS=$as_save_IFS |
---|
| 4682 | |
---|
| 4683 | ;; |
---|
| 4684 | esac |
---|
| 4685 | fi |
---|
| 4686 | XGETTEXT=$ac_cv_path_XGETTEXT |
---|
| 4687 | if test -n "$XGETTEXT"; then |
---|
| 4688 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
---|
| 4689 | $as_echo "$XGETTEXT" >&6; } |
---|
| 4690 | else |
---|
| 4691 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4692 | $as_echo "no" >&6; } |
---|
| 4693 | fi |
---|
| 4694 | |
---|
| 4695 | |
---|
| 4696 | # Extract the first word of "msgmerge", so it can be a program name with args. |
---|
| 4697 | set dummy msgmerge; ac_word=$2 |
---|
| 4698 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4699 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4700 | if ${ac_cv_path_MSGMERGE+:} false; then : |
---|
| 4701 | $as_echo_n "(cached) " >&6 |
---|
| 4702 | else |
---|
| 4703 | case $MSGMERGE in |
---|
| 4704 | [\\/]* | ?:[\\/]*) |
---|
| 4705 | ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. |
---|
| 4706 | ;; |
---|
| 4707 | *) |
---|
| 4708 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4709 | for as_dir in $PATH |
---|
| 4710 | do |
---|
| 4711 | IFS=$as_save_IFS |
---|
| 4712 | test -z "$as_dir" && as_dir=. |
---|
| 4713 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 4714 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 4715 | ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" |
---|
| 4716 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 4717 | break 2 |
---|
| 4718 | fi |
---|
| 4719 | done |
---|
| 4720 | done |
---|
| 4721 | IFS=$as_save_IFS |
---|
| 4722 | |
---|
| 4723 | ;; |
---|
| 4724 | esac |
---|
| 4725 | fi |
---|
| 4726 | MSGMERGE=$ac_cv_path_MSGMERGE |
---|
| 4727 | if test -n "$MSGMERGE"; then |
---|
| 4728 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 |
---|
| 4729 | $as_echo "$MSGMERGE" >&6; } |
---|
| 4730 | else |
---|
| 4731 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4732 | $as_echo "no" >&6; } |
---|
| 4733 | fi |
---|
| 4734 | |
---|
| 4735 | |
---|
| 4736 | # Extract the first word of "msgfmt", so it can be a program name with args. |
---|
| 4737 | set dummy msgfmt; ac_word=$2 |
---|
| 4738 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4739 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4740 | if ${ac_cv_path_MSGFMT+:} false; then : |
---|
| 4741 | $as_echo_n "(cached) " >&6 |
---|
| 4742 | else |
---|
| 4743 | case $MSGFMT in |
---|
| 4744 | [\\/]* | ?:[\\/]*) |
---|
| 4745 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
---|
| 4746 | ;; |
---|
| 4747 | *) |
---|
| 4748 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4749 | for as_dir in $PATH |
---|
| 4750 | do |
---|
| 4751 | IFS=$as_save_IFS |
---|
| 4752 | test -z "$as_dir" && as_dir=. |
---|
| 4753 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 4754 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 4755 | ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" |
---|
| 4756 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 4757 | break 2 |
---|
| 4758 | fi |
---|
| 4759 | done |
---|
| 4760 | done |
---|
| 4761 | IFS=$as_save_IFS |
---|
| 4762 | |
---|
| 4763 | ;; |
---|
| 4764 | esac |
---|
| 4765 | fi |
---|
| 4766 | MSGFMT=$ac_cv_path_MSGFMT |
---|
| 4767 | if test -n "$MSGFMT"; then |
---|
| 4768 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
---|
| 4769 | $as_echo "$MSGFMT" >&6; } |
---|
| 4770 | else |
---|
| 4771 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4772 | $as_echo "no" >&6; } |
---|
| 4773 | fi |
---|
| 4774 | |
---|
| 4775 | |
---|
| 4776 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
---|
| 4777 | set dummy gmsgfmt; ac_word=$2 |
---|
| 4778 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4779 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4780 | if ${ac_cv_path_GMSGFMT+:} false; then : |
---|
| 4781 | $as_echo_n "(cached) " >&6 |
---|
| 4782 | else |
---|
| 4783 | case $GMSGFMT in |
---|
| 4784 | [\\/]* | ?:[\\/]*) |
---|
| 4785 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
---|
| 4786 | ;; |
---|
| 4787 | *) |
---|
| 4788 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4789 | for as_dir in $PATH |
---|
| 4790 | do |
---|
| 4791 | IFS=$as_save_IFS |
---|
| 4792 | test -z "$as_dir" && as_dir=. |
---|
| 4793 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 4794 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 4795 | ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
---|
| 4796 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 4797 | break 2 |
---|
| 4798 | fi |
---|
| 4799 | done |
---|
| 4800 | done |
---|
| 4801 | IFS=$as_save_IFS |
---|
| 4802 | |
---|
| 4803 | test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
---|
| 4804 | ;; |
---|
| 4805 | esac |
---|
| 4806 | fi |
---|
| 4807 | GMSGFMT=$ac_cv_path_GMSGFMT |
---|
| 4808 | if test -n "$GMSGFMT"; then |
---|
| 4809 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
---|
| 4810 | $as_echo "$GMSGFMT" >&6; } |
---|
| 4811 | else |
---|
| 4812 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4813 | $as_echo "no" >&6; } |
---|
| 4814 | fi |
---|
| 4815 | |
---|
| 4816 | |
---|
| 4817 | if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then |
---|
| 4818 | as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 |
---|
| 4819 | fi |
---|
| 4820 | xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" |
---|
| 4821 | mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" |
---|
| 4822 | mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" |
---|
| 4823 | if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then |
---|
| 4824 | as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 |
---|
| 4825 | fi |
---|
| 4826 | |
---|
| 4827 | # Extract the first word of "perl", so it can be a program name with args. |
---|
| 4828 | set dummy perl; ac_word=$2 |
---|
| 4829 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4830 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4831 | if ${ac_cv_path_INTLTOOL_PERL+:} false; then : |
---|
| 4832 | $as_echo_n "(cached) " >&6 |
---|
| 4833 | else |
---|
| 4834 | case $INTLTOOL_PERL in |
---|
| 4835 | [\\/]* | ?:[\\/]*) |
---|
| 4836 | ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. |
---|
| 4837 | ;; |
---|
| 4838 | *) |
---|
| 4839 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4840 | for as_dir in $PATH |
---|
| 4841 | do |
---|
| 4842 | IFS=$as_save_IFS |
---|
| 4843 | test -z "$as_dir" && as_dir=. |
---|
| 4844 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 4845 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 4846 | ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" |
---|
| 4847 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 4848 | break 2 |
---|
| 4849 | fi |
---|
| 4850 | done |
---|
| 4851 | done |
---|
| 4852 | IFS=$as_save_IFS |
---|
| 4853 | |
---|
| 4854 | ;; |
---|
| 4855 | esac |
---|
| 4856 | fi |
---|
| 4857 | INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL |
---|
| 4858 | if test -n "$INTLTOOL_PERL"; then |
---|
| 4859 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 |
---|
| 4860 | $as_echo "$INTLTOOL_PERL" >&6; } |
---|
| 4861 | else |
---|
| 4862 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4863 | $as_echo "no" >&6; } |
---|
| 4864 | fi |
---|
| 4865 | |
---|
| 4866 | |
---|
| 4867 | if test -z "$INTLTOOL_PERL"; then |
---|
| 4868 | as_fn_error $? "perl not found" "$LINENO" 5 |
---|
| 4869 | fi |
---|
| 4870 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 |
---|
| 4871 | $as_echo_n "checking for perl >= 5.8.1... " >&6; } |
---|
| 4872 | $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 |
---|
| 4873 | if test $? -ne 0; then |
---|
| 4874 | as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 |
---|
| 4875 | else |
---|
| 4876 | IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` |
---|
| 4877 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 |
---|
| 4878 | $as_echo "$IT_PERL_VERSION" >&6; } |
---|
| 4879 | fi |
---|
| 4880 | if test "x" != "xno-xml"; then |
---|
| 4881 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 |
---|
| 4882 | $as_echo_n "checking for XML::Parser... " >&6; } |
---|
| 4883 | if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then |
---|
| 4884 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
---|
| 4885 | $as_echo "ok" >&6; } |
---|
| 4886 | else |
---|
| 4887 | as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 |
---|
| 4888 | fi |
---|
| 4889 | fi |
---|
| 4890 | |
---|
| 4891 | # Substitute ALL_LINGUAS so we can use it in po/Makefile |
---|
| 4892 | |
---|
| 4893 | |
---|
| 4894 | # Set DATADIRNAME correctly if it is not set yet |
---|
| 4895 | # (copied from glib-gettext.m4) |
---|
| 4896 | if test -z "$DATADIRNAME"; then |
---|
| 4897 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 4898 | /* end confdefs.h. */ |
---|
| 4899 | |
---|
| 4900 | int |
---|
| 4901 | main () |
---|
| 4902 | { |
---|
| 4903 | extern int _nl_msg_cat_cntr; |
---|
| 4904 | return _nl_msg_cat_cntr |
---|
| 4905 | ; |
---|
| 4906 | return 0; |
---|
| 4907 | } |
---|
| 4908 | _ACEOF |
---|
| 4909 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 4910 | DATADIRNAME=share |
---|
| 4911 | else |
---|
| 4912 | case $host in |
---|
| 4913 | *-*-solaris*) |
---|
| 4914 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
---|
| 4915 | if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
---|
| 4916 | DATADIRNAME=share |
---|
| 4917 | else |
---|
| 4918 | DATADIRNAME=lib |
---|
| 4919 | fi |
---|
| 4920 | |
---|
| 4921 | ;; |
---|
| 4922 | *) |
---|
| 4923 | DATADIRNAME=lib |
---|
| 4924 | ;; |
---|
| 4925 | esac |
---|
| 4926 | fi |
---|
| 4927 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 4928 | conftest$ac_exeext conftest.$ac_ext |
---|
| 4929 | fi |
---|
| 4930 | |
---|
| 4931 | |
---|
| 4932 | |
---|
| 4933 | |
---|
| 4934 | |
---|
| 4935 | |
---|
| 4936 | pkg_modules="libnotify, gtk+-3.0 >= 2.14.0" |
---|
| 4937 | VINE_NOTIFY_UPDATE_PACKAGES="--pkg libnotify --pkg gtk+-3.0" |
---|
| 4938 | |
---|
| 4939 | |
---|
| 4940 | |
---|
| 4941 | |
---|
| 4942 | |
---|
| 4943 | |
---|
[9739] | 4944 | |
---|
[9642] | 4945 | if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
---|
| 4946 | if test -n "$ac_tool_prefix"; then |
---|
| 4947 | # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
---|
| 4948 | set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
---|
| 4949 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4950 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4951 | if ${ac_cv_path_PKG_CONFIG+:} false; then : |
---|
| 4952 | $as_echo_n "(cached) " >&6 |
---|
| 4953 | else |
---|
| 4954 | case $PKG_CONFIG in |
---|
| 4955 | [\\/]* | ?:[\\/]*) |
---|
| 4956 | ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
---|
| 4957 | ;; |
---|
| 4958 | *) |
---|
| 4959 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 4960 | for as_dir in $PATH |
---|
| 4961 | do |
---|
| 4962 | IFS=$as_save_IFS |
---|
| 4963 | test -z "$as_dir" && as_dir=. |
---|
| 4964 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 4965 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 4966 | ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
---|
| 4967 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 4968 | break 2 |
---|
| 4969 | fi |
---|
| 4970 | done |
---|
| 4971 | done |
---|
| 4972 | IFS=$as_save_IFS |
---|
| 4973 | |
---|
| 4974 | ;; |
---|
| 4975 | esac |
---|
| 4976 | fi |
---|
| 4977 | PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
---|
| 4978 | if test -n "$PKG_CONFIG"; then |
---|
| 4979 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
---|
| 4980 | $as_echo "$PKG_CONFIG" >&6; } |
---|
| 4981 | else |
---|
| 4982 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 4983 | $as_echo "no" >&6; } |
---|
| 4984 | fi |
---|
| 4985 | |
---|
| 4986 | |
---|
| 4987 | fi |
---|
| 4988 | if test -z "$ac_cv_path_PKG_CONFIG"; then |
---|
| 4989 | ac_pt_PKG_CONFIG=$PKG_CONFIG |
---|
| 4990 | # Extract the first word of "pkg-config", so it can be a program name with args. |
---|
| 4991 | set dummy pkg-config; ac_word=$2 |
---|
| 4992 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 4993 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 4994 | if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
---|
| 4995 | $as_echo_n "(cached) " >&6 |
---|
| 4996 | else |
---|
| 4997 | case $ac_pt_PKG_CONFIG in |
---|
| 4998 | [\\/]* | ?:[\\/]*) |
---|
| 4999 | ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
---|
| 5000 | ;; |
---|
| 5001 | *) |
---|
| 5002 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 5003 | for as_dir in $PATH |
---|
| 5004 | do |
---|
| 5005 | IFS=$as_save_IFS |
---|
| 5006 | test -z "$as_dir" && as_dir=. |
---|
| 5007 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 5008 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 5009 | ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
---|
| 5010 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 5011 | break 2 |
---|
| 5012 | fi |
---|
| 5013 | done |
---|
| 5014 | done |
---|
| 5015 | IFS=$as_save_IFS |
---|
| 5016 | |
---|
| 5017 | ;; |
---|
| 5018 | esac |
---|
| 5019 | fi |
---|
| 5020 | ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
---|
| 5021 | if test -n "$ac_pt_PKG_CONFIG"; then |
---|
| 5022 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
---|
| 5023 | $as_echo "$ac_pt_PKG_CONFIG" >&6; } |
---|
| 5024 | else |
---|
| 5025 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 5026 | $as_echo "no" >&6; } |
---|
| 5027 | fi |
---|
| 5028 | |
---|
| 5029 | if test "x$ac_pt_PKG_CONFIG" = x; then |
---|
| 5030 | PKG_CONFIG="" |
---|
| 5031 | else |
---|
| 5032 | case $cross_compiling:$ac_tool_warned in |
---|
| 5033 | yes:) |
---|
| 5034 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
---|
| 5035 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
---|
| 5036 | ac_tool_warned=yes ;; |
---|
| 5037 | esac |
---|
| 5038 | PKG_CONFIG=$ac_pt_PKG_CONFIG |
---|
| 5039 | fi |
---|
| 5040 | else |
---|
| 5041 | PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
---|
| 5042 | fi |
---|
| 5043 | |
---|
| 5044 | fi |
---|
| 5045 | if test -n "$PKG_CONFIG"; then |
---|
| 5046 | _pkg_min_version=0.9.0 |
---|
| 5047 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
---|
| 5048 | $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
---|
| 5049 | if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
---|
| 5050 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 5051 | $as_echo "yes" >&6; } |
---|
| 5052 | else |
---|
| 5053 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 5054 | $as_echo "no" >&6; } |
---|
| 5055 | PKG_CONFIG="" |
---|
| 5056 | fi |
---|
| 5057 | fi |
---|
| 5058 | |
---|
| 5059 | pkg_failed=no |
---|
| 5060 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VINE_NOTIFY_UPDATE" >&5 |
---|
| 5061 | $as_echo_n "checking for VINE_NOTIFY_UPDATE... " >&6; } |
---|
| 5062 | |
---|
| 5063 | if test -n "$VINE_NOTIFY_UPDATE_CFLAGS"; then |
---|
| 5064 | pkg_cv_VINE_NOTIFY_UPDATE_CFLAGS="$VINE_NOTIFY_UPDATE_CFLAGS" |
---|
| 5065 | elif test -n "$PKG_CONFIG"; then |
---|
| 5066 | if test -n "$PKG_CONFIG" && \ |
---|
| 5067 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5 |
---|
| 5068 | ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5 |
---|
| 5069 | ac_status=$? |
---|
| 5070 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 5071 | test $ac_status = 0; }; then |
---|
| 5072 | pkg_cv_VINE_NOTIFY_UPDATE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null` |
---|
[9739] | 5073 | test "x$?" != "x0" && pkg_failed=yes |
---|
[9642] | 5074 | else |
---|
| 5075 | pkg_failed=yes |
---|
| 5076 | fi |
---|
| 5077 | else |
---|
| 5078 | pkg_failed=untried |
---|
| 5079 | fi |
---|
| 5080 | if test -n "$VINE_NOTIFY_UPDATE_LIBS"; then |
---|
| 5081 | pkg_cv_VINE_NOTIFY_UPDATE_LIBS="$VINE_NOTIFY_UPDATE_LIBS" |
---|
| 5082 | elif test -n "$PKG_CONFIG"; then |
---|
| 5083 | if test -n "$PKG_CONFIG" && \ |
---|
| 5084 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5 |
---|
| 5085 | ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5 |
---|
| 5086 | ac_status=$? |
---|
| 5087 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 5088 | test $ac_status = 0; }; then |
---|
| 5089 | pkg_cv_VINE_NOTIFY_UPDATE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null` |
---|
[9739] | 5090 | test "x$?" != "x0" && pkg_failed=yes |
---|
[9642] | 5091 | else |
---|
| 5092 | pkg_failed=yes |
---|
| 5093 | fi |
---|
| 5094 | else |
---|
| 5095 | pkg_failed=untried |
---|
| 5096 | fi |
---|
| 5097 | |
---|
| 5098 | |
---|
| 5099 | |
---|
| 5100 | if test $pkg_failed = yes; then |
---|
| 5101 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 5102 | $as_echo "no" >&6; } |
---|
| 5103 | |
---|
| 5104 | if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
---|
| 5105 | _pkg_short_errors_supported=yes |
---|
| 5106 | else |
---|
| 5107 | _pkg_short_errors_supported=no |
---|
| 5108 | fi |
---|
| 5109 | if test $_pkg_short_errors_supported = yes; then |
---|
[9739] | 5110 | VINE_NOTIFY_UPDATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$pkg_modules" 2>&1` |
---|
[9642] | 5111 | else |
---|
[9739] | 5112 | VINE_NOTIFY_UPDATE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$pkg_modules" 2>&1` |
---|
[9642] | 5113 | fi |
---|
| 5114 | # Put the nasty error message in config.log where it belongs |
---|
| 5115 | echo "$VINE_NOTIFY_UPDATE_PKG_ERRORS" >&5 |
---|
| 5116 | |
---|
| 5117 | as_fn_error $? "Package requirements ($pkg_modules) were not met: |
---|
| 5118 | |
---|
| 5119 | $VINE_NOTIFY_UPDATE_PKG_ERRORS |
---|
| 5120 | |
---|
| 5121 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
---|
| 5122 | installed software in a non-standard prefix. |
---|
| 5123 | |
---|
| 5124 | Alternatively, you may set the environment variables VINE_NOTIFY_UPDATE_CFLAGS |
---|
| 5125 | and VINE_NOTIFY_UPDATE_LIBS to avoid the need to call pkg-config. |
---|
| 5126 | See the pkg-config man page for more details." "$LINENO" 5 |
---|
| 5127 | elif test $pkg_failed = untried; then |
---|
| 5128 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 5129 | $as_echo "no" >&6; } |
---|
| 5130 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 5131 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 5132 | as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
---|
| 5133 | is in your PATH or set the PKG_CONFIG environment variable to the full |
---|
| 5134 | path to pkg-config. |
---|
| 5135 | |
---|
| 5136 | Alternatively, you may set the environment variables VINE_NOTIFY_UPDATE_CFLAGS |
---|
| 5137 | and VINE_NOTIFY_UPDATE_LIBS to avoid the need to call pkg-config. |
---|
| 5138 | See the pkg-config man page for more details. |
---|
| 5139 | |
---|
| 5140 | To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
---|
| 5141 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 5142 | else |
---|
| 5143 | VINE_NOTIFY_UPDATE_CFLAGS=$pkg_cv_VINE_NOTIFY_UPDATE_CFLAGS |
---|
| 5144 | VINE_NOTIFY_UPDATE_LIBS=$pkg_cv_VINE_NOTIFY_UPDATE_LIBS |
---|
| 5145 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 5146 | $as_echo "yes" >&6; } |
---|
| 5147 | |
---|
| 5148 | fi |
---|
| 5149 | |
---|
| 5150 | |
---|
| 5151 | |
---|
| 5152 | |
---|
| 5153 | GETTEXT_PACKAGE=vine-notify-update |
---|
| 5154 | |
---|
| 5155 | cat >>confdefs.h <<_ACEOF |
---|
| 5156 | #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" |
---|
| 5157 | _ACEOF |
---|
| 5158 | |
---|
| 5159 | |
---|
| 5160 | |
---|
| 5161 | ac_ext=c |
---|
| 5162 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 5163 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 5164 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 5165 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 5166 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
---|
| 5167 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
---|
| 5168 | # On Suns, sometimes $CPP names a directory. |
---|
| 5169 | if test -n "$CPP" && test -d "$CPP"; then |
---|
| 5170 | CPP= |
---|
| 5171 | fi |
---|
| 5172 | if test -z "$CPP"; then |
---|
| 5173 | if ${ac_cv_prog_CPP+:} false; then : |
---|
| 5174 | $as_echo_n "(cached) " >&6 |
---|
| 5175 | else |
---|
| 5176 | # Double quotes because CPP needs to be expanded |
---|
| 5177 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
---|
| 5178 | do |
---|
| 5179 | ac_preproc_ok=false |
---|
| 5180 | for ac_c_preproc_warn_flag in '' yes |
---|
| 5181 | do |
---|
| 5182 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 5183 | # with a fresh cross-compiler works. |
---|
| 5184 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 5185 | # <limits.h> exists even on freestanding compilers. |
---|
| 5186 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 5187 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 5188 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5189 | /* end confdefs.h. */ |
---|
| 5190 | #ifdef __STDC__ |
---|
| 5191 | # include <limits.h> |
---|
| 5192 | #else |
---|
| 5193 | # include <assert.h> |
---|
| 5194 | #endif |
---|
| 5195 | Syntax error |
---|
| 5196 | _ACEOF |
---|
| 5197 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 5198 | |
---|
| 5199 | else |
---|
| 5200 | # Broken: fails on valid input. |
---|
| 5201 | continue |
---|
| 5202 | fi |
---|
| 5203 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
| 5204 | |
---|
| 5205 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
| 5206 | # can be detected and how. |
---|
| 5207 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5208 | /* end confdefs.h. */ |
---|
| 5209 | #include <ac_nonexistent.h> |
---|
| 5210 | _ACEOF |
---|
| 5211 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 5212 | # Broken: success on invalid input. |
---|
| 5213 | continue |
---|
| 5214 | else |
---|
| 5215 | # Passes both tests. |
---|
| 5216 | ac_preproc_ok=: |
---|
| 5217 | break |
---|
| 5218 | fi |
---|
| 5219 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
| 5220 | |
---|
| 5221 | done |
---|
| 5222 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 5223 | rm -f conftest.i conftest.err conftest.$ac_ext |
---|
| 5224 | if $ac_preproc_ok; then : |
---|
| 5225 | break |
---|
| 5226 | fi |
---|
| 5227 | |
---|
| 5228 | done |
---|
| 5229 | ac_cv_prog_CPP=$CPP |
---|
| 5230 | |
---|
| 5231 | fi |
---|
| 5232 | CPP=$ac_cv_prog_CPP |
---|
| 5233 | else |
---|
| 5234 | ac_cv_prog_CPP=$CPP |
---|
| 5235 | fi |
---|
| 5236 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
---|
| 5237 | $as_echo "$CPP" >&6; } |
---|
| 5238 | ac_preproc_ok=false |
---|
| 5239 | for ac_c_preproc_warn_flag in '' yes |
---|
| 5240 | do |
---|
| 5241 | # Use a header file that comes with gcc, so configuring glibc |
---|
| 5242 | # with a fresh cross-compiler works. |
---|
| 5243 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
---|
| 5244 | # <limits.h> exists even on freestanding compilers. |
---|
| 5245 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 5246 | # not just through cpp. "Syntax error" is here to catch this case. |
---|
| 5247 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5248 | /* end confdefs.h. */ |
---|
| 5249 | #ifdef __STDC__ |
---|
| 5250 | # include <limits.h> |
---|
| 5251 | #else |
---|
| 5252 | # include <assert.h> |
---|
| 5253 | #endif |
---|
| 5254 | Syntax error |
---|
| 5255 | _ACEOF |
---|
| 5256 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 5257 | |
---|
| 5258 | else |
---|
| 5259 | # Broken: fails on valid input. |
---|
| 5260 | continue |
---|
| 5261 | fi |
---|
| 5262 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
| 5263 | |
---|
| 5264 | # OK, works on sane cases. Now check whether nonexistent headers |
---|
| 5265 | # can be detected and how. |
---|
| 5266 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5267 | /* end confdefs.h. */ |
---|
| 5268 | #include <ac_nonexistent.h> |
---|
| 5269 | _ACEOF |
---|
| 5270 | if ac_fn_c_try_cpp "$LINENO"; then : |
---|
| 5271 | # Broken: success on invalid input. |
---|
| 5272 | continue |
---|
| 5273 | else |
---|
| 5274 | # Passes both tests. |
---|
| 5275 | ac_preproc_ok=: |
---|
| 5276 | break |
---|
| 5277 | fi |
---|
| 5278 | rm -f conftest.err conftest.i conftest.$ac_ext |
---|
| 5279 | |
---|
| 5280 | done |
---|
| 5281 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
---|
| 5282 | rm -f conftest.i conftest.err conftest.$ac_ext |
---|
| 5283 | if $ac_preproc_ok; then : |
---|
| 5284 | |
---|
| 5285 | else |
---|
| 5286 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
---|
| 5287 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
---|
| 5288 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
---|
| 5289 | See \`config.log' for more details" "$LINENO" 5; } |
---|
| 5290 | fi |
---|
| 5291 | |
---|
| 5292 | ac_ext=c |
---|
| 5293 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 5294 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
---|
| 5295 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
---|
| 5296 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
---|
| 5297 | |
---|
| 5298 | |
---|
| 5299 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
---|
| 5300 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
---|
| 5301 | if ${ac_cv_path_GREP+:} false; then : |
---|
| 5302 | $as_echo_n "(cached) " >&6 |
---|
| 5303 | else |
---|
| 5304 | if test -z "$GREP"; then |
---|
| 5305 | ac_path_GREP_found=false |
---|
| 5306 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 5307 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 5308 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 5309 | do |
---|
| 5310 | IFS=$as_save_IFS |
---|
| 5311 | test -z "$as_dir" && as_dir=. |
---|
| 5312 | for ac_prog in grep ggrep; do |
---|
| 5313 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 5314 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
[9739] | 5315 | as_fn_executable_p "$ac_path_GREP" || continue |
---|
[9642] | 5316 | # Check for GNU ac_path_GREP and select it if it is found. |
---|
| 5317 | # Check for GNU $ac_path_GREP |
---|
| 5318 | case `"$ac_path_GREP" --version 2>&1` in |
---|
| 5319 | *GNU*) |
---|
| 5320 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
---|
| 5321 | *) |
---|
| 5322 | ac_count=0 |
---|
| 5323 | $as_echo_n 0123456789 >"conftest.in" |
---|
| 5324 | while : |
---|
| 5325 | do |
---|
| 5326 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 5327 | mv "conftest.tmp" "conftest.in" |
---|
| 5328 | cp "conftest.in" "conftest.nl" |
---|
| 5329 | $as_echo 'GREP' >> "conftest.nl" |
---|
| 5330 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 5331 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
| 5332 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
| 5333 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
---|
| 5334 | # Best one so far, save it but keep looking for a better one |
---|
| 5335 | ac_cv_path_GREP="$ac_path_GREP" |
---|
| 5336 | ac_path_GREP_max=$ac_count |
---|
| 5337 | fi |
---|
| 5338 | # 10*(2^10) chars as input seems more than enough |
---|
| 5339 | test $ac_count -gt 10 && break |
---|
| 5340 | done |
---|
| 5341 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 5342 | esac |
---|
| 5343 | |
---|
| 5344 | $ac_path_GREP_found && break 3 |
---|
| 5345 | done |
---|
| 5346 | done |
---|
| 5347 | done |
---|
| 5348 | IFS=$as_save_IFS |
---|
| 5349 | if test -z "$ac_cv_path_GREP"; then |
---|
| 5350 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
| 5351 | fi |
---|
| 5352 | else |
---|
| 5353 | ac_cv_path_GREP=$GREP |
---|
| 5354 | fi |
---|
| 5355 | |
---|
| 5356 | fi |
---|
| 5357 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
---|
| 5358 | $as_echo "$ac_cv_path_GREP" >&6; } |
---|
| 5359 | GREP="$ac_cv_path_GREP" |
---|
| 5360 | |
---|
| 5361 | |
---|
| 5362 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
---|
| 5363 | $as_echo_n "checking for egrep... " >&6; } |
---|
| 5364 | if ${ac_cv_path_EGREP+:} false; then : |
---|
| 5365 | $as_echo_n "(cached) " >&6 |
---|
| 5366 | else |
---|
| 5367 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
---|
| 5368 | then ac_cv_path_EGREP="$GREP -E" |
---|
| 5369 | else |
---|
| 5370 | if test -z "$EGREP"; then |
---|
| 5371 | ac_path_EGREP_found=false |
---|
| 5372 | # Loop through the user's path and test for each of PROGNAME-LIST |
---|
| 5373 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 5374 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
---|
| 5375 | do |
---|
| 5376 | IFS=$as_save_IFS |
---|
| 5377 | test -z "$as_dir" && as_dir=. |
---|
| 5378 | for ac_prog in egrep; do |
---|
| 5379 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
| 5380 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
---|
[9739] | 5381 | as_fn_executable_p "$ac_path_EGREP" || continue |
---|
[9642] | 5382 | # Check for GNU ac_path_EGREP and select it if it is found. |
---|
| 5383 | # Check for GNU $ac_path_EGREP |
---|
| 5384 | case `"$ac_path_EGREP" --version 2>&1` in |
---|
| 5385 | *GNU*) |
---|
| 5386 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
---|
| 5387 | *) |
---|
| 5388 | ac_count=0 |
---|
| 5389 | $as_echo_n 0123456789 >"conftest.in" |
---|
| 5390 | while : |
---|
| 5391 | do |
---|
| 5392 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
---|
| 5393 | mv "conftest.tmp" "conftest.in" |
---|
| 5394 | cp "conftest.in" "conftest.nl" |
---|
| 5395 | $as_echo 'EGREP' >> "conftest.nl" |
---|
| 5396 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
---|
| 5397 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
---|
| 5398 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
---|
| 5399 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
---|
| 5400 | # Best one so far, save it but keep looking for a better one |
---|
| 5401 | ac_cv_path_EGREP="$ac_path_EGREP" |
---|
| 5402 | ac_path_EGREP_max=$ac_count |
---|
| 5403 | fi |
---|
| 5404 | # 10*(2^10) chars as input seems more than enough |
---|
| 5405 | test $ac_count -gt 10 && break |
---|
| 5406 | done |
---|
| 5407 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
---|
| 5408 | esac |
---|
| 5409 | |
---|
| 5410 | $ac_path_EGREP_found && break 3 |
---|
| 5411 | done |
---|
| 5412 | done |
---|
| 5413 | done |
---|
| 5414 | IFS=$as_save_IFS |
---|
| 5415 | if test -z "$ac_cv_path_EGREP"; then |
---|
| 5416 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
---|
| 5417 | fi |
---|
| 5418 | else |
---|
| 5419 | ac_cv_path_EGREP=$EGREP |
---|
| 5420 | fi |
---|
| 5421 | |
---|
| 5422 | fi |
---|
| 5423 | fi |
---|
| 5424 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
---|
| 5425 | $as_echo "$ac_cv_path_EGREP" >&6; } |
---|
| 5426 | EGREP="$ac_cv_path_EGREP" |
---|
| 5427 | |
---|
| 5428 | |
---|
| 5429 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
---|
| 5430 | $as_echo_n "checking for ANSI C header files... " >&6; } |
---|
| 5431 | if ${ac_cv_header_stdc+:} false; then : |
---|
| 5432 | $as_echo_n "(cached) " >&6 |
---|
| 5433 | else |
---|
| 5434 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5435 | /* end confdefs.h. */ |
---|
| 5436 | #include <stdlib.h> |
---|
| 5437 | #include <stdarg.h> |
---|
| 5438 | #include <string.h> |
---|
| 5439 | #include <float.h> |
---|
| 5440 | |
---|
| 5441 | int |
---|
| 5442 | main () |
---|
| 5443 | { |
---|
| 5444 | |
---|
| 5445 | ; |
---|
| 5446 | return 0; |
---|
| 5447 | } |
---|
| 5448 | _ACEOF |
---|
| 5449 | if ac_fn_c_try_compile "$LINENO"; then : |
---|
| 5450 | ac_cv_header_stdc=yes |
---|
| 5451 | else |
---|
| 5452 | ac_cv_header_stdc=no |
---|
| 5453 | fi |
---|
| 5454 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
---|
| 5455 | |
---|
| 5456 | if test $ac_cv_header_stdc = yes; then |
---|
| 5457 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
| 5458 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5459 | /* end confdefs.h. */ |
---|
| 5460 | #include <string.h> |
---|
| 5461 | |
---|
| 5462 | _ACEOF |
---|
| 5463 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 5464 | $EGREP "memchr" >/dev/null 2>&1; then : |
---|
| 5465 | |
---|
| 5466 | else |
---|
| 5467 | ac_cv_header_stdc=no |
---|
| 5468 | fi |
---|
| 5469 | rm -f conftest* |
---|
| 5470 | |
---|
| 5471 | fi |
---|
| 5472 | |
---|
| 5473 | if test $ac_cv_header_stdc = yes; then |
---|
| 5474 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
| 5475 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5476 | /* end confdefs.h. */ |
---|
| 5477 | #include <stdlib.h> |
---|
| 5478 | |
---|
| 5479 | _ACEOF |
---|
| 5480 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 5481 | $EGREP "free" >/dev/null 2>&1; then : |
---|
| 5482 | |
---|
| 5483 | else |
---|
| 5484 | ac_cv_header_stdc=no |
---|
| 5485 | fi |
---|
| 5486 | rm -f conftest* |
---|
| 5487 | |
---|
| 5488 | fi |
---|
| 5489 | |
---|
| 5490 | if test $ac_cv_header_stdc = yes; then |
---|
| 5491 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
| 5492 | if test "$cross_compiling" = yes; then : |
---|
| 5493 | : |
---|
| 5494 | else |
---|
| 5495 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5496 | /* end confdefs.h. */ |
---|
| 5497 | #include <ctype.h> |
---|
| 5498 | #include <stdlib.h> |
---|
| 5499 | #if ((' ' & 0x0FF) == 0x020) |
---|
| 5500 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
| 5501 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
| 5502 | #else |
---|
| 5503 | # define ISLOWER(c) \ |
---|
| 5504 | (('a' <= (c) && (c) <= 'i') \ |
---|
| 5505 | || ('j' <= (c) && (c) <= 'r') \ |
---|
| 5506 | || ('s' <= (c) && (c) <= 'z')) |
---|
| 5507 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
---|
| 5508 | #endif |
---|
| 5509 | |
---|
| 5510 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
| 5511 | int |
---|
| 5512 | main () |
---|
| 5513 | { |
---|
| 5514 | int i; |
---|
| 5515 | for (i = 0; i < 256; i++) |
---|
| 5516 | if (XOR (islower (i), ISLOWER (i)) |
---|
| 5517 | || toupper (i) != TOUPPER (i)) |
---|
| 5518 | return 2; |
---|
| 5519 | return 0; |
---|
| 5520 | } |
---|
| 5521 | _ACEOF |
---|
| 5522 | if ac_fn_c_try_run "$LINENO"; then : |
---|
| 5523 | |
---|
| 5524 | else |
---|
| 5525 | ac_cv_header_stdc=no |
---|
| 5526 | fi |
---|
| 5527 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
---|
| 5528 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
---|
| 5529 | fi |
---|
| 5530 | |
---|
| 5531 | fi |
---|
| 5532 | fi |
---|
| 5533 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
---|
| 5534 | $as_echo "$ac_cv_header_stdc" >&6; } |
---|
| 5535 | if test $ac_cv_header_stdc = yes; then |
---|
| 5536 | |
---|
| 5537 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
---|
| 5538 | |
---|
| 5539 | fi |
---|
| 5540 | |
---|
| 5541 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
---|
| 5542 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
---|
| 5543 | inttypes.h stdint.h unistd.h |
---|
| 5544 | do : |
---|
| 5545 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
---|
| 5546 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
---|
| 5547 | " |
---|
| 5548 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
---|
| 5549 | cat >>confdefs.h <<_ACEOF |
---|
| 5550 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
---|
| 5551 | _ACEOF |
---|
| 5552 | |
---|
| 5553 | fi |
---|
| 5554 | |
---|
| 5555 | done |
---|
| 5556 | |
---|
| 5557 | |
---|
| 5558 | |
---|
| 5559 | for ac_header in locale.h |
---|
| 5560 | do : |
---|
| 5561 | ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" |
---|
| 5562 | if test "x$ac_cv_header_locale_h" = xyes; then : |
---|
| 5563 | cat >>confdefs.h <<_ACEOF |
---|
| 5564 | #define HAVE_LOCALE_H 1 |
---|
| 5565 | _ACEOF |
---|
| 5566 | |
---|
| 5567 | fi |
---|
| 5568 | |
---|
| 5569 | done |
---|
| 5570 | |
---|
| 5571 | if test $ac_cv_header_locale_h = yes; then |
---|
| 5572 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 |
---|
| 5573 | $as_echo_n "checking for LC_MESSAGES... " >&6; } |
---|
| 5574 | if ${am_cv_val_LC_MESSAGES+:} false; then : |
---|
| 5575 | $as_echo_n "(cached) " >&6 |
---|
| 5576 | else |
---|
| 5577 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5578 | /* end confdefs.h. */ |
---|
| 5579 | #include <locale.h> |
---|
| 5580 | int |
---|
| 5581 | main () |
---|
| 5582 | { |
---|
| 5583 | return LC_MESSAGES |
---|
| 5584 | ; |
---|
| 5585 | return 0; |
---|
| 5586 | } |
---|
| 5587 | _ACEOF |
---|
| 5588 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 5589 | am_cv_val_LC_MESSAGES=yes |
---|
| 5590 | else |
---|
| 5591 | am_cv_val_LC_MESSAGES=no |
---|
| 5592 | fi |
---|
| 5593 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 5594 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5595 | fi |
---|
| 5596 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 |
---|
| 5597 | $as_echo "$am_cv_val_LC_MESSAGES" >&6; } |
---|
| 5598 | if test $am_cv_val_LC_MESSAGES = yes; then |
---|
| 5599 | |
---|
| 5600 | $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h |
---|
| 5601 | |
---|
| 5602 | fi |
---|
| 5603 | fi |
---|
| 5604 | USE_NLS=yes |
---|
| 5605 | |
---|
| 5606 | |
---|
| 5607 | gt_cv_have_gettext=no |
---|
| 5608 | |
---|
| 5609 | CATOBJEXT=NONE |
---|
| 5610 | XGETTEXT=: |
---|
| 5611 | INTLLIBS= |
---|
| 5612 | |
---|
| 5613 | ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" |
---|
| 5614 | if test "x$ac_cv_header_libintl_h" = xyes; then : |
---|
| 5615 | gt_cv_func_dgettext_libintl="no" |
---|
| 5616 | libintl_extra_libs="" |
---|
| 5617 | |
---|
| 5618 | # |
---|
| 5619 | # First check in libc |
---|
| 5620 | # |
---|
| 5621 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 |
---|
| 5622 | $as_echo_n "checking for ngettext in libc... " >&6; } |
---|
| 5623 | if ${gt_cv_func_ngettext_libc+:} false; then : |
---|
| 5624 | $as_echo_n "(cached) " >&6 |
---|
| 5625 | else |
---|
| 5626 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5627 | /* end confdefs.h. */ |
---|
| 5628 | |
---|
| 5629 | #include <libintl.h> |
---|
| 5630 | |
---|
| 5631 | int |
---|
| 5632 | main () |
---|
| 5633 | { |
---|
| 5634 | return !ngettext ("","", 1) |
---|
| 5635 | ; |
---|
| 5636 | return 0; |
---|
| 5637 | } |
---|
| 5638 | _ACEOF |
---|
| 5639 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 5640 | gt_cv_func_ngettext_libc=yes |
---|
| 5641 | else |
---|
| 5642 | gt_cv_func_ngettext_libc=no |
---|
| 5643 | fi |
---|
| 5644 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 5645 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5646 | |
---|
| 5647 | fi |
---|
| 5648 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 |
---|
| 5649 | $as_echo "$gt_cv_func_ngettext_libc" >&6; } |
---|
| 5650 | |
---|
| 5651 | if test "$gt_cv_func_ngettext_libc" = "yes" ; then |
---|
| 5652 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 |
---|
| 5653 | $as_echo_n "checking for dgettext in libc... " >&6; } |
---|
| 5654 | if ${gt_cv_func_dgettext_libc+:} false; then : |
---|
| 5655 | $as_echo_n "(cached) " >&6 |
---|
| 5656 | else |
---|
| 5657 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5658 | /* end confdefs.h. */ |
---|
| 5659 | |
---|
| 5660 | #include <libintl.h> |
---|
| 5661 | |
---|
| 5662 | int |
---|
| 5663 | main () |
---|
| 5664 | { |
---|
| 5665 | return !dgettext ("","") |
---|
| 5666 | ; |
---|
| 5667 | return 0; |
---|
| 5668 | } |
---|
| 5669 | _ACEOF |
---|
| 5670 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 5671 | gt_cv_func_dgettext_libc=yes |
---|
| 5672 | else |
---|
| 5673 | gt_cv_func_dgettext_libc=no |
---|
| 5674 | fi |
---|
| 5675 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 5676 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5677 | |
---|
| 5678 | fi |
---|
| 5679 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 |
---|
| 5680 | $as_echo "$gt_cv_func_dgettext_libc" >&6; } |
---|
| 5681 | fi |
---|
| 5682 | |
---|
| 5683 | if test "$gt_cv_func_ngettext_libc" = "yes" ; then |
---|
| 5684 | for ac_func in bind_textdomain_codeset |
---|
| 5685 | do : |
---|
| 5686 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
---|
| 5687 | if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
---|
| 5688 | cat >>confdefs.h <<_ACEOF |
---|
| 5689 | #define HAVE_BIND_TEXTDOMAIN_CODESET 1 |
---|
| 5690 | _ACEOF |
---|
| 5691 | |
---|
| 5692 | fi |
---|
| 5693 | done |
---|
| 5694 | |
---|
| 5695 | fi |
---|
| 5696 | |
---|
| 5697 | # |
---|
| 5698 | # If we don't have everything we want, check in libintl |
---|
| 5699 | # |
---|
| 5700 | if test "$gt_cv_func_dgettext_libc" != "yes" \ |
---|
| 5701 | || test "$gt_cv_func_ngettext_libc" != "yes" \ |
---|
| 5702 | || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then |
---|
| 5703 | |
---|
| 5704 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 |
---|
| 5705 | $as_echo_n "checking for bindtextdomain in -lintl... " >&6; } |
---|
| 5706 | if ${ac_cv_lib_intl_bindtextdomain+:} false; then : |
---|
| 5707 | $as_echo_n "(cached) " >&6 |
---|
| 5708 | else |
---|
| 5709 | ac_check_lib_save_LIBS=$LIBS |
---|
| 5710 | LIBS="-lintl $LIBS" |
---|
| 5711 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5712 | /* end confdefs.h. */ |
---|
| 5713 | |
---|
| 5714 | /* Override any GCC internal prototype to avoid an error. |
---|
| 5715 | Use char because int might match the return type of a GCC |
---|
| 5716 | builtin and then its argument prototype would still apply. */ |
---|
| 5717 | #ifdef __cplusplus |
---|
| 5718 | extern "C" |
---|
| 5719 | #endif |
---|
| 5720 | char bindtextdomain (); |
---|
| 5721 | int |
---|
| 5722 | main () |
---|
| 5723 | { |
---|
| 5724 | return bindtextdomain (); |
---|
| 5725 | ; |
---|
| 5726 | return 0; |
---|
| 5727 | } |
---|
| 5728 | _ACEOF |
---|
| 5729 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 5730 | ac_cv_lib_intl_bindtextdomain=yes |
---|
| 5731 | else |
---|
| 5732 | ac_cv_lib_intl_bindtextdomain=no |
---|
| 5733 | fi |
---|
| 5734 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 5735 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5736 | LIBS=$ac_check_lib_save_LIBS |
---|
| 5737 | fi |
---|
| 5738 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 |
---|
| 5739 | $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } |
---|
| 5740 | if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : |
---|
| 5741 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 |
---|
| 5742 | $as_echo_n "checking for ngettext in -lintl... " >&6; } |
---|
| 5743 | if ${ac_cv_lib_intl_ngettext+:} false; then : |
---|
| 5744 | $as_echo_n "(cached) " >&6 |
---|
| 5745 | else |
---|
| 5746 | ac_check_lib_save_LIBS=$LIBS |
---|
| 5747 | LIBS="-lintl $LIBS" |
---|
| 5748 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5749 | /* end confdefs.h. */ |
---|
| 5750 | |
---|
| 5751 | /* Override any GCC internal prototype to avoid an error. |
---|
| 5752 | Use char because int might match the return type of a GCC |
---|
| 5753 | builtin and then its argument prototype would still apply. */ |
---|
| 5754 | #ifdef __cplusplus |
---|
| 5755 | extern "C" |
---|
| 5756 | #endif |
---|
| 5757 | char ngettext (); |
---|
| 5758 | int |
---|
| 5759 | main () |
---|
| 5760 | { |
---|
| 5761 | return ngettext (); |
---|
| 5762 | ; |
---|
| 5763 | return 0; |
---|
| 5764 | } |
---|
| 5765 | _ACEOF |
---|
| 5766 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 5767 | ac_cv_lib_intl_ngettext=yes |
---|
| 5768 | else |
---|
| 5769 | ac_cv_lib_intl_ngettext=no |
---|
| 5770 | fi |
---|
| 5771 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 5772 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5773 | LIBS=$ac_check_lib_save_LIBS |
---|
| 5774 | fi |
---|
| 5775 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 |
---|
| 5776 | $as_echo "$ac_cv_lib_intl_ngettext" >&6; } |
---|
| 5777 | if test "x$ac_cv_lib_intl_ngettext" = xyes; then : |
---|
| 5778 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 |
---|
| 5779 | $as_echo_n "checking for dgettext in -lintl... " >&6; } |
---|
| 5780 | if ${ac_cv_lib_intl_dgettext+:} false; then : |
---|
| 5781 | $as_echo_n "(cached) " >&6 |
---|
| 5782 | else |
---|
| 5783 | ac_check_lib_save_LIBS=$LIBS |
---|
| 5784 | LIBS="-lintl $LIBS" |
---|
| 5785 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5786 | /* end confdefs.h. */ |
---|
| 5787 | |
---|
| 5788 | /* Override any GCC internal prototype to avoid an error. |
---|
| 5789 | Use char because int might match the return type of a GCC |
---|
| 5790 | builtin and then its argument prototype would still apply. */ |
---|
| 5791 | #ifdef __cplusplus |
---|
| 5792 | extern "C" |
---|
| 5793 | #endif |
---|
| 5794 | char dgettext (); |
---|
| 5795 | int |
---|
| 5796 | main () |
---|
| 5797 | { |
---|
| 5798 | return dgettext (); |
---|
| 5799 | ; |
---|
| 5800 | return 0; |
---|
| 5801 | } |
---|
| 5802 | _ACEOF |
---|
| 5803 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 5804 | ac_cv_lib_intl_dgettext=yes |
---|
| 5805 | else |
---|
| 5806 | ac_cv_lib_intl_dgettext=no |
---|
| 5807 | fi |
---|
| 5808 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 5809 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5810 | LIBS=$ac_check_lib_save_LIBS |
---|
| 5811 | fi |
---|
| 5812 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 |
---|
| 5813 | $as_echo "$ac_cv_lib_intl_dgettext" >&6; } |
---|
| 5814 | if test "x$ac_cv_lib_intl_dgettext" = xyes; then : |
---|
| 5815 | gt_cv_func_dgettext_libintl=yes |
---|
| 5816 | fi |
---|
| 5817 | |
---|
| 5818 | fi |
---|
| 5819 | |
---|
| 5820 | fi |
---|
| 5821 | |
---|
| 5822 | |
---|
| 5823 | if test "$gt_cv_func_dgettext_libintl" != "yes" ; then |
---|
| 5824 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 |
---|
| 5825 | $as_echo_n "checking if -liconv is needed to use gettext... " >&6; } |
---|
| 5826 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 |
---|
| 5827 | $as_echo "" >&6; } |
---|
| 5828 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 |
---|
| 5829 | $as_echo_n "checking for ngettext in -lintl... " >&6; } |
---|
| 5830 | if ${ac_cv_lib_intl_ngettext+:} false; then : |
---|
| 5831 | $as_echo_n "(cached) " >&6 |
---|
| 5832 | else |
---|
| 5833 | ac_check_lib_save_LIBS=$LIBS |
---|
| 5834 | LIBS="-lintl -liconv $LIBS" |
---|
| 5835 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5836 | /* end confdefs.h. */ |
---|
| 5837 | |
---|
| 5838 | /* Override any GCC internal prototype to avoid an error. |
---|
| 5839 | Use char because int might match the return type of a GCC |
---|
| 5840 | builtin and then its argument prototype would still apply. */ |
---|
| 5841 | #ifdef __cplusplus |
---|
| 5842 | extern "C" |
---|
| 5843 | #endif |
---|
| 5844 | char ngettext (); |
---|
| 5845 | int |
---|
| 5846 | main () |
---|
| 5847 | { |
---|
| 5848 | return ngettext (); |
---|
| 5849 | ; |
---|
| 5850 | return 0; |
---|
| 5851 | } |
---|
| 5852 | _ACEOF |
---|
| 5853 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 5854 | ac_cv_lib_intl_ngettext=yes |
---|
| 5855 | else |
---|
| 5856 | ac_cv_lib_intl_ngettext=no |
---|
| 5857 | fi |
---|
| 5858 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 5859 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5860 | LIBS=$ac_check_lib_save_LIBS |
---|
| 5861 | fi |
---|
| 5862 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 |
---|
| 5863 | $as_echo "$ac_cv_lib_intl_ngettext" >&6; } |
---|
| 5864 | if test "x$ac_cv_lib_intl_ngettext" = xyes; then : |
---|
| 5865 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 |
---|
| 5866 | $as_echo_n "checking for dcgettext in -lintl... " >&6; } |
---|
| 5867 | if ${ac_cv_lib_intl_dcgettext+:} false; then : |
---|
| 5868 | $as_echo_n "(cached) " >&6 |
---|
| 5869 | else |
---|
| 5870 | ac_check_lib_save_LIBS=$LIBS |
---|
| 5871 | LIBS="-lintl -liconv $LIBS" |
---|
| 5872 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 5873 | /* end confdefs.h. */ |
---|
| 5874 | |
---|
| 5875 | /* Override any GCC internal prototype to avoid an error. |
---|
| 5876 | Use char because int might match the return type of a GCC |
---|
| 5877 | builtin and then its argument prototype would still apply. */ |
---|
| 5878 | #ifdef __cplusplus |
---|
| 5879 | extern "C" |
---|
| 5880 | #endif |
---|
| 5881 | char dcgettext (); |
---|
| 5882 | int |
---|
| 5883 | main () |
---|
| 5884 | { |
---|
| 5885 | return dcgettext (); |
---|
| 5886 | ; |
---|
| 5887 | return 0; |
---|
| 5888 | } |
---|
| 5889 | _ACEOF |
---|
| 5890 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 5891 | ac_cv_lib_intl_dcgettext=yes |
---|
| 5892 | else |
---|
| 5893 | ac_cv_lib_intl_dcgettext=no |
---|
| 5894 | fi |
---|
| 5895 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 5896 | conftest$ac_exeext conftest.$ac_ext |
---|
| 5897 | LIBS=$ac_check_lib_save_LIBS |
---|
| 5898 | fi |
---|
| 5899 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 |
---|
| 5900 | $as_echo "$ac_cv_lib_intl_dcgettext" >&6; } |
---|
| 5901 | if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : |
---|
| 5902 | gt_cv_func_dgettext_libintl=yes |
---|
| 5903 | libintl_extra_libs=-liconv |
---|
| 5904 | else |
---|
| 5905 | : |
---|
| 5906 | fi |
---|
| 5907 | |
---|
| 5908 | else |
---|
| 5909 | : |
---|
| 5910 | fi |
---|
| 5911 | |
---|
| 5912 | fi |
---|
| 5913 | |
---|
| 5914 | # |
---|
| 5915 | # If we found libintl, then check in it for bind_textdomain_codeset(); |
---|
| 5916 | # we'll prefer libc if neither have bind_textdomain_codeset(), |
---|
| 5917 | # and both have dgettext and ngettext |
---|
| 5918 | # |
---|
| 5919 | if test "$gt_cv_func_dgettext_libintl" = "yes" ; then |
---|
| 5920 | glib_save_LIBS="$LIBS" |
---|
| 5921 | LIBS="$LIBS -lintl $libintl_extra_libs" |
---|
| 5922 | unset ac_cv_func_bind_textdomain_codeset |
---|
| 5923 | for ac_func in bind_textdomain_codeset |
---|
| 5924 | do : |
---|
| 5925 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
---|
| 5926 | if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
---|
| 5927 | cat >>confdefs.h <<_ACEOF |
---|
| 5928 | #define HAVE_BIND_TEXTDOMAIN_CODESET 1 |
---|
| 5929 | _ACEOF |
---|
| 5930 | |
---|
| 5931 | fi |
---|
| 5932 | done |
---|
| 5933 | |
---|
| 5934 | LIBS="$glib_save_LIBS" |
---|
| 5935 | |
---|
| 5936 | if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then |
---|
| 5937 | gt_cv_func_dgettext_libc=no |
---|
| 5938 | else |
---|
| 5939 | if test "$gt_cv_func_dgettext_libc" = "yes" \ |
---|
| 5940 | && test "$gt_cv_func_ngettext_libc" = "yes"; then |
---|
| 5941 | gt_cv_func_dgettext_libintl=no |
---|
| 5942 | fi |
---|
| 5943 | fi |
---|
| 5944 | fi |
---|
| 5945 | fi |
---|
| 5946 | |
---|
| 5947 | if test "$gt_cv_func_dgettext_libc" = "yes" \ |
---|
| 5948 | || test "$gt_cv_func_dgettext_libintl" = "yes"; then |
---|
| 5949 | gt_cv_have_gettext=yes |
---|
| 5950 | fi |
---|
| 5951 | |
---|
| 5952 | if test "$gt_cv_func_dgettext_libintl" = "yes"; then |
---|
| 5953 | INTLLIBS="-lintl $libintl_extra_libs" |
---|
| 5954 | fi |
---|
| 5955 | |
---|
| 5956 | if test "$gt_cv_have_gettext" = "yes"; then |
---|
| 5957 | |
---|
| 5958 | $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h |
---|
| 5959 | |
---|
| 5960 | # Extract the first word of "msgfmt", so it can be a program name with args. |
---|
| 5961 | set dummy msgfmt; ac_word=$2 |
---|
| 5962 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 5963 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 5964 | if ${ac_cv_path_MSGFMT+:} false; then : |
---|
| 5965 | $as_echo_n "(cached) " >&6 |
---|
| 5966 | else |
---|
| 5967 | case "$MSGFMT" in |
---|
| 5968 | /*) |
---|
| 5969 | ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. |
---|
| 5970 | ;; |
---|
| 5971 | *) |
---|
| 5972 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
| 5973 | for ac_dir in $PATH; do |
---|
| 5974 | test -z "$ac_dir" && ac_dir=. |
---|
| 5975 | if test -f $ac_dir/$ac_word; then |
---|
| 5976 | if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then |
---|
| 5977 | ac_cv_path_MSGFMT="$ac_dir/$ac_word" |
---|
| 5978 | break |
---|
| 5979 | fi |
---|
| 5980 | fi |
---|
| 5981 | done |
---|
| 5982 | IFS="$ac_save_ifs" |
---|
| 5983 | test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" |
---|
| 5984 | ;; |
---|
| 5985 | esac |
---|
| 5986 | fi |
---|
| 5987 | MSGFMT="$ac_cv_path_MSGFMT" |
---|
| 5988 | if test "$MSGFMT" != "no"; then |
---|
| 5989 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 |
---|
| 5990 | $as_echo "$MSGFMT" >&6; } |
---|
| 5991 | else |
---|
| 5992 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 5993 | $as_echo "no" >&6; } |
---|
| 5994 | fi |
---|
| 5995 | if test "$MSGFMT" != "no"; then |
---|
| 5996 | glib_save_LIBS="$LIBS" |
---|
| 5997 | LIBS="$LIBS $INTLLIBS" |
---|
| 5998 | for ac_func in dcgettext |
---|
| 5999 | do : |
---|
| 6000 | ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" |
---|
| 6001 | if test "x$ac_cv_func_dcgettext" = xyes; then : |
---|
| 6002 | cat >>confdefs.h <<_ACEOF |
---|
| 6003 | #define HAVE_DCGETTEXT 1 |
---|
| 6004 | _ACEOF |
---|
| 6005 | |
---|
| 6006 | fi |
---|
| 6007 | done |
---|
| 6008 | |
---|
| 6009 | MSGFMT_OPTS= |
---|
| 6010 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 |
---|
| 6011 | $as_echo_n "checking if msgfmt accepts -c... " >&6; } |
---|
| 6012 | cat >conftest.foo <<_ACEOF |
---|
| 6013 | |
---|
| 6014 | msgid "" |
---|
| 6015 | msgstr "" |
---|
| 6016 | "Content-Type: text/plain; charset=UTF-8\n" |
---|
| 6017 | "Project-Id-Version: test 1.0\n" |
---|
| 6018 | "PO-Revision-Date: 2007-02-15 12:01+0100\n" |
---|
| 6019 | "Last-Translator: test <foo@bar.xx>\n" |
---|
| 6020 | "Language-Team: C <LL@li.org>\n" |
---|
| 6021 | "MIME-Version: 1.0\n" |
---|
| 6022 | "Content-Transfer-Encoding: 8bit\n" |
---|
| 6023 | |
---|
| 6024 | _ACEOF |
---|
| 6025 | if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 |
---|
| 6026 | ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 |
---|
| 6027 | ac_status=$? |
---|
| 6028 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
---|
| 6029 | test $ac_status = 0; }; then |
---|
| 6030 | MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
---|
| 6031 | $as_echo "yes" >&6; } |
---|
| 6032 | else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 6033 | $as_echo "no" >&6; } |
---|
| 6034 | echo "$as_me: failed input was:" >&5 |
---|
| 6035 | sed 's/^/| /' conftest.foo >&5 |
---|
| 6036 | fi |
---|
| 6037 | |
---|
| 6038 | # Extract the first word of "gmsgfmt", so it can be a program name with args. |
---|
| 6039 | set dummy gmsgfmt; ac_word=$2 |
---|
| 6040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 6041 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 6042 | if ${ac_cv_path_GMSGFMT+:} false; then : |
---|
| 6043 | $as_echo_n "(cached) " >&6 |
---|
| 6044 | else |
---|
| 6045 | case $GMSGFMT in |
---|
| 6046 | [\\/]* | ?:[\\/]*) |
---|
| 6047 | ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. |
---|
| 6048 | ;; |
---|
| 6049 | *) |
---|
| 6050 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 6051 | for as_dir in $PATH |
---|
| 6052 | do |
---|
| 6053 | IFS=$as_save_IFS |
---|
| 6054 | test -z "$as_dir" && as_dir=. |
---|
| 6055 | for ac_exec_ext in '' $ac_executable_extensions; do |
---|
[9739] | 6056 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
---|
[9642] | 6057 | ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" |
---|
| 6058 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
---|
| 6059 | break 2 |
---|
| 6060 | fi |
---|
| 6061 | done |
---|
| 6062 | done |
---|
| 6063 | IFS=$as_save_IFS |
---|
| 6064 | |
---|
| 6065 | test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" |
---|
| 6066 | ;; |
---|
| 6067 | esac |
---|
| 6068 | fi |
---|
| 6069 | GMSGFMT=$ac_cv_path_GMSGFMT |
---|
| 6070 | if test -n "$GMSGFMT"; then |
---|
| 6071 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 |
---|
| 6072 | $as_echo "$GMSGFMT" >&6; } |
---|
| 6073 | else |
---|
| 6074 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 6075 | $as_echo "no" >&6; } |
---|
| 6076 | fi |
---|
| 6077 | |
---|
| 6078 | |
---|
| 6079 | # Extract the first word of "xgettext", so it can be a program name with args. |
---|
| 6080 | set dummy xgettext; ac_word=$2 |
---|
| 6081 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
---|
| 6082 | $as_echo_n "checking for $ac_word... " >&6; } |
---|
| 6083 | if ${ac_cv_path_XGETTEXT+:} false; then : |
---|
| 6084 | $as_echo_n "(cached) " >&6 |
---|
| 6085 | else |
---|
| 6086 | case "$XGETTEXT" in |
---|
| 6087 | /*) |
---|
| 6088 | ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. |
---|
| 6089 | ;; |
---|
| 6090 | *) |
---|
| 6091 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
| 6092 | for ac_dir in $PATH; do |
---|
| 6093 | test -z "$ac_dir" && ac_dir=. |
---|
| 6094 | if test -f $ac_dir/$ac_word; then |
---|
| 6095 | if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then |
---|
| 6096 | ac_cv_path_XGETTEXT="$ac_dir/$ac_word" |
---|
| 6097 | break |
---|
| 6098 | fi |
---|
| 6099 | fi |
---|
| 6100 | done |
---|
| 6101 | IFS="$ac_save_ifs" |
---|
| 6102 | test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" |
---|
| 6103 | ;; |
---|
| 6104 | esac |
---|
| 6105 | fi |
---|
| 6106 | XGETTEXT="$ac_cv_path_XGETTEXT" |
---|
| 6107 | if test "$XGETTEXT" != ":"; then |
---|
| 6108 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 |
---|
| 6109 | $as_echo "$XGETTEXT" >&6; } |
---|
| 6110 | else |
---|
| 6111 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
---|
| 6112 | $as_echo "no" >&6; } |
---|
| 6113 | fi |
---|
| 6114 | |
---|
| 6115 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
---|
| 6116 | /* end confdefs.h. */ |
---|
| 6117 | |
---|
| 6118 | int |
---|
| 6119 | main () |
---|
| 6120 | { |
---|
| 6121 | extern int _nl_msg_cat_cntr; |
---|
| 6122 | return _nl_msg_cat_cntr |
---|
| 6123 | ; |
---|
| 6124 | return 0; |
---|
| 6125 | } |
---|
| 6126 | _ACEOF |
---|
| 6127 | if ac_fn_c_try_link "$LINENO"; then : |
---|
| 6128 | CATOBJEXT=.gmo |
---|
| 6129 | DATADIRNAME=share |
---|
| 6130 | else |
---|
| 6131 | case $host in |
---|
| 6132 | *-*-solaris*) |
---|
| 6133 | ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" |
---|
| 6134 | if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : |
---|
| 6135 | CATOBJEXT=.gmo |
---|
| 6136 | DATADIRNAME=share |
---|
| 6137 | else |
---|
| 6138 | CATOBJEXT=.mo |
---|
| 6139 | DATADIRNAME=lib |
---|
| 6140 | fi |
---|
| 6141 | |
---|
| 6142 | ;; |
---|
| 6143 | *-*-openbsd*) |
---|
| 6144 | CATOBJEXT=.mo |
---|
| 6145 | DATADIRNAME=share |
---|
| 6146 | ;; |
---|
| 6147 | *) |
---|
| 6148 | CATOBJEXT=.mo |
---|
| 6149 | DATADIRNAME=lib |
---|
| 6150 | ;; |
---|
| 6151 | esac |
---|
| 6152 | fi |
---|
| 6153 | rm -f core conftest.err conftest.$ac_objext \ |
---|
| 6154 | conftest$ac_exeext conftest.$ac_ext |
---|
| 6155 | LIBS="$glib_save_LIBS" |
---|
| 6156 | INSTOBJEXT=.mo |
---|
| 6157 | else |
---|
| 6158 | gt_cv_have_gettext=no |
---|
| 6159 | fi |
---|
| 6160 | fi |
---|
| 6161 | |
---|
| 6162 | fi |
---|
| 6163 | |
---|
| 6164 | |
---|
| 6165 | |
---|
| 6166 | if test "$gt_cv_have_gettext" = "yes" ; then |
---|
| 6167 | |
---|
| 6168 | $as_echo "#define ENABLE_NLS 1" >>confdefs.h |
---|
| 6169 | |
---|
| 6170 | fi |
---|
| 6171 | |
---|
| 6172 | if test "$XGETTEXT" != ":"; then |
---|
| 6173 | if $XGETTEXT --omit-header /dev/null 2> /dev/null; then |
---|
| 6174 | : ; |
---|
| 6175 | else |
---|
| 6176 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 |
---|
| 6177 | $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } |
---|
| 6178 | XGETTEXT=":" |
---|
| 6179 | fi |
---|
| 6180 | fi |
---|
| 6181 | |
---|
| 6182 | # We need to process the po/ directory. |
---|
| 6183 | POSUB=po |
---|
| 6184 | |
---|
| 6185 | ac_config_commands="$ac_config_commands default-1" |
---|
| 6186 | |
---|
| 6187 | |
---|
| 6188 | for lang in $ALL_LINGUAS; do |
---|
| 6189 | GMOFILES="$GMOFILES $lang.gmo" |
---|
| 6190 | POFILES="$POFILES $lang.po" |
---|
| 6191 | done |
---|
| 6192 | |
---|
| 6193 | |
---|
| 6194 | |
---|
| 6195 | |
---|
| 6196 | |
---|
| 6197 | |
---|
| 6198 | |
---|
| 6199 | |
---|
| 6200 | |
---|
| 6201 | |
---|
| 6202 | |
---|
| 6203 | |
---|
| 6204 | |
---|
| 6205 | if test "$gt_cv_have_gettext" = "yes"; then |
---|
| 6206 | if test "x$ALL_LINGUAS" = "x"; then |
---|
| 6207 | LINGUAS= |
---|
| 6208 | else |
---|
| 6209 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 |
---|
| 6210 | $as_echo_n "checking for catalogs to be installed... " >&6; } |
---|
| 6211 | NEW_LINGUAS= |
---|
| 6212 | for presentlang in $ALL_LINGUAS; do |
---|
| 6213 | useit=no |
---|
| 6214 | if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then |
---|
| 6215 | desiredlanguages="$LINGUAS" |
---|
| 6216 | else |
---|
| 6217 | desiredlanguages="$ALL_LINGUAS" |
---|
| 6218 | fi |
---|
| 6219 | for desiredlang in $desiredlanguages; do |
---|
| 6220 | # Use the presentlang catalog if desiredlang is |
---|
| 6221 | # a. equal to presentlang, or |
---|
| 6222 | # b. a variant of presentlang (because in this case, |
---|
| 6223 | # presentlang can be used as a fallback for messages |
---|
| 6224 | # which are not translated in the desiredlang catalog). |
---|
| 6225 | case "$desiredlang" in |
---|
| 6226 | "$presentlang"*) useit=yes;; |
---|
| 6227 | esac |
---|
| 6228 | done |
---|
| 6229 | if test $useit = yes; then |
---|
| 6230 | NEW_LINGUAS="$NEW_LINGUAS $presentlang" |
---|
| 6231 | fi |
---|
| 6232 | done |
---|
| 6233 | LINGUAS=$NEW_LINGUAS |
---|
| 6234 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 |
---|
| 6235 | $as_echo "$LINGUAS" >&6; } |
---|
| 6236 | fi |
---|
| 6237 | |
---|
| 6238 | if test -n "$LINGUAS"; then |
---|
| 6239 | for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done |
---|
| 6240 | fi |
---|
| 6241 | fi |
---|
| 6242 | |
---|
| 6243 | MKINSTALLDIRS= |
---|
| 6244 | if test -n "$ac_aux_dir"; then |
---|
| 6245 | MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" |
---|
| 6246 | fi |
---|
| 6247 | if test -z "$MKINSTALLDIRS"; then |
---|
| 6248 | MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" |
---|
| 6249 | fi |
---|
| 6250 | |
---|
| 6251 | |
---|
| 6252 | test -d po || mkdir po |
---|
| 6253 | if test "x$srcdir" != "x."; then |
---|
| 6254 | if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then |
---|
| 6255 | posrcprefix="$srcdir/" |
---|
| 6256 | else |
---|
| 6257 | posrcprefix="../$srcdir/" |
---|
| 6258 | fi |
---|
| 6259 | else |
---|
| 6260 | posrcprefix="../" |
---|
| 6261 | fi |
---|
| 6262 | rm -f po/POTFILES |
---|
| 6263 | sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ |
---|
| 6264 | < $srcdir/po/POTFILES.in > po/POTFILES |
---|
| 6265 | |
---|
| 6266 | |
---|
| 6267 | ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile data/Makefile" |
---|
| 6268 | |
---|
| 6269 | cat >confcache <<\_ACEOF |
---|
| 6270 | # This file is a shell script that caches the results of configure |
---|
| 6271 | # tests run on this system so they can be shared between configure |
---|
| 6272 | # scripts and configure runs, see configure's option --config-cache. |
---|
| 6273 | # It is not useful on other systems. If it contains results you don't |
---|
| 6274 | # want to keep, you may remove or edit it. |
---|
| 6275 | # |
---|
| 6276 | # config.status only pays attention to the cache file if you give it |
---|
| 6277 | # the --recheck option to rerun configure. |
---|
| 6278 | # |
---|
| 6279 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
---|
| 6280 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
---|
| 6281 | # following values. |
---|
| 6282 | |
---|
| 6283 | _ACEOF |
---|
| 6284 | |
---|
| 6285 | # The following way of writing the cache mishandles newlines in values, |
---|
| 6286 | # but we know of no workaround that is simple, portable, and efficient. |
---|
| 6287 | # So, we kill variables containing newlines. |
---|
| 6288 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 6289 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
| 6290 | ( |
---|
| 6291 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
---|
| 6292 | eval ac_val=\$$ac_var |
---|
| 6293 | case $ac_val in #( |
---|
| 6294 | *${as_nl}*) |
---|
| 6295 | case $ac_var in #( |
---|
| 6296 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
---|
| 6297 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
---|
| 6298 | esac |
---|
| 6299 | case $ac_var in #( |
---|
| 6300 | _ | IFS | as_nl) ;; #( |
---|
| 6301 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
---|
| 6302 | *) { eval $ac_var=; unset $ac_var;} ;; |
---|
| 6303 | esac ;; |
---|
| 6304 | esac |
---|
| 6305 | done |
---|
| 6306 | |
---|
| 6307 | (set) 2>&1 | |
---|
| 6308 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
---|
| 6309 | *${as_nl}ac_space=\ *) |
---|
| 6310 | # `set' does not quote correctly, so add quotes: double-quote |
---|
| 6311 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
---|
| 6312 | sed -n \ |
---|
| 6313 | "s/'/'\\\\''/g; |
---|
| 6314 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
---|
| 6315 | ;; #( |
---|
| 6316 | *) |
---|
| 6317 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
| 6318 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
---|
| 6319 | ;; |
---|
| 6320 | esac | |
---|
| 6321 | sort |
---|
| 6322 | ) | |
---|
| 6323 | sed ' |
---|
| 6324 | /^ac_cv_env_/b end |
---|
| 6325 | t clear |
---|
| 6326 | :clear |
---|
| 6327 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
---|
| 6328 | t end |
---|
| 6329 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
---|
| 6330 | :end' >>confcache |
---|
| 6331 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
---|
| 6332 | if test -w "$cache_file"; then |
---|
| 6333 | if test "x$cache_file" != "x/dev/null"; then |
---|
| 6334 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
---|
| 6335 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
---|
| 6336 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
---|
| 6337 | cat confcache >"$cache_file" |
---|
| 6338 | else |
---|
| 6339 | case $cache_file in #( |
---|
| 6340 | */* | ?:*) |
---|
| 6341 | mv -f confcache "$cache_file"$$ && |
---|
| 6342 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
---|
| 6343 | *) |
---|
| 6344 | mv -f confcache "$cache_file" ;; |
---|
| 6345 | esac |
---|
| 6346 | fi |
---|
| 6347 | fi |
---|
| 6348 | else |
---|
| 6349 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
---|
| 6350 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
---|
| 6351 | fi |
---|
| 6352 | fi |
---|
| 6353 | rm -f confcache |
---|
| 6354 | |
---|
| 6355 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 6356 | # Let make expand exec_prefix. |
---|
| 6357 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 6358 | |
---|
| 6359 | DEFS=-DHAVE_CONFIG_H |
---|
| 6360 | |
---|
| 6361 | ac_libobjs= |
---|
| 6362 | ac_ltlibobjs= |
---|
| 6363 | U= |
---|
| 6364 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
---|
| 6365 | # 1. Remove the extension, and $U if already installed. |
---|
| 6366 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
---|
| 6367 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
---|
| 6368 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
---|
| 6369 | # will be set to the directory where LIBOBJS objects are built. |
---|
| 6370 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
---|
| 6371 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
---|
| 6372 | done |
---|
| 6373 | LIBOBJS=$ac_libobjs |
---|
| 6374 | |
---|
| 6375 | LTLIBOBJS=$ac_ltlibobjs |
---|
| 6376 | |
---|
| 6377 | |
---|
[9739] | 6378 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
---|
| 6379 | $as_echo_n "checking that generated files are newer than configure... " >&6; } |
---|
| 6380 | if test -n "$am_sleep_pid"; then |
---|
| 6381 | # Hide warnings about reused PIDs. |
---|
| 6382 | wait $am_sleep_pid 2>/dev/null |
---|
| 6383 | fi |
---|
| 6384 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
---|
| 6385 | $as_echo "done" >&6; } |
---|
[9642] | 6386 | if test -n "$EXEEXT"; then |
---|
| 6387 | am__EXEEXT_TRUE= |
---|
| 6388 | am__EXEEXT_FALSE='#' |
---|
| 6389 | else |
---|
| 6390 | am__EXEEXT_TRUE='#' |
---|
| 6391 | am__EXEEXT_FALSE= |
---|
| 6392 | fi |
---|
| 6393 | |
---|
| 6394 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
---|
| 6395 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
---|
| 6396 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
| 6397 | fi |
---|
| 6398 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
---|
| 6399 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
---|
| 6400 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
| 6401 | fi |
---|
| 6402 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
---|
| 6403 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
---|
| 6404 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
---|
| 6405 | fi |
---|
| 6406 | |
---|
| 6407 | ac_config_commands="$ac_config_commands po/stamp-it" |
---|
| 6408 | |
---|
| 6409 | |
---|
| 6410 | |
---|
| 6411 | : "${CONFIG_STATUS=./config.status}" |
---|
| 6412 | ac_write_fail=0 |
---|
| 6413 | ac_clean_files_save=$ac_clean_files |
---|
| 6414 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
---|
| 6415 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
---|
| 6416 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
---|
| 6417 | as_write_fail=0 |
---|
| 6418 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
---|
| 6419 | #! $SHELL |
---|
| 6420 | # Generated by $as_me. |
---|
| 6421 | # Run this file to recreate the current configuration. |
---|
| 6422 | # Compiler output produced by configure, useful for debugging |
---|
| 6423 | # configure, is in config.log if it exists. |
---|
| 6424 | |
---|
| 6425 | debug=false |
---|
| 6426 | ac_cs_recheck=false |
---|
| 6427 | ac_cs_silent=false |
---|
| 6428 | |
---|
| 6429 | SHELL=\${CONFIG_SHELL-$SHELL} |
---|
| 6430 | export SHELL |
---|
| 6431 | _ASEOF |
---|
| 6432 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
---|
| 6433 | ## -------------------- ## |
---|
| 6434 | ## M4sh Initialization. ## |
---|
| 6435 | ## -------------------- ## |
---|
| 6436 | |
---|
| 6437 | # Be more Bourne compatible |
---|
| 6438 | DUALCASE=1; export DUALCASE # for MKS sh |
---|
| 6439 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
---|
| 6440 | emulate sh |
---|
| 6441 | NULLCMD=: |
---|
| 6442 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
---|
| 6443 | # is contrary to our usage. Disable this feature. |
---|
| 6444 | alias -g '${1+"$@"}'='"$@"' |
---|
| 6445 | setopt NO_GLOB_SUBST |
---|
| 6446 | else |
---|
| 6447 | case `(set -o) 2>/dev/null` in #( |
---|
| 6448 | *posix*) : |
---|
| 6449 | set -o posix ;; #( |
---|
| 6450 | *) : |
---|
| 6451 | ;; |
---|
| 6452 | esac |
---|
| 6453 | fi |
---|
| 6454 | |
---|
| 6455 | |
---|
| 6456 | as_nl=' |
---|
| 6457 | ' |
---|
| 6458 | export as_nl |
---|
| 6459 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
---|
| 6460 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
---|
| 6461 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 6462 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
---|
| 6463 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
---|
| 6464 | # but without wasting forks for bash or zsh. |
---|
| 6465 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
---|
| 6466 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 6467 | as_echo='print -r --' |
---|
| 6468 | as_echo_n='print -rn --' |
---|
| 6469 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
---|
| 6470 | as_echo='printf %s\n' |
---|
| 6471 | as_echo_n='printf %s' |
---|
| 6472 | else |
---|
| 6473 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
---|
| 6474 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
---|
| 6475 | as_echo_n='/usr/ucb/echo -n' |
---|
| 6476 | else |
---|
| 6477 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
---|
| 6478 | as_echo_n_body='eval |
---|
| 6479 | arg=$1; |
---|
| 6480 | case $arg in #( |
---|
| 6481 | *"$as_nl"*) |
---|
| 6482 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
---|
| 6483 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
---|
| 6484 | esac; |
---|
| 6485 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
---|
| 6486 | ' |
---|
| 6487 | export as_echo_n_body |
---|
| 6488 | as_echo_n='sh -c $as_echo_n_body as_echo' |
---|
| 6489 | fi |
---|
| 6490 | export as_echo_body |
---|
| 6491 | as_echo='sh -c $as_echo_body as_echo' |
---|
| 6492 | fi |
---|
| 6493 | |
---|
| 6494 | # The user is always right. |
---|
| 6495 | if test "${PATH_SEPARATOR+set}" != set; then |
---|
| 6496 | PATH_SEPARATOR=: |
---|
| 6497 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
---|
| 6498 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
---|
| 6499 | PATH_SEPARATOR=';' |
---|
| 6500 | } |
---|
| 6501 | fi |
---|
| 6502 | |
---|
| 6503 | |
---|
| 6504 | # IFS |
---|
| 6505 | # We need space, tab and new line, in precisely that order. Quoting is |
---|
| 6506 | # there to prevent editors from complaining about space-tab. |
---|
| 6507 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
---|
| 6508 | # splitting by setting IFS to empty value.) |
---|
| 6509 | IFS=" "" $as_nl" |
---|
| 6510 | |
---|
| 6511 | # Find who we are. Look in the path if we contain no directory separator. |
---|
| 6512 | as_myself= |
---|
| 6513 | case $0 in #(( |
---|
| 6514 | *[\\/]* ) as_myself=$0 ;; |
---|
| 6515 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
---|
| 6516 | for as_dir in $PATH |
---|
| 6517 | do |
---|
| 6518 | IFS=$as_save_IFS |
---|
| 6519 | test -z "$as_dir" && as_dir=. |
---|
| 6520 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
---|
| 6521 | done |
---|
| 6522 | IFS=$as_save_IFS |
---|
| 6523 | |
---|
| 6524 | ;; |
---|
| 6525 | esac |
---|
| 6526 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
---|
| 6527 | # in which case we are not to be found in the path. |
---|
| 6528 | if test "x$as_myself" = x; then |
---|
| 6529 | as_myself=$0 |
---|
| 6530 | fi |
---|
| 6531 | if test ! -f "$as_myself"; then |
---|
| 6532 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
---|
| 6533 | exit 1 |
---|
| 6534 | fi |
---|
| 6535 | |
---|
| 6536 | # Unset variables that we do not need and which cause bugs (e.g. in |
---|
| 6537 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
---|
| 6538 | # suppresses any "Segmentation fault" message there. '((' could |
---|
| 6539 | # trigger a bug in pdksh 5.2.14. |
---|
| 6540 | for as_var in BASH_ENV ENV MAIL MAILPATH |
---|
| 6541 | do eval test x\${$as_var+set} = xset \ |
---|
| 6542 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
---|
| 6543 | done |
---|
| 6544 | PS1='$ ' |
---|
| 6545 | PS2='> ' |
---|
| 6546 | PS4='+ ' |
---|
| 6547 | |
---|
| 6548 | # NLS nuisances. |
---|
| 6549 | LC_ALL=C |
---|
| 6550 | export LC_ALL |
---|
| 6551 | LANGUAGE=C |
---|
| 6552 | export LANGUAGE |
---|
| 6553 | |
---|
| 6554 | # CDPATH. |
---|
| 6555 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
---|
| 6556 | |
---|
| 6557 | |
---|
| 6558 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
---|
| 6559 | # ---------------------------------------- |
---|
| 6560 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
---|
| 6561 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
---|
| 6562 | # script with STATUS, using 1 if that was 0. |
---|
| 6563 | as_fn_error () |
---|
| 6564 | { |
---|
| 6565 | as_status=$1; test $as_status -eq 0 && as_status=1 |
---|
| 6566 | if test "$4"; then |
---|
| 6567 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
---|
| 6568 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
---|
| 6569 | fi |
---|
| 6570 | $as_echo "$as_me: error: $2" >&2 |
---|
| 6571 | as_fn_exit $as_status |
---|
| 6572 | } # as_fn_error |
---|
| 6573 | |
---|
| 6574 | |
---|
| 6575 | # as_fn_set_status STATUS |
---|
| 6576 | # ----------------------- |
---|
| 6577 | # Set $? to STATUS, without forking. |
---|
| 6578 | as_fn_set_status () |
---|
| 6579 | { |
---|
| 6580 | return $1 |
---|
| 6581 | } # as_fn_set_status |
---|
| 6582 | |
---|
| 6583 | # as_fn_exit STATUS |
---|
| 6584 | # ----------------- |
---|
| 6585 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
---|
| 6586 | as_fn_exit () |
---|
| 6587 | { |
---|
| 6588 | set +e |
---|
| 6589 | as_fn_set_status $1 |
---|
| 6590 | exit $1 |
---|
| 6591 | } # as_fn_exit |
---|
| 6592 | |
---|
| 6593 | # as_fn_unset VAR |
---|
| 6594 | # --------------- |
---|
| 6595 | # Portably unset VAR. |
---|
| 6596 | as_fn_unset () |
---|
| 6597 | { |
---|
| 6598 | { eval $1=; unset $1;} |
---|
| 6599 | } |
---|
| 6600 | as_unset=as_fn_unset |
---|
| 6601 | # as_fn_append VAR VALUE |
---|
| 6602 | # ---------------------- |
---|
| 6603 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
---|
| 6604 | # advantage of any shell optimizations that allow amortized linear growth over |
---|
| 6605 | # repeated appends, instead of the typical quadratic growth present in naive |
---|
| 6606 | # implementations. |
---|
| 6607 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
---|
| 6608 | eval 'as_fn_append () |
---|
| 6609 | { |
---|
| 6610 | eval $1+=\$2 |
---|
| 6611 | }' |
---|
| 6612 | else |
---|
| 6613 | as_fn_append () |
---|
| 6614 | { |
---|
| 6615 | eval $1=\$$1\$2 |
---|
| 6616 | } |
---|
| 6617 | fi # as_fn_append |
---|
| 6618 | |
---|
| 6619 | # as_fn_arith ARG... |
---|
| 6620 | # ------------------ |
---|
| 6621 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
---|
| 6622 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
---|
| 6623 | # must be portable across $(()) and expr. |
---|
| 6624 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
---|
| 6625 | eval 'as_fn_arith () |
---|
| 6626 | { |
---|
| 6627 | as_val=$(( $* )) |
---|
| 6628 | }' |
---|
| 6629 | else |
---|
| 6630 | as_fn_arith () |
---|
| 6631 | { |
---|
| 6632 | as_val=`expr "$@" || test $? -eq 1` |
---|
| 6633 | } |
---|
| 6634 | fi # as_fn_arith |
---|
| 6635 | |
---|
| 6636 | |
---|
| 6637 | if expr a : '\(a\)' >/dev/null 2>&1 && |
---|
| 6638 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
---|
| 6639 | as_expr=expr |
---|
| 6640 | else |
---|
| 6641 | as_expr=false |
---|
| 6642 | fi |
---|
| 6643 | |
---|
| 6644 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
---|
| 6645 | as_basename=basename |
---|
| 6646 | else |
---|
| 6647 | as_basename=false |
---|
| 6648 | fi |
---|
| 6649 | |
---|
| 6650 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
---|
| 6651 | as_dirname=dirname |
---|
| 6652 | else |
---|
| 6653 | as_dirname=false |
---|
| 6654 | fi |
---|
| 6655 | |
---|
| 6656 | as_me=`$as_basename -- "$0" || |
---|
| 6657 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
---|
| 6658 | X"$0" : 'X\(//\)$' \| \ |
---|
| 6659 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 6660 | $as_echo X/"$0" | |
---|
| 6661 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
---|
| 6662 | s//\1/ |
---|
| 6663 | q |
---|
| 6664 | } |
---|
| 6665 | /^X\/\(\/\/\)$/{ |
---|
| 6666 | s//\1/ |
---|
| 6667 | q |
---|
| 6668 | } |
---|
| 6669 | /^X\/\(\/\).*/{ |
---|
| 6670 | s//\1/ |
---|
| 6671 | q |
---|
| 6672 | } |
---|
| 6673 | s/.*/./; q'` |
---|
| 6674 | |
---|
| 6675 | # Avoid depending upon Character Ranges. |
---|
| 6676 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
---|
| 6677 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
---|
| 6678 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
---|
| 6679 | as_cr_digits='0123456789' |
---|
| 6680 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
---|
| 6681 | |
---|
| 6682 | ECHO_C= ECHO_N= ECHO_T= |
---|
| 6683 | case `echo -n x` in #((((( |
---|
| 6684 | -n*) |
---|
| 6685 | case `echo 'xy\c'` in |
---|
| 6686 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
---|
| 6687 | xy) ECHO_C='\c';; |
---|
| 6688 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
---|
| 6689 | ECHO_T=' ';; |
---|
| 6690 | esac;; |
---|
| 6691 | *) |
---|
| 6692 | ECHO_N='-n';; |
---|
| 6693 | esac |
---|
| 6694 | |
---|
| 6695 | rm -f conf$$ conf$$.exe conf$$.file |
---|
| 6696 | if test -d conf$$.dir; then |
---|
| 6697 | rm -f conf$$.dir/conf$$.file |
---|
| 6698 | else |
---|
| 6699 | rm -f conf$$.dir |
---|
| 6700 | mkdir conf$$.dir 2>/dev/null |
---|
| 6701 | fi |
---|
| 6702 | if (echo >conf$$.file) 2>/dev/null; then |
---|
| 6703 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
---|
| 6704 | as_ln_s='ln -s' |
---|
| 6705 | # ... but there are two gotchas: |
---|
| 6706 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
---|
| 6707 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
---|
[9739] | 6708 | # In both cases, we have to default to `cp -pR'. |
---|
[9642] | 6709 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
---|
[9739] | 6710 | as_ln_s='cp -pR' |
---|
[9642] | 6711 | elif ln conf$$.file conf$$ 2>/dev/null; then |
---|
| 6712 | as_ln_s=ln |
---|
| 6713 | else |
---|
[9739] | 6714 | as_ln_s='cp -pR' |
---|
[9642] | 6715 | fi |
---|
| 6716 | else |
---|
[9739] | 6717 | as_ln_s='cp -pR' |
---|
[9642] | 6718 | fi |
---|
| 6719 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
---|
| 6720 | rmdir conf$$.dir 2>/dev/null |
---|
| 6721 | |
---|
| 6722 | |
---|
| 6723 | # as_fn_mkdir_p |
---|
| 6724 | # ------------- |
---|
| 6725 | # Create "$as_dir" as a directory, including parents if necessary. |
---|
| 6726 | as_fn_mkdir_p () |
---|
| 6727 | { |
---|
| 6728 | |
---|
| 6729 | case $as_dir in #( |
---|
| 6730 | -*) as_dir=./$as_dir;; |
---|
| 6731 | esac |
---|
| 6732 | test -d "$as_dir" || eval $as_mkdir_p || { |
---|
| 6733 | as_dirs= |
---|
| 6734 | while :; do |
---|
| 6735 | case $as_dir in #( |
---|
| 6736 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
---|
| 6737 | *) as_qdir=$as_dir;; |
---|
| 6738 | esac |
---|
| 6739 | as_dirs="'$as_qdir' $as_dirs" |
---|
| 6740 | as_dir=`$as_dirname -- "$as_dir" || |
---|
| 6741 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 6742 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
---|
| 6743 | X"$as_dir" : 'X\(//\)$' \| \ |
---|
| 6744 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 6745 | $as_echo X"$as_dir" | |
---|
| 6746 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 6747 | s//\1/ |
---|
| 6748 | q |
---|
| 6749 | } |
---|
| 6750 | /^X\(\/\/\)[^/].*/{ |
---|
| 6751 | s//\1/ |
---|
| 6752 | q |
---|
| 6753 | } |
---|
| 6754 | /^X\(\/\/\)$/{ |
---|
| 6755 | s//\1/ |
---|
| 6756 | q |
---|
| 6757 | } |
---|
| 6758 | /^X\(\/\).*/{ |
---|
| 6759 | s//\1/ |
---|
| 6760 | q |
---|
| 6761 | } |
---|
| 6762 | s/.*/./; q'` |
---|
| 6763 | test -d "$as_dir" && break |
---|
| 6764 | done |
---|
| 6765 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
---|
| 6766 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
---|
| 6767 | |
---|
| 6768 | |
---|
| 6769 | } # as_fn_mkdir_p |
---|
| 6770 | if mkdir -p . 2>/dev/null; then |
---|
| 6771 | as_mkdir_p='mkdir -p "$as_dir"' |
---|
| 6772 | else |
---|
| 6773 | test -d ./-p && rmdir ./-p |
---|
| 6774 | as_mkdir_p=false |
---|
| 6775 | fi |
---|
| 6776 | |
---|
| 6777 | |
---|
[9739] | 6778 | # as_fn_executable_p FILE |
---|
| 6779 | # ----------------------- |
---|
| 6780 | # Test if FILE is an executable regular file. |
---|
| 6781 | as_fn_executable_p () |
---|
| 6782 | { |
---|
| 6783 | test -f "$1" && test -x "$1" |
---|
| 6784 | } # as_fn_executable_p |
---|
| 6785 | as_test_x='test -x' |
---|
| 6786 | as_executable_p=as_fn_executable_p |
---|
| 6787 | |
---|
[9642] | 6788 | # Sed expression to map a string onto a valid CPP name. |
---|
| 6789 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 6790 | |
---|
| 6791 | # Sed expression to map a string onto a valid variable name. |
---|
| 6792 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
---|
| 6793 | |
---|
| 6794 | |
---|
| 6795 | exec 6>&1 |
---|
| 6796 | ## ----------------------------------- ## |
---|
| 6797 | ## Main body of $CONFIG_STATUS script. ## |
---|
| 6798 | ## ----------------------------------- ## |
---|
| 6799 | _ASEOF |
---|
| 6800 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
---|
| 6801 | |
---|
| 6802 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6803 | # Save the log message, to keep $0 and so on meaningful, and to |
---|
| 6804 | # report actual input values of CONFIG_FILES etc. instead of their |
---|
| 6805 | # values after options handling. |
---|
| 6806 | ac_log=" |
---|
[9739] | 6807 | This file was extended by vine-notify-update $as_me 0.9.0, which was |
---|
| 6808 | generated by GNU Autoconf 2.69. Invocation command line was |
---|
[9642] | 6809 | |
---|
| 6810 | CONFIG_FILES = $CONFIG_FILES |
---|
| 6811 | CONFIG_HEADERS = $CONFIG_HEADERS |
---|
| 6812 | CONFIG_LINKS = $CONFIG_LINKS |
---|
| 6813 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
---|
| 6814 | $ $0 $@ |
---|
| 6815 | |
---|
| 6816 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
---|
| 6817 | " |
---|
| 6818 | |
---|
| 6819 | _ACEOF |
---|
| 6820 | |
---|
| 6821 | case $ac_config_files in *" |
---|
| 6822 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
---|
| 6823 | esac |
---|
| 6824 | |
---|
| 6825 | case $ac_config_headers in *" |
---|
| 6826 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
---|
| 6827 | esac |
---|
| 6828 | |
---|
| 6829 | |
---|
| 6830 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 6831 | # Files that config.status was made for. |
---|
| 6832 | config_files="$ac_config_files" |
---|
| 6833 | config_headers="$ac_config_headers" |
---|
| 6834 | config_commands="$ac_config_commands" |
---|
| 6835 | |
---|
| 6836 | _ACEOF |
---|
| 6837 | |
---|
| 6838 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6839 | ac_cs_usage="\ |
---|
| 6840 | \`$as_me' instantiates files and other configuration actions |
---|
| 6841 | from templates according to the current configuration. Unless the files |
---|
| 6842 | and actions are specified as TAGs, all are instantiated by default. |
---|
| 6843 | |
---|
| 6844 | Usage: $0 [OPTION]... [TAG]... |
---|
| 6845 | |
---|
| 6846 | -h, --help print this help, then exit |
---|
| 6847 | -V, --version print version number and configuration settings, then exit |
---|
| 6848 | --config print configuration, then exit |
---|
| 6849 | -q, --quiet, --silent |
---|
| 6850 | do not print progress messages |
---|
| 6851 | -d, --debug don't remove temporary files |
---|
| 6852 | --recheck update $as_me by reconfiguring in the same conditions |
---|
| 6853 | --file=FILE[:TEMPLATE] |
---|
| 6854 | instantiate the configuration file FILE |
---|
| 6855 | --header=FILE[:TEMPLATE] |
---|
| 6856 | instantiate the configuration header FILE |
---|
| 6857 | |
---|
| 6858 | Configuration files: |
---|
| 6859 | $config_files |
---|
| 6860 | |
---|
| 6861 | Configuration headers: |
---|
| 6862 | $config_headers |
---|
| 6863 | |
---|
| 6864 | Configuration commands: |
---|
| 6865 | $config_commands |
---|
| 6866 | |
---|
| 6867 | Report bugs to the package provider." |
---|
| 6868 | |
---|
| 6869 | _ACEOF |
---|
| 6870 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 6871 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
---|
| 6872 | ac_cs_version="\\ |
---|
[9739] | 6873 | vine-notify-update config.status 0.9.0 |
---|
| 6874 | configured by $0, generated by GNU Autoconf 2.69, |
---|
[9642] | 6875 | with options \\"\$ac_cs_config\\" |
---|
| 6876 | |
---|
[9739] | 6877 | Copyright (C) 2012 Free Software Foundation, Inc. |
---|
[9642] | 6878 | This config.status script is free software; the Free Software Foundation |
---|
| 6879 | gives unlimited permission to copy, distribute and modify it." |
---|
| 6880 | |
---|
| 6881 | ac_pwd='$ac_pwd' |
---|
| 6882 | srcdir='$srcdir' |
---|
| 6883 | INSTALL='$INSTALL' |
---|
| 6884 | MKDIR_P='$MKDIR_P' |
---|
| 6885 | AWK='$AWK' |
---|
| 6886 | test -n "\$AWK" || AWK=awk |
---|
| 6887 | _ACEOF |
---|
| 6888 | |
---|
| 6889 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6890 | # The default lists apply if the user does not specify any file. |
---|
| 6891 | ac_need_defaults=: |
---|
| 6892 | while test $# != 0 |
---|
| 6893 | do |
---|
| 6894 | case $1 in |
---|
| 6895 | --*=?*) |
---|
| 6896 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 6897 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
---|
| 6898 | ac_shift=: |
---|
| 6899 | ;; |
---|
| 6900 | --*=) |
---|
| 6901 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
---|
| 6902 | ac_optarg= |
---|
| 6903 | ac_shift=: |
---|
| 6904 | ;; |
---|
| 6905 | *) |
---|
| 6906 | ac_option=$1 |
---|
| 6907 | ac_optarg=$2 |
---|
| 6908 | ac_shift=shift |
---|
| 6909 | ;; |
---|
| 6910 | esac |
---|
| 6911 | |
---|
| 6912 | case $ac_option in |
---|
| 6913 | # Handling of the options. |
---|
| 6914 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 6915 | ac_cs_recheck=: ;; |
---|
| 6916 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
---|
| 6917 | $as_echo "$ac_cs_version"; exit ;; |
---|
| 6918 | --config | --confi | --conf | --con | --co | --c ) |
---|
| 6919 | $as_echo "$ac_cs_config"; exit ;; |
---|
| 6920 | --debug | --debu | --deb | --de | --d | -d ) |
---|
| 6921 | debug=: ;; |
---|
| 6922 | --file | --fil | --fi | --f ) |
---|
| 6923 | $ac_shift |
---|
| 6924 | case $ac_optarg in |
---|
| 6925 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 6926 | '') as_fn_error $? "missing file argument" ;; |
---|
| 6927 | esac |
---|
| 6928 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
---|
| 6929 | ac_need_defaults=false;; |
---|
| 6930 | --header | --heade | --head | --hea ) |
---|
| 6931 | $ac_shift |
---|
| 6932 | case $ac_optarg in |
---|
| 6933 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
---|
| 6934 | esac |
---|
| 6935 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
---|
| 6936 | ac_need_defaults=false;; |
---|
| 6937 | --he | --h) |
---|
| 6938 | # Conflict between --help and --header |
---|
| 6939 | as_fn_error $? "ambiguous option: \`$1' |
---|
| 6940 | Try \`$0 --help' for more information.";; |
---|
| 6941 | --help | --hel | -h ) |
---|
| 6942 | $as_echo "$ac_cs_usage"; exit ;; |
---|
| 6943 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 6944 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
---|
| 6945 | ac_cs_silent=: ;; |
---|
| 6946 | |
---|
| 6947 | # This is an error. |
---|
| 6948 | -*) as_fn_error $? "unrecognized option: \`$1' |
---|
| 6949 | Try \`$0 --help' for more information." ;; |
---|
| 6950 | |
---|
| 6951 | *) as_fn_append ac_config_targets " $1" |
---|
| 6952 | ac_need_defaults=false ;; |
---|
| 6953 | |
---|
| 6954 | esac |
---|
| 6955 | shift |
---|
| 6956 | done |
---|
| 6957 | |
---|
| 6958 | ac_configure_extra_args= |
---|
| 6959 | |
---|
| 6960 | if $ac_cs_silent; then |
---|
| 6961 | exec 6>/dev/null |
---|
| 6962 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
---|
| 6963 | fi |
---|
| 6964 | |
---|
| 6965 | _ACEOF |
---|
| 6966 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 6967 | if \$ac_cs_recheck; then |
---|
[9739] | 6968 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
---|
[9642] | 6969 | shift |
---|
| 6970 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
---|
| 6971 | CONFIG_SHELL='$SHELL' |
---|
| 6972 | export CONFIG_SHELL |
---|
| 6973 | exec "\$@" |
---|
| 6974 | fi |
---|
| 6975 | |
---|
| 6976 | _ACEOF |
---|
| 6977 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6978 | exec 5>>config.log |
---|
| 6979 | { |
---|
| 6980 | echo |
---|
| 6981 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
---|
| 6982 | ## Running $as_me. ## |
---|
| 6983 | _ASBOX |
---|
| 6984 | $as_echo "$ac_log" |
---|
| 6985 | } >&5 |
---|
| 6986 | |
---|
| 6987 | _ACEOF |
---|
| 6988 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 6989 | # |
---|
| 6990 | # INIT-COMMANDS |
---|
| 6991 | # |
---|
| 6992 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
---|
| 6993 | |
---|
| 6994 | |
---|
| 6995 | _ACEOF |
---|
| 6996 | |
---|
| 6997 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 6998 | |
---|
| 6999 | # Handling of arguments. |
---|
| 7000 | for ac_config_target in $ac_config_targets |
---|
| 7001 | do |
---|
| 7002 | case $ac_config_target in |
---|
| 7003 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
---|
| 7004 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
---|
| 7005 | "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; |
---|
| 7006 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
---|
| 7007 | "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; |
---|
| 7008 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
---|
| 7009 | "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; |
---|
| 7010 | "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; |
---|
| 7011 | |
---|
| 7012 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
---|
| 7013 | esac |
---|
| 7014 | done |
---|
| 7015 | |
---|
| 7016 | |
---|
| 7017 | # If the user did not use the arguments to specify the items to instantiate, |
---|
| 7018 | # then the envvar interface is used. Set only those that are not. |
---|
| 7019 | # We use the long form for the default assignment because of an extremely |
---|
| 7020 | # bizarre bug on SunOS 4.1.3. |
---|
| 7021 | if $ac_need_defaults; then |
---|
| 7022 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
---|
| 7023 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
---|
| 7024 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
---|
| 7025 | fi |
---|
| 7026 | |
---|
| 7027 | # Have a temporary directory for convenience. Make it in the build tree |
---|
| 7028 | # simply because there is no reason against having it here, and in addition, |
---|
| 7029 | # creating and moving files from /tmp can sometimes cause problems. |
---|
| 7030 | # Hook for its removal unless debugging. |
---|
| 7031 | # Note that there is a small window in which the directory will not be cleaned: |
---|
| 7032 | # after its creation but before its name has been assigned to `$tmp'. |
---|
| 7033 | $debug || |
---|
| 7034 | { |
---|
| 7035 | tmp= ac_tmp= |
---|
| 7036 | trap 'exit_status=$? |
---|
| 7037 | : "${ac_tmp:=$tmp}" |
---|
| 7038 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
---|
| 7039 | ' 0 |
---|
| 7040 | trap 'as_fn_exit 1' 1 2 13 15 |
---|
| 7041 | } |
---|
| 7042 | # Create a (secure) tmp directory for tmp files. |
---|
| 7043 | |
---|
| 7044 | { |
---|
| 7045 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
---|
| 7046 | test -d "$tmp" |
---|
| 7047 | } || |
---|
| 7048 | { |
---|
| 7049 | tmp=./conf$$-$RANDOM |
---|
| 7050 | (umask 077 && mkdir "$tmp") |
---|
| 7051 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
---|
| 7052 | ac_tmp=$tmp |
---|
| 7053 | |
---|
| 7054 | # Set up the scripts for CONFIG_FILES section. |
---|
| 7055 | # No need to generate them if there are no CONFIG_FILES. |
---|
| 7056 | # This happens for instance with `./config.status config.h'. |
---|
| 7057 | if test -n "$CONFIG_FILES"; then |
---|
| 7058 | |
---|
| 7059 | |
---|
| 7060 | ac_cr=`echo X | tr X '\015'` |
---|
| 7061 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
---|
| 7062 | # But we know of no other shell where ac_cr would be empty at this |
---|
| 7063 | # point, so we can use a bashism as a fallback. |
---|
| 7064 | if test "x$ac_cr" = x; then |
---|
| 7065 | eval ac_cr=\$\'\\r\' |
---|
| 7066 | fi |
---|
| 7067 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
---|
| 7068 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
---|
| 7069 | ac_cs_awk_cr='\\r' |
---|
| 7070 | else |
---|
| 7071 | ac_cs_awk_cr=$ac_cr |
---|
| 7072 | fi |
---|
| 7073 | |
---|
| 7074 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
---|
| 7075 | _ACEOF |
---|
| 7076 | |
---|
| 7077 | |
---|
| 7078 | { |
---|
| 7079 | echo "cat >conf$$subs.awk <<_ACEOF" && |
---|
| 7080 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
---|
| 7081 | echo "_ACEOF" |
---|
| 7082 | } >conf$$subs.sh || |
---|
| 7083 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 7084 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
---|
| 7085 | ac_delim='%!_!# ' |
---|
| 7086 | for ac_last_try in false false false false false :; do |
---|
| 7087 | . ./conf$$subs.sh || |
---|
| 7088 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 7089 | |
---|
| 7090 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
---|
| 7091 | if test $ac_delim_n = $ac_delim_num; then |
---|
| 7092 | break |
---|
| 7093 | elif $ac_last_try; then |
---|
| 7094 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
---|
| 7095 | else |
---|
| 7096 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
| 7097 | fi |
---|
| 7098 | done |
---|
| 7099 | rm -f conf$$subs.sh |
---|
| 7100 | |
---|
| 7101 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 7102 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
---|
| 7103 | _ACEOF |
---|
| 7104 | sed -n ' |
---|
| 7105 | h |
---|
| 7106 | s/^/S["/; s/!.*/"]=/ |
---|
| 7107 | p |
---|
| 7108 | g |
---|
| 7109 | s/^[^!]*!// |
---|
| 7110 | :repl |
---|
| 7111 | t repl |
---|
| 7112 | s/'"$ac_delim"'$// |
---|
| 7113 | t delim |
---|
| 7114 | :nl |
---|
| 7115 | h |
---|
| 7116 | s/\(.\{148\}\)..*/\1/ |
---|
| 7117 | t more1 |
---|
| 7118 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
---|
| 7119 | p |
---|
| 7120 | n |
---|
| 7121 | b repl |
---|
| 7122 | :more1 |
---|
| 7123 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
| 7124 | p |
---|
| 7125 | g |
---|
| 7126 | s/.\{148\}// |
---|
| 7127 | t nl |
---|
| 7128 | :delim |
---|
| 7129 | h |
---|
| 7130 | s/\(.\{148\}\)..*/\1/ |
---|
| 7131 | t more2 |
---|
| 7132 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
---|
| 7133 | p |
---|
| 7134 | b |
---|
| 7135 | :more2 |
---|
| 7136 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
---|
| 7137 | p |
---|
| 7138 | g |
---|
| 7139 | s/.\{148\}// |
---|
| 7140 | t delim |
---|
| 7141 | ' <conf$$subs.awk | sed ' |
---|
| 7142 | /^[^""]/{ |
---|
| 7143 | N |
---|
| 7144 | s/\n// |
---|
| 7145 | } |
---|
| 7146 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
| 7147 | rm -f conf$$subs.awk |
---|
| 7148 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 7149 | _ACAWK |
---|
| 7150 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
---|
| 7151 | for (key in S) S_is_set[key] = 1 |
---|
| 7152 | FS = "" |
---|
| 7153 | |
---|
| 7154 | } |
---|
| 7155 | { |
---|
| 7156 | line = $ 0 |
---|
| 7157 | nfields = split(line, field, "@") |
---|
| 7158 | substed = 0 |
---|
| 7159 | len = length(field[1]) |
---|
| 7160 | for (i = 2; i < nfields; i++) { |
---|
| 7161 | key = field[i] |
---|
| 7162 | keylen = length(key) |
---|
| 7163 | if (S_is_set[key]) { |
---|
| 7164 | value = S[key] |
---|
| 7165 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
---|
| 7166 | len += length(value) + length(field[++i]) |
---|
| 7167 | substed = 1 |
---|
| 7168 | } else |
---|
| 7169 | len += 1 + keylen |
---|
| 7170 | } |
---|
| 7171 | |
---|
| 7172 | print line |
---|
| 7173 | } |
---|
| 7174 | |
---|
| 7175 | _ACAWK |
---|
| 7176 | _ACEOF |
---|
| 7177 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 7178 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
---|
| 7179 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
---|
| 7180 | else |
---|
| 7181 | cat |
---|
| 7182 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
---|
| 7183 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
---|
| 7184 | _ACEOF |
---|
| 7185 | |
---|
| 7186 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
---|
| 7187 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
---|
| 7188 | # trailing colons and then remove the whole line if VPATH becomes empty |
---|
| 7189 | # (actually we leave an empty line to preserve line numbers). |
---|
| 7190 | if test "x$srcdir" = x.; then |
---|
| 7191 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
---|
| 7192 | h |
---|
| 7193 | s/// |
---|
| 7194 | s/^/:/ |
---|
| 7195 | s/[ ]*$/:/ |
---|
| 7196 | s/:\$(srcdir):/:/g |
---|
| 7197 | s/:\${srcdir}:/:/g |
---|
| 7198 | s/:@srcdir@:/:/g |
---|
| 7199 | s/^:*// |
---|
| 7200 | s/:*$// |
---|
| 7201 | x |
---|
| 7202 | s/\(=[ ]*\).*/\1/ |
---|
| 7203 | G |
---|
| 7204 | s/\n// |
---|
| 7205 | s/^[^=]*=[ ]*$// |
---|
| 7206 | }' |
---|
| 7207 | fi |
---|
| 7208 | |
---|
| 7209 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 7210 | fi # test -n "$CONFIG_FILES" |
---|
| 7211 | |
---|
| 7212 | # Set up the scripts for CONFIG_HEADERS section. |
---|
| 7213 | # No need to generate them if there are no CONFIG_HEADERS. |
---|
| 7214 | # This happens for instance with `./config.status Makefile'. |
---|
| 7215 | if test -n "$CONFIG_HEADERS"; then |
---|
| 7216 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
---|
| 7217 | BEGIN { |
---|
| 7218 | _ACEOF |
---|
| 7219 | |
---|
| 7220 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
---|
| 7221 | # here-document in config.status, that substitutes the proper values into |
---|
| 7222 | # config.h.in to produce config.h. |
---|
| 7223 | |
---|
| 7224 | # Create a delimiter string that does not exist in confdefs.h, to ease |
---|
| 7225 | # handling of long lines. |
---|
| 7226 | ac_delim='%!_!# ' |
---|
| 7227 | for ac_last_try in false false :; do |
---|
| 7228 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
---|
| 7229 | if test -z "$ac_tt"; then |
---|
| 7230 | break |
---|
| 7231 | elif $ac_last_try; then |
---|
| 7232 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
---|
| 7233 | else |
---|
| 7234 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
---|
| 7235 | fi |
---|
| 7236 | done |
---|
| 7237 | |
---|
| 7238 | # For the awk script, D is an array of macro values keyed by name, |
---|
| 7239 | # likewise P contains macro parameters if any. Preserve backslash |
---|
| 7240 | # newline sequences. |
---|
| 7241 | |
---|
| 7242 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
---|
| 7243 | sed -n ' |
---|
| 7244 | s/.\{148\}/&'"$ac_delim"'/g |
---|
| 7245 | t rset |
---|
| 7246 | :rset |
---|
| 7247 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
---|
| 7248 | t def |
---|
| 7249 | d |
---|
| 7250 | :def |
---|
| 7251 | s/\\$// |
---|
| 7252 | t bsnl |
---|
| 7253 | s/["\\]/\\&/g |
---|
| 7254 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
| 7255 | D["\1"]=" \3"/p |
---|
| 7256 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
---|
| 7257 | d |
---|
| 7258 | :bsnl |
---|
| 7259 | s/["\\]/\\&/g |
---|
| 7260 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
---|
| 7261 | D["\1"]=" \3\\\\\\n"\\/p |
---|
| 7262 | t cont |
---|
| 7263 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
---|
| 7264 | t cont |
---|
| 7265 | d |
---|
| 7266 | :cont |
---|
| 7267 | n |
---|
| 7268 | s/.\{148\}/&'"$ac_delim"'/g |
---|
| 7269 | t clear |
---|
| 7270 | :clear |
---|
| 7271 | s/\\$// |
---|
| 7272 | t bsnlc |
---|
| 7273 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
---|
| 7274 | d |
---|
| 7275 | :bsnlc |
---|
| 7276 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
---|
| 7277 | b cont |
---|
| 7278 | ' <confdefs.h | sed ' |
---|
| 7279 | s/'"$ac_delim"'/"\\\ |
---|
| 7280 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
---|
| 7281 | |
---|
| 7282 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 7283 | for (key in D) D_is_set[key] = 1 |
---|
| 7284 | FS = "" |
---|
| 7285 | } |
---|
| 7286 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
---|
| 7287 | line = \$ 0 |
---|
| 7288 | split(line, arg, " ") |
---|
| 7289 | if (arg[1] == "#") { |
---|
| 7290 | defundef = arg[2] |
---|
| 7291 | mac1 = arg[3] |
---|
| 7292 | } else { |
---|
| 7293 | defundef = substr(arg[1], 2) |
---|
| 7294 | mac1 = arg[2] |
---|
| 7295 | } |
---|
| 7296 | split(mac1, mac2, "(") #) |
---|
| 7297 | macro = mac2[1] |
---|
| 7298 | prefix = substr(line, 1, index(line, defundef) - 1) |
---|
| 7299 | if (D_is_set[macro]) { |
---|
| 7300 | # Preserve the white space surrounding the "#". |
---|
| 7301 | print prefix "define", macro P[macro] D[macro] |
---|
| 7302 | next |
---|
| 7303 | } else { |
---|
| 7304 | # Replace #undef with comments. This is necessary, for example, |
---|
| 7305 | # in the case of _POSIX_SOURCE, which is predefined and required |
---|
| 7306 | # on some systems where configure will not decide to define it. |
---|
| 7307 | if (defundef == "undef") { |
---|
| 7308 | print "/*", prefix defundef, macro, "*/" |
---|
| 7309 | next |
---|
| 7310 | } |
---|
| 7311 | } |
---|
| 7312 | } |
---|
| 7313 | { print } |
---|
| 7314 | _ACAWK |
---|
| 7315 | _ACEOF |
---|
| 7316 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 7317 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
---|
| 7318 | fi # test -n "$CONFIG_HEADERS" |
---|
| 7319 | |
---|
| 7320 | |
---|
| 7321 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
---|
| 7322 | shift |
---|
| 7323 | for ac_tag |
---|
| 7324 | do |
---|
| 7325 | case $ac_tag in |
---|
| 7326 | :[FHLC]) ac_mode=$ac_tag; continue;; |
---|
| 7327 | esac |
---|
| 7328 | case $ac_mode$ac_tag in |
---|
| 7329 | :[FHL]*:*);; |
---|
| 7330 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
---|
| 7331 | :[FH]-) ac_tag=-:-;; |
---|
| 7332 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
---|
| 7333 | esac |
---|
| 7334 | ac_save_IFS=$IFS |
---|
| 7335 | IFS=: |
---|
| 7336 | set x $ac_tag |
---|
| 7337 | IFS=$ac_save_IFS |
---|
| 7338 | shift |
---|
| 7339 | ac_file=$1 |
---|
| 7340 | shift |
---|
| 7341 | |
---|
| 7342 | case $ac_mode in |
---|
| 7343 | :L) ac_source=$1;; |
---|
| 7344 | :[FH]) |
---|
| 7345 | ac_file_inputs= |
---|
| 7346 | for ac_f |
---|
| 7347 | do |
---|
| 7348 | case $ac_f in |
---|
| 7349 | -) ac_f="$ac_tmp/stdin";; |
---|
| 7350 | *) # Look for the file first in the build tree, then in the source tree |
---|
| 7351 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
---|
| 7352 | # because $ac_f cannot contain `:'. |
---|
| 7353 | test -f "$ac_f" || |
---|
| 7354 | case $ac_f in |
---|
| 7355 | [\\/$]*) false;; |
---|
| 7356 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
---|
| 7357 | esac || |
---|
| 7358 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
---|
| 7359 | esac |
---|
| 7360 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
---|
| 7361 | as_fn_append ac_file_inputs " '$ac_f'" |
---|
| 7362 | done |
---|
| 7363 | |
---|
| 7364 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
---|
| 7365 | # use $as_me), people would be surprised to read: |
---|
| 7366 | # /* config.h. Generated by config.status. */ |
---|
| 7367 | configure_input='Generated from '` |
---|
| 7368 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
---|
| 7369 | `' by configure.' |
---|
| 7370 | if test x"$ac_file" != x-; then |
---|
| 7371 | configure_input="$ac_file. $configure_input" |
---|
| 7372 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
---|
| 7373 | $as_echo "$as_me: creating $ac_file" >&6;} |
---|
| 7374 | fi |
---|
| 7375 | # Neutralize special characters interpreted by sed in replacement strings. |
---|
| 7376 | case $configure_input in #( |
---|
| 7377 | *\&* | *\|* | *\\* ) |
---|
| 7378 | ac_sed_conf_input=`$as_echo "$configure_input" | |
---|
| 7379 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
---|
| 7380 | *) ac_sed_conf_input=$configure_input;; |
---|
| 7381 | esac |
---|
| 7382 | |
---|
| 7383 | case $ac_tag in |
---|
| 7384 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
---|
| 7385 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
---|
| 7386 | esac |
---|
| 7387 | ;; |
---|
| 7388 | esac |
---|
| 7389 | |
---|
| 7390 | ac_dir=`$as_dirname -- "$ac_file" || |
---|
| 7391 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 7392 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
---|
| 7393 | X"$ac_file" : 'X\(//\)$' \| \ |
---|
| 7394 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 7395 | $as_echo X"$ac_file" | |
---|
| 7396 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 7397 | s//\1/ |
---|
| 7398 | q |
---|
| 7399 | } |
---|
| 7400 | /^X\(\/\/\)[^/].*/{ |
---|
| 7401 | s//\1/ |
---|
| 7402 | q |
---|
| 7403 | } |
---|
| 7404 | /^X\(\/\/\)$/{ |
---|
| 7405 | s//\1/ |
---|
| 7406 | q |
---|
| 7407 | } |
---|
| 7408 | /^X\(\/\).*/{ |
---|
| 7409 | s//\1/ |
---|
| 7410 | q |
---|
| 7411 | } |
---|
| 7412 | s/.*/./; q'` |
---|
| 7413 | as_dir="$ac_dir"; as_fn_mkdir_p |
---|
| 7414 | ac_builddir=. |
---|
| 7415 | |
---|
| 7416 | case "$ac_dir" in |
---|
| 7417 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 7418 | *) |
---|
| 7419 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
---|
| 7420 | # A ".." for each directory in $ac_dir_suffix. |
---|
| 7421 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
---|
| 7422 | case $ac_top_builddir_sub in |
---|
| 7423 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
---|
| 7424 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
---|
| 7425 | esac ;; |
---|
| 7426 | esac |
---|
| 7427 | ac_abs_top_builddir=$ac_pwd |
---|
| 7428 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
---|
| 7429 | # for backward compatibility: |
---|
| 7430 | ac_top_builddir=$ac_top_build_prefix |
---|
| 7431 | |
---|
| 7432 | case $srcdir in |
---|
| 7433 | .) # We are building in place. |
---|
| 7434 | ac_srcdir=. |
---|
| 7435 | ac_top_srcdir=$ac_top_builddir_sub |
---|
| 7436 | ac_abs_top_srcdir=$ac_pwd ;; |
---|
| 7437 | [\\/]* | ?:[\\/]* ) # Absolute name. |
---|
| 7438 | ac_srcdir=$srcdir$ac_dir_suffix; |
---|
| 7439 | ac_top_srcdir=$srcdir |
---|
| 7440 | ac_abs_top_srcdir=$srcdir ;; |
---|
| 7441 | *) # Relative name. |
---|
| 7442 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
---|
| 7443 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
---|
| 7444 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
---|
| 7445 | esac |
---|
| 7446 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
---|
| 7447 | |
---|
| 7448 | |
---|
| 7449 | case $ac_mode in |
---|
| 7450 | :F) |
---|
| 7451 | # |
---|
| 7452 | # CONFIG_FILE |
---|
| 7453 | # |
---|
| 7454 | |
---|
| 7455 | case $INSTALL in |
---|
| 7456 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
---|
| 7457 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
---|
| 7458 | esac |
---|
| 7459 | ac_MKDIR_P=$MKDIR_P |
---|
| 7460 | case $MKDIR_P in |
---|
| 7461 | [\\/$]* | ?:[\\/]* ) ;; |
---|
| 7462 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
---|
| 7463 | esac |
---|
| 7464 | _ACEOF |
---|
| 7465 | |
---|
| 7466 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 7467 | # If the template does not know about datarootdir, expand it. |
---|
| 7468 | # FIXME: This hack should be removed a few years after 2.60. |
---|
| 7469 | ac_datarootdir_hack=; ac_datarootdir_seen= |
---|
| 7470 | ac_sed_dataroot=' |
---|
| 7471 | /datarootdir/ { |
---|
| 7472 | p |
---|
| 7473 | q |
---|
| 7474 | } |
---|
| 7475 | /@datadir@/p |
---|
| 7476 | /@docdir@/p |
---|
| 7477 | /@infodir@/p |
---|
| 7478 | /@localedir@/p |
---|
| 7479 | /@mandir@/p' |
---|
| 7480 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
---|
| 7481 | *datarootdir*) ac_datarootdir_seen=yes;; |
---|
| 7482 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
---|
| 7483 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
---|
| 7484 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
---|
| 7485 | _ACEOF |
---|
| 7486 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 7487 | ac_datarootdir_hack=' |
---|
| 7488 | s&@datadir@&$datadir&g |
---|
| 7489 | s&@docdir@&$docdir&g |
---|
| 7490 | s&@infodir@&$infodir&g |
---|
| 7491 | s&@localedir@&$localedir&g |
---|
| 7492 | s&@mandir@&$mandir&g |
---|
| 7493 | s&\\\${datarootdir}&$datarootdir&g' ;; |
---|
| 7494 | esac |
---|
| 7495 | _ACEOF |
---|
| 7496 | |
---|
| 7497 | # Neutralize VPATH when `$srcdir' = `.'. |
---|
| 7498 | # Shell code in configure.ac might set extrasub. |
---|
| 7499 | # FIXME: do we really want to maintain this feature? |
---|
| 7500 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
---|
| 7501 | ac_sed_extra="$ac_vpsub |
---|
| 7502 | $extrasub |
---|
| 7503 | _ACEOF |
---|
| 7504 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
---|
| 7505 | :t |
---|
| 7506 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
---|
| 7507 | s|@configure_input@|$ac_sed_conf_input|;t t |
---|
| 7508 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
---|
| 7509 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
---|
| 7510 | s&@srcdir@&$ac_srcdir&;t t |
---|
| 7511 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
---|
| 7512 | s&@top_srcdir@&$ac_top_srcdir&;t t |
---|
| 7513 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
---|
| 7514 | s&@builddir@&$ac_builddir&;t t |
---|
| 7515 | s&@abs_builddir@&$ac_abs_builddir&;t t |
---|
| 7516 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
---|
| 7517 | s&@INSTALL@&$ac_INSTALL&;t t |
---|
| 7518 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
---|
| 7519 | $ac_datarootdir_hack |
---|
| 7520 | " |
---|
| 7521 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
---|
| 7522 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
| 7523 | |
---|
| 7524 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
---|
| 7525 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
---|
| 7526 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
---|
| 7527 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
---|
| 7528 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 7529 | which seems to be undefined. Please make sure it is defined" >&5 |
---|
| 7530 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
---|
| 7531 | which seems to be undefined. Please make sure it is defined" >&2;} |
---|
| 7532 | |
---|
| 7533 | rm -f "$ac_tmp/stdin" |
---|
| 7534 | case $ac_file in |
---|
| 7535 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
---|
| 7536 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
---|
| 7537 | esac \ |
---|
| 7538 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
| 7539 | ;; |
---|
| 7540 | :H) |
---|
| 7541 | # |
---|
| 7542 | # CONFIG_HEADER |
---|
| 7543 | # |
---|
| 7544 | if test x"$ac_file" != x-; then |
---|
| 7545 | { |
---|
| 7546 | $as_echo "/* $configure_input */" \ |
---|
| 7547 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
---|
| 7548 | } >"$ac_tmp/config.h" \ |
---|
| 7549 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
| 7550 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
---|
| 7551 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
---|
| 7552 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
---|
| 7553 | else |
---|
| 7554 | rm -f "$ac_file" |
---|
| 7555 | mv "$ac_tmp/config.h" "$ac_file" \ |
---|
| 7556 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
---|
| 7557 | fi |
---|
| 7558 | else |
---|
| 7559 | $as_echo "/* $configure_input */" \ |
---|
| 7560 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
---|
| 7561 | || as_fn_error $? "could not create -" "$LINENO" 5 |
---|
| 7562 | fi |
---|
| 7563 | # Compute "$ac_file"'s index in $config_headers. |
---|
| 7564 | _am_arg="$ac_file" |
---|
| 7565 | _am_stamp_count=1 |
---|
| 7566 | for _am_header in $config_headers :; do |
---|
| 7567 | case $_am_header in |
---|
| 7568 | $_am_arg | $_am_arg:* ) |
---|
| 7569 | break ;; |
---|
| 7570 | * ) |
---|
| 7571 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
---|
| 7572 | esac |
---|
| 7573 | done |
---|
| 7574 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
---|
| 7575 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 7576 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
---|
| 7577 | X"$_am_arg" : 'X\(//\)$' \| \ |
---|
| 7578 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 7579 | $as_echo X"$_am_arg" | |
---|
| 7580 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 7581 | s//\1/ |
---|
| 7582 | q |
---|
| 7583 | } |
---|
| 7584 | /^X\(\/\/\)[^/].*/{ |
---|
| 7585 | s//\1/ |
---|
| 7586 | q |
---|
| 7587 | } |
---|
| 7588 | /^X\(\/\/\)$/{ |
---|
| 7589 | s//\1/ |
---|
| 7590 | q |
---|
| 7591 | } |
---|
| 7592 | /^X\(\/\).*/{ |
---|
| 7593 | s//\1/ |
---|
| 7594 | q |
---|
| 7595 | } |
---|
| 7596 | s/.*/./; q'`/stamp-h$_am_stamp_count |
---|
| 7597 | ;; |
---|
| 7598 | |
---|
| 7599 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
---|
| 7600 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
---|
| 7601 | ;; |
---|
| 7602 | esac |
---|
| 7603 | |
---|
| 7604 | |
---|
| 7605 | case $ac_file$ac_mode in |
---|
| 7606 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
---|
[9739] | 7607 | # Older Autoconf quotes --file arguments for eval, but not when files |
---|
[9642] | 7608 | # are listed without --file. Let's play safe and only enable the eval |
---|
| 7609 | # if we detect the quoting. |
---|
| 7610 | case $CONFIG_FILES in |
---|
| 7611 | *\'*) eval set x "$CONFIG_FILES" ;; |
---|
| 7612 | *) set x $CONFIG_FILES ;; |
---|
| 7613 | esac |
---|
| 7614 | shift |
---|
| 7615 | for mf |
---|
| 7616 | do |
---|
| 7617 | # Strip MF so we end up with the name of the file. |
---|
| 7618 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
---|
| 7619 | # Check whether this is an Automake generated Makefile or not. |
---|
[9739] | 7620 | # We used to match only the files named 'Makefile.in', but |
---|
[9642] | 7621 | # some people rename them; so instead we look at the file content. |
---|
| 7622 | # Grep'ing the first line is not enough: some people post-process |
---|
| 7623 | # each Makefile.in and add a new line on top of each file to say so. |
---|
| 7624 | # Grep'ing the whole file is not good either: AIX grep has a line |
---|
| 7625 | # limit of 2048, but all sed's we know have understand at least 4000. |
---|
| 7626 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
---|
| 7627 | dirpart=`$as_dirname -- "$mf" || |
---|
| 7628 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 7629 | X"$mf" : 'X\(//\)[^/]' \| \ |
---|
| 7630 | X"$mf" : 'X\(//\)$' \| \ |
---|
| 7631 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 7632 | $as_echo X"$mf" | |
---|
| 7633 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 7634 | s//\1/ |
---|
| 7635 | q |
---|
| 7636 | } |
---|
| 7637 | /^X\(\/\/\)[^/].*/{ |
---|
| 7638 | s//\1/ |
---|
| 7639 | q |
---|
| 7640 | } |
---|
| 7641 | /^X\(\/\/\)$/{ |
---|
| 7642 | s//\1/ |
---|
| 7643 | q |
---|
| 7644 | } |
---|
| 7645 | /^X\(\/\).*/{ |
---|
| 7646 | s//\1/ |
---|
| 7647 | q |
---|
| 7648 | } |
---|
| 7649 | s/.*/./; q'` |
---|
| 7650 | else |
---|
| 7651 | continue |
---|
| 7652 | fi |
---|
| 7653 | # Extract the definition of DEPDIR, am__include, and am__quote |
---|
[9739] | 7654 | # from the Makefile without running 'make'. |
---|
[9642] | 7655 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
---|
| 7656 | test -z "$DEPDIR" && continue |
---|
| 7657 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
---|
[9739] | 7658 | test -z "$am__include" && continue |
---|
[9642] | 7659 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
---|
| 7660 | # Find all dependency output files, they are included files with |
---|
| 7661 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
---|
| 7662 | # simplest approach to changing $(DEPDIR) to its actual value in the |
---|
| 7663 | # expansion. |
---|
| 7664 | for file in `sed -n " |
---|
| 7665 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
---|
[9739] | 7666 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
---|
[9642] | 7667 | # Make sure the directory exists. |
---|
| 7668 | test -f "$dirpart/$file" && continue |
---|
| 7669 | fdir=`$as_dirname -- "$file" || |
---|
| 7670 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
---|
| 7671 | X"$file" : 'X\(//\)[^/]' \| \ |
---|
| 7672 | X"$file" : 'X\(//\)$' \| \ |
---|
| 7673 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
---|
| 7674 | $as_echo X"$file" | |
---|
| 7675 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
---|
| 7676 | s//\1/ |
---|
| 7677 | q |
---|
| 7678 | } |
---|
| 7679 | /^X\(\/\/\)[^/].*/{ |
---|
| 7680 | s//\1/ |
---|
| 7681 | q |
---|
| 7682 | } |
---|
| 7683 | /^X\(\/\/\)$/{ |
---|
| 7684 | s//\1/ |
---|
| 7685 | q |
---|
| 7686 | } |
---|
| 7687 | /^X\(\/\).*/{ |
---|
| 7688 | s//\1/ |
---|
| 7689 | q |
---|
| 7690 | } |
---|
| 7691 | s/.*/./; q'` |
---|
| 7692 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
---|
| 7693 | # echo "creating $dirpart/$file" |
---|
| 7694 | echo '# dummy' > "$dirpart/$file" |
---|
| 7695 | done |
---|
| 7696 | done |
---|
| 7697 | } |
---|
| 7698 | ;; |
---|
| 7699 | "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) |
---|
| 7700 | sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile |
---|
| 7701 | esac ;; |
---|
| 7702 | "po/stamp-it":C) |
---|
| 7703 | if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then |
---|
| 7704 | as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 |
---|
| 7705 | fi |
---|
| 7706 | rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" |
---|
| 7707 | >"po/stamp-it.tmp" |
---|
| 7708 | sed '/^#/d |
---|
| 7709 | s/^[[].*] *// |
---|
| 7710 | /^[ ]*$/d |
---|
| 7711 | '"s|^| $ac_top_srcdir/|" \ |
---|
| 7712 | "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" |
---|
| 7713 | |
---|
| 7714 | sed '/^POTFILES =/,/[^\\]$/ { |
---|
| 7715 | /^POTFILES =/!d |
---|
| 7716 | r po/POTFILES |
---|
| 7717 | } |
---|
| 7718 | ' "po/Makefile.in" >"po/Makefile" |
---|
| 7719 | rm -f "po/Makefile.tmp" |
---|
| 7720 | mv "po/stamp-it.tmp" "po/stamp-it" |
---|
| 7721 | ;; |
---|
| 7722 | |
---|
| 7723 | esac |
---|
| 7724 | done # for ac_tag |
---|
| 7725 | |
---|
| 7726 | |
---|
| 7727 | as_fn_exit 0 |
---|
| 7728 | _ACEOF |
---|
| 7729 | ac_clean_files=$ac_clean_files_save |
---|
| 7730 | |
---|
| 7731 | test $ac_write_fail = 0 || |
---|
| 7732 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
---|
| 7733 | |
---|
| 7734 | |
---|
| 7735 | # configure is writing to config.log, and then calls config.status. |
---|
| 7736 | # config.status does its own redirection, appending to config.log. |
---|
| 7737 | # Unfortunately, on DOS this fails, as config.log is still kept open |
---|
| 7738 | # by configure, so config.status won't be able to write to it; its |
---|
| 7739 | # output is simply discarded. So we exec the FD to /dev/null, |
---|
| 7740 | # effectively closing config.log, so it can be properly (re)opened and |
---|
| 7741 | # appended to by config.status. When coming back to configure, we |
---|
| 7742 | # need to make the FD available again. |
---|
| 7743 | if test "$no_create" != yes; then |
---|
| 7744 | ac_cs_success=: |
---|
| 7745 | ac_config_status_args= |
---|
| 7746 | test "$silent" = yes && |
---|
| 7747 | ac_config_status_args="$ac_config_status_args --quiet" |
---|
| 7748 | exec 5>/dev/null |
---|
| 7749 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
---|
| 7750 | exec 5>>config.log |
---|
| 7751 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
---|
| 7752 | # would make configure fail if this is the last instruction. |
---|
| 7753 | $ac_cs_success || as_fn_exit 1 |
---|
| 7754 | fi |
---|
| 7755 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
---|
| 7756 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
---|
| 7757 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
---|
| 7758 | fi |
---|
| 7759 | |
---|
| 7760 | |
---|