blob: 05af5ec98b92c3a75de3fb64cdc25accac7fcb31 [file] [log] [blame]
Alexandre Lision17b60c32014-02-03 14:37:59 -05001#! /bin/sh
2# Generated by aconfigure.
3# Run this file to recreate the current configuration.
4# Compiler output produced by configure, useful for debugging
5# configure, is in config.log if it exists.
6
7debug=false
8ac_cs_recheck=false
9ac_cs_silent=false
10
11SHELL=${CONFIG_SHELL-/bin/sh}
12export SHELL
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order. Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" "" $as_nl"
90
91# Find who we are. Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102IFS=$as_save_IFS
103
104 ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109 as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there. '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137
138# as_fn_error STATUS ERROR [LINENO LOG_FD]
139# ----------------------------------------
140# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
141# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
142# script with STATUS, using 1 if that was 0.
143as_fn_error ()
144{
145 as_status=$1; test $as_status -eq 0 && as_status=1
146 if test "$4"; then
147 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
148 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
149 fi
150 $as_echo "$as_me: error: $2" >&2
151 as_fn_exit $as_status
152} # as_fn_error
153
154
155# as_fn_set_status STATUS
156# -----------------------
157# Set $? to STATUS, without forking.
158as_fn_set_status ()
159{
160 return $1
161} # as_fn_set_status
162
163# as_fn_exit STATUS
164# -----------------
165# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
166as_fn_exit ()
167{
168 set +e
169 as_fn_set_status $1
170 exit $1
171} # as_fn_exit
172
173# as_fn_unset VAR
174# ---------------
175# Portably unset VAR.
176as_fn_unset ()
177{
178 { eval $1=; unset $1;}
179}
180as_unset=as_fn_unset
181# as_fn_append VAR VALUE
182# ----------------------
183# Append the text in VALUE to the end of the definition contained in VAR. Take
184# advantage of any shell optimizations that allow amortized linear growth over
185# repeated appends, instead of the typical quadratic growth present in naive
186# implementations.
187if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
188 eval 'as_fn_append ()
189 {
190 eval $1+=\$2
191 }'
192else
193 as_fn_append ()
194 {
195 eval $1=\$$1\$2
196 }
197fi # as_fn_append
198
199# as_fn_arith ARG...
200# ------------------
201# Perform arithmetic evaluation on the ARGs, and store the result in the
202# global $as_val. Take advantage of shells that can avoid forks. The arguments
203# must be portable across $(()) and expr.
204if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
205 eval 'as_fn_arith ()
206 {
207 as_val=$(( $* ))
208 }'
209else
210 as_fn_arith ()
211 {
212 as_val=`expr "$@" || test $? -eq 1`
213 }
214fi # as_fn_arith
215
216
217if expr a : '\(a\)' >/dev/null 2>&1 &&
218 test "X`expr 00001 : '.*\(...\)'`" = X001; then
219 as_expr=expr
220else
221 as_expr=false
222fi
223
224if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
225 as_basename=basename
226else
227 as_basename=false
228fi
229
230if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
231 as_dirname=dirname
232else
233 as_dirname=false
234fi
235
236as_me=`$as_basename -- "$0" ||
237$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
238 X"$0" : 'X\(//\)$' \| \
239 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
240$as_echo X/"$0" |
241 sed '/^.*\/\([^/][^/]*\)\/*$/{
242 s//\1/
243 q
244 }
245 /^X\/\(\/\/\)$/{
246 s//\1/
247 q
248 }
249 /^X\/\(\/\).*/{
250 s//\1/
251 q
252 }
253 s/.*/./; q'`
254
255# Avoid depending upon Character Ranges.
256as_cr_letters='abcdefghijklmnopqrstuvwxyz'
257as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
258as_cr_Letters=$as_cr_letters$as_cr_LETTERS
259as_cr_digits='0123456789'
260as_cr_alnum=$as_cr_Letters$as_cr_digits
261
262ECHO_C= ECHO_N= ECHO_T=
263case `echo -n x` in #(((((
264-n*)
265 case `echo 'xy\c'` in
266 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
267 xy) ECHO_C='\c';;
268 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
269 ECHO_T=' ';;
270 esac;;
271*)
272 ECHO_N='-n';;
273esac
274
275rm -f conf$$ conf$$.exe conf$$.file
276if test -d conf$$.dir; then
277 rm -f conf$$.dir/conf$$.file
278else
279 rm -f conf$$.dir
280 mkdir conf$$.dir 2>/dev/null
281fi
282if (echo >conf$$.file) 2>/dev/null; then
283 if ln -s conf$$.file conf$$ 2>/dev/null; then
284 as_ln_s='ln -s'
285 # ... but there are two gotchas:
286 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
287 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
288 # In both cases, we have to default to `cp -p'.
289 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
290 as_ln_s='cp -p'
291 elif ln conf$$.file conf$$ 2>/dev/null; then
292 as_ln_s=ln
293 else
294 as_ln_s='cp -p'
295 fi
296else
297 as_ln_s='cp -p'
298fi
299rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
300rmdir conf$$.dir 2>/dev/null
301
302
303# as_fn_mkdir_p
304# -------------
305# Create "$as_dir" as a directory, including parents if necessary.
306as_fn_mkdir_p ()
307{
308
309 case $as_dir in #(
310 -*) as_dir=./$as_dir;;
311 esac
312 test -d "$as_dir" || eval $as_mkdir_p || {
313 as_dirs=
314 while :; do
315 case $as_dir in #(
316 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
317 *) as_qdir=$as_dir;;
318 esac
319 as_dirs="'$as_qdir' $as_dirs"
320 as_dir=`$as_dirname -- "$as_dir" ||
321$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
322 X"$as_dir" : 'X\(//\)[^/]' \| \
323 X"$as_dir" : 'X\(//\)$' \| \
324 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
325$as_echo X"$as_dir" |
326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 s//\1/
328 q
329 }
330 /^X\(\/\/\)[^/].*/{
331 s//\1/
332 q
333 }
334 /^X\(\/\/\)$/{
335 s//\1/
336 q
337 }
338 /^X\(\/\).*/{
339 s//\1/
340 q
341 }
342 s/.*/./; q'`
343 test -d "$as_dir" && break
344 done
345 test -z "$as_dirs" || eval "mkdir $as_dirs"
346 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
347
348
349} # as_fn_mkdir_p
350if mkdir -p . 2>/dev/null; then
351 as_mkdir_p='mkdir -p "$as_dir"'
352else
353 test -d ./-p && rmdir ./-p
354 as_mkdir_p=false
355fi
356
357if test -x / >/dev/null 2>&1; then
358 as_test_x='test -x'
359else
360 if ls -dL / >/dev/null 2>&1; then
361 as_ls_L_option=L
362 else
363 as_ls_L_option=
364 fi
365 as_test_x='
366 eval sh -c '\''
367 if test -d "$1"; then
368 test -d "$1/.";
369 else
370 case $1 in #(
371 -*)set "./$1";;
372 esac;
373 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
374 ???[sx]*):;;*)false;;esac;fi
375 '\'' sh
376 '
377fi
378as_executable_p=$as_test_x
379
380# Sed expression to map a string onto a valid CPP name.
381as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
382
383# Sed expression to map a string onto a valid variable name.
384as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
385
386
387exec 6>&1
388## ----------------------------------- ##
389## Main body of $CONFIG_STATUS script. ##
390## ----------------------------------- ##
391# Save the log message, to keep $0 and so on meaningful, and to
392# report actual input values of CONFIG_FILES etc. instead of their
393# values after options handling.
394ac_log="
395This file was extended by pjproject $as_me 2.x, which was
396generated by GNU Autoconf 2.68. Invocation command line was
397
398 CONFIG_FILES = $CONFIG_FILES
399 CONFIG_HEADERS = $CONFIG_HEADERS
400 CONFIG_LINKS = $CONFIG_LINKS
401 CONFIG_COMMANDS = $CONFIG_COMMANDS
402 $ $0 $@
403
404on `(hostname || uname -n) 2>/dev/null | sed 1q`
405"
406
407# Files that config.status was made for.
408config_files=" build.mak build/os-auto.mak build/cc-auto.mak pjlib/build/os-auto.mak pjlib-util/build/os-auto.mak pjmedia/build/os-auto.mak pjsip/build/os-auto.mak third_party/build/os-auto.mak third_party/build/portaudio/os-auto.mak"
409config_headers=" pjlib/include/pj/compat/os_auto.h pjlib/include/pj/compat/m_auto.h pjmedia/include/pjmedia/config_auto.h pjmedia/include/pjmedia-codec/config_auto.h pjsip/include/pjsip/sip_autoconf.h"
410
411ac_cs_usage="\
412\`$as_me' instantiates files and other configuration actions
413from templates according to the current configuration. Unless the files
414and actions are specified as TAGs, all are instantiated by default.
415
416Usage: $0 [OPTION]... [TAG]...
417
418 -h, --help print this help, then exit
419 -V, --version print version number and configuration settings, then exit
420 --config print configuration, then exit
421 -q, --quiet, --silent
422 do not print progress messages
423 -d, --debug don't remove temporary files
424 --recheck update $as_me by reconfiguring in the same conditions
425 --file=FILE[:TEMPLATE]
426 instantiate the configuration file FILE
427 --header=FILE[:TEMPLATE]
428 instantiate the configuration header FILE
429
430Configuration files:
431$config_files
432
433Configuration headers:
434$config_headers
435
436Report bugs to the package provider."
437
438ac_cs_config="'--host=arm-linux-androideabi' '--disable-sound' '--disable-oss' '--disable-video' '--enable-ext-sound' '--disable-speex-aec' '--disable-g711-codec' '--disable-l16-codec' '--disable-gsm-codec' '--disable-g722-codec' '--disable-g7221-codec' '--disable-speex-codec' '--disable-ilbc-codec' '--disable-sdl' '--disable-ffmpeg' '--disable-v4l2' 'host_alias=arm-linux-androideabi' 'CC=/home/lisional/Dev/ADT/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc' 'CFLAGS= -fpic -ffunction-sections -funwind-tables -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -finline-limit=64 -O0 -UNDEBUG -marm -fno-omit-frame-pointer -Ijni -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security -I/home/lisional/Dev/ADT/ndk/platforms/android-19/arch-arm/usr/include -I/home/lisional/Dev/ADT/ndk/sources/cxx-stl/gnu-libstdc++/4.8/include -I/home/lisional/Dev/ADT/ndk/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include' 'LDFLAGS= -nostdlib -L/home/lisional/Dev/ADT/ndk/platforms/android-19/arch-arm/usr/lib/ -L/home/lisional/Dev/ADT/ndk/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a' 'LIBS=/home/lisional/Dev/ADT/ndk/platforms/android-19/arch-arm/usr/lib/crtbegin_so.o -lgnustl_shared -lc -lgcc' 'CPPFLAGS= -fpic -ffunction-sections -funwind-tables -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -finline-limit=64 -O0 -UNDEBUG -marm -fno-omit-frame-pointer -Ijni -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security -I/home/lisional/Dev/ADT/ndk/platforms/android-19/arch-arm/usr/include -fexceptions' 'CXX=/home/lisional/Dev/ADT/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++' 'CXXFLAGS= -shared --sysroot=/home/lisional/Dev/ADT/ndk/platforms/android-19/arch-arm -lgcc -no-canonical-prefixes -march=armv7-a -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm -fexceptions'"
439ac_cs_version="\
440pjproject config.status 2.x
441configured by ./aconfigure, generated by GNU Autoconf 2.68,
442 with options \"$ac_cs_config\"
443
444Copyright (C) 2010 Free Software Foundation, Inc.
445This config.status script is free software; the Free Software Foundation
446gives unlimited permission to copy, distribute and modify it."
447
448ac_pwd='/home/lisional/git/sflphone-android/jni/pjproject-android'
449srcdir='.'
450test -n "$AWK" || AWK=awk
451# The default lists apply if the user does not specify any file.
452ac_need_defaults=:
453while test $# != 0
454do
455 case $1 in
456 --*=?*)
457 ac_option=`expr "X$1" : 'X\([^=]*\)='`
458 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
459 ac_shift=:
460 ;;
461 --*=)
462 ac_option=`expr "X$1" : 'X\([^=]*\)='`
463 ac_optarg=
464 ac_shift=:
465 ;;
466 *)
467 ac_option=$1
468 ac_optarg=$2
469 ac_shift=shift
470 ;;
471 esac
472
473 case $ac_option in
474 # Handling of the options.
475 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
476 ac_cs_recheck=: ;;
477 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
478 $as_echo "$ac_cs_version"; exit ;;
479 --config | --confi | --conf | --con | --co | --c )
480 $as_echo "$ac_cs_config"; exit ;;
481 --debug | --debu | --deb | --de | --d | -d )
482 debug=: ;;
483 --file | --fil | --fi | --f )
484 $ac_shift
485 case $ac_optarg in
486 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
487 '') as_fn_error $? "missing file argument" ;;
488 esac
489 as_fn_append CONFIG_FILES " '$ac_optarg'"
490 ac_need_defaults=false;;
491 --header | --heade | --head | --hea )
492 $ac_shift
493 case $ac_optarg in
494 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
495 esac
496 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
497 ac_need_defaults=false;;
498 --he | --h)
499 # Conflict between --help and --header
500 as_fn_error $? "ambiguous option: \`$1'
501Try \`$0 --help' for more information.";;
502 --help | --hel | -h )
503 $as_echo "$ac_cs_usage"; exit ;;
504 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
505 | -silent | --silent | --silen | --sile | --sil | --si | --s)
506 ac_cs_silent=: ;;
507
508 # This is an error.
509 -*) as_fn_error $? "unrecognized option: \`$1'
510Try \`$0 --help' for more information." ;;
511
512 *) as_fn_append ac_config_targets " $1"
513 ac_need_defaults=false ;;
514
515 esac
516 shift
517done
518
519ac_configure_extra_args=
520
521if $ac_cs_silent; then
522 exec 6>/dev/null
523 ac_configure_extra_args="$ac_configure_extra_args --silent"
524fi
525
526if $ac_cs_recheck; then
527 set X '/bin/sh' './aconfigure' '--host=arm-linux-androideabi' '--disable-sound' '--disable-oss' '--disable-video' '--enable-ext-sound' '--disable-speex-aec' '--disable-g711-codec' '--disable-l16-codec' '--disable-gsm-codec' '--disable-g722-codec' '--disable-g7221-codec' '--disable-speex-codec' '--disable-ilbc-codec' '--disable-sdl' '--disable-ffmpeg' '--disable-v4l2' 'host_alias=arm-linux-androideabi' 'CC=/home/lisional/Dev/ADT/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc' 'CFLAGS= -fpic -ffunction-sections -funwind-tables -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -finline-limit=64 -O0 -UNDEBUG -marm -fno-omit-frame-pointer -Ijni -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security -I/home/lisional/Dev/ADT/ndk/platforms/android-19/arch-arm/usr/include -I/home/lisional/Dev/ADT/ndk/sources/cxx-stl/gnu-libstdc++/4.8/include -I/home/lisional/Dev/ADT/ndk/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include' 'LDFLAGS= -nostdlib -L/home/lisional/Dev/ADT/ndk/platforms/android-19/arch-arm/usr/lib/ -L/home/lisional/Dev/ADT/ndk/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a' 'LIBS=/home/lisional/Dev/ADT/ndk/platforms/android-19/arch-arm/usr/lib/crtbegin_so.o -lgnustl_shared -lc -lgcc' 'CPPFLAGS= -fpic -ffunction-sections -funwind-tables -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Os -g -DNDEBUG -fomit-frame-pointer -finline-limit=64 -O0 -UNDEBUG -marm -fno-omit-frame-pointer -Ijni -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security -I/home/lisional/Dev/ADT/ndk/platforms/android-19/arch-arm/usr/include -fexceptions' 'CXX=/home/lisional/Dev/ADT/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++' 'CXXFLAGS= -shared --sysroot=/home/lisional/Dev/ADT/ndk/platforms/android-19/arch-arm -lgcc -no-canonical-prefixes -march=armv7-a -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm -fexceptions' $ac_configure_extra_args --no-create --no-recursion
528 shift
529 $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
530 CONFIG_SHELL='/bin/sh'
531 export CONFIG_SHELL
532 exec "$@"
533fi
534
535exec 5>>config.log
536{
537 echo
538 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
539## Running $as_me. ##
540_ASBOX
541 $as_echo "$ac_log"
542} >&5
543
544
545# Handling of arguments.
546for ac_config_target in $ac_config_targets
547do
548 case $ac_config_target in
549 "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;;
550 "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;;
551 "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;;
552 "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;;
553 "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;;
554 "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;;
555 "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;;
556 "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;;
557 "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;;
558 "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;;
559 "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;;
560 "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;;
561 "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;;
562 "third_party/build/portaudio/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/portaudio/os-auto.mak" ;;
563
564 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
565 esac
566done
567
568
569# If the user did not use the arguments to specify the items to instantiate,
570# then the envvar interface is used. Set only those that are not.
571# We use the long form for the default assignment because of an extremely
572# bizarre bug on SunOS 4.1.3.
573if $ac_need_defaults; then
574 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
575 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
576fi
577
578# Have a temporary directory for convenience. Make it in the build tree
579# simply because there is no reason against having it here, and in addition,
580# creating and moving files from /tmp can sometimes cause problems.
581# Hook for its removal unless debugging.
582# Note that there is a small window in which the directory will not be cleaned:
583# after its creation but before its name has been assigned to `$tmp'.
584$debug ||
585{
586 tmp= ac_tmp=
587 trap 'exit_status=$?
588 : "${ac_tmp:=$tmp}"
589 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
590' 0
591 trap 'as_fn_exit 1' 1 2 13 15
592}
593# Create a (secure) tmp directory for tmp files.
594
595{
596 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
597 test -d "$tmp"
598} ||
599{
600 tmp=./conf$$-$RANDOM
601 (umask 077 && mkdir "$tmp")
602} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
603ac_tmp=$tmp
604
605# Set up the scripts for CONFIG_FILES section.
606# No need to generate them if there are no CONFIG_FILES.
607# This happens for instance with `./config.status config.h'.
608if test -n "$CONFIG_FILES"; then
609
610
611ac_cr=`echo X | tr X '\015'`
612# On cygwin, bash can eat \r inside `` if the user requested igncr.
613# But we know of no other shell where ac_cr would be empty at this
614# point, so we can use a bashism as a fallback.
615if test "x$ac_cr" = x; then
616 eval ac_cr=\$\'\\r\'
617fi
618ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
619if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
620 ac_cs_awk_cr='\\r'
621else
622 ac_cs_awk_cr=$ac_cr
623fi
624
625echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
626cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
627S["LTLIBOBJS"]=""
628S["LIBOBJS"]=""
629S["ac_main_obj"]="main.o"
630S["ac_host"]="unix"
631S["ac_linux_poll"]="select"
632S["silk_present"]=""
633S["silk_h_present"]=""
634S["ac_no_silk"]="1"
635S["opencore_amrwb_dec_present"]=""
636S["opencore_amrwb_dec_h_present"]=""
637S["opencore_amrwb_enc_present"]=""
638S["opencore_amrwb_enc_h_present"]=""
639S["opencore_amrnb_present"]=""
640S["opencore_amrnb_h_present"]=""
641S["ac_no_opencore_amrwb"]="1"
642S["ac_no_opencore_amrnb"]="1"
643S["libcrypto_present"]=""
644S["libssl_present"]=""
645S["openssl_h_present"]=""
646S["ac_no_ssl"]="1"
647S["ac_v4l2_ldflags"]=""
648S["ac_v4l2_cflags"]=""
649S["PKG_CONFIG"]=""
650S["SAVED_PKG_CONFIG_PATH"]=""
651S["ac_ffmpeg_ldflags"]=""
652S["ac_ffmpeg_cflags"]=""
653S["ac_has_ffmpeg"]="0"
654S["ac_sdl_ldflags"]=""
655S["ac_sdl_cflags"]=""
656S["SDL_CONFIG"]=""
657S["ac_resample_dll"]=""
658S["ac_no_ilbc_codec"]="1"
659S["ac_no_speex_codec"]="1"
660S["ac_no_g7221_codec"]="1"
661S["ac_no_g722_codec"]="1"
662S["ac_no_gsm_codec"]="1"
663S["ac_no_l16_codec"]="1"
664S["ac_no_g711_codec"]="1"
665S["ac_no_speex_aec"]="-DPJMEDIA_HAS_SPEEX_AEC=0"
666S["ac_no_large_filter"]=""
667S["ac_no_small_filter"]=""
668S["ac_qt_cflags"]=""
669S["ac_pjmedia_video_has_qt"]=""
670S["ac_ios_cflags"]=""
671S["ac_pjmedia_video_has_ios"]=""
672S["ac_pjmedia_video"]=""
673S["ac_pa_use_oss"]=""
674S["ac_pa_use_alsa"]=""
675S["ac_pjmedia_audiodev_objs"]=""
676S["ac_pa_cflags"]=" -DHAVE_LINUX_SOUNDCARD_H -DPA_LITTLE_ENDIAN"
677S["ac_external_pa"]="0"
678S["ac_pjmedia_snd"]="external"
679S["ac_pjmedia_resample"]="libresample"
680S["ac_external_srtp"]="0"
681S["ac_external_gsm"]="0"
682S["ac_external_speex"]="0"
683S["ac_shared_libraries"]=""
684S["ac_os_objs"]="ioqueue_select.o file_access_unistd.o file_io_ansi.o os_core_unix.o os_error_unix.o os_time_unix.o os_timestamp_posix.o guid_simple.o"
685S["EGREP"]="/usr/bin/grep -E"
686S["GREP"]="/usr/bin/grep"
687S["CPP"]="/home/lisional/Dev/ADT/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc -E"
688S["ac_cross_compile"]="arm-linux-androideabi-"
689S["ac_shlib_suffix"]="so"
690S["ac_build_mak_vars"]=""
691S["ac_pjdir"]="/home/lisional/git/sflphone-android/jni/pjproject-android"
692S["CC_CFLAGS"]="-Wall"
693S["CC_OPTIMIZE"]="-O2"
694S["CC_DEF"]="-D"
695S["CC_INC"]="-I"
696S["CC_OUT"]="-o "
697S["LIBEXT2"]=""
698S["LIBEXT"]="a"
699S["LDOUT"]="-o "
700S["LD"]="/home/lisional/Dev/ADT/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc"
701S["AR_FLAGS"]="rv"
702S["ac_ct_AR"]=""
703S["AR"]="/home/lisional/Dev/ADT/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar"
704S["RANLIB"]="/home/lisional/Dev/ADT/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ranlib"
705S["ac_ct_CXX"]=""
706S["CXXFLAGS"]=" -fpic -ffunction-sections -funwind-tables -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Os -g -DNDEBUG -fomit-f"\
707"rame-pointer -finline-limit=64 -O0 -UNDEBUG -marm -fno-omit-frame-pointer -Ijni -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security -I/home"\
708"/lisional/Dev/ADT/ndk/platforms/android-19/arch-arm/usr/include -I/home/lisional/Dev/ADT/ndk/sources/cxx-stl/gnu-libstdc++/4.8/include -I/home/lisi"\
709"onal/Dev/ADT/ndk/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -shared --sysroot=/home/lisional/Dev/ADT/ndk/platforms/android-19/arch-"\
710"arm -lgcc -no-canonical-prefixes -march=armv7-a -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -lc -lm -fexceptio"\
711"ns"
712S["CXX"]="/home/lisional/Dev/ADT/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++"
713S["OBJEXT"]="o"
714S["EXEEXT"]=""
715S["ac_ct_CC"]=""
716S["CPPFLAGS"]=" -fpic -ffunction-sections -funwind-tables -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Os -g -DNDEBUG -fomit-f"\
717"rame-pointer -finline-limit=64 -O0 -UNDEBUG -marm -fno-omit-frame-pointer -Ijni -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security -I/home"\
718"/lisional/Dev/ADT/ndk/platforms/android-19/arch-arm/usr/include -fexceptions"
719S["LDFLAGS"]=" -nostdlib -L/home/lisional/Dev/ADT/ndk/platforms/android-19/arch-arm/usr/lib/ -L/home/lisional/Dev/ADT/ndk/sources/cxx-stl/gnu-libstdc++/4.8/libs/a"\
720"rmeabi-v7a"
721S["CFLAGS"]=" -fpic -ffunction-sections -funwind-tables -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Os -g -DNDEBUG -fomit-f"\
722"rame-pointer -finline-limit=64 -O0 -UNDEBUG -marm -fno-omit-frame-pointer -Ijni -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security -I/home"\
723"/lisional/Dev/ADT/ndk/platforms/android-19/arch-arm/usr/include -I/home/lisional/Dev/ADT/ndk/sources/cxx-stl/gnu-libstdc++/4.8/include -I/home/lisi"\
724"onal/Dev/ADT/ndk/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1"
725S["CC"]="/home/lisional/Dev/ADT/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc"
726S["target_os"]="linux-androideabi"
727S["target_vendor"]="unknown"
728S["target_cpu"]="arm"
729S["target"]="arm-unknown-linux-androideabi"
730S["host_os"]="linux-androideabi"
731S["host_vendor"]="unknown"
732S["host_cpu"]="arm"
733S["host"]="arm-unknown-linux-androideabi"
734S["build_os"]="linux-gnu"
735S["build_vendor"]="unknown"
736S["build_cpu"]="x86_64"
737S["build"]="x86_64-unknown-linux-gnu"
738S["target_alias"]=""
739S["host_alias"]="arm-linux-androideabi"
740S["build_alias"]=""
741S["LIBS"]="-lm /home/lisional/Dev/ADT/ndk/platforms/android-19/arch-arm/usr/lib/crtbegin_so.o -lgnustl_shared -lc -lgcc -llog -lgcc"
742S["ECHO_T"]=""
743S["ECHO_N"]="-n"
744S["ECHO_C"]=""
745S["DEFS"]="-DHAVE_CONFIG_H"
746S["mandir"]="${datarootdir}/man"
747S["localedir"]="${datarootdir}/locale"
748S["libdir"]="${exec_prefix}/lib"
749S["psdir"]="${docdir}"
750S["pdfdir"]="${docdir}"
751S["dvidir"]="${docdir}"
752S["htmldir"]="${docdir}"
753S["infodir"]="${datarootdir}/info"
754S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
755S["oldincludedir"]="/usr/include"
756S["includedir"]="${prefix}/include"
757S["localstatedir"]="${prefix}/var"
758S["sharedstatedir"]="${prefix}/com"
759S["sysconfdir"]="${prefix}/etc"
760S["datadir"]="${datarootdir}"
761S["datarootdir"]="${prefix}/share"
762S["libexecdir"]="${exec_prefix}/libexec"
763S["sbindir"]="${exec_prefix}/sbin"
764S["bindir"]="${exec_prefix}/bin"
765S["program_transform_name"]="s,x,x,"
766S["prefix"]="/usr/local"
767S["exec_prefix"]="${prefix}"
768S["PACKAGE_URL"]=""
769S["PACKAGE_BUGREPORT"]=""
770S["PACKAGE_STRING"]="pjproject 2.x"
771S["PACKAGE_VERSION"]="2.x"
772S["PACKAGE_TARNAME"]="pjproject"
773S["PACKAGE_NAME"]="pjproject"
774S["PATH_SEPARATOR"]=":"
775S["SHELL"]="/bin/sh"
776_ACAWK
777cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
778 for (key in S) S_is_set[key] = 1
779 FS = ""
780
781}
782{
783 line = $ 0
784 nfields = split(line, field, "@")
785 substed = 0
786 len = length(field[1])
787 for (i = 2; i < nfields; i++) {
788 key = field[i]
789 keylen = length(key)
790 if (S_is_set[key]) {
791 value = S[key]
792 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
793 len += length(value) + length(field[++i])
794 substed = 1
795 } else
796 len += 1 + keylen
797 }
798
799 print line
800}
801
802_ACAWK
803if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
804 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
805else
806 cat
807fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
808 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
809fi # test -n "$CONFIG_FILES"
810
811# Set up the scripts for CONFIG_HEADERS section.
812# No need to generate them if there are no CONFIG_HEADERS.
813# This happens for instance with `./config.status Makefile'.
814if test -n "$CONFIG_HEADERS"; then
815cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
816BEGIN {
817D["PACKAGE_NAME"]=" \"pjproject\""
818D["PACKAGE_TARNAME"]=" \"pjproject\""
819D["PACKAGE_VERSION"]=" \"2.x\""
820D["PACKAGE_STRING"]=" \"pjproject 2.x\""
821D["PACKAGE_BUGREPORT"]=" \"\""
822D["PACKAGE_URL"]=" \"\""
823D["HAVE_LIBM"]=" 1"
824D["PJ_M_NAME"]=" \"arm\""
825D["PJ_POOL_ALIGNMENT"]=" 4"
826D["STDC_HEADERS"]=" 1"
827D["HAVE_SYS_TYPES_H"]=" 1"
828D["HAVE_SYS_STAT_H"]=" 1"
829D["HAVE_STDLIB_H"]=" 1"
830D["HAVE_STRING_H"]=" 1"
831D["HAVE_MEMORY_H"]=" 1"
832D["HAVE_STRINGS_H"]=" 1"
833D["HAVE_INTTYPES_H"]=" 1"
834D["HAVE_STDINT_H"]=" 1"
835D["HAVE_UNISTD_H"]=" 1"
836D["PJ_ANDROID"]=" 1"
837D["PJ_HAS_FLOATING_POINT"]=" 1"
838D["PJ_HAS_ARPA_INET_H"]=" 1"
839D["PJ_HAS_ASSERT_H"]=" 1"
840D["PJ_HAS_CTYPE_H"]=" 1"
841D["PJ_HAS_ERRNO_H"]=" 1"
842D["PJ_HAS_FCNTL_H"]=" 1"
843D["PJ_HAS_LINUX_SOCKET_H"]=" 1"
844D["PJ_HAS_LIMITS_H"]=" 1"
845D["PJ_HAS_MALLOC_H"]=" 1"
846D["PJ_HAS_NETDB_H"]=" 1"
847D["PJ_HAS_NETINET_IN_SYSTM_H"]=" 1"
848D["PJ_HAS_NETINET_IN_H"]=" 1"
849D["PJ_HAS_NETINET_TCP_H"]=" 1"
850D["PJ_HAS_SEMAPHORE_H"]=" 1"
851D["PJ_HAS_SETJMP_H"]=" 1"
852D["PJ_HAS_STDARG_H"]=" 1"
853D["PJ_HAS_STDDEF_H"]=" 1"
854D["PJ_HAS_STDIO_H"]=" 1"
855D["PJ_HAS_STDINT_H"]=" 1"
856D["PJ_HAS_STDLIB_H"]=" 1"
857D["PJ_HAS_STRING_H"]=" 1"
858D["PJ_HAS_SYS_IOCTL_H"]=" 1"
859D["PJ_HAS_SYS_SELECT_H"]=" 1"
860D["PJ_HAS_SYS_SOCKET_H"]=" 1"
861D["PJ_HAS_SYS_TIME_H"]=" 1"
862D["PJ_HAS_SYS_TIMEB_H"]=" 1"
863D["PJ_HAS_SYS_TYPES_H"]=" 1"
864D["PJ_HAS_SYS_UTSNAME_H"]=" 1"
865D["PJ_HAS_TIME_H"]=" 1"
866D["PJ_HAS_UNISTD_H"]=" 1"
867D["PJ_HAS_NET_IF_H"]=" 1"
868D["PJ_OS_NAME"]=" \"arm-unknown-linux-androideabi\""
869D["PJ_HAS_ERRNO_VAR"]=" 1"
870D["PJ_HAS_HIGH_RES_TIMER"]=" 1"
871D["PJ_HAS_MALLOC"]=" 1"
872D["PJ_NATIVE_STRING_IS_UNICODE"]=" 0"
873D["PJ_ATOMIC_VALUE_TYPE"]=" long"
874D["PJ_SOCK_HAS_INET_ATON"]=" 1"
875D["PJ_SOCK_HAS_INET_PTON"]=" 1"
876D["PJ_SOCK_HAS_INET_NTOP"]=" 1"
877D["PJ_SOCK_HAS_GETADDRINFO"]=" 1"
878D["PJ_HAS_SOCKLEN_T"]=" 1"
879D["PJ_HAS_SO_ERROR"]=" 1"
880D["PJ_EMULATE_RWMUTEX"]=" 0"
881D["PJMEDIA_HAS_G711_CODEC"]=" 0"
882D["PJMEDIA_HAS_L16_CODEC"]=" 0"
883D["PJMEDIA_HAS_GSM_CODEC"]=" 0"
884D["PJMEDIA_HAS_G722_CODEC"]=" 0"
885D["PJMEDIA_HAS_G7221_CODEC"]=" 0"
886D["PJMEDIA_HAS_SPEEX_CODEC"]=" 0"
887D["PJMEDIA_HAS_ILBC_CODEC"]=" 0"
888D["PJMEDIA_HAS_OPENCORE_AMRNB_CODEC"]=" 0"
889D["PJMEDIA_HAS_OPENCORE_AMRWB_CODEC"]=" 0"
890D["PJMEDIA_HAS_SILK_CODEC"]=" 0"
891D["PJ_SELECT_NEEDS_NFDS"]=" 0"
892D["PJ_THREAD_SET_STACK_SIZE"]=" 0"
893D["PJ_THREAD_ALLOCATE_STACK"]=" 0"
894D["PJ_BLOCKING_ERROR_VAL"]=" EAGAIN"
895D["PJ_BLOCKING_CONNECT_ERROR_VAL"]=" EINPROGRESS"
896 for (key in D) D_is_set[key] = 1
897 FS = ""
898}
899/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
900 line = $ 0
901 split(line, arg, " ")
902 if (arg[1] == "#") {
903 defundef = arg[2]
904 mac1 = arg[3]
905 } else {
906 defundef = substr(arg[1], 2)
907 mac1 = arg[2]
908 }
909 split(mac1, mac2, "(") #)
910 macro = mac2[1]
911 prefix = substr(line, 1, index(line, defundef) - 1)
912 if (D_is_set[macro]) {
913 # Preserve the white space surrounding the "#".
914 print prefix "define", macro P[macro] D[macro]
915 next
916 } else {
917 # Replace #undef with comments. This is necessary, for example,
918 # in the case of _POSIX_SOURCE, which is predefined and required
919 # on some systems where configure will not decide to define it.
920 if (defundef == "undef") {
921 print "/*", prefix defundef, macro, "*/"
922 next
923 }
924 }
925}
926{ print }
927_ACAWK
928 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
929fi # test -n "$CONFIG_HEADERS"
930
931
932eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
933shift
934for ac_tag
935do
936 case $ac_tag in
937 :[FHLC]) ac_mode=$ac_tag; continue;;
938 esac
939 case $ac_mode$ac_tag in
940 :[FHL]*:*);;
941 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
942 :[FH]-) ac_tag=-:-;;
943 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
944 esac
945 ac_save_IFS=$IFS
946 IFS=:
947 set x $ac_tag
948 IFS=$ac_save_IFS
949 shift
950 ac_file=$1
951 shift
952
953 case $ac_mode in
954 :L) ac_source=$1;;
955 :[FH])
956 ac_file_inputs=
957 for ac_f
958 do
959 case $ac_f in
960 -) ac_f="$ac_tmp/stdin";;
961 *) # Look for the file first in the build tree, then in the source tree
962 # (if the path is not absolute). The absolute path cannot be DOS-style,
963 # because $ac_f cannot contain `:'.
964 test -f "$ac_f" ||
965 case $ac_f in
966 [\\/$]*) false;;
967 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
968 esac ||
969 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
970 esac
971 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
972 as_fn_append ac_file_inputs " '$ac_f'"
973 done
974
975 # Let's still pretend it is `configure' which instantiates (i.e., don't
976 # use $as_me), people would be surprised to read:
977 # /* config.h. Generated by config.status. */
978 configure_input='Generated from '`
979 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
980 `' by configure.'
981 if test x"$ac_file" != x-; then
982 configure_input="$ac_file. $configure_input"
983 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
984$as_echo "$as_me: creating $ac_file" >&6;}
985 fi
986 # Neutralize special characters interpreted by sed in replacement strings.
987 case $configure_input in #(
988 *\&* | *\|* | *\\* )
989 ac_sed_conf_input=`$as_echo "$configure_input" |
990 sed 's/[\\\\&|]/\\\\&/g'`;; #(
991 *) ac_sed_conf_input=$configure_input;;
992 esac
993
994 case $ac_tag in
995 *:-:* | *:-) cat >"$ac_tmp/stdin" \
996 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
997 esac
998 ;;
999 esac
1000
1001 ac_dir=`$as_dirname -- "$ac_file" ||
1002$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1003 X"$ac_file" : 'X\(//\)[^/]' \| \
1004 X"$ac_file" : 'X\(//\)$' \| \
1005 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1006$as_echo X"$ac_file" |
1007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1008 s//\1/
1009 q
1010 }
1011 /^X\(\/\/\)[^/].*/{
1012 s//\1/
1013 q
1014 }
1015 /^X\(\/\/\)$/{
1016 s//\1/
1017 q
1018 }
1019 /^X\(\/\).*/{
1020 s//\1/
1021 q
1022 }
1023 s/.*/./; q'`
1024 as_dir="$ac_dir"; as_fn_mkdir_p
1025 ac_builddir=.
1026
1027case "$ac_dir" in
1028.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1029*)
1030 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1031 # A ".." for each directory in $ac_dir_suffix.
1032 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1033 case $ac_top_builddir_sub in
1034 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1035 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1036 esac ;;
1037esac
1038ac_abs_top_builddir=$ac_pwd
1039ac_abs_builddir=$ac_pwd$ac_dir_suffix
1040# for backward compatibility:
1041ac_top_builddir=$ac_top_build_prefix
1042
1043case $srcdir in
1044 .) # We are building in place.
1045 ac_srcdir=.
1046 ac_top_srcdir=$ac_top_builddir_sub
1047 ac_abs_top_srcdir=$ac_pwd ;;
1048 [\\/]* | ?:[\\/]* ) # Absolute name.
1049 ac_srcdir=$srcdir$ac_dir_suffix;
1050 ac_top_srcdir=$srcdir
1051 ac_abs_top_srcdir=$srcdir ;;
1052 *) # Relative name.
1053 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1054 ac_top_srcdir=$ac_top_build_prefix$srcdir
1055 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1056esac
1057ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1058
1059
1060 case $ac_mode in
1061 :F)
1062 #
1063 # CONFIG_FILE
1064 #
1065
1066# If the template does not know about datarootdir, expand it.
1067# FIXME: This hack should be removed a few years after 2.60.
1068ac_datarootdir_hack=; ac_datarootdir_seen=
1069ac_sed_dataroot='
1070/datarootdir/ {
1071 p
1072 q
1073}
1074/@datadir@/p
1075/@docdir@/p
1076/@infodir@/p
1077/@localedir@/p
1078/@mandir@/p'
1079case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1080*datarootdir*) ac_datarootdir_seen=yes;;
1081*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1083$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1084 ac_datarootdir_hack='
1085 s&@datadir@&${datarootdir}&g
1086 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
1087 s&@infodir@&${datarootdir}/info&g
1088 s&@localedir@&${datarootdir}/locale&g
1089 s&@mandir@&${datarootdir}/man&g
1090 s&\${datarootdir}&${prefix}/share&g' ;;
1091esac
1092ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
1093h
1094s///
1095s/^/:/
1096s/[ ]*$/:/
1097s/:\$(srcdir):/:/g
1098s/:\${srcdir}:/:/g
1099s/:@srcdir@:/:/g
1100s/^:*//
1101s/:*$//
1102x
1103s/\(=[ ]*\).*/\1/
1104G
1105s/\n//
1106s/^[^=]*=[ ]*$//
1107}
1108
1109:t
1110/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1111s|@configure_input@|$ac_sed_conf_input|;t t
1112s&@top_builddir@&$ac_top_builddir_sub&;t t
1113s&@top_build_prefix@&$ac_top_build_prefix&;t t
1114s&@srcdir@&$ac_srcdir&;t t
1115s&@abs_srcdir@&$ac_abs_srcdir&;t t
1116s&@top_srcdir@&$ac_top_srcdir&;t t
1117s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1118s&@builddir@&$ac_builddir&;t t
1119s&@abs_builddir@&$ac_abs_builddir&;t t
1120s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1121$ac_datarootdir_hack
1122"
1123eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
1124 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1125
1126test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1127 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1128 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1129 "$ac_tmp/out"`; test -z "$ac_out"; } &&
1130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1131which seems to be undefined. Please make sure it is defined" >&5
1132$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1133which seems to be undefined. Please make sure it is defined" >&2;}
1134
1135 rm -f "$ac_tmp/stdin"
1136 case $ac_file in
1137 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
1138 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1139 esac \
1140 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1141 ;;
1142 :H)
1143 #
1144 # CONFIG_HEADER
1145 #
1146 if test x"$ac_file" != x-; then
1147 {
1148 $as_echo "/* $configure_input */" \
1149 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1150 } >"$ac_tmp/config.h" \
1151 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1152 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1153 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1154$as_echo "$as_me: $ac_file is unchanged" >&6;}
1155 else
1156 rm -f "$ac_file"
1157 mv "$ac_tmp/config.h" "$ac_file" \
1158 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1159 fi
1160 else
1161 $as_echo "/* $configure_input */" \
1162 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1163 || as_fn_error $? "could not create -" "$LINENO" 5
1164 fi
1165 ;;
1166
1167
1168 esac
1169
1170done # for ac_tag
1171
1172
1173as_fn_exit 0