Skip to content
Snippets Groups Projects
configure 1.4 MiB
Newer Older
  • Learn to ignore specific revisions
  • no_create=
    no_recursion=
    prefix=NONE
    program_prefix=NONE
    program_suffix=NONE
    program_transform_name=s,x,x,
    silent=
    site=
    srcdir=
    verbose=
    x_includes=NONE
    x_libraries=NONE
    
    # Installation directory options.
    # These are left unexpanded so users can "make install exec_prefix=/foo"
    # and all the variables that are supposed to be based on exec_prefix
    # by default will actually change.
    # Use braces instead of parens because sh, perl, etc. also accept them.
    
    # (The list follows the same order as the GNU Coding Standards.)
    
    bindir='${exec_prefix}/bin'
    sbindir='${exec_prefix}/sbin'
    libexecdir='${exec_prefix}/libexec'
    
    datarootdir='${prefix}/share'
    datadir='${datarootdir}'
    
    sysconfdir='${prefix}/etc'
    sharedstatedir='${prefix}/com'
    localstatedir='${prefix}/var'
    includedir='${prefix}/include'
    oldincludedir='/usr/include'
    
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    
    infodir='${datarootdir}/info'
    htmldir='${docdir}'
    dvidir='${docdir}'
    pdfdir='${docdir}'
    psdir='${docdir}'
    libdir='${exec_prefix}/lib'
    localedir='${datarootdir}/locale'
    mandir='${datarootdir}/man'
    
    for ac_option
    do
      # If the previous option needs an argument, assign it.
      if test -n "$ac_prev"; then
    
        eval $ac_prev=\$ac_option
    
      case $ac_option in
      *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
      *)	ac_optarg=yes ;;
      esac
    
    
      # Accept the important Cygnus configure options, so we can diagnose typos.
    
    
      case $ac_dashdash$ac_option in
      --)
        ac_dashdash=yes ;;
    
    
      -bindir | --bindir | --bindi | --bind | --bin | --bi)
        ac_prev=bindir ;;
      -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
        bindir=$ac_optarg ;;
    
      -build | --build | --buil | --bui | --bu)
        ac_prev=build_alias ;;
      -build=* | --build=* | --buil=* | --bui=* | --bu=*)
        build_alias=$ac_optarg ;;
    
      -cache-file | --cache-file | --cache-fil | --cache-fi \
      | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
        ac_prev=cache_file ;;
      -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
      | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
        cache_file=$ac_optarg ;;
    
      --config-cache | -C)
        cache_file=config.cache ;;
    
    
      -datadir | --datadir | --datadi | --datad)
    
      -datadir=* | --datadir=* | --datadi=* | --datad=*)
    
      -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
      | --dataroo | --dataro | --datar)
        ac_prev=datarootdir ;;
      -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
      | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
        datarootdir=$ac_optarg ;;
    
    
      -disable-* | --disable-*)
        ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
        # Reject names that are not valid shell variable names.
    
        expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    
          { echo "$as_me: error: invalid feature name: $ac_feature" >&2
       { (exit 1); exit 1; }; }
    
        ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    
        eval enable_$ac_feature=no ;;
    
      -docdir | --docdir | --docdi | --doc | --do)
        ac_prev=docdir ;;
      -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
        docdir=$ac_optarg ;;
    
      -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
        ac_prev=dvidir ;;
      -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
        dvidir=$ac_optarg ;;
    
    
      -enable-* | --enable-*)
        ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
        # Reject names that are not valid shell variable names.
    
        expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    
          { echo "$as_me: error: invalid feature name: $ac_feature" >&2
       { (exit 1); exit 1; }; }
    
        ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
    
        eval enable_$ac_feature=\$ac_optarg ;;
    
    
      -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
      | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
      | --exec | --exe | --ex)
        ac_prev=exec_prefix ;;
      -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
      | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
      | --exec=* | --exe=* | --ex=*)
        exec_prefix=$ac_optarg ;;
    
      -gas | --gas | --ga | --g)
        # Obsolete; use --with-gas.
        with_gas=yes ;;
    
      -help | --help | --hel | --he | -h)
        ac_init_help=long ;;
      -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
        ac_init_help=recursive ;;
      -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
        ac_init_help=short ;;
    
      -host | --host | --hos | --ho)
        ac_prev=host_alias ;;
      -host=* | --host=* | --hos=* | --ho=*)
        host_alias=$ac_optarg ;;
    
    
      -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
        ac_prev=htmldir ;;
      -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
      | --ht=*)
        htmldir=$ac_optarg ;;
    
    
      -includedir | --includedir | --includedi | --included | --include \
      | --includ | --inclu | --incl | --inc)
        ac_prev=includedir ;;
      -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
      | --includ=* | --inclu=* | --incl=* | --inc=*)
        includedir=$ac_optarg ;;
    
      -infodir | --infodir | --infodi | --infod | --info | --inf)
        ac_prev=infodir ;;
      -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
        infodir=$ac_optarg ;;
    
      -libdir | --libdir | --libdi | --libd)
        ac_prev=libdir ;;
      -libdir=* | --libdir=* | --libdi=* | --libd=*)
        libdir=$ac_optarg ;;
    
      -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
      | --libexe | --libex | --libe)
        ac_prev=libexecdir ;;
      -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
      | --libexe=* | --libex=* | --libe=*)
        libexecdir=$ac_optarg ;;
    
    
      -localedir | --localedir | --localedi | --localed | --locale)
        ac_prev=localedir ;;
      -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
        localedir=$ac_optarg ;;
    
    
      -localstatedir | --localstatedir | --localstatedi | --localstated \
    
      | --localstate | --localstat | --localsta | --localst | --locals)
    
        ac_prev=localstatedir ;;
      -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    
      | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    
        localstatedir=$ac_optarg ;;
    
      -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
        ac_prev=mandir ;;
      -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
        mandir=$ac_optarg ;;
    
      -nfp | --nfp | --nf)
        # Obsolete; use --without-fp.
        with_fp=no ;;
    
      -no-create | --no-create | --no-creat | --no-crea | --no-cre \
      | --no-cr | --no-c | -n)
        no_create=yes ;;
    
      -no-recursion | --no-recursion | --no-recursio | --no-recursi \
      | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
        no_recursion=yes ;;
    
      -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
      | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
      | --oldin | --oldi | --old | --ol | --o)
        ac_prev=oldincludedir ;;
      -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
      | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
      | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
        oldincludedir=$ac_optarg ;;
    
      -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
        ac_prev=prefix ;;
      -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
        prefix=$ac_optarg ;;
    
      -program-prefix | --program-prefix | --program-prefi | --program-pref \
      | --program-pre | --program-pr | --program-p)
        ac_prev=program_prefix ;;
      -program-prefix=* | --program-prefix=* | --program-prefi=* \
      | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
        program_prefix=$ac_optarg ;;
    
      -program-suffix | --program-suffix | --program-suffi | --program-suff \
      | --program-suf | --program-su | --program-s)
        ac_prev=program_suffix ;;
      -program-suffix=* | --program-suffix=* | --program-suffi=* \
      | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
        program_suffix=$ac_optarg ;;
    
      -program-transform-name | --program-transform-name \
      | --program-transform-nam | --program-transform-na \
      | --program-transform-n | --program-transform- \
      | --program-transform | --program-transfor \
      | --program-transfo | --program-transf \
      | --program-trans | --program-tran \
      | --progr-tra | --program-tr | --program-t)
        ac_prev=program_transform_name ;;
      -program-transform-name=* | --program-transform-name=* \
      | --program-transform-nam=* | --program-transform-na=* \
      | --program-transform-n=* | --program-transform-=* \
      | --program-transform=* | --program-transfor=* \
      | --program-transfo=* | --program-transf=* \
      | --program-trans=* | --program-tran=* \
      | --progr-tra=* | --program-tr=* | --program-t=*)
        program_transform_name=$ac_optarg ;;
    
    
      -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
        ac_prev=pdfdir ;;
      -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
        pdfdir=$ac_optarg ;;
    
      -psdir | --psdir | --psdi | --psd | --ps)
        ac_prev=psdir ;;
      -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
        psdir=$ac_optarg ;;
    
    
      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
      | -silent | --silent | --silen | --sile | --sil)
        silent=yes ;;
    
      -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
        ac_prev=sbindir ;;
      -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
      | --sbi=* | --sb=*)
        sbindir=$ac_optarg ;;
    
      -sharedstatedir | --sharedstatedir | --sharedstatedi \
      | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
      | --sharedst | --shareds | --shared | --share | --shar \
      | --sha | --sh)
        ac_prev=sharedstatedir ;;
      -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
      | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
      | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
      | --sha=* | --sh=*)
        sharedstatedir=$ac_optarg ;;
    
      -site | --site | --sit)
        ac_prev=site ;;
      -site=* | --site=* | --sit=*)
        site=$ac_optarg ;;
    
      -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
        ac_prev=srcdir ;;
      -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
        srcdir=$ac_optarg ;;
    
      -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
      | --syscon | --sysco | --sysc | --sys | --sy)
        ac_prev=sysconfdir ;;
      -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
      | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
        sysconfdir=$ac_optarg ;;
    
      -target | --target | --targe | --targ | --tar | --ta | --t)
        ac_prev=target_alias ;;
      -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
        target_alias=$ac_optarg ;;
    
      -v | -verbose | --verbose | --verbos | --verbo | --verb)
        verbose=yes ;;
    
      -version | --version | --versio | --versi | --vers | -V)
        ac_init_version=: ;;
    
      -with-* | --with-*)
        ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
        # Reject names that are not valid shell variable names.
    
        expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    
          { echo "$as_me: error: invalid package name: $ac_package" >&2
       { (exit 1); exit 1; }; }
    
        ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    
        eval with_$ac_package=\$ac_optarg ;;
    
    
      -without-* | --without-*)
        ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
        # Reject names that are not valid shell variable names.
    
        expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    
          { echo "$as_me: error: invalid package name: $ac_package" >&2
       { (exit 1); exit 1; }; }
    
        ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
    
        eval with_$ac_package=no ;;
    
    
      --x)
        # Obsolete; use --with-x.
        with_x=yes ;;
    
      -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
      | --x-incl | --x-inc | --x-in | --x-i)
        ac_prev=x_includes ;;
      -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
      | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
        x_includes=$ac_optarg ;;
    
      -x-libraries | --x-libraries | --x-librarie | --x-librari \
      | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
        ac_prev=x_libraries ;;
      -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
      | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
        x_libraries=$ac_optarg ;;
    
      -*) { echo "$as_me: error: unrecognized option: $ac_option
    Try \`$0 --help' for more information." >&2
       { (exit 1); exit 1; }; }
        ;;
    
      *=*)
        ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
        # Reject names that are not valid shell variable names.
        expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
          { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
       { (exit 1); exit 1; }; }
    
        eval $ac_envvar=\$ac_optarg
    
        export $ac_envvar ;;
    
      *)
        # FIXME: should be removed in autoconf 3.0.
        echo "$as_me: WARNING: you should use --build, --host, --target" >&2
        expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
          echo "$as_me: WARNING: invalid host type: $ac_option" >&2
        : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
        ;;
    
      esac
    done
    
    if test -n "$ac_prev"; then
      ac_option=--`echo $ac_prev | sed 's/_/-/g'`
      { echo "$as_me: error: missing argument to $ac_option" >&2
       { (exit 1); exit 1; }; }
    fi
    
    
    # Be sure to have absolute directory names.
    for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
    		datadir sysconfdir sharedstatedir localstatedir includedir \
    		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    		libdir localedir mandir
    
      eval ac_val=\$$ac_var
    
        [\\/$]* | ?:[\\/]* )  continue;;
        NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    
      { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
       { (exit 1); exit 1; }; }
    
    done
    
    # There might be people who depend on the old broken behavior: `$host'
    # used to hold the argument of --host etc.
    # FIXME: To remove some day.
    build=$build_alias
    host=$host_alias
    target=$target_alias
    
    # FIXME: To remove some day.
    if test "x$host_alias" != x; then
      if test "x$build_alias" = x; then
        cross_compiling=maybe
        echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
        If a cross compiler is detected then cross compile mode will be used." >&2
      elif test "x$build_alias" != "x$host_alias"; then
        cross_compiling=yes
      fi
    fi
    
    ac_tool_prefix=
    test -n "$host_alias" && ac_tool_prefix=$host_alias-
    
    test "$silent" = yes && exec 6>/dev/null
    
    
    
    ac_pwd=`pwd` && test -n "$ac_pwd" &&
    ac_ls_di=`ls -di .` &&
    ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
      { echo "$as_me: error: Working directory cannot be determined" >&2
       { (exit 1); exit 1; }; }
    test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
      { echo "$as_me: error: pwd does not report name of working directory" >&2
       { (exit 1); exit 1; }; }
    
    
    
    # Find the source files, if location was not specified.
    if test -z "$srcdir"; then
      ac_srcdir_defaulted=yes
    
      # Try the directory containing this script, then the parent directory.
      ac_confdir=`$as_dirname -- "$0" ||
    
    $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    	 X"$0" : 'X\(//\)[^/]' \| \
    	 X"$0" : 'X\(//\)$' \| \
    
    	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    
        sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\/\)[^/].*/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\/\)$/{
    	    s//\1/
    	    q
    	  }
    	  /^X\(\/\).*/{
    	    s//\1/
    	    q
    	  }
    	  s/.*/./; q'`
    
      if test ! -r "$srcdir/$ac_unique_file"; then
    
    if test ! -r "$srcdir/$ac_unique_file"; then
      test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
      { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    
    ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    ac_abs_confdir=`(
    	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
    
    	pwd)`
    # When building in place, set srcdir=.
    if test "$ac_abs_confdir" = "$ac_pwd"; then
      srcdir=.
    fi
    # Remove unnecessary trailing slashes from srcdir.
    # Double slashes in file names in object file debugging info
    # mess up M-x gdb in Emacs.
    case $srcdir in
    */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
    esac
    for ac_var in $ac_precious_vars; do
      eval ac_env_${ac_var}_set=\${${ac_var}+set}
      eval ac_env_${ac_var}_value=\$${ac_var}
      eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
      eval ac_cv_env_${ac_var}_value=\$${ac_var}
    done
    
    
    #
    # Report the --help message.
    #
    if test "$ac_init_help" = "long"; then
      # Omit some internal or obsolete options to make the list less imposing.
      # This message is too long to be a string in the A/UX 3.1 sh.
      cat <<_ACEOF
    
    \`configure' configures asterisk 1.4 to adapt to many kinds of systems.
    
    
    Usage: $0 [OPTION]... [VAR=VALUE]...
    
    To assign environment variables (e.g., CC, CFLAGS...), specify them as
    VAR=VALUE.  See below for descriptions of some of the useful variables.
    
    Defaults for the options are specified in brackets.
    
    Configuration:
      -h, --help              display this help and exit
          --help=short        display options specific to this package
          --help=recursive    display the short help of all the included packages
      -V, --version           display version information and exit
      -q, --quiet, --silent   do not print \`checking...' messages
          --cache-file=FILE   cache test results in FILE [disabled]
      -C, --config-cache      alias for \`--cache-file=config.cache'
      -n, --no-create         do not create output files
          --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    
    Installation directories:
      --prefix=PREFIX         install architecture-independent files in PREFIX
    			  [$ac_default_prefix]
      --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    			  [PREFIX]
    
    By default, \`make install' will install all the files in
    \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    for instance \`--prefix=\$HOME'.
    
    For better control, use the options below.
    
    Fine tuning of the installation directories:
      --bindir=DIR           user executables [EPREFIX/bin]
      --sbindir=DIR          system admin executables [EPREFIX/sbin]
      --libexecdir=DIR       program executables [EPREFIX/libexec]
      --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
      --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
      --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
      --libdir=DIR           object code libraries [EPREFIX/lib]
      --includedir=DIR       C header files [PREFIX/include]
      --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    
      --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
      --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
      --infodir=DIR          info documentation [DATAROOTDIR/info]
      --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
      --mandir=DIR           man documentation [DATAROOTDIR/man]
    
      --docdir=DIR           documentation root [DATAROOTDIR/doc/asterisk]
    
      --htmldir=DIR          html documentation [DOCDIR]
      --dvidir=DIR           dvi documentation [DOCDIR]
      --pdfdir=DIR           pdf documentation [DOCDIR]
      --psdir=DIR            ps documentation [DOCDIR]
    
    _ACEOF
    
      cat <<\_ACEOF
    
    System types:
      --build=BUILD     configure for building on BUILD [guessed]
      --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    _ACEOF
    fi
    
    if test -n "$ac_init_help"; then
    
      case $ac_init_help in
         short | recursive ) echo "Configuration of asterisk 1.4:";;
       esac
    
      cat <<\_ACEOF
    
    Optional Features:
      --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
      --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
      --enable-dev-mode    Turn on developer mode
      --disable-largefile     omit support for large files
    
    Optional Packages:
      --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
      --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    
      --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    
      --with-asound=PATH      use Advanced Linux Sound Architecture files in PATH
    
      --with-execinfo=PATH    use Stack Backtrace support files in PATH
    
      --with-cap=PATH         use POSIX 1.e capabilities files in PATH
    
      --with-curl=PATH        use cURL files in PATH
    
      --with-curses=PATH      use curses files in PATH
    
    Kevin P. Fleming's avatar
    Kevin P. Fleming committed
      --with-crypto=PATH      use OpenSSL Cryptography support files in PATH
    
      --with-gsm=PATH         use External GSM library files in PATH , use
                              'internal' GSM otherwise
    
      --with-gtk=PATH         use gtk libraries files in PATH
      --with-gtk2=PATH        use gtk2 libraries files in PATH
    
      --with-iconv=PATH       use Iconv Library files in PATH
    
      --with-iksemel=PATH     use Iksemel Jabber Library files in PATH
    
      --with-imap=PATH        use UW IMAP Toolkit files in PATH
    
      --with-isdnnet=PATH     use ISDN4Linux Library files in PATH
    
      --with-ltdl=PATH        use libtool files in PATH
    
      --with-lua=PATH         use Lua files in PATH
    
      --with-misdn=PATH       use mISDN User Library files in PATH
    
      --with-nbs=PATH         use Network Broadcast Sound files in PATH
      --with-ncurses=PATH     use ncurses files in PATH
    
      --with-netsnmp=PATH     use Net-SNMP files in PATH
    
      --with-newt=PATH        use newt files in PATH
      --with-odbc=PATH        use unixODBC files in PATH
      --with-ogg=PATH         use OGG files in PATH
      --with-osptk=PATH       use OSP Toolkit files in PATH
    
      --with-oss=PATH         use Open Sound System files in PATH
      --with-postgres=PATH    use PostgreSQL files in PATH
    
      --with-popt=PATH        use popt files in PATH
      --with-portaudio=PATH   use PortAudio files in PATH
    
      --with-pri=PATH         use ISDN PRI files in PATH
    
    Matthew Fredrickson's avatar
    Matthew Fredrickson committed
      --with-ss7=PATH         use ISDN SS7 files in PATH
    
      --with-pwlib=PATH       use PWlib files in PATH
    
      --with-h323=PATH        use OpenH323 files in PATH
    
      --with-radius=PATH      use Radius Client files in PATH
    
      --with-speex=PATH       use Speex files in PATH
      --with-sqlite=PATH      use SQLite files in PATH
    
      --with-sqlite3=PATH     use SQLite files in PATH
    
      --with-suppserv=PATH    use mISDN Supplemental Services files in PATH
    
    Kevin P. Fleming's avatar
    Kevin P. Fleming committed
      --with-ssl=PATH         use OpenSSL Secure Sockets Layer support files in
                              PATH
    
      --with-tds=PATH         use FreeTDS files in PATH
    
      --with-termcap=PATH     use Termcap files in PATH
      --with-tinfo=PATH       use Term Info files in PATH
    
      --with-tonezone=PATH    use tonezone files in PATH
    
      --with-usb=PATH         use usb files in PATH
    
      --with-vorbis=PATH      use Vorbis files in PATH
    
      --with-vpb=PATH         use Voicetronix API files in PATH
    
      --with-x11=PATH         use X11 support files in PATH
    
      --with-z=PATH           use zlib files in PATH
    
      --with-zaptel=PATH      use Zaptel files in PATH
    
      --with-zaptel_transcode=PATH
    
                              use Zaptel Transcoder Support files in PATH
    
                              use Zaptel VLDTMF Support files in PATH
      --with-zaptel_hwgain=PATH
                              use Zaptel Hardware Gain Support files in PATH
      --with-zaptel_echocanparams=PATH
                              use Zaptel Echo Canceler Parameter Support files in
                              PATH
    
      --with-sdl=PATH         use Sdl files in PATH
      --with-SDL_image=PATH   use Sdl Image library files in PATH
      --with-avcodec=PATH     use Ffmpeg and avcodec library files in PATH
    
    
    Some influential environment variables:
      CC          C compiler command
      CFLAGS      C compiler flags
      LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                  nonstandard directory <lib dir>
    
      LIBS        libraries to pass to the linker, e.g. -l<library>
    
      CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
                  you have headers in a nonstandard directory <include dir>
    
      CPP         C preprocessor
    
      CXX         C++ compiler command
      CXXFLAGS    C++ compiler flags
      CXXCPP      C++ preprocessor
    
    Use these variables to override the choices made by `configure' or to help
    it to find libraries and programs with nonstandard names/locations.
    
    
    Report bugs to <www.asterisk.org>.
    
    fi
    
    if test "$ac_init_help" = "recursive"; then
      # If there are subdirs, report their specific --help.
      for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    
    case "$ac_dir" in
    .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
    *)
    
      ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    
      # A ".." for each directory in $ac_dir_suffix.
      ac_top_builddir_sub=`echo "$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
    
      .)  # We are building in place.
    
        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 ;;
    
    ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
    
        cd "$ac_dir" || { ac_status=$?; continue; }
        # Check for guested configure.
    
        if test -f "$ac_srcdir/configure.gnu"; then
    
          $SHELL "$ac_srcdir/configure.gnu" --help=recursive
        elif test -f "$ac_srcdir/configure"; then
    
          $SHELL "$ac_srcdir/configure" --help=recursive
    
        else
          echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    
        fi || ac_status=$?
        cd "$ac_pwd" || { ac_status=$?; break; }
    
    test -n "$ac_init_help" && exit $ac_status
    
    if $ac_init_version; then
      cat <<\_ACEOF
    
    asterisk configure 1.4
    generated by GNU Autoconf 2.61
    
    Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    
    This configure script is free software; the Free Software Foundation
    gives unlimited permission to copy, distribute and modify it.
    
    "Asterisk"
    _ACEOF
    
    cat >config.log <<_ACEOF
    
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    
    
    It was created by asterisk $as_me 1.4, which was
    generated by GNU Autoconf 2.61.  Invocation command line was
    
    {
    cat <<_ASUNAME
    ## --------- ##
    ## Platform. ##
    ## --------- ##
    
    hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
    uname -m = `(uname -m) 2>/dev/null || echo unknown`
    uname -r = `(uname -r) 2>/dev/null || echo unknown`
    uname -s = `(uname -s) 2>/dev/null || echo unknown`
    uname -v = `(uname -v) 2>/dev/null || echo unknown`
    
    /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
    /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
    
    /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
    /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    
    /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    
    /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
    /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
    
    _ASUNAME
    
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    for as_dir in $PATH
    do
      IFS=$as_save_IFS
      test -z "$as_dir" && as_dir=.
      echo "PATH: $as_dir"
    done
    
    
    } >&5
    
    cat >&5 <<_ACEOF
    
    
    ## ----------- ##
    ## Core tests. ##
    ## ----------- ##
    
    _ACEOF
    
    
    # Keep a trace of the command line.
    # Strip out --no-create and --no-recursion so they do not pile up.
    # Strip out --silent because we don't want to record it for future runs.
    # Also quote any args containing shell meta-characters.
    # Make two passes to allow for proper duplicate-argument suppression.
    ac_configure_args=
    ac_configure_args0=
    ac_configure_args1=
    ac_must_keep_next=false
    for ac_pass in 1 2
    do
      for ac_arg
      do
        case $ac_arg in
        -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
        -q | -quiet | --quiet | --quie | --qui | --qu | --q \
        | -silent | --silent | --silen | --sile | --sil)
          continue ;;
    
          ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
        esac
        case $ac_pass in
        1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
        2)
          ac_configure_args1="$ac_configure_args1 '$ac_arg'"
          if test $ac_must_keep_next = true; then
    	ac_must_keep_next=false # Got value, back to normal.
          else
    	case $ac_arg in
    	  *=* | --config-cache | -C | -disable-* | --disable-* \
    	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
    	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
    	  | -with-* | --with-* | -without-* | --without-* | --x)
    	    case "$ac_configure_args0 " in
    	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
    	    esac
    	    ;;
    	  -* ) ac_must_keep_next=true ;;
    	esac
          fi
    
          ac_configure_args="$ac_configure_args '$ac_arg'"
    
          ;;
        esac
      done
    done
    $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    
    # When interrupted or exit'd, cleanup temporary files, and complete
    # config.log.  We remove comments because anyway the quotes in there
    # would cause problems or look ugly.
    
    # WARNING: Use '\'' to represent an apostrophe within the trap.
    # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    
    trap 'exit_status=$?
      # Save into config.log some information that might help in debugging.
      {
        echo
    
        cat <<\_ASBOX
    ## ---------------- ##
    ## Cache variables. ##
    ## ---------------- ##
    _ASBOX
        echo
        # The following way of writing the cache mishandles newlines in values,
    
    (
      for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
        eval ac_val=\$$ac_var
        case $ac_val in #(
        *${as_nl}*)
          case $ac_var in #(
          *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
    echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
          esac
          case $ac_var in #(
          _ | IFS | as_nl) ;; #(
          *) $as_unset $ac_var ;;
          esac ;;
        esac
      done
    
        case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
        *${as_nl}ac_space=\ *)
    
    	"s/'\''/'\''\\\\'\'''\''/g;
    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
          ;; #(
    
          sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    
        echo
    
        cat <<\_ASBOX
    ## ----------------- ##
    ## Output variables. ##
    ## ----------------- ##
    _ASBOX
        echo
        for ac_var in $ac_subst_vars
        do
    
          eval ac_val=\$$ac_var
    
          case $ac_val in
          *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
          esac
    
          echo "$ac_var='\''$ac_val'\''"
    
        done | sort
        echo
    
        if test -n "$ac_subst_files"; then
          cat <<\_ASBOX
    
    ## ------------------- ##
    ## File substitutions. ##
    ## ------------------- ##
    
    _ASBOX
          echo
          for ac_var in $ac_subst_files
          do
    
    	eval ac_val=\$$ac_var
    
    	case $ac_val in
    	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    	esac
    
    	echo "$ac_var='\''$ac_val'\''"
    
          done | sort
          echo
        fi
    
        if test -s confdefs.h; then
          cat <<\_ASBOX
    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##
    _ASBOX
          echo
    
          echo
        fi
        test "$ac_signal" != 0 &&
          echo "$as_me: caught signal $ac_signal"
        echo "$as_me: exit $exit_status"
      } >&5
    
      rm -f core *.core core.conftest.* &&
        rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    
    for ac_signal in 1 2 13 15; do
      trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    done
    ac_signal=0
    
    # confdefs.h avoids OS command line length limits that DEFS can exceed.
    
    rm -f -r conftest* confdefs.h
    
    
    # Predefined preprocessor variables.
    
    cat >>confdefs.h <<_ACEOF
    #define PACKAGE_NAME "$PACKAGE_NAME"
    _ACEOF
    
    
    cat >>confdefs.h <<_ACEOF
    #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    _ACEOF
    
    
    cat >>confdefs.h <<_ACEOF
    #define PACKAGE_VERSION "$PACKAGE_VERSION"
    _ACEOF
    
    
    cat >>confdefs.h <<_ACEOF
    #define PACKAGE_STRING "$PACKAGE_STRING"
    _ACEOF
    
    
    cat >>confdefs.h <<_ACEOF
    #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    _ACEOF
    
    
    # Let the site file select an alternate cache file if it wants to.
    # Prefer explicitly selected file to automatically selected ones.
    
    if test -n "$CONFIG_SITE"; then
      set x "$CONFIG_SITE"
    elif test "x$prefix" != xNONE; then
      set x "$prefix/share/config.site" "$prefix/etc/config.site"
    else
      set x "$ac_default_prefix/share/config.site" \
    	"$ac_default_prefix/etc/config.site"
    
      if test -r "$ac_site_file"; then
        { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    echo "$as_me: loading site script $ac_site_file" >&6;}
        sed 's/^/| /' "$ac_site_file" >&5
        . "$ac_site_file"
      fi
    done
    
    if test -r "$cache_file"; then
      # Some versions of bash will fail to source /dev/null (special
      # files actually), so we avoid doing that.
      if test -f "$cache_file"; then
        { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    echo "$as_me: loading cache $cache_file" >&6;}
        case $cache_file in
    
          [\\/]* | ?:[\\/]* ) . "$cache_file";;
          *)                      . "./$cache_file";;
    
        esac
      fi
    else
      { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    echo "$as_me: creating cache $cache_file" >&6;}
      >$cache_file