Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. #! /bin/sh
  2. # Generated by configure.
  3. # Run this file to recreate the current configuration.
  4. # Compiler output produced by configure, useful for debugging
  5. # configure, is in config.log if it exists.
  6.  
  7. debug=false
  8. ac_cs_recheck=false
  9. ac_cs_silent=false
  10.  
  11. SHELL=${CONFIG_SHELL-/bin/sh}
  12. export SHELL
  13. ## -------------------- ##
  14. ## M4sh Initialization. ##
  15. ## -------------------- ##
  16.  
  17. # Be more Bourne compatible
  18. DUALCASE=1; export DUALCASE # for MKS sh
  19. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  20.   emulate sh
  21.   NULLCMD=:
  22.   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  23.   # is contrary to our usage.  Disable this feature.
  24.   alias -g '${1+"$@"}'='"$@"'
  25.   setopt NO_GLOB_SUBST
  26. else
  27.   case `(set -o) 2>/dev/null` in #(
  28.   *posix*) :
  29.     set -o posix ;; #(
  30.   *) :
  31.      ;;
  32. esac
  33. fi
  34.  
  35.  
  36. as_nl='
  37. '
  38. export as_nl
  39. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  40. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  41. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  42. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  43. # Prefer a ksh shell builtin over an external printf program on Solaris,
  44. # but without wasting forks for bash or zsh.
  45. if test -z "$BASH_VERSION$ZSH_VERSION" \
  46.     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  47.   as_echo='print -r --'
  48.   as_echo_n='print -rn --'
  49. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  50.   as_echo='printf %s\n'
  51.   as_echo_n='printf %s'
  52. else
  53.   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  54.     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  55.     as_echo_n='/usr/ucb/echo -n'
  56.   else
  57.     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  58.     as_echo_n_body='eval
  59.       arg=$1;
  60.       case $arg in #(
  61.       *"$as_nl"*)
  62.         expr "X$arg" : "X\\(.*\\)$as_nl";
  63.         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  64.       esac;
  65.       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  66.     '
  67.     export as_echo_n_body
  68.     as_echo_n='sh -c $as_echo_n_body as_echo'
  69.   fi
  70.   export as_echo_body
  71.   as_echo='sh -c $as_echo_body as_echo'
  72. fi
  73.  
  74. # The user is always right.
  75. if test "${PATH_SEPARATOR+set}" != set; then
  76.   PATH_SEPARATOR=:
  77.   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  78.     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  79.       PATH_SEPARATOR=';'
  80.   }
  81. fi
  82.  
  83.  
  84. # IFS
  85. # We need space, tab and new line, in precisely that order.  Quoting is
  86. # there to prevent editors from complaining about space-tab.
  87. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  88. # splitting by setting IFS to empty value.)
  89. IFS=" ""        $as_nl"
  90.  
  91. # Find who we are.  Look in the path if we contain no directory separator.
  92. as_myself=
  93. case $0 in #((
  94.   *[\\/]* ) as_myself=$0 ;;
  95.   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  96. for as_dir in $PATH
  97. do
  98.   IFS=$as_save_IFS
  99.   test -z "$as_dir" && as_dir=.
  100.     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  101.   done
  102. IFS=$as_save_IFS
  103.  
  104.      ;;
  105. esac
  106. # We did not find ourselves, most probably we were run as `sh COMMAND'
  107. # in which case we are not to be found in the path.
  108. if test "x$as_myself" = x; then
  109.   as_myself=$0
  110. fi
  111. if test ! -f "$as_myself"; then
  112.   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  113.   exit 1
  114. fi
  115.  
  116. # Unset variables that we do not need and which cause bugs (e.g. in
  117. # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  118. # suppresses any "Segmentation fault" message there.  '((' could
  119. # trigger a bug in pdksh 5.2.14.
  120. for as_var in BASH_ENV ENV MAIL MAILPATH
  121. do eval test x\${$as_var+set} = xset \
  122.   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  123. done
  124. PS1='$ '
  125. PS2='> '
  126. PS4='+ '
  127.  
  128. # NLS nuisances.
  129. LC_ALL=C
  130. export LC_ALL
  131. LANGUAGE=C
  132. export LANGUAGE
  133.  
  134. # CDPATH.
  135. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  136.  
  137.  
  138. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  139. # ----------------------------------------
  140. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  141. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  142. # script with STATUS, using 1 if that was 0.
  143. as_fn_error ()
  144. {
  145.   as_status=$1; test $as_status -eq 0 && as_status=1
  146.   if test "$4"; then
  147.     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  148.     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  149.   fi
  150.   $as_echo "$as_me: error: $2" >&2
  151.   as_fn_exit $as_status
  152. } # as_fn_error
  153.  
  154.  
  155. # as_fn_set_status STATUS
  156. # -----------------------
  157. # Set $? to STATUS, without forking.
  158. as_fn_set_status ()
  159. {
  160.   return $1
  161. } # as_fn_set_status
  162.  
  163. # as_fn_exit STATUS
  164. # -----------------
  165. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  166. as_fn_exit ()
  167. {
  168.   set +e
  169.   as_fn_set_status $1
  170.   exit $1
  171. } # as_fn_exit
  172.  
  173. # as_fn_unset VAR
  174. # ---------------
  175. # Portably unset VAR.
  176. as_fn_unset ()
  177. {
  178.   { eval $1=; unset $1;}
  179. }
  180. as_unset=as_fn_unset
  181. # as_fn_append VAR VALUE
  182. # ----------------------
  183. # Append the text in VALUE to the end of the definition contained in VAR. Take
  184. # advantage of any shell optimizations that allow amortized linear growth over
  185. # repeated appends, instead of the typical quadratic growth present in naive
  186. # implementations.
  187. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  188.   eval 'as_fn_append ()
  189.   {
  190.     eval $1+=\$2
  191.   }'
  192. else
  193.   as_fn_append ()
  194.   {
  195.     eval $1=\$$1\$2
  196.   }
  197. fi # as_fn_append
  198.  
  199. # as_fn_arith ARG...
  200. # ------------------
  201. # Perform arithmetic evaluation on the ARGs, and store the result in the
  202. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  203. # must be portable across $(()) and expr.
  204. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  205.   eval 'as_fn_arith ()
  206.   {
  207.     as_val=$(( $* ))
  208.   }'
  209. else
  210.   as_fn_arith ()
  211.   {
  212.     as_val=`expr "$@" || test $? -eq 1`
  213.   }
  214. fi # as_fn_arith
  215.  
  216.  
  217. if expr a : '\(a\)' >/dev/null 2>&1 &&
  218.    test "X`expr 00001 : '.*\(...\)'`" = X001; then
  219.   as_expr=expr
  220. else
  221.   as_expr=false
  222. fi
  223.  
  224. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  225.   as_basename=basename
  226. else
  227.   as_basename=false
  228. fi
  229.  
  230. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  231.   as_dirname=dirname
  232. else
  233.   as_dirname=false
  234. fi
  235.  
  236. as_me=`$as_basename -- "$0" ||
  237. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  238.          X"$0" : 'X\(//\)$' \| \
  239.          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  240. $as_echo X/"$0" |
  241.     sed '/^.*\/\([^/][^/]*\)\/*$/{
  242.             s//\1/
  243.             q
  244.           }
  245.           /^X\/\(\/\/\)$/{
  246.             s//\1/
  247.             q
  248.           }
  249.           /^X\/\(\/\).*/{
  250.             s//\1/
  251.             q
  252.           }
  253.           s/.*/./; q'`
  254.  
  255. # Avoid depending upon Character Ranges.
  256. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  257. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  258. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  259. as_cr_digits='0123456789'
  260. as_cr_alnum=$as_cr_Letters$as_cr_digits
  261.  
  262. ECHO_C= ECHO_N= ECHO_T=
  263. case `echo -n x` in #(((((
  264. -n*)
  265.   case `echo 'xy\c'` in
  266.   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
  267.   xy)  ECHO_C='\c';;
  268.   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  269.        ECHO_T=' ';;
  270.   esac;;
  271. *)
  272.   ECHO_N='-n';;
  273. esac
  274.  
  275. rm -f conf$$ conf$$.exe conf$$.file
  276. if test -d conf$$.dir; then
  277.   rm -f conf$$.dir/conf$$.file
  278. else
  279.   rm -f conf$$.dir
  280.   mkdir conf$$.dir 2>/dev/null
  281. fi
  282. if (echo >conf$$.file) 2>/dev/null; then
  283.   if ln -s conf$$.file conf$$ 2>/dev/null; then
  284.     as_ln_s='ln -s'
  285.     # ... but there are two gotchas:
  286.     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  287.     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  288.     # In both cases, we have to default to `cp -pR'.
  289.     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  290.       as_ln_s='cp -pR'
  291.   elif ln conf$$.file conf$$ 2>/dev/null; then
  292.     as_ln_s=ln
  293.   else
  294.     as_ln_s='cp -pR'
  295.   fi
  296. else
  297.   as_ln_s='cp -pR'
  298. fi
  299. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  300. rmdir conf$$.dir 2>/dev/null
  301.  
  302.  
  303. # as_fn_mkdir_p
  304. # -------------
  305. # Create "$as_dir" as a directory, including parents if necessary.
  306. as_fn_mkdir_p ()
  307. {
  308.  
  309.   case $as_dir in #(
  310.   -*) as_dir=./$as_dir;;
  311.   esac
  312.   test -d "$as_dir" || eval $as_mkdir_p || {
  313.     as_dirs=
  314.     while :; do
  315.       case $as_dir in #(
  316.       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  317.       *) as_qdir=$as_dir;;
  318.       esac
  319.       as_dirs="'$as_qdir' $as_dirs"
  320.       as_dir=`$as_dirname -- "$as_dir" ||
  321. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  322.          X"$as_dir" : 'X\(//\)[^/]' \| \
  323.          X"$as_dir" : 'X\(//\)$' \| \
  324.          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  325. $as_echo X"$as_dir" |
  326.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  327.             s//\1/
  328.             q
  329.           }
  330.           /^X\(\/\/\)[^/].*/{
  331.             s//\1/
  332.             q
  333.           }
  334.           /^X\(\/\/\)$/{
  335.             s//\1/
  336.             q
  337.           }
  338.           /^X\(\/\).*/{
  339.             s//\1/
  340.             q
  341.           }
  342.           s/.*/./; q'`
  343.       test -d "$as_dir" && break
  344.     done
  345.     test -z "$as_dirs" || eval "mkdir $as_dirs"
  346.   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  347.  
  348.  
  349. } # as_fn_mkdir_p
  350. if mkdir -p . 2>/dev/null; then
  351.   as_mkdir_p='mkdir -p "$as_dir"'
  352. else
  353.   test -d ./-p && rmdir ./-p
  354.   as_mkdir_p=false
  355. fi
  356.  
  357.  
  358. # as_fn_executable_p FILE
  359. # -----------------------
  360. # Test if FILE is an executable regular file.
  361. as_fn_executable_p ()
  362. {
  363.   test -f "$1" && test -x "$1"
  364. } # as_fn_executable_p
  365. as_test_x='test -x'
  366. as_executable_p=as_fn_executable_p
  367.  
  368. # Sed expression to map a string onto a valid CPP name.
  369. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  370.  
  371. # Sed expression to map a string onto a valid variable name.
  372. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  373.  
  374.  
  375. exec 6>&1
  376. ## ----------------------------------- ##
  377. ## Main body of $CONFIG_STATUS script. ##
  378. ## ----------------------------------- ##
  379. # Save the log message, to keep $0 and so on meaningful, and to
  380. # report actual input values of CONFIG_FILES etc. instead of their
  381. # values after options handling.
  382. ac_log="
  383. This file was extended by FreeType $as_me 2.5, which was
  384. generated by GNU Autoconf 2.69.  Invocation command line was
  385.  
  386.   CONFIG_FILES    = $CONFIG_FILES
  387.   CONFIG_HEADERS  = $CONFIG_HEADERS
  388.   CONFIG_LINKS    = $CONFIG_LINKS
  389.   CONFIG_COMMANDS = $CONFIG_COMMANDS
  390.   $ $0 $@
  391.  
  392. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  393. "
  394.  
  395. # Files that config.status was made for.
  396. config_files=" unix-cc.mk:unix-cc.in unix-def.mk:unix-def.in"
  397. config_headers=" ftconfig.h:ftconfig.in"
  398. config_commands=" libtool"
  399.  
  400. ac_cs_usage="\
  401. \`$as_me' instantiates files and other configuration actions
  402. from templates according to the current configuration.  Unless the files
  403. and actions are specified as TAGs, all are instantiated by default.
  404.  
  405. Usage: $0 [OPTION]... [TAG]...
  406.  
  407.   -h, --help       print this help, then exit
  408.   -V, --version    print version number and configuration settings, then exit
  409.       --config     print configuration, then exit
  410.   -q, --quiet, --silent
  411.                    do not print progress messages
  412.   -d, --debug      don't remove temporary files
  413.       --recheck    update $as_me by reconfiguring in the same conditions
  414.       --file=FILE[:TEMPLATE]
  415.                    instantiate the configuration file FILE
  416.       --header=FILE[:TEMPLATE]
  417.                    instantiate the configuration header FILE
  418.  
  419. Configuration files:
  420. $config_files
  421.  
  422. Configuration headers:
  423. $config_headers
  424.  
  425. Configuration commands:
  426. $config_commands
  427.  
  428. Report bugs to <freetype@nongnu.org>."
  429.  
  430. ac_cs_config="'--enable-shared' '--without-png'"
  431. ac_cs_version="\
  432. FreeType config.status 2.5
  433. configured by ./configure, generated by GNU Autoconf 2.69,
  434.   with options \"$ac_cs_config\"
  435.  
  436. Copyright (C) 2012 Free Software Foundation, Inc.
  437. This config.status script is free software; the Free Software Foundation
  438. gives unlimited permission to copy, distribute and modify it."
  439.  
  440. ac_pwd='/d/kos/kolibri/programs/develop/libraries/freetype/builds/unix'
  441. srcdir='.'
  442. INSTALL='/bin/install -c'
  443. AWK='gawk'
  444. test -n "$AWK" || AWK=awk
  445. # The default lists apply if the user does not specify any file.
  446. ac_need_defaults=:
  447. while test $# != 0
  448. do
  449.   case $1 in
  450.   --*=?*)
  451.     ac_option=`expr "X$1" : 'X\([^=]*\)='`
  452.     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  453.     ac_shift=:
  454.     ;;
  455.   --*=)
  456.     ac_option=`expr "X$1" : 'X\([^=]*\)='`
  457.     ac_optarg=
  458.     ac_shift=:
  459.     ;;
  460.   *)
  461.     ac_option=$1
  462.     ac_optarg=$2
  463.     ac_shift=shift
  464.     ;;
  465.   esac
  466.  
  467.   case $ac_option in
  468.   # Handling of the options.
  469.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  470.     ac_cs_recheck=: ;;
  471.   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  472.     $as_echo "$ac_cs_version"; exit ;;
  473.   --config | --confi | --conf | --con | --co | --c )
  474.     $as_echo "$ac_cs_config"; exit ;;
  475.   --debug | --debu | --deb | --de | --d | -d )
  476.     debug=: ;;
  477.   --file | --fil | --fi | --f )
  478.     $ac_shift
  479.     case $ac_optarg in
  480.     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  481.     '') as_fn_error $? "missing file argument" ;;
  482.     esac
  483.     as_fn_append CONFIG_FILES " '$ac_optarg'"
  484.     ac_need_defaults=false;;
  485.   --header | --heade | --head | --hea )
  486.     $ac_shift
  487.     case $ac_optarg in
  488.     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  489.     esac
  490.     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  491.     ac_need_defaults=false;;
  492.   --he | --h)
  493.     # Conflict between --help and --header
  494.     as_fn_error $? "ambiguous option: \`$1'
  495. Try \`$0 --help' for more information.";;
  496.   --help | --hel | -h )
  497.     $as_echo "$ac_cs_usage"; exit ;;
  498.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  499.   | -silent | --silent | --silen | --sile | --sil | --si | --s)
  500.     ac_cs_silent=: ;;
  501.  
  502.   # This is an error.
  503.   -*) as_fn_error $? "unrecognized option: \`$1'
  504. Try \`$0 --help' for more information." ;;
  505.  
  506.   *) as_fn_append ac_config_targets " $1"
  507.      ac_need_defaults=false ;;
  508.  
  509.   esac
  510.   shift
  511. done
  512.  
  513. ac_configure_extra_args=
  514.  
  515. if $ac_cs_silent; then
  516.   exec 6>/dev/null
  517.   ac_configure_extra_args="$ac_configure_extra_args --silent"
  518. fi
  519.  
  520. if $ac_cs_recheck; then
  521.   set X /bin/sh './configure'  '--enable-shared' '--without-png' $ac_configure_extra_args --no-create --no-recursion
  522.   shift
  523.   $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
  524.   CONFIG_SHELL='/bin/sh'
  525.   export CONFIG_SHELL
  526.   exec "$@"
  527. fi
  528.  
  529. exec 5>>config.log
  530. {
  531.   echo
  532.   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  533. ## Running $as_me. ##
  534. _ASBOX
  535.   $as_echo "$ac_log"
  536. } >&5
  537.  
  538. #
  539. # INIT-COMMANDS
  540. #
  541.  
  542.  
  543. # The HP-UX ksh and POSIX shell print the target directory to stdout
  544. # if CDPATH is set.
  545. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  546.  
  547. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  548. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  549. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  550. macro_version='2.4.2'
  551. macro_revision='1.3337'
  552. AS='as'
  553. DLLTOOL='dlltool'
  554. OBJDUMP='objdump'
  555. enable_shared='yes'
  556. enable_static='yes'
  557. pic_mode='default'
  558. enable_fast_install='needless'
  559. SHELL='/bin/sh'
  560. ECHO='printf %s\n'
  561. PATH_SEPARATOR=':'
  562. host_alias=''
  563. host='i686-pc-mingw32'
  564. host_os='mingw32'
  565. build_alias=''
  566. build='i686-pc-mingw32'
  567. build_os='mingw32'
  568. SED='/bin/sed'
  569. Xsed='/bin/sed -e 1s/^X//'
  570. GREP='/bin/grep'
  571. EGREP='/bin/grep -E'
  572. FGREP='/bin/grep -F'
  573. LD='c:/mingw/mingw32/bin/ld.exe'
  574. NM='/mingw/bin/nm'
  575. LN_S='ln -s'
  576. max_cmd_len='8192'
  577. ac_objext='o'
  578. exeext=''
  579. lt_unset='unset'
  580. lt_SP2NL='tr \040 \012'
  581. lt_NL2SP='tr \015\012 \040\040'
  582. lt_cv_to_host_file_cmd='func_convert_file_msys_to_w32'
  583. lt_cv_to_tool_file_cmd='func_convert_file_msys_to_w32'
  584. reload_flag=' -r'
  585. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  586. deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  587. file_magic_cmd='func_win32_libid'
  588. file_magic_glob=''
  589. want_nocaseglob='yes'
  590. sharedlib_from_linklib_cmd='func_cygming_dll_for_implib'
  591. AR='ar'
  592. AR_FLAGS='cru'
  593. archiver_list_spec='@'
  594. STRIP='strip'
  595. RANLIB='ranlib'
  596. old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib'
  597. old_postuninstall_cmds=''
  598. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
  599. lock_old_archive_extraction='no'
  600. CC='gcc'
  601. CFLAGS='-g -O2'
  602. compiler='gcc'
  603. GCC='yes'
  604. lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[       ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*_\([_A-Za-z][_A-Za-z0-9]*\)
  605. \{0,1\}$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
  606. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  607. lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
  608. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/  {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"lib\2", (void *) \&\2},/p'\'''
  609. nm_file_list_spec='@'
  610. lt_sysroot=''
  611. objdir='.libs'
  612. MAGIC_CMD='file'
  613. lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  614. lt_prog_compiler_pic=' -DDLL_EXPORT -DPIC'
  615. lt_prog_compiler_wl='-Wl,'
  616. lt_prog_compiler_static='-static'
  617. lt_cv_prog_compiler_c_o='yes'
  618. need_locks='no'
  619. MANIFEST_TOOL=':'
  620. DSYMUTIL=''
  621. NMEDIT=''
  622. LIPO=''
  623. OTOOL=''
  624. OTOOL64=''
  625. libext='a'
  626. shrext_cmds='.dll'
  627. extract_expsyms_cmds=''
  628. archive_cmds_need_lc='yes'
  629. enable_shared_with_static_runtimes='yes'
  630. export_dynamic_flag_spec='${wl}--export-all-symbols'
  631. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  632. compiler_needs_object='no'
  633. old_archive_from_new_cmds=''
  634. old_archive_from_expsyms_cmds=''
  635. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  636. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  637.           cp $export_symbols $output_objdir/$soname.def;
  638.         else
  639.           echo EXPORTS > $output_objdir/$soname.def;
  640.           cat $export_symbols >> $output_objdir/$soname.def;
  641.         fi~
  642.         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  643. module_cmds=''
  644. module_expsym_cmds=''
  645. with_gnu_ld='yes'
  646. allow_undefined_flag='unsupported'
  647. no_undefined_flag=''
  648. hardcode_libdir_flag_spec='-L$libdir'
  649. hardcode_libdir_separator=''
  650. hardcode_direct='no'
  651. hardcode_direct_absolute='no'
  652. hardcode_minus_L='no'
  653. hardcode_shlibpath_var='unsupported'
  654. hardcode_automatic='no'
  655. inherit_rpath='no'
  656. link_all_deplibs='unknown'
  657. always_export_symbols='no'
  658. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
  659. exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
  660. include_expsyms=''
  661. prelink_cmds=''
  662. postlink_cmds=''
  663. file_list_spec=''
  664. variables_saved_for_relink='PATH PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
  665. need_lib_prefix='no'
  666. need_version='no'
  667. version_type='windows'
  668. runpath_var='LD_RUN_PATH'
  669. shlibpath_var='PATH'
  670. shlibpath_overrides_runpath='yes'
  671. libname_spec='lib$name'
  672. library_names_spec='$libname.dll.a'
  673. soname_spec='${libname}`echo ${release} | $SED -e s/[.]/-/g`${versuffix}${shared_ext}'
  674. install_override_mode=''
  675. postinstall_cmds='base_file=`basename \${file}`~
  676.       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  677.       dldir=$destdir/`dirname \$dlpath`~
  678.       test -d \$dldir || mkdir -p \$dldir~
  679.       $install_prog $dir/$dlname \$dldir/$dlname~
  680.       chmod a+x \$dldir/$dlname~
  681.       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  682.         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  683.       fi'
  684. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  685.       dlpath=$dir/\$dldll~
  686.        $RM \$dlpath'
  687. finish_cmds=''
  688. finish_eval=''
  689. hardcode_into_libs='no'
  690. sys_lib_search_path_spec='c:/mingw/lib/gcc/mingw32/4.7.2 c:/mingw/lib/gcc c:/mingw/mingw32/lib c:/mingw/lib /mingw/lib '
  691. sys_lib_dlsearch_path_spec='/lib /usr/lib'
  692. hardcode_action='immediate'
  693. enable_dlopen='unknown'
  694. enable_dlopen_self='unknown'
  695. enable_dlopen_self_static='unknown'
  696. old_striplib='strip --strip-debug'
  697. striplib='strip --strip-unneeded'
  698.  
  699. LTCC='gcc'
  700. LTCFLAGS='-g -O2'
  701. compiler='gcc'
  702.  
  703. # A function that is used when there is no print builtin or printf.
  704. func_fallback_echo ()
  705. {
  706.   eval 'cat <<_LTECHO_EOF
  707. $1
  708. _LTECHO_EOF'
  709. }
  710.  
  711. # Quote evaled strings.
  712. for var in AS DLLTOOL OBJDUMP SHELL ECHO PATH_SEPARATOR SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag deplibs_check_method file_magic_cmd file_magic_glob want_nocaseglob sharedlib_from_linklib_cmd AR AR_FLAGS archiver_list_spec STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix nm_file_list_spec lt_prog_compiler_no_builtin_flag lt_prog_compiler_pic lt_prog_compiler_wl lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks MANIFEST_TOOL DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_separator exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec install_override_mode finish_eval old_striplib striplib; do
  713.     case `eval \\$ECHO \\""\\$$var"\\"` in
  714.     *[\\\`\"\$]*)
  715.       eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\""
  716.       ;;
  717.     *)
  718.       eval "lt_$var=\\\"\$$var\\\""
  719.       ;;
  720.     esac
  721. done
  722.  
  723. # Double-quote double-evaled strings.
  724. for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postlink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec; do
  725.     case `eval \\$ECHO \\""\\$$var"\\"` in
  726.     *[\\\`\"\$]*)
  727.       eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  728.       ;;
  729.     *)
  730.       eval "lt_$var=\\\"\$$var\\\""
  731.       ;;
  732.     esac
  733. done
  734.  
  735. ac_aux_dir='.'
  736. xsi_shell='yes'
  737. lt_shell_append='yes'
  738.  
  739. # See if we are running on zsh, and set the options which allow our
  740. # commands through without removal of \ escapes INIT.
  741. if test -n "${ZSH_VERSION+set}" ; then
  742.    setopt NO_GLOB_SUBST
  743. fi
  744.  
  745.  
  746.     PACKAGE=''
  747.     VERSION=''
  748.     TIMESTAMP=''
  749.     RM='rm -f'
  750.     ofile='libtool'
  751.  
  752.  
  753.  
  754.  
  755.  
  756. # Handling of arguments.
  757. for ac_config_target in $ac_config_targets
  758. do
  759.   case $ac_config_target in
  760.     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  761.     "ftconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS ftconfig.h:ftconfig.in" ;;
  762.     "unix-cc.mk") CONFIG_FILES="$CONFIG_FILES unix-cc.mk:unix-cc.in" ;;
  763.     "unix-def.mk") CONFIG_FILES="$CONFIG_FILES unix-def.mk:unix-def.in" ;;
  764.  
  765.   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  766.   esac
  767. done
  768.  
  769.  
  770. # If the user did not use the arguments to specify the items to instantiate,
  771. # then the envvar interface is used.  Set only those that are not.
  772. # We use the long form for the default assignment because of an extremely
  773. # bizarre bug on SunOS 4.1.3.
  774. if $ac_need_defaults; then
  775.   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  776.   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  777.   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  778. fi
  779.  
  780. # Have a temporary directory for convenience.  Make it in the build tree
  781. # simply because there is no reason against having it here, and in addition,
  782. # creating and moving files from /tmp can sometimes cause problems.
  783. # Hook for its removal unless debugging.
  784. # Note that there is a small window in which the directory will not be cleaned:
  785. # after its creation but before its name has been assigned to `$tmp'.
  786. $debug ||
  787. {
  788.   tmp= ac_tmp=
  789.   trap 'exit_status=$?
  790.   : "${ac_tmp:=$tmp}"
  791.   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  792. ' 0
  793.   trap 'as_fn_exit 1' 1 2 13 15
  794. }
  795. # Create a (secure) tmp directory for tmp files.
  796.  
  797. {
  798.   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  799.   test -d "$tmp"
  800. }  ||
  801. {
  802.   tmp=./conf$$-$RANDOM
  803.   (umask 077 && mkdir "$tmp")
  804. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  805. ac_tmp=$tmp
  806.  
  807. # Set up the scripts for CONFIG_FILES section.
  808. # No need to generate them if there are no CONFIG_FILES.
  809. # This happens for instance with `./config.status config.h'.
  810. if test -n "$CONFIG_FILES"; then
  811.  
  812.  
  813. ac_cr=`echo X | tr X '\015'`
  814. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  815. # But we know of no other shell where ac_cr would be empty at this
  816. # point, so we can use a bashism as a fallback.
  817. if test "x$ac_cr" = x; then
  818.   eval ac_cr=\$\'\\r\'
  819. fi
  820. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  821. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  822.   ac_cs_awk_cr='\\r'
  823. else
  824.   ac_cs_awk_cr=$ac_cr
  825. fi
  826.  
  827. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  828. cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
  829. S["LTLIBOBJS"]=""
  830. S["LIBOBJS"]=""
  831. S["build_libtool_libs"]=""
  832. S["wl"]="-Wl,"
  833. S["hardcode_libdir_flag_spec"]="-L$libdir"
  834. S["OTOOL64"]=""
  835. S["OTOOL"]=""
  836. S["LIPO"]=""
  837. S["NMEDIT"]=""
  838. S["DSYMUTIL"]=""
  839. S["MANIFEST_TOOL"]=":"
  840. S["AWK"]="gawk"
  841. S["RANLIB"]="ranlib"
  842. S["STRIP"]="strip"
  843. S["ac_ct_AR"]="ar"
  844. S["AR"]="ar"
  845. S["LN_S"]="ln -s"
  846. S["NM"]="/mingw/bin/nm"
  847. S["ac_ct_DUMPBIN"]=""
  848. S["DUMPBIN"]=""
  849. S["LD"]="c:/mingw/mingw32/bin/ld.exe"
  850. S["FGREP"]="/bin/grep -F"
  851. S["SED"]="/bin/sed"
  852. S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
  853. S["OBJDUMP"]="objdump"
  854. S["DLLTOOL"]="dlltool"
  855. S["AS"]="as"
  856. S["SYSTEM_ZLIB"]=""
  857. S["FT2_EXTRA_LIBS"]=""
  858. S["LIBBZ2"]=""
  859. S["LIBZ"]=""
  860. S["ftmac_c"]=""
  861. S["XX_ANSIFLAGS"]=" -pedantic -ansi"
  862. S["XX_CFLAGS"]="-Wall"
  863. S["FTSYS_SRC"]="$(BASE_DIR)/ftsystem.c"
  864. S["EGREP"]="/bin/grep -E"
  865. S["GREP"]="/bin/grep"
  866. S["INSTALL_DATA"]="${INSTALL} -m 644"
  867. S["INSTALL_SCRIPT"]="${INSTALL}"
  868. S["INSTALL_PROGRAM"]="${INSTALL}"
  869. S["RMDIR"]="rmdir"
  870. S["EXEEXT_BUILD"]=".exe"
  871. S["CC_BUILD"]="gcc"
  872. S["CPP"]="gcc -E"
  873. S["OBJEXT"]="o"
  874. S["EXEEXT"]=".exe"
  875. S["ac_ct_CC"]="gcc"
  876. S["CPPFLAGS"]=""
  877. S["LDFLAGS"]=""
  878. S["CFLAGS"]="-g -O2"
  879. S["CC"]="gcc"
  880. S["host_os"]="mingw32"
  881. S["host_vendor"]="pc"
  882. S["host_cpu"]="i686"
  883. S["host"]="i686-pc-mingw32"
  884. S["build_os"]="mingw32"
  885. S["build_vendor"]="pc"
  886. S["build_cpu"]="i686"
  887. S["build"]="i686-pc-mingw32"
  888. S["ft_version"]="16.2.10"
  889. S["version_info"]="16:2:10"
  890. S["target_alias"]=""
  891. S["host_alias"]=""
  892. S["build_alias"]=""
  893. S["LIBS"]=""
  894. S["ECHO_T"]=""
  895. S["ECHO_N"]="-n"
  896. S["ECHO_C"]=""
  897. S["DEFS"]="-DHAVE_CONFIG_H"
  898. S["mandir"]="${datarootdir}/man"
  899. S["localedir"]="${datarootdir}/locale"
  900. S["libdir"]="${exec_prefix}/lib"
  901. S["psdir"]="${docdir}"
  902. S["pdfdir"]="${docdir}"
  903. S["dvidir"]="${docdir}"
  904. S["htmldir"]="${docdir}"
  905. S["infodir"]="${datarootdir}/info"
  906. S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
  907. S["oldincludedir"]="/usr/include"
  908. S["includedir"]="${prefix}/include"
  909. S["localstatedir"]="${prefix}/var"
  910. S["sharedstatedir"]="${prefix}/com"
  911. S["sysconfdir"]="${prefix}/etc"
  912. S["datadir"]="${datarootdir}"
  913. S["datarootdir"]="${prefix}/share"
  914. S["libexecdir"]="${exec_prefix}/libexec"
  915. S["sbindir"]="${exec_prefix}/sbin"
  916. S["bindir"]="${exec_prefix}/bin"
  917. S["program_transform_name"]="s,x,x,"
  918. S["prefix"]="/usr/local"
  919. S["exec_prefix"]="${prefix}"
  920. S["PACKAGE_URL"]=""
  921. S["PACKAGE_BUGREPORT"]="freetype@nongnu.org"
  922. S["PACKAGE_STRING"]="FreeType 2.5"
  923. S["PACKAGE_VERSION"]="2.5"
  924. S["PACKAGE_TARNAME"]="freetype"
  925. S["PACKAGE_NAME"]="FreeType"
  926. S["PATH_SEPARATOR"]=":"
  927. S["SHELL"]="/bin/sh"
  928. _ACAWK
  929. cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
  930.   for (key in S) S_is_set[key] = 1
  931.   FS = ""
  932.  
  933. }
  934. {
  935.   line = $ 0
  936.   nfields = split(line, field, "@")
  937.   substed = 0
  938.   len = length(field[1])
  939.   for (i = 2; i < nfields; i++) {
  940.     key = field[i]
  941.     keylen = length(key)
  942.     if (S_is_set[key]) {
  943.       value = S[key]
  944.       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  945.       len += length(value) + length(field[++i])
  946.       substed = 1
  947.     } else
  948.       len += 1 + keylen
  949.   }
  950.  
  951.   print line
  952. }
  953.  
  954. _ACAWK
  955. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  956.   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  957. else
  958.   cat
  959. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  960.   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  961. fi # test -n "$CONFIG_FILES"
  962.  
  963. # Set up the scripts for CONFIG_HEADERS section.
  964. # No need to generate them if there are no CONFIG_HEADERS.
  965. # This happens for instance with `./config.status Makefile'.
  966. if test -n "$CONFIG_HEADERS"; then
  967. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  968. BEGIN {
  969. D["PACKAGE_NAME"]=" \"FreeType\""
  970. D["PACKAGE_TARNAME"]=" \"freetype\""
  971. D["PACKAGE_VERSION"]=" \"2.5\""
  972. D["PACKAGE_STRING"]=" \"FreeType 2.5\""
  973. D["PACKAGE_BUGREPORT"]=" \"freetype@nongnu.org\""
  974. D["PACKAGE_URL"]=" \"\""
  975. D["STDC_HEADERS"]=" 1"
  976. D["HAVE_SYS_TYPES_H"]=" 1"
  977. D["HAVE_SYS_STAT_H"]=" 1"
  978. D["HAVE_STDLIB_H"]=" 1"
  979. D["HAVE_STRING_H"]=" 1"
  980. D["HAVE_MEMORY_H"]=" 1"
  981. D["HAVE_STRINGS_H"]=" 1"
  982. D["HAVE_INTTYPES_H"]=" 1"
  983. D["HAVE_STDINT_H"]=" 1"
  984. D["HAVE_UNISTD_H"]=" 1"
  985. D["HAVE_FCNTL_H"]=" 1"
  986. D["HAVE_UNISTD_H"]=" 1"
  987. D["SIZEOF_INT"]=" 4"
  988. D["SIZEOF_LONG"]=" 4"
  989. D["HAVE_STDLIB_H"]=" 1"
  990. D["HAVE_UNISTD_H"]=" 1"
  991. D["HAVE_SYS_PARAM_H"]=" 1"
  992. D["HAVE_GETPAGESIZE"]=" 1"
  993. D["HAVE_MEMCPY"]=" 1"
  994. D["HAVE_MEMMOVE"]=" 1"
  995. D["LT_OBJDIR"]=" \".libs/\""
  996.   for (key in D) D_is_set[key] = 1
  997.   FS = ""
  998. }
  999. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  1000.   line = $ 0
  1001.   split(line, arg, " ")
  1002.   if (arg[1] == "#") {
  1003.     defundef = arg[2]
  1004.     mac1 = arg[3]
  1005.   } else {
  1006.     defundef = substr(arg[1], 2)
  1007.     mac1 = arg[2]
  1008.   }
  1009.   split(mac1, mac2, "(") #)
  1010.   macro = mac2[1]
  1011.   prefix = substr(line, 1, index(line, defundef) - 1)
  1012.   if (D_is_set[macro]) {
  1013.     # Preserve the white space surrounding the "#".
  1014.     print prefix "define", macro P[macro] D[macro]
  1015.     next
  1016.   } else {
  1017.     # Replace #undef with comments.  This is necessary, for example,
  1018.     # in the case of _POSIX_SOURCE, which is predefined and required
  1019.     # on some systems where configure will not decide to define it.
  1020.     if (defundef == "undef") {
  1021.       print "/*", prefix defundef, macro, "*/"
  1022.       next
  1023.     }
  1024.   }
  1025. }
  1026. { print }
  1027. _ACAWK
  1028.   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  1029. fi # test -n "$CONFIG_HEADERS"
  1030.  
  1031.  
  1032. eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
  1033. shift
  1034. for ac_tag
  1035. do
  1036.   case $ac_tag in
  1037.   :[FHLC]) ac_mode=$ac_tag; continue;;
  1038.   esac
  1039.   case $ac_mode$ac_tag in
  1040.   :[FHL]*:*);;
  1041.   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  1042.   :[FH]-) ac_tag=-:-;;
  1043.   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  1044.   esac
  1045.   ac_save_IFS=$IFS
  1046.   IFS=:
  1047.   set x $ac_tag
  1048.   IFS=$ac_save_IFS
  1049.   shift
  1050.   ac_file=$1
  1051.   shift
  1052.  
  1053.   case $ac_mode in
  1054.   :L) ac_source=$1;;
  1055.   :[FH])
  1056.     ac_file_inputs=
  1057.     for ac_f
  1058.     do
  1059.       case $ac_f in
  1060.       -) ac_f="$ac_tmp/stdin";;
  1061.       *) # Look for the file first in the build tree, then in the source tree
  1062.          # (if the path is not absolute).  The absolute path cannot be DOS-style,
  1063.          # because $ac_f cannot contain `:'.
  1064.          test -f "$ac_f" ||
  1065.            case $ac_f in
  1066.            [\\/$]*) false;;
  1067.            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  1068.            esac ||
  1069.            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  1070.       esac
  1071.       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  1072.       as_fn_append ac_file_inputs " '$ac_f'"
  1073.     done
  1074.  
  1075.     # Let's still pretend it is `configure' which instantiates (i.e., don't
  1076.     # use $as_me), people would be surprised to read:
  1077.     #    /* config.h.  Generated by config.status.  */
  1078.     configure_input='Generated from '`
  1079.           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  1080.         `' by configure.'
  1081.     if test x"$ac_file" != x-; then
  1082.       configure_input="$ac_file.  $configure_input"
  1083.       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  1084. $as_echo "$as_me: creating $ac_file" >&6;}
  1085.     fi
  1086.     # Neutralize special characters interpreted by sed in replacement strings.
  1087.     case $configure_input in #(
  1088.     *\&* | *\|* | *\\* )
  1089.        ac_sed_conf_input=`$as_echo "$configure_input" |
  1090.        sed 's/[\\\\&|]/\\\\&/g'`;; #(
  1091.     *) ac_sed_conf_input=$configure_input;;
  1092.     esac
  1093.  
  1094.     case $ac_tag in
  1095.     *:-:* | *:-) cat >"$ac_tmp/stdin" \
  1096.       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  1097.     esac
  1098.     ;;
  1099.   esac
  1100.  
  1101.   ac_dir=`$as_dirname -- "$ac_file" ||
  1102. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1103.          X"$ac_file" : 'X\(//\)[^/]' \| \
  1104.          X"$ac_file" : 'X\(//\)$' \| \
  1105.          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  1106. $as_echo X"$ac_file" |
  1107.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1108.             s//\1/
  1109.             q
  1110.           }
  1111.           /^X\(\/\/\)[^/].*/{
  1112.             s//\1/
  1113.             q
  1114.           }
  1115.           /^X\(\/\/\)$/{
  1116.             s//\1/
  1117.             q
  1118.           }
  1119.           /^X\(\/\).*/{
  1120.             s//\1/
  1121.             q
  1122.           }
  1123.           s/.*/./; q'`
  1124.   as_dir="$ac_dir"; as_fn_mkdir_p
  1125.   ac_builddir=.
  1126.  
  1127. case "$ac_dir" in
  1128. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1129. *)
  1130.   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1131.   # A ".." for each directory in $ac_dir_suffix.
  1132.   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1133.   case $ac_top_builddir_sub in
  1134.   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1135.   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1136.   esac ;;
  1137. esac
  1138. ac_abs_top_builddir=$ac_pwd
  1139. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1140. # for backward compatibility:
  1141. ac_top_builddir=$ac_top_build_prefix
  1142.  
  1143. case $srcdir in
  1144.   .)  # We are building in place.
  1145.     ac_srcdir=.
  1146.     ac_top_srcdir=$ac_top_builddir_sub
  1147.     ac_abs_top_srcdir=$ac_pwd ;;
  1148.   [\\/]* | ?:[\\/]* )  # Absolute name.
  1149.     ac_srcdir=$srcdir$ac_dir_suffix;
  1150.     ac_top_srcdir=$srcdir
  1151.     ac_abs_top_srcdir=$srcdir ;;
  1152.   *) # Relative name.
  1153.     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1154.     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1155.     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1156. esac
  1157. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1158.  
  1159.  
  1160.   case $ac_mode in
  1161.   :F)
  1162.   #
  1163.   # CONFIG_FILE
  1164.   #
  1165.  
  1166.   case $INSTALL in
  1167.   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  1168.   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  1169.   esac
  1170. # If the template does not know about datarootdir, expand it.
  1171. # FIXME: This hack should be removed a few years after 2.60.
  1172. ac_datarootdir_hack=; ac_datarootdir_seen=
  1173. ac_sed_dataroot='
  1174. /datarootdir/ {
  1175.   p
  1176.   q
  1177. }
  1178. /@datadir@/p
  1179. /@docdir@/p
  1180. /@infodir@/p
  1181. /@localedir@/p
  1182. /@mandir@/p'
  1183. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  1184. *datarootdir*) ac_datarootdir_seen=yes;;
  1185. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  1186.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1187. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1188.   ac_datarootdir_hack='
  1189.   s&@datadir@&${datarootdir}&g
  1190.   s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  1191.   s&@infodir@&${datarootdir}/info&g
  1192.   s&@localedir@&${datarootdir}/locale&g
  1193.   s&@mandir@&${datarootdir}/man&g
  1194.   s&\${datarootdir}&${prefix}/share&g' ;;
  1195. esac
  1196. ac_sed_extra="/^[        ]*VPATH[        ]*=[    ]*/{
  1197. h
  1198. s///
  1199. s/^/:/
  1200. s/[      ]*$/:/
  1201. s/:\$(srcdir):/:/g
  1202. s/:\${srcdir}:/:/g
  1203. s/:@srcdir@:/:/g
  1204. s/^:*//
  1205. s/:*$//
  1206. x
  1207. s/\(=[   ]*\).*/\1/
  1208. G
  1209. s/\n//
  1210. s/^[^=]*=[       ]*$//
  1211. }
  1212.  
  1213. :t
  1214. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1215. s|@configure_input@|$ac_sed_conf_input|;t t
  1216. s&@top_builddir@&$ac_top_builddir_sub&;t t
  1217. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  1218. s&@srcdir@&$ac_srcdir&;t t
  1219. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  1220. s&@top_srcdir@&$ac_top_srcdir&;t t
  1221. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  1222. s&@builddir@&$ac_builddir&;t t
  1223. s&@abs_builddir@&$ac_abs_builddir&;t t
  1224. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1225. s&@INSTALL@&$ac_INSTALL&;t t
  1226. $ac_datarootdir_hack
  1227. "
  1228. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  1229.   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1230.  
  1231. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1232.   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  1233.   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
  1234.       "$ac_tmp/out"`; test -z "$ac_out"; } &&
  1235.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1236. which seems to be undefined.  Please make sure it is defined" >&5
  1237. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1238. which seems to be undefined.  Please make sure it is defined" >&2;}
  1239.  
  1240.   rm -f "$ac_tmp/stdin"
  1241.   case $ac_file in
  1242.   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  1243.   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  1244.   esac \
  1245.   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1246.  ;;
  1247.   :H)
  1248.   #
  1249.   # CONFIG_HEADER
  1250.   #
  1251.   if test x"$ac_file" != x-; then
  1252.     {
  1253.       $as_echo "/* $configure_input  */" \
  1254.       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  1255.     } >"$ac_tmp/config.h" \
  1256.       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1257.     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  1258.       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  1259. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  1260.     else
  1261.       rm -f "$ac_file"
  1262.       mv "$ac_tmp/config.h" "$ac_file" \
  1263.         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1264.     fi
  1265.   else
  1266.     $as_echo "/* $configure_input  */" \
  1267.       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  1268.       || as_fn_error $? "could not create -" "$LINENO" 5
  1269.   fi
  1270.  ;;
  1271.  
  1272.   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  1273. $as_echo "$as_me: executing $ac_file commands" >&6;}
  1274.  ;;
  1275.   esac
  1276.  
  1277.  
  1278.   case $ac_file$ac_mode in
  1279.     "libtool":C)
  1280.  
  1281.     # See if we are running on zsh, and set the options which allow our
  1282.     # commands through without removal of \ escapes.
  1283.     if test -n "${ZSH_VERSION+set}" ; then
  1284.       setopt NO_GLOB_SUBST
  1285.     fi
  1286.  
  1287.     cfgfile="${ofile}T"
  1288.     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  1289.     $RM "$cfgfile"
  1290.  
  1291.     cat <<_LT_EOF >> "$cfgfile"
  1292. #! $SHELL
  1293.  
  1294. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  1295. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  1296. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1297. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  1298. #
  1299. #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  1300. #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
  1301. #                 Foundation, Inc.
  1302. #   Written by Gordon Matzigkeit, 1996
  1303. #
  1304. #   This file is part of GNU Libtool.
  1305. #
  1306. # GNU Libtool is free software; you can redistribute it and/or
  1307. # modify it under the terms of the GNU General Public License as
  1308. # published by the Free Software Foundation; either version 2 of
  1309. # the License, or (at your option) any later version.
  1310. #
  1311. # As a special exception to the GNU General Public License,
  1312. # if you distribute this file as part of a program or library that
  1313. # is built using GNU Libtool, you may include this file under the
  1314. # same distribution terms that you use for the rest of that program.
  1315. #
  1316. # GNU Libtool is distributed in the hope that it will be useful,
  1317. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  1318. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  1319. # GNU General Public License for more details.
  1320. #
  1321. # You should have received a copy of the GNU General Public License
  1322. # along with GNU Libtool; see the file COPYING.  If not, a copy
  1323. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  1324. # obtained by writing to the Free Software Foundation, Inc.,
  1325. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  1326.  
  1327.  
  1328. # The names of the tagged configurations supported by this script.
  1329. available_tags=""
  1330.  
  1331. # ### BEGIN LIBTOOL CONFIG
  1332.  
  1333. # Which release of libtool.m4 was used?
  1334. macro_version=$macro_version
  1335. macro_revision=$macro_revision
  1336.  
  1337. # Assembler program.
  1338. AS=$lt_AS
  1339.  
  1340. # DLL creation program.
  1341. DLLTOOL=$lt_DLLTOOL
  1342.  
  1343. # Object dumper program.
  1344. OBJDUMP=$lt_OBJDUMP
  1345.  
  1346. # Whether or not to build shared libraries.
  1347. build_libtool_libs=$enable_shared
  1348.  
  1349. # Whether or not to build static libraries.
  1350. build_old_libs=$enable_static
  1351.  
  1352. # What type of objects to build.
  1353. pic_mode=$pic_mode
  1354.  
  1355. # Whether or not to optimize for fast installation.
  1356. fast_install=$enable_fast_install
  1357.  
  1358. # Shell to use when invoking shell scripts.
  1359. SHELL=$lt_SHELL
  1360.  
  1361. # An echo program that protects backslashes.
  1362. ECHO=$lt_ECHO
  1363.  
  1364. # The PATH separator for the build system.
  1365. PATH_SEPARATOR=$lt_PATH_SEPARATOR
  1366.  
  1367. # The host system.
  1368. host_alias=$host_alias
  1369. host=$host
  1370. host_os=$host_os
  1371.  
  1372. # The build system.
  1373. build_alias=$build_alias
  1374. build=$build
  1375. build_os=$build_os
  1376.  
  1377. # A sed program that does not truncate output.
  1378. SED=$lt_SED
  1379.  
  1380. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  1381. Xsed="\$SED -e 1s/^X//"
  1382.  
  1383. # A grep program that handles long lines.
  1384. GREP=$lt_GREP
  1385.  
  1386. # An ERE matcher.
  1387. EGREP=$lt_EGREP
  1388.  
  1389. # A literal string matcher.
  1390. FGREP=$lt_FGREP
  1391.  
  1392. # A BSD- or MS-compatible name lister.
  1393. NM=$lt_NM
  1394.  
  1395. # Whether we need soft or hard links.
  1396. LN_S=$lt_LN_S
  1397.  
  1398. # What is the maximum length of a command?
  1399. max_cmd_len=$max_cmd_len
  1400.  
  1401. # Object file suffix (normally "o").
  1402. objext=$ac_objext
  1403.  
  1404. # Executable file suffix (normally "").
  1405. exeext=$exeext
  1406.  
  1407. # whether the shell understands "unset".
  1408. lt_unset=$lt_unset
  1409.  
  1410. # turn spaces into newlines.
  1411. SP2NL=$lt_lt_SP2NL
  1412.  
  1413. # turn newlines into spaces.
  1414. NL2SP=$lt_lt_NL2SP
  1415.  
  1416. # convert \$build file names to \$host format.
  1417. to_host_file_cmd=$lt_cv_to_host_file_cmd
  1418.  
  1419. # convert \$build files to toolchain format.
  1420. to_tool_file_cmd=$lt_cv_to_tool_file_cmd
  1421.  
  1422. # Method to check whether dependent libraries are shared objects.
  1423. deplibs_check_method=$lt_deplibs_check_method
  1424.  
  1425. # Command to use when deplibs_check_method = "file_magic".
  1426. file_magic_cmd=$lt_file_magic_cmd
  1427.  
  1428. # How to find potential files when deplibs_check_method = "file_magic".
  1429. file_magic_glob=$lt_file_magic_glob
  1430.  
  1431. # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
  1432. want_nocaseglob=$lt_want_nocaseglob
  1433.  
  1434. # Command to associate shared and link libraries.
  1435. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
  1436.  
  1437. # The archiver.
  1438. AR=$lt_AR
  1439.  
  1440. # Flags to create an archive.
  1441. AR_FLAGS=$lt_AR_FLAGS
  1442.  
  1443. # How to feed a file listing to the archiver.
  1444. archiver_list_spec=$lt_archiver_list_spec
  1445.  
  1446. # A symbol stripping program.
  1447. STRIP=$lt_STRIP
  1448.  
  1449. # Commands used to install an old-style archive.
  1450. RANLIB=$lt_RANLIB
  1451. old_postinstall_cmds=$lt_old_postinstall_cmds
  1452. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  1453.  
  1454. # Whether to use a lock for old archive extraction.
  1455. lock_old_archive_extraction=$lock_old_archive_extraction
  1456.  
  1457. # A C compiler.
  1458. LTCC=$lt_CC
  1459.  
  1460. # LTCC compiler flags.
  1461. LTCFLAGS=$lt_CFLAGS
  1462.  
  1463. # Take the output of nm and produce a listing of raw symbols and C names.
  1464. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  1465.  
  1466. # Transform the output of nm in a proper C declaration.
  1467. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  1468.  
  1469. # Transform the output of nm in a C name address pair.
  1470. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  1471.  
  1472. # Transform the output of nm in a C name address pair when lib prefix is needed.
  1473. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  1474.  
  1475. # Specify filename containing input files for \$NM.
  1476. nm_file_list_spec=$lt_nm_file_list_spec
  1477.  
  1478. # The root where to search for dependent libraries,and in which our libraries should be installed.
  1479. lt_sysroot=$lt_sysroot
  1480.  
  1481. # The name of the directory that contains temporary libtool files.
  1482. objdir=$objdir
  1483.  
  1484. # Used to examine libraries when file_magic_cmd begins with "file".
  1485. MAGIC_CMD=$MAGIC_CMD
  1486.  
  1487. # Must we lock files when doing compilation?
  1488. need_locks=$lt_need_locks
  1489.  
  1490. # Manifest tool.
  1491. MANIFEST_TOOL=$lt_MANIFEST_TOOL
  1492.  
  1493. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  1494. DSYMUTIL=$lt_DSYMUTIL
  1495.  
  1496. # Tool to change global to local symbols on Mac OS X.
  1497. NMEDIT=$lt_NMEDIT
  1498.  
  1499. # Tool to manipulate fat objects and archives on Mac OS X.
  1500. LIPO=$lt_LIPO
  1501.  
  1502. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  1503. OTOOL=$lt_OTOOL
  1504.  
  1505. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  1506. OTOOL64=$lt_OTOOL64
  1507.  
  1508. # Old archive suffix (normally "a").
  1509. libext=$libext
  1510.  
  1511. # Shared library suffix (normally ".so").
  1512. shrext_cmds=$lt_shrext_cmds
  1513.  
  1514. # The commands to extract the exported symbol list from a shared archive.
  1515. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  1516.  
  1517. # Variables whose values should be saved in libtool wrapper scripts and
  1518. # restored at link time.
  1519. variables_saved_for_relink=$lt_variables_saved_for_relink
  1520.  
  1521. # Do we need the "lib" prefix for modules?
  1522. need_lib_prefix=$need_lib_prefix
  1523.  
  1524. # Do we need a version for libraries?
  1525. need_version=$need_version
  1526.  
  1527. # Library versioning type.
  1528. version_type=$version_type
  1529.  
  1530. # Shared library runtime path variable.
  1531. runpath_var=$runpath_var
  1532.  
  1533. # Shared library path variable.
  1534. shlibpath_var=$shlibpath_var
  1535.  
  1536. # Is shlibpath searched before the hard-coded library search path?
  1537. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  1538.  
  1539. # Format of library name prefix.
  1540. libname_spec=$lt_libname_spec
  1541.  
  1542. # List of archive names.  First name is the real one, the rest are links.
  1543. # The last name is the one that the linker finds with -lNAME
  1544. library_names_spec=$lt_library_names_spec
  1545.  
  1546. # The coded name of the library, if different from the real name.
  1547. soname_spec=$lt_soname_spec
  1548.  
  1549. # Permission mode override for installation of shared libraries.
  1550. install_override_mode=$lt_install_override_mode
  1551.  
  1552. # Command to use after installation of a shared archive.
  1553. postinstall_cmds=$lt_postinstall_cmds
  1554.  
  1555. # Command to use after uninstallation of a shared archive.
  1556. postuninstall_cmds=$lt_postuninstall_cmds
  1557.  
  1558. # Commands used to finish a libtool library installation in a directory.
  1559. finish_cmds=$lt_finish_cmds
  1560.  
  1561. # As "finish_cmds", except a single script fragment to be evaled but
  1562. # not shown.
  1563. finish_eval=$lt_finish_eval
  1564.  
  1565. # Whether we should hardcode library paths into libraries.
  1566. hardcode_into_libs=$hardcode_into_libs
  1567.  
  1568. # Compile-time system search path for libraries.
  1569. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  1570.  
  1571. # Run-time system search path for libraries.
  1572. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  1573.  
  1574. # Whether dlopen is supported.
  1575. dlopen_support=$enable_dlopen
  1576.  
  1577. # Whether dlopen of programs is supported.
  1578. dlopen_self=$enable_dlopen_self
  1579.  
  1580. # Whether dlopen of statically linked programs is supported.
  1581. dlopen_self_static=$enable_dlopen_self_static
  1582.  
  1583. # Commands to strip libraries.
  1584. old_striplib=$lt_old_striplib
  1585. striplib=$lt_striplib
  1586.  
  1587.  
  1588. # The linker used to build libraries.
  1589. LD=$lt_LD
  1590.  
  1591. # How to create reloadable object files.
  1592. reload_flag=$lt_reload_flag
  1593. reload_cmds=$lt_reload_cmds
  1594.  
  1595. # Commands used to build an old-style archive.
  1596. old_archive_cmds=$lt_old_archive_cmds
  1597.  
  1598. # A language specific compiler.
  1599. CC=$lt_compiler
  1600.  
  1601. # Is the compiler the GNU compiler?
  1602. with_gcc=$GCC
  1603.  
  1604. # Compiler flag to turn off builtin functions.
  1605. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  1606.  
  1607. # Additional compiler flags for building library objects.
  1608. pic_flag=$lt_lt_prog_compiler_pic
  1609.  
  1610. # How to pass a linker flag through the compiler.
  1611. wl=$lt_lt_prog_compiler_wl
  1612.  
  1613. # Compiler flag to prevent dynamic linking.
  1614. link_static_flag=$lt_lt_prog_compiler_static
  1615.  
  1616. # Does compiler simultaneously support -c and -o options?
  1617. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  1618.  
  1619. # Whether or not to add -lc for building shared libraries.
  1620. build_libtool_need_lc=$archive_cmds_need_lc
  1621.  
  1622. # Whether or not to disallow shared libs when runtime libs are static.
  1623. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  1624.  
  1625. # Compiler flag to allow reflexive dlopens.
  1626. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  1627.  
  1628. # Compiler flag to generate shared objects directly from archives.
  1629. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  1630.  
  1631. # Whether the compiler copes with passing no objects directly.
  1632. compiler_needs_object=$lt_compiler_needs_object
  1633.  
  1634. # Create an old-style archive from a shared archive.
  1635. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  1636.  
  1637. # Create a temporary old-style archive to link instead of a shared archive.
  1638. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  1639.  
  1640. # Commands used to build a shared archive.
  1641. archive_cmds=$lt_archive_cmds
  1642. archive_expsym_cmds=$lt_archive_expsym_cmds
  1643.  
  1644. # Commands used to build a loadable module if different from building
  1645. # a shared archive.
  1646. module_cmds=$lt_module_cmds
  1647. module_expsym_cmds=$lt_module_expsym_cmds
  1648.  
  1649. # Whether we are building with GNU ld or not.
  1650. with_gnu_ld=$lt_with_gnu_ld
  1651.  
  1652. # Flag that allows shared libraries with undefined symbols to be built.
  1653. allow_undefined_flag=$lt_allow_undefined_flag
  1654.  
  1655. # Flag that enforces no undefined symbols.
  1656. no_undefined_flag=$lt_no_undefined_flag
  1657.  
  1658. # Flag to hardcode \$libdir into a binary during linking.
  1659. # This must work even if \$libdir does not exist
  1660. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  1661.  
  1662. # Whether we need a single "-rpath" flag with a separated argument.
  1663. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  1664.  
  1665. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1666. # DIR into the resulting binary.
  1667. hardcode_direct=$hardcode_direct
  1668.  
  1669. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1670. # DIR into the resulting binary and the resulting library dependency is
  1671. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  1672. # library is relocated.
  1673. hardcode_direct_absolute=$hardcode_direct_absolute
  1674.  
  1675. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  1676. # into the resulting binary.
  1677. hardcode_minus_L=$hardcode_minus_L
  1678.  
  1679. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  1680. # into the resulting binary.
  1681. hardcode_shlibpath_var=$hardcode_shlibpath_var
  1682.  
  1683. # Set to "yes" if building a shared library automatically hardcodes DIR
  1684. # into the library and all subsequent libraries and executables linked
  1685. # against it.
  1686. hardcode_automatic=$hardcode_automatic
  1687.  
  1688. # Set to yes if linker adds runtime paths of dependent libraries
  1689. # to runtime path list.
  1690. inherit_rpath=$inherit_rpath
  1691.  
  1692. # Whether libtool must link a program against all its dependency libraries.
  1693. link_all_deplibs=$link_all_deplibs
  1694.  
  1695. # Set to "yes" if exported symbols are required.
  1696. always_export_symbols=$always_export_symbols
  1697.  
  1698. # The commands to list exported symbols.
  1699. export_symbols_cmds=$lt_export_symbols_cmds
  1700.  
  1701. # Symbols that should not be listed in the preloaded symbols.
  1702. exclude_expsyms=$lt_exclude_expsyms
  1703.  
  1704. # Symbols that must always be exported.
  1705. include_expsyms=$lt_include_expsyms
  1706.  
  1707. # Commands necessary for linking programs (against libraries) with templates.
  1708. prelink_cmds=$lt_prelink_cmds
  1709.  
  1710. # Commands necessary for finishing linking programs.
  1711. postlink_cmds=$lt_postlink_cmds
  1712.  
  1713. # Specify filename containing input files.
  1714. file_list_spec=$lt_file_list_spec
  1715.  
  1716. # How to hardcode a shared library path into an executable.
  1717. hardcode_action=$hardcode_action
  1718.  
  1719. # ### END LIBTOOL CONFIG
  1720.  
  1721. _LT_EOF
  1722.  
  1723.   case $host_os in
  1724.   aix3*)
  1725.     cat <<\_LT_EOF >> "$cfgfile"
  1726. # AIX sometimes has problems with the GCC collect2 program.  For some
  1727. # reason, if we set the COLLECT_NAMES environment variable, the problems
  1728. # vanish in a puff of smoke.
  1729. if test "X${COLLECT_NAMES+set}" != Xset; then
  1730.   COLLECT_NAMES=
  1731.   export COLLECT_NAMES
  1732. fi
  1733. _LT_EOF
  1734.     ;;
  1735.   esac
  1736.  
  1737.  
  1738. ltmain="$ac_aux_dir/ltmain.sh"
  1739.  
  1740.  
  1741.   # We use sed instead of cat because bash on DJGPP gets confused if
  1742.   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  1743.   # text mode, it properly converts lines to CR/LF.  This bash problem
  1744.   # is reportedly fixed, but why not run on old versions too?
  1745.   sed '$q' "$ltmain" >> "$cfgfile" \
  1746.      || (rm -f "$cfgfile"; exit 1)
  1747.  
  1748.   if test x"$xsi_shell" = xyes; then
  1749.   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
  1750. func_dirname ()\
  1751. {\
  1752. \    case ${1} in\
  1753. \      */*) func_dirname_result="${1%/*}${2}" ;;\
  1754. \      *  ) func_dirname_result="${3}" ;;\
  1755. \    esac\
  1756. } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
  1757.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  1758.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1759. test 0 -eq $? || _lt_function_replace_fail=:
  1760.  
  1761.  
  1762.   sed -e '/^func_basename ()$/,/^} # func_basename /c\
  1763. func_basename ()\
  1764. {\
  1765. \    func_basename_result="${1##*/}"\
  1766. } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
  1767.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  1768.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1769. test 0 -eq $? || _lt_function_replace_fail=:
  1770.  
  1771.  
  1772.   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
  1773. func_dirname_and_basename ()\
  1774. {\
  1775. \    case ${1} in\
  1776. \      */*) func_dirname_result="${1%/*}${2}" ;;\
  1777. \      *  ) func_dirname_result="${3}" ;;\
  1778. \    esac\
  1779. \    func_basename_result="${1##*/}"\
  1780. } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
  1781.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  1782.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1783. test 0 -eq $? || _lt_function_replace_fail=:
  1784.  
  1785.  
  1786.   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
  1787. func_stripname ()\
  1788. {\
  1789. \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
  1790. \    # positional parameters, so assign one to ordinary parameter first.\
  1791. \    func_stripname_result=${3}\
  1792. \    func_stripname_result=${func_stripname_result#"${1}"}\
  1793. \    func_stripname_result=${func_stripname_result%"${2}"}\
  1794. } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
  1795.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  1796.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1797. test 0 -eq $? || _lt_function_replace_fail=:
  1798.  
  1799.  
  1800.   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
  1801. func_split_long_opt ()\
  1802. {\
  1803. \    func_split_long_opt_name=${1%%=*}\
  1804. \    func_split_long_opt_arg=${1#*=}\
  1805. } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
  1806.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  1807.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1808. test 0 -eq $? || _lt_function_replace_fail=:
  1809.  
  1810.  
  1811.   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
  1812. func_split_short_opt ()\
  1813. {\
  1814. \    func_split_short_opt_arg=${1#??}\
  1815. \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
  1816. } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
  1817.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  1818.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1819. test 0 -eq $? || _lt_function_replace_fail=:
  1820.  
  1821.  
  1822.   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
  1823. func_lo2o ()\
  1824. {\
  1825. \    case ${1} in\
  1826. \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
  1827. \      *)    func_lo2o_result=${1} ;;\
  1828. \    esac\
  1829. } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
  1830.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  1831.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1832. test 0 -eq $? || _lt_function_replace_fail=:
  1833.  
  1834.  
  1835.   sed -e '/^func_xform ()$/,/^} # func_xform /c\
  1836. func_xform ()\
  1837. {\
  1838.     func_xform_result=${1%.*}.lo\
  1839. } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
  1840.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  1841.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1842. test 0 -eq $? || _lt_function_replace_fail=:
  1843.  
  1844.  
  1845.   sed -e '/^func_arith ()$/,/^} # func_arith /c\
  1846. func_arith ()\
  1847. {\
  1848.     func_arith_result=$(( $* ))\
  1849. } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
  1850.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  1851.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1852. test 0 -eq $? || _lt_function_replace_fail=:
  1853.  
  1854.  
  1855.   sed -e '/^func_len ()$/,/^} # func_len /c\
  1856. func_len ()\
  1857. {\
  1858.     func_len_result=${#1}\
  1859. } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
  1860.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  1861.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1862. test 0 -eq $? || _lt_function_replace_fail=:
  1863.  
  1864. fi
  1865.  
  1866. if test x"$lt_shell_append" = xyes; then
  1867.   sed -e '/^func_append ()$/,/^} # func_append /c\
  1868. func_append ()\
  1869. {\
  1870.     eval "${1}+=\\${2}"\
  1871. } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
  1872.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  1873.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1874. test 0 -eq $? || _lt_function_replace_fail=:
  1875.  
  1876.  
  1877.   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
  1878. func_append_quoted ()\
  1879. {\
  1880. \    func_quote_for_eval "${2}"\
  1881. \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
  1882. } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
  1883.   && mv -f "$cfgfile.tmp" "$cfgfile" \
  1884.     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1885. test 0 -eq $? || _lt_function_replace_fail=:
  1886.  
  1887.  
  1888.   # Save a `func_append' function call where possible by direct use of '+='
  1889.   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
  1890.     && mv -f "$cfgfile.tmp" "$cfgfile" \
  1891.       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1892.   test 0 -eq $? || _lt_function_replace_fail=:
  1893. else
  1894.   # Save a `func_append' function call even when '+=' is not available
  1895.   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
  1896.     && mv -f "$cfgfile.tmp" "$cfgfile" \
  1897.       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
  1898.   test 0 -eq $? || _lt_function_replace_fail=:
  1899. fi
  1900.  
  1901. if test x"$_lt_function_replace_fail" = x":"; then
  1902.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
  1903. $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
  1904. fi
  1905.  
  1906.  
  1907.    mv -f "$cfgfile" "$ofile" ||
  1908.     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  1909.   chmod +x "$ofile"
  1910.  
  1911.  ;;
  1912.     "ftconfig.h":H) mv ftconfig.h ftconfig.tmp
  1913.    sed 's|/undef|#undef|' < ftconfig.tmp > ftconfig.h
  1914.    rm ftconfig.tmp ;;
  1915.  
  1916.   esac
  1917. done # for ac_tag
  1918.  
  1919.  
  1920. as_fn_exit 0
  1921.