krax

Untitled

Mar 29th, 2011
251
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #! /bin/sh
  2. # Generated from autoconf.as by GNU Autoconf 2.65.
  3. # Generated from autoconf.in; do not edit by hand.
  4. # autoconf -- create `configure' using m4 macros
  5.  
  6. # Copyright (C) 1992, 1993, 1994, 1996, 1999, 2000, 2001, 2002, 2003,
  7. # 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
  8.  
  9. # This program is free software: you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation, either version 3 of the License, or
  12. # (at your option) any later version.
  13.  
  14. # This program is distributed in the hope that it will be useful,
  15. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17. # GNU General Public License for more details.
  18.  
  19. # You should have received a copy of the GNU General Public License
  20. # along with this program.  If not, see <http://www.gnu.org/licenses/>.
  21.  
  22. ## -------------------- ##
  23. ## M4sh Initialization. ##
  24. ## -------------------- ##
  25.  
  26. # Be more Bourne compatible
  27. DUALCASE=1; export DUALCASE # for MKS sh
  28. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  29.   emulate sh
  30.   NULLCMD=:
  31.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  32.   # is contrary to our usage.  Disable this feature.
  33.   alias -g '${1+"$@"}'='"$@"'
  34.   setopt NO_GLOB_SUBST
  35. else
  36.   case `(set -o) 2>/dev/null` in #(
  37.   *posix*) :
  38.     set -o posix ;; #(
  39.   *) :
  40.      ;;
  41. esac
  42. fi
  43.  
  44.  
  45. as_nl='
  46. '
  47. export as_nl
  48. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  49. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  50. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  51. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  52. # Prefer a ksh shell builtin over an external printf program on Solaris,
  53. # but without wasting forks for bash or zsh.
  54. if test -z "$BASH_VERSION$ZSH_VERSION" \
  55.     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  56.   as_echo='print -r --'
  57.   as_echo_n='print -rn --'
  58. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  59.   as_echo='printf %s\n'
  60.   as_echo_n='printf %s'
  61. else
  62.   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  63.     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  64.     as_echo_n='/usr/ucb/echo -n'
  65.   else
  66.     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  67.     as_echo_n_body='eval
  68.      arg=$1;
  69.      case $arg in #(
  70.      *"$as_nl"*)
  71.     expr "X$arg" : "X\\(.*\\)$as_nl";
  72.     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  73.      esac;
  74.      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  75.    '
  76.     export as_echo_n_body
  77.     as_echo_n='sh -c $as_echo_n_body as_echo'
  78.   fi
  79.   export as_echo_body
  80.   as_echo='sh -c $as_echo_body as_echo'
  81. fi
  82.  
  83. # The user is always right.
  84. if test "${PATH_SEPARATOR+set}" != set; then
  85.   PATH_SEPARATOR=:
  86.   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  87.     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  88.       PATH_SEPARATOR=';'
  89.   }
  90. fi
  91.  
  92.  
  93. # IFS
  94. # We need space, tab and new line, in precisely that order.  Quoting is
  95. # there to prevent editors from complaining about space-tab.
  96. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  97. # splitting by setting IFS to empty value.)
  98. IFS=" ""    $as_nl"
  99.  
  100. # Find who we are.  Look in the path if we contain no directory separator.
  101. case $0 in #((
  102.   *[\\/]* ) as_myself=$0 ;;
  103.   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  104. for as_dir in $PATH
  105. do
  106.   IFS=$as_save_IFS
  107.   test -z "$as_dir" && as_dir=.
  108.     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  109.   done
  110. IFS=$as_save_IFS
  111.  
  112.      ;;
  113. esac
  114. # We did not find ourselves, most probably we were run as `sh COMMAND'
  115. # in which case we are not to be found in the path.
  116. if test "x$as_myself" = x; then
  117.   as_myself=$0
  118. fi
  119. if test ! -f "$as_myself"; then
  120.   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  121.   exit 1
  122. fi
  123.  
  124. # Unset variables that we do not need and which cause bugs (e.g. in
  125. # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  126. # suppresses any "Segmentation fault" message there.  '((' could
  127. # trigger a bug in pdksh 5.2.14.
  128. for as_var in BASH_ENV ENV MAIL MAILPATH
  129. do eval test x\${$as_var+set} = xset \
  130.   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  131. done
  132. PS1='$ '
  133. PS2='> '
  134. PS4='+ '
  135.  
  136. # NLS nuisances.
  137. LC_ALL=C
  138. export LC_ALL
  139. LANGUAGE=C
  140. export LANGUAGE
  141.  
  142. # CDPATH.
  143. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  144.  
  145. if test "x$CONFIG_SHELL" = x; then
  146.   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  147.  emulate sh
  148.  NULLCMD=:
  149.  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  150.  # is contrary to our usage.  Disable this feature.
  151.  alias -g '\${1+\"\$@\"}'='\"\$@\"'
  152.  setopt NO_GLOB_SUBST
  153. else
  154.  case \`(set -o) 2>/dev/null\` in #(
  155.  *posix*) :
  156.    set -o posix ;; #(
  157.  *) :
  158.     ;;
  159. esac
  160. fi
  161. "
  162.   as_required="as_fn_return () { (exit \$1); }
  163. as_fn_success () { as_fn_return 0; }
  164. as_fn_failure () { as_fn_return 1; }
  165. as_fn_ret_success () { return 0; }
  166. as_fn_ret_failure () { return 1; }
  167.  
  168. exitcode=0
  169. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  170. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  171. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  172. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  173. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  174.  
  175. else
  176.  exitcode=1; echo positional parameters were not saved.
  177. fi
  178. test x\$exitcode = x0 || exit 1"
  179.   as_suggested=""
  180.   if (eval "$as_required") 2>/dev/null; then :
  181.   as_have_required=yes
  182. else
  183.   as_have_required=no
  184. fi
  185.   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  186.  
  187. else
  188.   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  189. as_found=false
  190. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  191. do
  192.   IFS=$as_save_IFS
  193.   test -z "$as_dir" && as_dir=.
  194.   as_found=:
  195.   case $as_dir in #(
  196.      /*)
  197.        for as_base in sh bash ksh sh5; do
  198.          # Try only shells that exist, to save several forks.
  199.          as_shell=$as_dir/$as_base
  200.          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  201.             { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  202.   CONFIG_SHELL=$as_shell as_have_required=yes
  203.            break 2
  204. fi
  205.        done;;
  206.        esac
  207.   as_found=false
  208. done
  209. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  210.           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  211.   CONFIG_SHELL=$SHELL as_have_required=yes
  212. fi; }
  213. IFS=$as_save_IFS
  214.  
  215.  
  216.       if test "x$CONFIG_SHELL" != x; then :
  217.   # We cannot yet assume a decent shell, so we have to provide a
  218.     # neutralization value for shells without unset; and this also
  219.     # works around shells that cannot unset nonexistent variables.
  220.     BASH_ENV=/dev/null
  221.     ENV=/dev/null
  222.     (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  223.     export CONFIG_SHELL
  224.     exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  225. fi
  226.  
  227.     if test x$as_have_required = xno; then :
  228.   $as_echo "$0: This script requires a shell more modern than all"
  229.   $as_echo "$0: the shells that I found on your system."
  230.   if test x${ZSH_VERSION+set} = xset ; then
  231.     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  232.     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  233.   else
  234.     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  235. $0: including any error possibly output before this
  236. $0: message. Then install a modern shell, or manually run
  237. $0: the script under such a shell if you do have one."
  238.   fi
  239.   exit 1
  240. fi
  241. fi
  242. fi
  243. SHELL=${CONFIG_SHELL-/bin/sh}
  244. export SHELL
  245. # Unset more variables known to interfere with behavior of common tools.
  246. CLICOLOR_FORCE= GREP_OPTIONS=
  247. unset CLICOLOR_FORCE GREP_OPTIONS
  248.  
  249. ## --------------------- ##
  250. ## M4sh Shell Functions. ##
  251. ## --------------------- ##
  252. # as_fn_unset VAR
  253. # ---------------
  254. # Portably unset VAR.
  255. as_fn_unset ()
  256. {
  257.   { eval $1=; unset $1;}
  258. }
  259. as_unset=as_fn_unset
  260.  
  261. # as_fn_set_status STATUS
  262. # -----------------------
  263. # Set $? to STATUS, without forking.
  264. as_fn_set_status ()
  265. {
  266.   return $1
  267. } # as_fn_set_status
  268.  
  269. # as_fn_exit STATUS
  270. # -----------------
  271. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  272. as_fn_exit ()
  273. {
  274.   set +e
  275.   as_fn_set_status $1
  276.   exit $1
  277. } # as_fn_exit
  278.  
  279.  
  280. # as_fn_error ERROR
  281. # -----------------
  282. # Output "`basename $0`: error: ERROR" to stderr. Then exit the script with
  283. # status $?, using 1 if that was 0.
  284. as_fn_error ()
  285. {
  286.   as_status=$?; test $as_status -eq 0 && as_status=1
  287.   $as_echo "$as_me: error: $1" >&2
  288.   as_fn_exit $as_status
  289. } # as_fn_error
  290.  
  291. if expr a : '\(a\)' >/dev/null 2>&1 &&
  292.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  293.   as_expr=expr
  294. else
  295.   as_expr=false
  296. fi
  297.  
  298. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  299.   as_basename=basename
  300. else
  301.   as_basename=false
  302. fi
  303.  
  304. as_me=`$as_basename -- "$0" ||
  305. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  306.      X"$0" : 'X\(//\)$' \| \
  307.      X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  308. $as_echo X/"$0" |
  309.     sed '/^.*\/\([^/][^/]*\)\/*$/{
  310.         s//\1/
  311.         q
  312.       }
  313.       /^X\/\(\/\/\)$/{
  314.         s//\1/
  315.         q
  316.       }
  317.       /^X\/\(\/\).*/{
  318.         s//\1/
  319.         q
  320.       }
  321.       s/.*/./; q'`
  322.  
  323. ## -------------------- ##
  324. ## Main body of script. ##
  325. ## -------------------- ##
  326.  
  327. usage="\
  328. Usage: $0 [OPTION]... [TEMPLATE-FILE]
  329.  
  330. Generate a configuration script from a TEMPLATE-FILE if given, or
  331. \`configure.ac' if present, or else \`configure.in'.  Output is sent
  332. to the standard output if TEMPLATE-FILE is given, else into
  333. \`configure'.
  334.  
  335. Operation modes:
  336.  -h, --help                print this help, then exit
  337.  -V, --version             print version number, then exit
  338.  -v, --verbose             verbosely report processing
  339.  -d, --debug               don't remove temporary files
  340.  -f, --force               consider all files obsolete
  341.  -o, --output=FILE         save output in FILE (stdout is the default)
  342.  -W, --warnings=CATEGORY   report the warnings falling in CATEGORY [syntax]
  343.  
  344. Warning categories include:
  345.  \`cross'         cross compilation issues
  346.  \`obsolete'      obsolete constructs
  347.  \`syntax'        dubious syntactic constructs
  348.  \`all'           all the warnings
  349.  \`no-CATEGORY'   turn off the warnings on CATEGORY
  350.  \`none'          turn off all the warnings
  351.  \`error'         warnings are error
  352.  
  353. The environment variables \`M4' and \`WARNINGS' are honored.
  354.  
  355. Library directories:
  356.  -B, --prepend-include=DIR  prepend directory DIR to search path
  357.  -I, --include=DIR          append directory DIR to search path
  358.  
  359. Tracing:
  360.  -t, --trace=MACRO[:FORMAT]  report the list of calls to MACRO
  361.  -i, --initialization        also trace Autoconf's initialization process
  362.  
  363. In tracing mode, no configuration script is created.  FORMAT defaults
  364. to \`\$f:\$l:\$n:\$%'; see \`autom4te --help' for information about FORMAT.
  365.  
  366. Report bugs to <bug-autoconf@gnu.org>.
  367. GNU Autoconf home page: <http://www.gnu.org/software/autoconf/>.
  368. General help using GNU software: <http://www.gnu.org/gethelp/>."
  369.  
  370. version="\
  371. autoconf (GNU Autoconf) 2.65
  372. Copyright (C) 2009 Free Software Foundation, Inc.
  373. License GPLv3+/Autoconf: GNU GPL version 3 or later
  374. <http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
  375. This is free software: you are free to change and redistribute it.
  376. There is NO WARRANTY, to the extent permitted by law.
  377.  
  378. Written by David J. MacKenzie and Akim Demaille."
  379.  
  380. help="\
  381. Try \`$as_me --help' for more information."
  382.  
  383. exit_missing_arg='
  384.  as_fn_error "option \`$1'\'' requires an argument$as_nl$help"'
  385. # restore font-lock: '
  386.  
  387. # Variables.
  388. : ${AUTOM4TE='/usr/bin/autom4te'}
  389. autom4te_options=
  390. outfile=
  391. verbose=false
  392.  
  393. # Parse command line.
  394. while test $# -gt 0 ; do
  395.   option=`expr "x$1" : 'x\(--[^=]*\)' \| \
  396.            "x$1" : 'x\(-.\)'`
  397.   optarg=`expr "x$1" : 'x--[^=]*=\(.*\)' \| \
  398.            "x$1" : 'x-.\(.*\)'`
  399.   case $1 in
  400.     --version | -V )
  401.        echo "$version" ; exit ;;
  402.     --help | -h )
  403.        $as_echo "$usage"; exit ;;
  404.  
  405.     --verbose | -v )
  406.        verbose=:
  407.        autom4te_options="$autom4te_options $1"; shift ;;
  408.  
  409.     # Arguments passed as is to autom4te.
  410.     --debug      | -d   | \
  411.     --force      | -f   | \
  412.     --include=*  | -I?* | \
  413.     --prepend-include=* | -B?* | \
  414.     --warnings=* | -W?* )
  415.        case $1 in
  416.      *\'*) arg=`$as_echo "$1" | sed "s/'/'\\\\\\\\''/g"` ;; #'
  417.      *) arg=$1 ;;
  418.        esac
  419.        autom4te_options="$autom4te_options '$arg'"; shift ;;
  420.     # Options with separated arg passed as is to autom4te.
  421.     --include  | -I | \
  422.     --prepend-include  | -B | \
  423.     --warnings | -W )
  424.        test $# = 1 && eval "$exit_missing_arg"
  425.        case $2 in
  426.      *\'*) arg=`$as_echo "$2" | sed "s/'/'\\\\\\\\''/g"` ;; #'
  427.      *) arg=$2 ;;
  428.        esac
  429.        autom4te_options="$autom4te_options $option '$arg'"
  430.        shift; shift ;;
  431.  
  432.     --trace=* | -t?* )
  433.        traces="$traces --trace='"`$as_echo "$optarg" | sed "s/'/'\\\\\\\\''/g"`"'"
  434.        shift ;;
  435.     --trace | -t )
  436.        test $# = 1 && eval "$exit_missing_arg"
  437.        traces="$traces --trace='"`$as_echo "$2" | sed "s/'/'\\\\\\\\''/g"`"'"
  438.        shift; shift ;;
  439.     --initialization | -i )
  440.        autom4te_options="$autom4te_options --melt"
  441.        shift;;
  442.  
  443.     --output=* | -o?* )
  444.        outfile=$optarg
  445.        shift ;;
  446.     --output | -o )
  447.        test $# = 1 && eval "$exit_missing_arg"
  448.        outfile=$2
  449.        shift; shift ;;
  450.  
  451.     -- )     # Stop option processing
  452.        shift; break ;;
  453.     - ) # Use stdin as input.
  454.        break ;;
  455.     -* )
  456.        exec >&2
  457.        as_fn_error "invalid option \`$1'$as_nl$help" ;; #`
  458.    * )
  459.       break ;;
  460.  esac
  461. done
  462.  
  463. # Find the input file.
  464. case $# in
  465.  0)
  466.    if test -f configure.ac; then
  467.      if test -f configure.in; then
  468.     $as_echo "$as_me: warning: both \`configure.ac' and \`configure.in' are present." >&2
  469.     $as_echo "$as_me: warning: proceeding with \`configure.ac'." >&2
  470.      fi
  471.      infile=configure.ac
  472.    elif test -f configure.in; then
  473.      infile=configure.in
  474.    else
  475.      as_fn_error "no input file"
  476.    fi
  477.    test -z "$traces" && test -z "$outfile" && outfile=configure;;
  478.  1)
  479.    infile=$1 ;;
  480.  *) exec >&2
  481.     as_fn_error "invalid number of arguments$as_nl$help" ;;
  482. esac
  483.  
  484. # Unless specified, the output is stdout.
  485. test -z "$outfile" && outfile=-
  486.  
  487. # Run autom4te with expansion.
  488. eval set x "$autom4te_options" \
  489.  --language=autoconf --output=\"\$outfile\" "$traces" \"\$infile\"
  490. shift
  491. $verbose && $as_echo "$as_me: running $AUTOM4TE $*" >&2
  492. exec "$AUTOM4TE" "$@"
RAW Paste Data