1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192 |
- #! /bin/bash
- # Generated by aconfigure.
- # Run this file to recreate the current configuration.
- # Compiler output produced by configure, useful for debugging
- # configure, is in config.log if it exists.
- debug=false
- ac_cs_recheck=false
- ac_cs_silent=false
- SHELL=${CONFIG_SHELL-/bin/bash}
- export SHELL
- ## -------------------- ##
- ## M4sh Initialization. ##
- ## -------------------- ##
- # Be more Bourne compatible
- DUALCASE=1; export DUALCASE # for MKS sh
- as_nop=:
- if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
- then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
- else $as_nop
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
- esac
- fi
- # Reset variables that may have inherited troublesome values from
- # the environment.
- # IFS needs to be set, to space, tab, and newline, in precisely that order.
- # (If _AS_PATH_WALK were called with IFS unset, it would have the
- # side effect of setting IFS to empty, thus disabling word splitting.)
- # Quoting is to prevent editors from complaining about space-tab.
- as_nl='
- '
- export as_nl
- IFS=" "" $as_nl"
- PS1='$ '
- PS2='> '
- PS4='+ '
- # Ensure predictable behavior from utilities with locale-dependent output.
- LC_ALL=C
- export LC_ALL
- LANGUAGE=C
- export LANGUAGE
- # We cannot yet rely on "unset" to work, but we need these variables
- # to be unset--not just set to an empty or harmless value--now, to
- # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
- # also avoids known problems related to "unset" and subshell syntax
- # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
- for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
- do eval test \${$as_var+y} \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
- done
- # Ensure that fds 0, 1, and 2 are open.
- if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
- if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
- if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
- # The user is always right.
- if ${PATH_SEPARATOR+false} :; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
- fi
- # Find who we are. Look in the path if we contain no directory separator.
- as_myself=
- case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
- for as_dir in $PATH
- do
- IFS=$as_save_IFS
- case $as_dir in #(((
- '') as_dir=./ ;;
- */) ;;
- *) as_dir=$as_dir/ ;;
- esac
- test -r "$as_dir$0" && as_myself=$as_dir$0 && break
- done
- IFS=$as_save_IFS
- ;;
- esac
- # We did not find ourselves, most probably we were run as `sh COMMAND'
- # in which case we are not to be found in the path.
- if test "x$as_myself" = x; then
- as_myself=$0
- fi
- if test ! -f "$as_myself"; then
- printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
- fi
- # as_fn_error STATUS ERROR [LINENO LOG_FD]
- # ----------------------------------------
- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
- # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
- # script with STATUS, using 1 if that was 0.
- as_fn_error ()
- {
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- printf "%s\n" "$as_me: error: $2" >&2
- as_fn_exit $as_status
- } # as_fn_error
- # as_fn_set_status STATUS
- # -----------------------
- # Set $? to STATUS, without forking.
- as_fn_set_status ()
- {
- return $1
- } # as_fn_set_status
- # as_fn_exit STATUS
- # -----------------
- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
- as_fn_exit ()
- {
- set +e
- as_fn_set_status $1
- exit $1
- } # as_fn_exit
- # as_fn_unset VAR
- # ---------------
- # Portably unset VAR.
- as_fn_unset ()
- {
- { eval $1=; unset $1;}
- }
- as_unset=as_fn_unset
- # as_fn_append VAR VALUE
- # ----------------------
- # Append the text in VALUE to the end of the definition contained in VAR. Take
- # advantage of any shell optimizations that allow amortized linear growth over
- # repeated appends, instead of the typical quadratic growth present in naive
- # implementations.
- if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
- then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
- else $as_nop
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
- fi # as_fn_append
- # as_fn_arith ARG...
- # ------------------
- # Perform arithmetic evaluation on the ARGs, and store the result in the
- # global $as_val. Take advantage of shells that can avoid forks. The arguments
- # must be portable across $(()) and expr.
- if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
- then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
- else $as_nop
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
- fi # as_fn_arith
- if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
- else
- as_expr=false
- fi
- if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
- else
- as_basename=false
- fi
- if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
- else
- as_dirname=false
- fi
- as_me=`$as_basename -- "$0" ||
- $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
- printf "%s\n" X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- # Avoid depending upon Character Ranges.
- as_cr_letters='abcdefghijklmnopqrstuvwxyz'
- as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
- as_cr_Letters=$as_cr_letters$as_cr_LETTERS
- as_cr_digits='0123456789'
- as_cr_alnum=$as_cr_Letters$as_cr_digits
- # Determine whether it's possible to make 'echo' print without a newline.
- # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
- # for compatibility with existing Makefiles.
- ECHO_C= ECHO_N= ECHO_T=
- case `echo -n x` in #(((((
- -n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
- *)
- ECHO_N='-n';;
- esac
- # For backward compatibility with old third-party macros, we provide
- # the shell variables $as_echo and $as_echo_n. New code should use
- # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
- as_echo='printf %s\n'
- as_echo_n='printf %s'
- rm -f conf$$ conf$$.exe conf$$.file
- if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
- else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
- fi
- if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -pR'
- fi
- else
- as_ln_s='cp -pR'
- fi
- rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
- rmdir conf$$.dir 2>/dev/null
- # as_fn_mkdir_p
- # -------------
- # Create "$as_dir" as a directory, including parents if necessary.
- as_fn_mkdir_p ()
- {
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
- $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
- printf "%s\n" X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
- } # as_fn_mkdir_p
- if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
- else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
- fi
- # as_fn_executable_p FILE
- # -----------------------
- # Test if FILE is an executable regular file.
- as_fn_executable_p ()
- {
- test -f "$1" && test -x "$1"
- } # as_fn_executable_p
- as_test_x='test -x'
- as_executable_p=as_fn_executable_p
- # Sed expression to map a string onto a valid CPP name.
- as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
- # Sed expression to map a string onto a valid variable name.
- as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
- exec 6>&1
- ## ----------------------------------- ##
- ## Main body of $CONFIG_STATUS script. ##
- ## ----------------------------------- ##
- # Save the log message, to keep $0 and so on meaningful, and to
- # report actual input values of CONFIG_FILES etc. instead of their
- # values after options handling.
- ac_log="
- This file was extended by pjproject $as_me 2.x, which was
- generated by GNU Autoconf 2.71. Invocation command line was
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
- on `(hostname || uname -n) 2>/dev/null | sed 1q`
- "
- # Files that config.status was made for.
- config_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"
- config_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"
- ac_cs_usage="\
- \`$as_me' instantiates files and other configuration actions
- from templates according to the current configuration. Unless the files
- and actions are specified as TAGs, all are instantiated by default.
- Usage: $0 [OPTION]... [TAG]...
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
- --header=FILE[:TEMPLATE]
- instantiate the configuration header FILE
- Configuration files:
- $config_files
- Configuration headers:
- $config_headers
- Report bugs to the package provider."
- ac_cs_config='CFLAGS=-fPIC'
- ac_cs_version="\
- pjproject config.status 2.x
- configured by ./aconfigure, generated by GNU Autoconf 2.71,
- with options \"$ac_cs_config\"
- Copyright (C) 2021 Free Software Foundation, Inc.
- This config.status script is free software; the Free Software Foundation
- gives unlimited permission to copy, distribute and modify it."
- ac_pwd='/code'
- srcdir='.'
- test -n "$AWK" || AWK=awk
- # The default lists apply if the user does not specify any file.
- ac_need_defaults=:
- while test $# != 0
- do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- printf "%s\n" "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- printf "%s\n" "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --header | --heade | --head | --hea )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- as_fn_append CONFIG_HEADERS " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h)
- # Conflict between --help and --header
- as_fn_error $? "ambiguous option: \`$1'
- Try \`$0 --help' for more information.";;
- --help | --hel | -h )
- printf "%s\n" "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
- Try \`$0 --help' for more information." ;;
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
- esac
- shift
- done
- ac_configure_extra_args=
- if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
- fi
- if $ac_cs_recheck; then
- set X /bin/bash './aconfigure' 'CFLAGS=-fPIC' $ac_configure_extra_args --no-create --no-recursion
- shift
- \printf "%s\n" "running CONFIG_SHELL=/bin/bash $*" >&6
- CONFIG_SHELL='/bin/bash'
- export CONFIG_SHELL
- exec "$@"
- fi
- exec 5>>config.log
- {
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
- ## Running $as_me. ##
- _ASBOX
- printf "%s\n" "$ac_log"
- } >&5
- # Handling of arguments.
- for ac_config_target in $ac_config_targets
- do
- case $ac_config_target in
- "pjlib/include/pj/compat/os_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/os_auto.h" ;;
- "pjlib/include/pj/compat/m_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjlib/include/pj/compat/m_auto.h" ;;
- "pjmedia/include/pjmedia/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia/config_auto.h" ;;
- "pjmedia/include/pjmedia-codec/config_auto.h") CONFIG_HEADERS="$CONFIG_HEADERS pjmedia/include/pjmedia-codec/config_auto.h" ;;
- "pjsip/include/pjsip/sip_autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS pjsip/include/pjsip/sip_autoconf.h" ;;
- "build.mak") CONFIG_FILES="$CONFIG_FILES build.mak" ;;
- "build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES build/os-auto.mak" ;;
- "build/cc-auto.mak") CONFIG_FILES="$CONFIG_FILES build/cc-auto.mak" ;;
- "pjlib/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib/build/os-auto.mak" ;;
- "pjlib-util/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjlib-util/build/os-auto.mak" ;;
- "pjmedia/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjmedia/build/os-auto.mak" ;;
- "pjsip/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES pjsip/build/os-auto.mak" ;;
- "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;;
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
- done
- # If the user did not use the arguments to specify the items to instantiate,
- # then the envvar interface is used. Set only those that are not.
- # We use the long form for the default assignment because of an extremely
- # bizarre bug on SunOS 4.1.3.
- if $ac_need_defaults; then
- test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
- test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
- fi
- # Have a temporary directory for convenience. Make it in the build tree
- # simply because there is no reason against having it here, and in addition,
- # creating and moving files from /tmp can sometimes cause problems.
- # Hook for its removal unless debugging.
- # Note that there is a small window in which the directory will not be cleaned:
- # after its creation but before its name has been assigned to `$tmp'.
- $debug ||
- {
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
- ' 0
- trap 'as_fn_exit 1' 1 2 13 15
- }
- # Create a (secure) tmp directory for tmp files.
- {
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
- } ||
- {
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
- } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
- ac_tmp=$tmp
- # Set up the scripts for CONFIG_FILES section.
- # No need to generate them if there are no CONFIG_FILES.
- # This happens for instance with `./config.status config.h'.
- if test -n "$CONFIG_FILES"; then
- ac_cr=`echo X | tr X '\015'`
- # On cygwin, bash can eat \r inside `` if the user requested igncr.
- # But we know of no other shell where ac_cr would be empty at this
- # point, so we can use a bashism as a fallback.
- if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
- fi
- ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
- if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
- else
- ac_cs_awk_cr=$ac_cr
- fi
- echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
- cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
- S["LTLIBOBJS"]=""
- S["LIBOBJS"]=""
- S["ac_main_obj"]="main.o"
- S["ac_host"]="unix"
- S["ac_webrtc_aec3_ldflags"]=""
- S["ac_webrtc_aec3_cflags"]=""
- S["ac_webrtc_aec3_instset"]=""
- S["ac_no_webrtc_aec3"]="1"
- S["ac_webrtc_ldflags"]=""
- S["ac_webrtc_cflags"]=""
- S["ac_webrtc_instset"]="sse2"
- S["ac_no_webrtc"]=""
- S["ac_no_yuv"]=""
- S["ac_no_srtp"]=""
- S["ac_lyra_model_path"]=""
- S["ac_no_lyra_codec"]="1"
- S["ac_no_bcg729"]="1"
- S["opus_present"]=""
- S["opus_h_present"]=""
- S["ac_no_opus"]="1"
- S["silk_present"]=""
- S["silk_h_present"]=""
- S["ac_no_silk"]="1"
- S["opencore_amrwb_dec_present"]=""
- S["opencore_amrwb_dec_h_present"]=""
- S["opencore_amrwb_enc_present"]=""
- S["opencore_amrwb_enc_h_present"]=""
- S["opencore_amrnb_present"]=""
- S["opencore_amrnb_h_present"]=""
- S["ac_no_opencore_amrwb"]="1"
- S["ac_no_opencore_amrnb"]="1"
- S["libgnutls_present"]=""
- S["gnutls_h_present"]=""
- S["libcrypto_present"]="1"
- S["libssl_present"]="1"
- S["openssl_h_present"]="1"
- S["ac_ssl_backend"]="openssl"
- S["ac_ssl_has_aes_gcm"]="1"
- S["ac_no_ssl"]=""
- S["ac_no_mediacodec"]=""
- S["ac_vpx_ldflags"]=""
- S["ac_vpx_cflags"]=""
- S["ac_openh264_ldflags"]=""
- S["ac_openh264_cflags"]=""
- S["ac_v4l2_ldflags"]=""
- S["ac_v4l2_cflags"]=""
- S["PKG_CONFIG"]="pkg-config"
- S["SAVED_PKG_CONFIG_PATH"]=""
- S["ac_ffmpeg_ldflags"]=" "
- S["ac_ffmpeg_cflags"]=" -DPJMEDIA_USE_OLD_FFMPEG=1"
- S["ac_has_ffmpeg"]=""
- S["ac_sdl_ldflags"]=""
- S["ac_sdl_cflags"]=""
- S["SDL_CONFIG"]=""
- S["ac_resample_dll"]=""
- S["ac_no_ilbc_codec"]=""
- S["ac_no_speex_codec"]=""
- S["ac_no_g7221_codec"]=""
- S["ac_no_g722_codec"]=""
- S["ac_no_gsm_codec"]=""
- S["ac_no_l16_codec"]=""
- S["ac_no_g711_codec"]=""
- S["ac_no_speex_aec"]=""
- S["ac_no_large_filter"]=""
- S["ac_no_small_filter"]=""
- S["ac_qt_cflags"]=""
- S["ac_pjmedia_video_has_qt"]=""
- S["ac_darwin_cflags"]=""
- S["ac_pjmedia_video_has_ios_opengl"]=""
- S["ac_pjmedia_video_has_vtoolbox"]=""
- S["ac_pjmedia_video_has_metal"]=""
- S["ac_pjmedia_video_has_darwin"]=""
- S["ac_dshow_ldflags"]=""
- S["ac_dshow_cflags"]=""
- S["ac_pjmedia_video_dev_has_dshow"]=""
- S["ac_android_cflags"]=""
- S["ac_pjmedia_video_has_android"]=""
- S["ac_pjmedia_video"]=""
- S["ac_pjmedia_audiodev_objs"]=""
- S["ac_oboe_ldflags"]=""
- S["ac_oboe_cflags"]=""
- S["ac_pa_cflags"]=" -DHAVE_SYS_SOUNDCARD_H -DHAVE_LINUX_SOUNDCARD_H -DPA_LITTLE_ENDIAN"
- S["ac_external_pa"]="0"
- S["ac_pjmedia_snd"]="null"
- S["ac_pjmedia_resample"]="libresample"
- S["ac_external_webrtc_aec3"]="0"
- S["ac_external_webrtc"]="0"
- S["ac_external_yuv"]="0"
- S["ac_srtp_shutdown_present"]=""
- S["ac_srtp_deinit_present"]=""
- S["ac_external_srtp_lib"]=""
- S["ac_external_srtp"]="0"
- S["ac_external_gsm"]="0"
- S["ac_external_speex"]="0"
- S["ac_no_pjsua2"]=""
- S["ac_shared_libraries"]=""
- S["ac_linux_poll"]="select"
- S["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 sock_qos_bsd.o guid_uuid.o"
- S["ac_std_cpp_lib"]=""
- S["ac_target_arch"]=""
- S["ac_cross_compile"]=""
- S["ac_shlib_suffix"]="so"
- S["ac_cflags"]=" -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1"
- S["ac_build_mak_vars"]=""
- S["ac_pjdir"]="/code"
- S["CC_CFLAGS"]="-Wall"
- S["CC_OPTIMIZE"]="-O2"
- S["CC_DEF"]="-D"
- S["CC_INC"]="-I"
- S["CC_OUT"]="-c -o "
- S["LIBEXT2"]=""
- S["LIBEXT"]="a"
- S["LDOUT"]="-o "
- S["LD"]="g++"
- S["AR_FLAGS"]="rv"
- S["ac_ct_AR"]="ar"
- S["AR"]="ar"
- S["RANLIB"]="ranlib"
- S["ac_ct_CXX"]="g++"
- S["CXXFLAGS"]="-g -O2"
- S["CXX"]="g++"
- S["OBJEXT"]="o"
- S["EXEEXT"]=""
- S["ac_ct_CC"]="gcc"
- S["CPPFLAGS"]=""
- S["LDFLAGS"]=""
- S["CFLAGS"]="-fPIC -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1"
- S["CC"]="gcc"
- S["target_os"]="linux-gnu"
- S["target_vendor"]="unknown"
- S["target_cpu"]="x86_64"
- S["target"]="x86_64-unknown-linux-gnu"
- S["host_os"]="linux-gnu"
- S["host_vendor"]="unknown"
- S["host_cpu"]="x86_64"
- S["host"]="x86_64-unknown-linux-gnu"
- S["build_os"]="linux-gnu"
- S["build_vendor"]="unknown"
- S["build_cpu"]="x86_64"
- S["build"]="x86_64-unknown-linux-gnu"
- S["target_alias"]=""
- S["host_alias"]=""
- S["build_alias"]=""
- S["LIBS"]="-lssl -lcrypto -luuid -lm -lrt -lpthread "
- S["ECHO_T"]=""
- S["ECHO_N"]="-n"
- S["ECHO_C"]=""
- S["DEFS"]="-DHAVE_CONFIG_H"
- S["mandir"]="${datarootdir}/man"
- S["localedir"]="${datarootdir}/locale"
- S["libdir"]="${exec_prefix}/lib"
- S["psdir"]="${docdir}"
- S["pdfdir"]="${docdir}"
- S["dvidir"]="${docdir}"
- S["htmldir"]="${docdir}"
- S["infodir"]="${datarootdir}/info"
- S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
- S["oldincludedir"]="/usr/include"
- S["includedir"]="${prefix}/include"
- S["runstatedir"]="${localstatedir}/run"
- S["localstatedir"]="${prefix}/var"
- S["sharedstatedir"]="${prefix}/com"
- S["sysconfdir"]="${prefix}/etc"
- S["datadir"]="${datarootdir}"
- S["datarootdir"]="${prefix}/share"
- S["libexecdir"]="${exec_prefix}/libexec"
- S["sbindir"]="${exec_prefix}/sbin"
- S["bindir"]="${exec_prefix}/bin"
- S["program_transform_name"]="s,x,x,"
- S["prefix"]="/usr/local"
- S["exec_prefix"]="${prefix}"
- S["PACKAGE_URL"]=""
- S["PACKAGE_BUGREPORT"]=""
- S["PACKAGE_STRING"]="pjproject 2.x"
- S["PACKAGE_VERSION"]="2.x"
- S["PACKAGE_TARNAME"]="pjproject"
- S["PACKAGE_NAME"]="pjproject"
- S["PATH_SEPARATOR"]=":"
- S["SHELL"]="/bin/bash"
- _ACAWK
- cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
- }
- {
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
- print line
- }
- _ACAWK
- if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
- else
- cat
- fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
- fi # test -n "$CONFIG_FILES"
- # Set up the scripts for CONFIG_HEADERS section.
- # No need to generate them if there are no CONFIG_HEADERS.
- # This happens for instance with `./config.status Makefile'.
- if test -n "$CONFIG_HEADERS"; then
- cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
- BEGIN {
- D["PACKAGE_NAME"]=" \"pjproject\""
- D["PACKAGE_TARNAME"]=" \"pjproject\""
- D["PACKAGE_VERSION"]=" \"2.x\""
- D["PACKAGE_STRING"]=" \"pjproject 2.x\""
- D["PACKAGE_BUGREPORT"]=" \"\""
- D["PACKAGE_URL"]=" \"\""
- D["HAVE_LIBPTHREAD"]=" 1"
- D["HAVE_LIBRT"]=" 1"
- D["HAVE_LIBM"]=" 1"
- D["HAVE_LIBUUID"]=" 1"
- D["PJ_M_NAME"]=" \"x86_64\""
- D["PJ_POOL_ALIGNMENT"]=" 8"
- D["HAVE_STDIO_H"]=" 1"
- D["HAVE_STDLIB_H"]=" 1"
- D["HAVE_STRING_H"]=" 1"
- D["HAVE_INTTYPES_H"]=" 1"
- D["HAVE_STDINT_H"]=" 1"
- D["HAVE_STRINGS_H"]=" 1"
- D["HAVE_SYS_STAT_H"]=" 1"
- D["HAVE_SYS_TYPES_H"]=" 1"
- D["HAVE_UNISTD_H"]=" 1"
- D["STDC_HEADERS"]=" 1"
- D["PJ_LINUX"]=" 1"
- D["PJ_HAS_FLOATING_POINT"]=" 1"
- D["PJ_HAS_ARPA_INET_H"]=" 1"
- D["PJ_HAS_ASSERT_H"]=" 1"
- D["PJ_HAS_CTYPE_H"]=" 1"
- D["PJ_HAS_ERRNO_H"]=" 1"
- D["PJ_HAS_FCNTL_H"]=" 1"
- D["PJ_HAS_LINUX_SOCKET_H"]=" 1"
- D["PJ_HAS_LIMITS_H"]=" 1"
- D["PJ_HAS_MALLOC_H"]=" 1"
- D["PJ_HAS_NETDB_H"]=" 1"
- D["PJ_HAS_NETINET_IN_SYSTM_H"]=" 1"
- D["PJ_HAS_NETINET_IN_H"]=" 1"
- D["PJ_HAS_NETINET_IP_H"]=" 1"
- D["PJ_HAS_NETINET_TCP_H"]=" 1"
- D["PJ_HAS_IFADDRS_H"]=" 1"
- D["PJ_HAS_SEMAPHORE_H"]=" 1"
- D["PJ_HAS_SETJMP_H"]=" 1"
- D["PJ_HAS_STDARG_H"]=" 1"
- D["PJ_HAS_STDDEF_H"]=" 1"
- D["PJ_HAS_STDIO_H"]=" 1"
- D["PJ_HAS_STDINT_H"]=" 1"
- D["PJ_HAS_STDLIB_H"]=" 1"
- D["PJ_HAS_STRING_H"]=" 1"
- D["PJ_HAS_INTTYPES_H"]=" 1"
- D["PJ_HAS_SYS_IOCTL_H"]=" 1"
- D["PJ_HAS_SYS_SELECT_H"]=" 1"
- D["PJ_HAS_SYS_SOCKET_H"]=" 1"
- D["PJ_HAS_SYS_TIME_H"]=" 1"
- D["PJ_HAS_SYS_TIMEB_H"]=" 1"
- D["PJ_HAS_SYS_TYPES_H"]=" 1"
- D["PJ_HAS_SYS_UTSNAME_H"]=" 1"
- D["PJ_HAS_TIME_H"]=" 1"
- D["PJ_HAS_UNISTD_H"]=" 1"
- D["PJ_HAS_EXECINFO_H"]=" 1"
- D["PJ_HAS_NET_IF_H"]=" 1"
- D["PJ_HAS_LOCALTIME_R"]=" 1"
- D["PJ_OS_NAME"]=" \"x86_64-unknown-linux-gnu\""
- D["PJ_HAS_ERRNO_VAR"]=" 1"
- D["PJ_HAS_HIGH_RES_TIMER"]=" 1"
- D["PJ_HAS_MALLOC"]=" 1"
- D["PJ_NATIVE_STRING_IS_UNICODE"]=" 0"
- D["PJ_ATOMIC_VALUE_TYPE"]=" long"
- D["PJ_SOCK_HAS_INET_ATON"]=" 1"
- D["PJ_SOCK_HAS_INET_PTON"]=" 1"
- D["PJ_SOCK_HAS_INET_NTOP"]=" 1"
- D["PJ_SOCK_HAS_GETADDRINFO"]=" 1"
- D["PJ_SOCK_HAS_SOCKETPAIR"]=" 1"
- D["PJ_HAS_SOCKLEN_T"]=" 1"
- D["PJ_SOCK_HAS_IPV6_V6ONLY"]=" 1"
- D["PJ_HAS_SO_ERROR"]=" 1"
- D["PJ_EMULATE_RWMUTEX"]=" 0"
- D["PJ_HAS_SSL_SOCK"]=" 1"
- D["PJ_SSL_SOCK_IMP"]=" PJ_SSL_SOCK_IMP_OPENSSL"
- D["PJMEDIA_HAS_OPENCORE_AMRNB_CODEC"]=" 0"
- D["PJMEDIA_HAS_OPENCORE_AMRWB_CODEC"]=" 0"
- D["PJMEDIA_HAS_SILK_CODEC"]=" 0"
- D["PJMEDIA_HAS_OPUS_CODEC"]=" 0"
- D["PJMEDIA_HAS_BCG729"]=" 0"
- D["PJMEDIA_HAS_LIBWEBRTC_AEC3"]=" 0"
- D["PJ_SELECT_NEEDS_NFDS"]=" 0"
- D["PJ_THREAD_SET_STACK_SIZE"]=" 0"
- D["PJ_THREAD_ALLOCATE_STACK"]=" 0"
- D["PJ_BLOCKING_ERROR_VAL"]=" EAGAIN"
- D["PJ_BLOCKING_CONNECT_ERROR_VAL"]=" EINPROGRESS"
- D["PJ_HAS_PTHREAD_SETNAME_NP"]=" 1"
- for (key in D) D_is_set[key] = 1
- FS = ""
- }
- /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
- line = $ 0
- split(line, arg, " ")
- if (arg[1] == "#") {
- defundef = arg[2]
- mac1 = arg[3]
- } else {
- defundef = substr(arg[1], 2)
- mac1 = arg[2]
- }
- split(mac1, mac2, "(") #)
- macro = mac2[1]
- prefix = substr(line, 1, index(line, defundef) - 1)
- if (D_is_set[macro]) {
- # Preserve the white space surrounding the "#".
- print prefix "define", macro P[macro] D[macro]
- next
- } else {
- # Replace #undef with comments. This is necessary, for example,
- # in the case of _POSIX_SOURCE, which is predefined and required
- # on some systems where configure will not decide to define it.
- if (defundef == "undef") {
- print "/*", prefix defundef, macro, "*/"
- next
- }
- }
- }
- { print }
- _ACAWK
- as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
- fi # test -n "$CONFIG_HEADERS"
- eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
- shift
- for ac_tag
- do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
- printf "%s\n" "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`printf "%s\n" "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
- ac_dir=`$as_dirname -- "$ac_file" ||
- $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
- printf "%s\n" X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
- case "$ac_dir" in
- .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *)
- ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
- esac
- ac_abs_top_builddir=$ac_pwd
- ac_abs_builddir=$ac_pwd$ac_dir_suffix
- # for backward compatibility:
- ac_top_builddir=$ac_top_build_prefix
- case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
- esac
- ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
- # If the template does not know about datarootdir, expand it.
- # FIXME: This hack should be removed a few years after 2.60.
- ac_datarootdir_hack=; ac_datarootdir_seen=
- ac_sed_dataroot='
- /datarootdir/ {
- p
- q
- }
- /@datadir@/p
- /@docdir@/p
- /@infodir@/p
- /@localedir@/p
- /@mandir@/p'
- case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
- *datarootdir*) ac_datarootdir_seen=yes;;
- *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
- printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
- ac_datarootdir_hack='
- s&@datadir@&${datarootdir}&g
- s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
- s&@infodir@&${datarootdir}/info&g
- s&@localedir@&${datarootdir}/locale&g
- s&@mandir@&${datarootdir}/man&g
- s&\${datarootdir}&${prefix}/share&g' ;;
- esac
- ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
- h
- s///
- s/^/:/
- s/[ ]*$/:/
- s/:\$(srcdir):/:/g
- s/:\${srcdir}:/:/g
- s/:@srcdir@:/:/g
- s/^:*//
- s/:*$//
- x
- s/\(=[ ]*\).*/\1/
- G
- s/\n//
- s/^[^=]*=[ ]*$//
- }
- :t
- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
- s|@configure_input@|$ac_sed_conf_input|;t t
- s&@top_builddir@&$ac_top_builddir_sub&;t t
- s&@top_build_prefix@&$ac_top_build_prefix&;t t
- s&@srcdir@&$ac_srcdir&;t t
- s&@abs_srcdir@&$ac_abs_srcdir&;t t
- s&@top_srcdir@&$ac_top_srcdir&;t t
- s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
- s&@builddir@&$ac_builddir&;t t
- s&@abs_builddir@&$ac_abs_builddir&;t t
- s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
- $ac_datarootdir_hack
- "
- eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
- which seems to be undefined. Please make sure it is defined" >&5
- printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
- which seems to be undefined. Please make sure it is defined" >&2;}
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
- :H)
- #
- # CONFIG_HEADER
- #
- if test x"$ac_file" != x-; then
- {
- printf "%s\n" "/* $configure_input */" >&1 \
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
- } >"$ac_tmp/config.h" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
- printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
- else
- rm -f "$ac_file"
- mv "$ac_tmp/config.h" "$ac_file" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- fi
- else
- printf "%s\n" "/* $configure_input */" >&1 \
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
- || as_fn_error $? "could not create -" "$LINENO" 5
- fi
- ;;
- esac
- done # for ac_tag
- as_fn_exit 0
|