Subversion Repositories Kolibri OS

Rev

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

  1. #! /bin/bash
  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/bash}
  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 -p'.
  289.     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  290.       as_ln_s='cp -p'
  291.   elif ln conf$$.file conf$$ 2>/dev/null; then
  292.     as_ln_s=ln
  293.   else
  294.     as_ln_s='cp -p'
  295.   fi
  296. else
  297.   as_ln_s='cp -p'
  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. if test -x / >/dev/null 2>&1; then
  358.   as_test_x='test -x'
  359. else
  360.   if ls -dL / >/dev/null 2>&1; then
  361.     as_ls_L_option=L
  362.   else
  363.     as_ls_L_option=
  364.   fi
  365.   as_test_x='
  366.     eval sh -c '\''
  367.       if test -d "$1"; then
  368.         test -d "$1/.";
  369.       else
  370.         case $1 in #(
  371.         -*)set "./$1";;
  372.         esac;
  373.         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
  374.         ???[sx]*):;;*)false;;esac;fi
  375.     '\'' sh
  376.   '
  377. fi
  378. as_executable_p=$as_test_x
  379.  
  380. # Sed expression to map a string onto a valid CPP name.
  381. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  382.  
  383. # Sed expression to map a string onto a valid variable name.
  384. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  385.  
  386.  
  387. exec 6>&1
  388. ## ----------------------------------- ##
  389. ## Main body of $CONFIG_STATUS script. ##
  390. ## ----------------------------------- ##
  391. # Save the log message, to keep $0 and so on meaningful, and to
  392. # report actual input values of CONFIG_FILES etc. instead of their
  393. # values after options handling.
  394. ac_log="
  395. This file was extended by OpenJPEG $as_me 1.4.0, which was
  396. generated by GNU Autoconf 2.68.  Invocation command line was
  397.  
  398.   CONFIG_FILES    = $CONFIG_FILES
  399.   CONFIG_HEADERS  = $CONFIG_HEADERS
  400.   CONFIG_LINKS    = $CONFIG_LINKS
  401.   CONFIG_COMMANDS = $CONFIG_COMMANDS
  402.   $ $0 $@
  403.  
  404. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  405. "
  406.  
  407. # Files that config.status was made for.
  408. config_files=" Makefile libopenjpeg.pc libopenjpeg/Makefile jpwl/Makefile codec/Makefile mj2/Makefile doc/Makefile jp3d/Makefile jp3d/libjp3dvm/Makefile jp3d/codec/Makefile"
  409. config_headers=" opj_config.h"
  410. config_commands=" depfiles libtool"
  411.  
  412. ac_cs_usage="\
  413. \`$as_me' instantiates files and other configuration actions
  414. from templates according to the current configuration.  Unless the files
  415. and actions are specified as TAGs, all are instantiated by default.
  416.  
  417. Usage: $0 [OPTION]... [TAG]...
  418.  
  419.   -h, --help       print this help, then exit
  420.   -V, --version    print version number and configuration settings, then exit
  421.       --config     print configuration, then exit
  422.   -q, --quiet, --silent
  423.                    do not print progress messages
  424.   -d, --debug      don't remove temporary files
  425.       --recheck    update $as_me by reconfiguring in the same conditions
  426.       --file=FILE[:TEMPLATE]
  427.                    instantiate the configuration file FILE
  428.       --header=FILE[:TEMPLATE]
  429.                    instantiate the configuration header FILE
  430.  
  431. Configuration files:
  432. $config_files
  433.  
  434. Configuration headers:
  435. $config_headers
  436.  
  437. Configuration commands:
  438. $config_commands
  439.  
  440. Report bugs to <http://code.google.com/p/openjpeg/>.
  441. OpenJPEG home page: <http://www.openjpeg.org/>."
  442.  
  443. ac_cs_config=""
  444. ac_cs_version="\
  445. OpenJPEG config.status 1.4.0
  446. configured by ./configure, generated by GNU Autoconf 2.68,
  447.   with options \"$ac_cs_config\"
  448.  
  449. Copyright (C) 2010 Free Software Foundation, Inc.
  450. This config.status script is free software; the Free Software Foundation
  451. gives unlimited permission to copy, distribute and modify it."
  452.  
  453. ac_pwd='/home/a/svn/kolios/contrib/menuetlibc/openjpeg'
  454. srcdir='.'
  455. INSTALL='/usr/bin/install -c'
  456. MKDIR_P='/bin/mkdir -p'
  457. AWK='mawk'
  458. test -n "$AWK" || AWK=awk
  459. # The default lists apply if the user does not specify any file.
  460. ac_need_defaults=:
  461. while test $# != 0
  462. do
  463.   case $1 in
  464.   --*=?*)
  465.     ac_option=`expr "X$1" : 'X\([^=]*\)='`
  466.     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  467.     ac_shift=:
  468.     ;;
  469.   --*=)
  470.     ac_option=`expr "X$1" : 'X\([^=]*\)='`
  471.     ac_optarg=
  472.     ac_shift=:
  473.     ;;
  474.   *)
  475.     ac_option=$1
  476.     ac_optarg=$2
  477.     ac_shift=shift
  478.     ;;
  479.   esac
  480.  
  481.   case $ac_option in
  482.   # Handling of the options.
  483.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  484.     ac_cs_recheck=: ;;
  485.   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  486.     $as_echo "$ac_cs_version"; exit ;;
  487.   --config | --confi | --conf | --con | --co | --c )
  488.     $as_echo "$ac_cs_config"; exit ;;
  489.   --debug | --debu | --deb | --de | --d | -d )
  490.     debug=: ;;
  491.   --file | --fil | --fi | --f )
  492.     $ac_shift
  493.     case $ac_optarg in
  494.     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  495.     '') as_fn_error $? "missing file argument" ;;
  496.     esac
  497.     as_fn_append CONFIG_FILES " '$ac_optarg'"
  498.     ac_need_defaults=false;;
  499.   --header | --heade | --head | --hea )
  500.     $ac_shift
  501.     case $ac_optarg in
  502.     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  503.     esac
  504.     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  505.     ac_need_defaults=false;;
  506.   --he | --h)
  507.     # Conflict between --help and --header
  508.     as_fn_error $? "ambiguous option: \`$1'
  509. Try \`$0 --help' for more information.";;
  510.   --help | --hel | -h )
  511.     $as_echo "$ac_cs_usage"; exit ;;
  512.   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  513.   | -silent | --silent | --silen | --sile | --sil | --si | --s)
  514.     ac_cs_silent=: ;;
  515.  
  516.   # This is an error.
  517.   -*) as_fn_error $? "unrecognized option: \`$1'
  518. Try \`$0 --help' for more information." ;;
  519.  
  520.   *) as_fn_append ac_config_targets " $1"
  521.      ac_need_defaults=false ;;
  522.  
  523.   esac
  524.   shift
  525. done
  526.  
  527. ac_configure_extra_args=
  528.  
  529. if $ac_cs_silent; then
  530.   exec 6>/dev/null
  531.   ac_configure_extra_args="$ac_configure_extra_args --silent"
  532. fi
  533.  
  534. if $ac_cs_recheck; then
  535.   set X '/bin/bash' './configure'  $ac_configure_extra_args --no-create --no-recursion
  536.   shift
  537.   $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
  538.   CONFIG_SHELL='/bin/bash'
  539.   export CONFIG_SHELL
  540.   exec "$@"
  541. fi
  542.  
  543. exec 5>>config.log
  544. {
  545.   echo
  546.   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  547. ## Running $as_me. ##
  548. _ASBOX
  549.   $as_echo "$ac_log"
  550. } >&5
  551.  
  552. #
  553. # INIT-COMMANDS
  554. #
  555. AMDEP_TRUE="" ac_aux_dir="."
  556.  
  557.  
  558. # The HP-UX ksh and POSIX shell print the target directory to stdout
  559. # if CDPATH is set.
  560. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  561.  
  562. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  563. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  564. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  565. enable_shared='yes'
  566. AS='as'
  567. DLLTOOL='dlltool'
  568. OBJDUMP='objdump'
  569. macro_version='2.2.8'
  570. macro_revision='1.3169'
  571. enable_static='yes'
  572. pic_mode='default'
  573. enable_fast_install='yes'
  574. SHELL='/bin/bash'
  575. ECHO='printf %s\n'
  576. host_alias=''
  577. host='x86_64-unknown-linux-gnu'
  578. host_os='linux-gnu'
  579. build_alias=''
  580. build='x86_64-unknown-linux-gnu'
  581. build_os='linux-gnu'
  582. SED='/bin/sed'
  583. Xsed='/bin/sed -e 1s/^X//'
  584. GREP='/bin/grep'
  585. EGREP='/bin/grep -E'
  586. FGREP='/bin/grep -F'
  587. LD='/usr/bin/ld -m elf_x86_64'
  588. NM='/usr/bin/nm -B'
  589. LN_S='ln -s'
  590. max_cmd_len='3458764513820540925'
  591. ac_objext='o'
  592. exeext=''
  593. lt_unset='unset'
  594. lt_SP2NL='tr \040 \012'
  595. lt_NL2SP='tr \015\012 \040\040'
  596. reload_flag=' -r'
  597. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  598. deplibs_check_method='pass_all'
  599. file_magic_cmd='$MAGIC_CMD'
  600. AR='ar'
  601. AR_FLAGS='cru'
  602. STRIP='strip'
  603. RANLIB='ranlib'
  604. old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
  605. old_postuninstall_cmds=''
  606. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
  607. lock_old_archive_extraction='no'
  608. CC='gcc'
  609. CFLAGS='-g -O2'
  610. compiler='g++'
  611. GCC='yes'
  612. lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[       ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
  613. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  614. lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
  615. 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'\'''
  616. objdir='.libs'
  617. MAGIC_CMD='file'
  618. lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  619. lt_prog_compiler_wl='-Wl,'
  620. lt_prog_compiler_pic=' -fPIC -DPIC'
  621. lt_prog_compiler_static='-static'
  622. lt_cv_prog_compiler_c_o='yes'
  623. need_locks='no'
  624. DSYMUTIL=''
  625. NMEDIT=''
  626. LIPO=''
  627. OTOOL=''
  628. OTOOL64=''
  629. libext='a'
  630. shrext_cmds='.so'
  631. extract_expsyms_cmds=''
  632. archive_cmds_need_lc='no'
  633. enable_shared_with_static_runtimes='no'
  634. export_dynamic_flag_spec='${wl}--export-dynamic'
  635. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  636. compiler_needs_object='no'
  637. old_archive_from_new_cmds=''
  638. old_archive_from_expsyms_cmds=''
  639. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  640. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  641.             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  642.             echo "local: *; };" >> $output_objdir/$libname.ver~
  643.             $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  644. module_cmds=''
  645. module_expsym_cmds=''
  646. with_gnu_ld='yes'
  647. allow_undefined_flag=''
  648. no_undefined_flag=''
  649. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  650. hardcode_libdir_flag_spec_ld=''
  651. hardcode_libdir_separator=''
  652. hardcode_direct='no'
  653. hardcode_direct_absolute='no'
  654. hardcode_minus_L='no'
  655. hardcode_shlibpath_var='unsupported'
  656. hardcode_automatic='no'
  657. inherit_rpath='no'
  658. link_all_deplibs='unknown'
  659. fix_srcfile_path=''
  660. always_export_symbols='no'
  661. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  662. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  663. include_expsyms=''
  664. prelink_cmds=''
  665. file_list_spec=''
  666. variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
  667. need_lib_prefix='no'
  668. need_version='no'
  669. version_type='linux'
  670. runpath_var='LD_RUN_PATH'
  671. shlibpath_var='LD_LIBRARY_PATH'
  672. shlibpath_overrides_runpath='no'
  673. libname_spec='lib$name'
  674. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  675. soname_spec='${libname}${release}${shared_ext}$major'
  676. install_override_mode=''
  677. postinstall_cmds=''
  678. postuninstall_cmds=''
  679. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  680. finish_eval=''
  681. hardcode_into_libs='yes'
  682. sys_lib_search_path_spec='/usr/lib/gcc/x86_64-linux-gnu/4.6 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib '
  683. sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/lib/i386-linux-gnu/mesa /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/mesa /lib32 /usr/lib32 '
  684. hardcode_action='immediate'
  685. enable_dlopen='unknown'
  686. enable_dlopen_self='unknown'
  687. enable_dlopen_self_static='unknown'
  688. old_striplib='strip --strip-debug'
  689. striplib='strip --strip-unneeded'
  690. compiler_lib_search_dirs=''
  691. predep_objects=''
  692. postdep_objects=''
  693. predeps=''
  694. postdeps=''
  695. compiler_lib_search_path=''
  696. LD_CXX='/usr/bin/ld -m elf_x86_64'
  697. reload_flag_CXX=' -r'
  698. reload_cmds_CXX='$LD$reload_flag -o $output$reload_objs'
  699. old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
  700. compiler_CXX='g++'
  701. GCC_CXX='yes'
  702. lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
  703. lt_prog_compiler_wl_CXX='-Wl,'
  704. lt_prog_compiler_pic_CXX=' -fPIC -DPIC'
  705. lt_prog_compiler_static_CXX='-static'
  706. lt_cv_prog_compiler_c_o_CXX='yes'
  707. archive_cmds_need_lc_CXX='no'
  708. enable_shared_with_static_runtimes_CXX='no'
  709. export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
  710. whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  711. compiler_needs_object_CXX='no'
  712. old_archive_from_new_cmds_CXX=''
  713. old_archive_from_expsyms_cmds_CXX=''
  714. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  715. archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  716. module_cmds_CXX=''
  717. module_expsym_cmds_CXX=''
  718. with_gnu_ld_CXX='yes'
  719. allow_undefined_flag_CXX=''
  720. no_undefined_flag_CXX=''
  721. hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
  722. hardcode_libdir_flag_spec_ld_CXX=''
  723. hardcode_libdir_separator_CXX=''
  724. hardcode_direct_CXX='no'
  725. hardcode_direct_absolute_CXX='no'
  726. hardcode_minus_L_CXX='no'
  727. hardcode_shlibpath_var_CXX='unsupported'
  728. hardcode_automatic_CXX='no'
  729. inherit_rpath_CXX='no'
  730. link_all_deplibs_CXX='unknown'
  731. fix_srcfile_path_CXX=''
  732. always_export_symbols_CXX='no'
  733. export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  734. exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  735. include_expsyms_CXX=''
  736. prelink_cmds_CXX=''
  737. file_list_spec_CXX=''
  738. hardcode_action_CXX='immediate'
  739. compiler_lib_search_dirs_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.6 /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /usr/lib/gcc/x86_64-linux-gnu/4.6/../../..'
  740. predep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.6/crtbeginS.o'
  741. postdep_objects_CXX='/usr/lib/gcc/x86_64-linux-gnu/4.6/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crtn.o'
  742. predeps_CXX=''
  743. postdeps_CXX='-lstdc++ -lm -lgcc_s -lc -lgcc_s'
  744. compiler_lib_search_path_CXX='-L/usr/lib/gcc/x86_64-linux-gnu/4.6 -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.6/../../..'
  745.  
  746. LTCC='gcc'
  747. LTCFLAGS='-g -O2'
  748. compiler='gcc'
  749.  
  750. # A function that is used when there is no print builtin or printf.
  751. func_fallback_echo ()
  752. {
  753.   eval 'cat <<_LTECHO_EOF
  754. $1
  755. _LTECHO_EOF'
  756. }
  757.  
  758. # Quote evaled strings.
  759. for var in AS DLLTOOL OBJDUMP SHELL ECHO SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag deplibs_check_method file_magic_cmd AR AR_FLAGS 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 lt_prog_compiler_no_builtin_flag lt_prog_compiler_wl lt_prog_compiler_pic lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks 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_flag_spec_ld hardcode_libdir_separator fix_srcfile_path 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 compiler_lib_search_dirs predep_objects postdep_objects predeps postdeps compiler_lib_search_path LD_CXX reload_flag_CXX compiler_CXX lt_prog_compiler_no_builtin_flag_CXX lt_prog_compiler_wl_CXX lt_prog_compiler_pic_CXX lt_prog_compiler_static_CXX lt_cv_prog_compiler_c_o_CXX export_dynamic_flag_spec_CXX whole_archive_flag_spec_CXX compiler_needs_object_CXX with_gnu_ld_CXX allow_undefined_flag_CXX no_undefined_flag_CXX hardcode_libdir_flag_spec_CXX hardcode_libdir_flag_spec_ld_CXX hardcode_libdir_separator_CXX fix_srcfile_path_CXX exclude_expsyms_CXX include_expsyms_CXX file_list_spec_CXX compiler_lib_search_dirs_CXX predep_objects_CXX postdep_objects_CXX predeps_CXX postdeps_CXX compiler_lib_search_path_CXX; do
  760.     case `eval \\$ECHO \\""\\$$var"\\"` in
  761.     *[\\\`\"\$]*)
  762.       eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\""
  763.       ;;
  764.     *)
  765.       eval "lt_$var=\\\"\$$var\\\""
  766.       ;;
  767.     esac
  768. done
  769.  
  770. # Double-quote double-evaled strings.
  771. 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 postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec reload_cmds_CXX old_archive_cmds_CXX old_archive_from_new_cmds_CXX old_archive_from_expsyms_cmds_CXX archive_cmds_CXX archive_expsym_cmds_CXX module_cmds_CXX module_expsym_cmds_CXX export_symbols_cmds_CXX prelink_cmds_CXX; do
  772.     case `eval \\$ECHO \\""\\$$var"\\"` in
  773.     *[\\\`\"\$]*)
  774.       eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
  775.       ;;
  776.     *)
  777.       eval "lt_$var=\\\"\$$var\\\""
  778.       ;;
  779.     esac
  780. done
  781.  
  782. ac_aux_dir='.'
  783. xsi_shell='yes'
  784. lt_shell_append='yes'
  785.  
  786. # See if we are running on zsh, and set the options which allow our
  787. # commands through without removal of \ escapes INIT.
  788. if test -n "${ZSH_VERSION+set}" ; then
  789.    setopt NO_GLOB_SUBST
  790. fi
  791.  
  792.  
  793.     PACKAGE='openjpeg-1.4.0'
  794.     VERSION='1.4.0'
  795.     TIMESTAMP=''
  796.     RM='rm -f'
  797.     ofile='libtool'
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805. # Handling of arguments.
  806. for ac_config_target in $ac_config_targets
  807. do
  808.   case $ac_config_target in
  809.     "opj_config.h") CONFIG_HEADERS="$CONFIG_HEADERS opj_config.h" ;;
  810.     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  811.     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  812.     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  813.     "libopenjpeg.pc") CONFIG_FILES="$CONFIG_FILES libopenjpeg.pc" ;;
  814.     "libopenjpeg/Makefile") CONFIG_FILES="$CONFIG_FILES libopenjpeg/Makefile" ;;
  815.     "jpwl/Makefile") CONFIG_FILES="$CONFIG_FILES jpwl/Makefile" ;;
  816.     "codec/Makefile") CONFIG_FILES="$CONFIG_FILES codec/Makefile" ;;
  817.     "mj2/Makefile") CONFIG_FILES="$CONFIG_FILES mj2/Makefile" ;;
  818.     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  819.     "jp3d/Makefile") CONFIG_FILES="$CONFIG_FILES jp3d/Makefile" ;;
  820.     "jp3d/libjp3dvm/Makefile") CONFIG_FILES="$CONFIG_FILES jp3d/libjp3dvm/Makefile" ;;
  821.     "jp3d/codec/Makefile") CONFIG_FILES="$CONFIG_FILES jp3d/codec/Makefile" ;;
  822.  
  823.   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  824.   esac
  825. done
  826.  
  827.  
  828. # If the user did not use the arguments to specify the items to instantiate,
  829. # then the envvar interface is used.  Set only those that are not.
  830. # We use the long form for the default assignment because of an extremely
  831. # bizarre bug on SunOS 4.1.3.
  832. if $ac_need_defaults; then
  833.   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  834.   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  835.   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  836. fi
  837.  
  838. # Have a temporary directory for convenience.  Make it in the build tree
  839. # simply because there is no reason against having it here, and in addition,
  840. # creating and moving files from /tmp can sometimes cause problems.
  841. # Hook for its removal unless debugging.
  842. # Note that there is a small window in which the directory will not be cleaned:
  843. # after its creation but before its name has been assigned to `$tmp'.
  844. $debug ||
  845. {
  846.   tmp= ac_tmp=
  847.   trap 'exit_status=$?
  848.   : "${ac_tmp:=$tmp}"
  849.   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  850. ' 0
  851.   trap 'as_fn_exit 1' 1 2 13 15
  852. }
  853. # Create a (secure) tmp directory for tmp files.
  854.  
  855. {
  856.   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  857.   test -d "$tmp"
  858. }  ||
  859. {
  860.   tmp=./conf$$-$RANDOM
  861.   (umask 077 && mkdir "$tmp")
  862. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  863. ac_tmp=$tmp
  864.  
  865. # Set up the scripts for CONFIG_FILES section.
  866. # No need to generate them if there are no CONFIG_FILES.
  867. # This happens for instance with `./config.status config.h'.
  868. if test -n "$CONFIG_FILES"; then
  869.  
  870.  
  871. ac_cr=`echo X | tr X '\015'`
  872. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  873. # But we know of no other shell where ac_cr would be empty at this
  874. # point, so we can use a bashism as a fallback.
  875. if test "x$ac_cr" = x; then
  876.   eval ac_cr=\$\'\\r\'
  877. fi
  878. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  879. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  880.   ac_cs_awk_cr='\\r'
  881. else
  882.   ac_cs_awk_cr=$ac_cr
  883. fi
  884.  
  885. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  886. cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
  887. S["am__EXEEXT_FALSE"]=""
  888. S["am__EXEEXT_TRUE"]="#"
  889. S["LTLIBOBJS"]=""
  890. S["LIBOBJS"]=""
  891. S["with_doxygen_FALSE"]=""
  892. S["with_doxygen_TRUE"]="#"
  893. S["with_doxygen"]="no"
  894. S["jp3d_dir"]=""
  895. S["with_sharedlibs_FALSE"]="#"
  896. S["with_sharedlibs_TRUE"]=""
  897. S["jpwl_dir"]=""
  898. S["with_libjpwl_FALSE"]=""
  899. S["with_libjpwl_TRUE"]="#"
  900. S["lcms1libs"]="-llcms  "
  901. S["lcms1includes"]="-I/usr/include"
  902. S["with_liblcms1_FALSE"]="#"
  903. S["with_liblcms1_TRUE"]=""
  904. S["lcms2libs"]=""
  905. S["lcms2includes"]=""
  906. S["with_liblcms2_FALSE"]=""
  907. S["with_liblcms2_TRUE"]="#"
  908. S["tifflibs"]="-ltiff"
  909. S["tiffincludes"]=""
  910. S["with_libtiff_FALSE"]="#"
  911. S["with_libtiff_TRUE"]=""
  912. S["pnglibs"]="-L/usr/lib/x86_64-linux-gnu -lpng12"
  913. S["pngincludes"]="-I/usr/include/libpng12"
  914. S["with_libpng_FALSE"]="#"
  915. S["with_libpng_TRUE"]=""
  916. S["LIBPNG_CONFIG"]="/usr/bin/libpng-config"
  917. S["PKGCONFIG"]="/usr/bin/pkg-config"
  918. S["CXXCPP"]="g++ -E"
  919. S["CPP"]="gcc -E"
  920. S["OTOOL64"]=""
  921. S["OTOOL"]=""
  922. S["LIPO"]=""
  923. S["NMEDIT"]=""
  924. S["DSYMUTIL"]=""
  925. S["RANLIB"]="ranlib"
  926. S["AR"]="ar"
  927. S["NM"]="/usr/bin/nm -B"
  928. S["ac_ct_DUMPBIN"]=""
  929. S["DUMPBIN"]=""
  930. S["LD"]="/usr/bin/ld -m elf_x86_64"
  931. S["FGREP"]="/bin/grep -F"
  932. S["EGREP"]="/bin/grep -E"
  933. S["GREP"]="/bin/grep"
  934. S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
  935. S["OBJDUMP"]="objdump"
  936. S["DLLTOOL"]="dlltool"
  937. S["AS"]="as"
  938. S["SED"]="/bin/sed"
  939. S["LN_S"]="ln -s"
  940. S["am__fastdepCXX_FALSE"]="#"
  941. S["am__fastdepCXX_TRUE"]=""
  942. S["CXXDEPMODE"]="depmode=gcc3"
  943. S["ac_ct_CXX"]="g++"
  944. S["CXXFLAGS"]="-g -O2"
  945. S["CXX"]="g++"
  946. S["am__fastdepCC_FALSE"]="#"
  947. S["am__fastdepCC_TRUE"]=""
  948. S["CCDEPMODE"]="depmode=gcc3"
  949. S["AMDEPBACKSLASH"]="\\"
  950. S["AMDEP_FALSE"]="#"
  951. S["AMDEP_TRUE"]=""
  952. S["am__quote"]=""
  953. S["am__include"]="include"
  954. S["DEPDIR"]=".deps"
  955. S["OBJEXT"]="o"
  956. S["EXEEXT"]=""
  957. S["ac_ct_CC"]="gcc"
  958. S["CPPFLAGS"]=""
  959. S["LDFLAGS"]=""
  960. S["CFLAGS"]="-g -O2"
  961. S["CC"]="gcc"
  962. S["JP3D_BUILD_NR"]="0"
  963. S["JP3D_MINOR_NR"]="3"
  964. S["JP3D_MAJOR_NR"]="1"
  965. S["BUILD_NR"]="0"
  966. S["MINOR_NR"]="4"
  967. S["MAJOR_NR"]="1"
  968. S["am__untar"]="${AMTAR} xf -"
  969. S["am__tar"]="${AMTAR} chof - \"$$tardir\""
  970. S["AMTAR"]="${SHELL} /home/a/svn/kolios/contrib/menuetlibc/openjpeg/missing --run tar"
  971. S["am__leading_dot"]="."
  972. S["SET_MAKE"]=""
  973. S["AWK"]="mawk"
  974. S["mkdir_p"]="/bin/mkdir -p"
  975. S["MKDIR_P"]="/bin/mkdir -p"
  976. S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
  977. S["STRIP"]="strip"
  978. S["install_sh"]="${SHELL} /home/a/svn/kolios/contrib/menuetlibc/openjpeg/install-sh"
  979. S["MAKEINFO"]="${SHELL} /home/a/svn/kolios/contrib/menuetlibc/openjpeg/missing --run makeinfo"
  980. S["AUTOHEADER"]="${SHELL} /home/a/svn/kolios/contrib/menuetlibc/openjpeg/missing --run autoheader"
  981. S["AUTOMAKE"]="${SHELL} /home/a/svn/kolios/contrib/menuetlibc/openjpeg/missing --run automake-1.11"
  982. S["AUTOCONF"]="${SHELL} /home/a/svn/kolios/contrib/menuetlibc/openjpeg/missing --run autoconf"
  983. S["ACLOCAL"]="${SHELL} /home/a/svn/kolios/contrib/menuetlibc/openjpeg/missing --run aclocal-1.11"
  984. S["VERSION"]="1.4.0"
  985. S["PACKAGE"]="openjpeg-1.4.0"
  986. S["CYGPATH_W"]="echo"
  987. S["am__isrc"]=""
  988. S["INSTALL_DATA"]="${INSTALL} -m 644"
  989. S["INSTALL_SCRIPT"]="${INSTALL}"
  990. S["INSTALL_PROGRAM"]="${INSTALL}"
  991. S["target_os"]="linux-gnu"
  992. S["target_vendor"]="unknown"
  993. S["target_cpu"]="x86_64"
  994. S["target"]="x86_64-unknown-linux-gnu"
  995. S["host_os"]="linux-gnu"
  996. S["host_vendor"]="unknown"
  997. S["host_cpu"]="x86_64"
  998. S["host"]="x86_64-unknown-linux-gnu"
  999. S["build_os"]="linux-gnu"
  1000. S["build_vendor"]="unknown"
  1001. S["build_cpu"]="x86_64"
  1002. S["build"]="x86_64-unknown-linux-gnu"
  1003. S["target_alias"]=""
  1004. S["host_alias"]=""
  1005. S["build_alias"]=""
  1006. S["LIBS"]=" -lm -lz -L/usr/lib/x86_64-linux-gnu -lpng12 -ltiff -ljpeg    -llcms  "
  1007. S["ECHO_T"]=""
  1008. S["ECHO_N"]="-n"
  1009. S["ECHO_C"]=""
  1010. S["DEFS"]="-DHAVE_CONFIG_H"
  1011. S["mandir"]="${datarootdir}/man"
  1012. S["localedir"]="${datarootdir}/locale"
  1013. S["libdir"]="${exec_prefix}/lib"
  1014. S["psdir"]="${docdir}"
  1015. S["pdfdir"]="${docdir}"
  1016. S["dvidir"]="${docdir}"
  1017. S["htmldir"]="${docdir}"
  1018. S["infodir"]="${datarootdir}/info"
  1019. S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
  1020. S["oldincludedir"]="/usr/include"
  1021. S["includedir"]="${prefix}/include"
  1022. S["localstatedir"]="${prefix}/var"
  1023. S["sharedstatedir"]="${prefix}/com"
  1024. S["sysconfdir"]="${prefix}/etc"
  1025. S["datadir"]="${datarootdir}"
  1026. S["datarootdir"]="${prefix}/share"
  1027. S["libexecdir"]="${exec_prefix}/libexec"
  1028. S["sbindir"]="${exec_prefix}/sbin"
  1029. S["bindir"]="${exec_prefix}/bin"
  1030. S["program_transform_name"]="s,x,x,"
  1031. S["prefix"]="/usr/local"
  1032. S["exec_prefix"]="${prefix}"
  1033. S["PACKAGE_URL"]="http://www.openjpeg.org/"
  1034. S["PACKAGE_BUGREPORT"]="http://code.google.com/p/openjpeg/"
  1035. S["PACKAGE_STRING"]="OpenJPEG 1.4.0"
  1036. S["PACKAGE_VERSION"]="1.4.0"
  1037. S["PACKAGE_TARNAME"]="openjpeg-1.4.0"
  1038. S["PACKAGE_NAME"]="OpenJPEG"
  1039. S["PATH_SEPARATOR"]=":"
  1040. S["SHELL"]="/bin/bash"
  1041. _ACAWK
  1042. cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
  1043.   for (key in S) S_is_set[key] = 1
  1044.   FS = ""
  1045.  
  1046. }
  1047. {
  1048.   line = $ 0
  1049.   nfields = split(line, field, "@")
  1050.   substed = 0
  1051.   len = length(field[1])
  1052.   for (i = 2; i < nfields; i++) {
  1053.     key = field[i]
  1054.     keylen = length(key)
  1055.     if (S_is_set[key]) {
  1056.       value = S[key]
  1057.       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  1058.       len += length(value) + length(field[++i])
  1059.       substed = 1
  1060.     } else
  1061.       len += 1 + keylen
  1062.   }
  1063.  
  1064.   print line
  1065. }
  1066.  
  1067. _ACAWK
  1068. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  1069.   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  1070. else
  1071.   cat
  1072. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  1073.   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  1074. fi # test -n "$CONFIG_FILES"
  1075.  
  1076. # Set up the scripts for CONFIG_HEADERS section.
  1077. # No need to generate them if there are no CONFIG_HEADERS.
  1078. # This happens for instance with `./config.status Makefile'.
  1079. if test -n "$CONFIG_HEADERS"; then
  1080. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  1081. BEGIN {
  1082. D["PACKAGE_NAME"]=" \"OpenJPEG\""
  1083. D["PACKAGE_TARNAME"]=" \"openjpeg-1.4.0\""
  1084. D["PACKAGE_VERSION"]=" \"1.4.0\""
  1085. D["PACKAGE_STRING"]=" \"OpenJPEG 1.4.0\""
  1086. D["PACKAGE_BUGREPORT"]=" \"http://code.google.com/p/openjpeg/\""
  1087. D["PACKAGE_URL"]=" \"http://www.openjpeg.org/\""
  1088. D["PACKAGE"]=" \"openjpeg-1.4.0\""
  1089. D["VERSION"]=" \"1.4.0\""
  1090. D["HAVE_FSEEKO"]=" 1"
  1091. D["STDC_HEADERS"]=" 1"
  1092. D["HAVE_SYS_TYPES_H"]=" 1"
  1093. D["HAVE_SYS_STAT_H"]=" 1"
  1094. D["HAVE_STDLIB_H"]=" 1"
  1095. D["HAVE_STRING_H"]=" 1"
  1096. D["HAVE_MEMORY_H"]=" 1"
  1097. D["HAVE_STRINGS_H"]=" 1"
  1098. D["HAVE_INTTYPES_H"]=" 1"
  1099. D["HAVE_STDINT_H"]=" 1"
  1100. D["HAVE_UNISTD_H"]=" 1"
  1101. D["HAVE_DLFCN_H"]=" 1"
  1102. D["LT_OBJDIR"]=" \".libs/\""
  1103. D["HAVE_LIBPNG"]=" 1"
  1104. D["HAVE_LIBPNG"]=" 1"
  1105. D["HAVE_LIBTIFF"]=" 1"
  1106. D["HAVE_LIBLCMS"]=" 1"
  1107. D["HAVE_LIBLCMS1"]=" 1"
  1108.   for (key in D) D_is_set[key] = 1
  1109.   FS = ""
  1110. }
  1111. /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
  1112.   line = $ 0
  1113.   split(line, arg, " ")
  1114.   if (arg[1] == "#") {
  1115.     defundef = arg[2]
  1116.     mac1 = arg[3]
  1117.   } else {
  1118.     defundef = substr(arg[1], 2)
  1119.     mac1 = arg[2]
  1120.   }
  1121.   split(mac1, mac2, "(") #)
  1122.   macro = mac2[1]
  1123.   prefix = substr(line, 1, index(line, defundef) - 1)
  1124.   if (D_is_set[macro]) {
  1125.     # Preserve the white space surrounding the "#".
  1126.     print prefix "define", macro P[macro] D[macro]
  1127.     next
  1128.   } else {
  1129.     # Replace #undef with comments.  This is necessary, for example,
  1130.     # in the case of _POSIX_SOURCE, which is predefined and required
  1131.     # on some systems where configure will not decide to define it.
  1132.     if (defundef == "undef") {
  1133.       print "/*", prefix defundef, macro, "*/"
  1134.       next
  1135.     }
  1136.   }
  1137. }
  1138. { print }
  1139. _ACAWK
  1140.   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  1141. fi # test -n "$CONFIG_HEADERS"
  1142.  
  1143.  
  1144. eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
  1145. shift
  1146. for ac_tag
  1147. do
  1148.   case $ac_tag in
  1149.   :[FHLC]) ac_mode=$ac_tag; continue;;
  1150.   esac
  1151.   case $ac_mode$ac_tag in
  1152.   :[FHL]*:*);;
  1153.   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  1154.   :[FH]-) ac_tag=-:-;;
  1155.   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  1156.   esac
  1157.   ac_save_IFS=$IFS
  1158.   IFS=:
  1159.   set x $ac_tag
  1160.   IFS=$ac_save_IFS
  1161.   shift
  1162.   ac_file=$1
  1163.   shift
  1164.  
  1165.   case $ac_mode in
  1166.   :L) ac_source=$1;;
  1167.   :[FH])
  1168.     ac_file_inputs=
  1169.     for ac_f
  1170.     do
  1171.       case $ac_f in
  1172.       -) ac_f="$ac_tmp/stdin";;
  1173.       *) # Look for the file first in the build tree, then in the source tree
  1174.          # (if the path is not absolute).  The absolute path cannot be DOS-style,
  1175.          # because $ac_f cannot contain `:'.
  1176.          test -f "$ac_f" ||
  1177.            case $ac_f in
  1178.            [\\/$]*) false;;
  1179.            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  1180.            esac ||
  1181.            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  1182.       esac
  1183.       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  1184.       as_fn_append ac_file_inputs " '$ac_f'"
  1185.     done
  1186.  
  1187.     # Let's still pretend it is `configure' which instantiates (i.e., don't
  1188.     # use $as_me), people would be surprised to read:
  1189.     #    /* config.h.  Generated by config.status.  */
  1190.     configure_input='Generated from '`
  1191.           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  1192.         `' by configure.'
  1193.     if test x"$ac_file" != x-; then
  1194.       configure_input="$ac_file.  $configure_input"
  1195.       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  1196. $as_echo "$as_me: creating $ac_file" >&6;}
  1197.     fi
  1198.     # Neutralize special characters interpreted by sed in replacement strings.
  1199.     case $configure_input in #(
  1200.     *\&* | *\|* | *\\* )
  1201.        ac_sed_conf_input=`$as_echo "$configure_input" |
  1202.        sed 's/[\\\\&|]/\\\\&/g'`;; #(
  1203.     *) ac_sed_conf_input=$configure_input;;
  1204.     esac
  1205.  
  1206.     case $ac_tag in
  1207.     *:-:* | *:-) cat >"$ac_tmp/stdin" \
  1208.       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  1209.     esac
  1210.     ;;
  1211.   esac
  1212.  
  1213.   ac_dir=`$as_dirname -- "$ac_file" ||
  1214. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1215.          X"$ac_file" : 'X\(//\)[^/]' \| \
  1216.          X"$ac_file" : 'X\(//\)$' \| \
  1217.          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  1218. $as_echo X"$ac_file" |
  1219.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1220.             s//\1/
  1221.             q
  1222.           }
  1223.           /^X\(\/\/\)[^/].*/{
  1224.             s//\1/
  1225.             q
  1226.           }
  1227.           /^X\(\/\/\)$/{
  1228.             s//\1/
  1229.             q
  1230.           }
  1231.           /^X\(\/\).*/{
  1232.             s//\1/
  1233.             q
  1234.           }
  1235.           s/.*/./; q'`
  1236.   as_dir="$ac_dir"; as_fn_mkdir_p
  1237.   ac_builddir=.
  1238.  
  1239. case "$ac_dir" in
  1240. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1241. *)
  1242.   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1243.   # A ".." for each directory in $ac_dir_suffix.
  1244.   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1245.   case $ac_top_builddir_sub in
  1246.   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1247.   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1248.   esac ;;
  1249. esac
  1250. ac_abs_top_builddir=$ac_pwd
  1251. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1252. # for backward compatibility:
  1253. ac_top_builddir=$ac_top_build_prefix
  1254.  
  1255. case $srcdir in
  1256.   .)  # We are building in place.
  1257.     ac_srcdir=.
  1258.     ac_top_srcdir=$ac_top_builddir_sub
  1259.     ac_abs_top_srcdir=$ac_pwd ;;
  1260.   [\\/]* | ?:[\\/]* )  # Absolute name.
  1261.     ac_srcdir=$srcdir$ac_dir_suffix;
  1262.     ac_top_srcdir=$srcdir
  1263.     ac_abs_top_srcdir=$srcdir ;;
  1264.   *) # Relative name.
  1265.     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1266.     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1267.     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1268. esac
  1269. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1270.  
  1271.  
  1272.   case $ac_mode in
  1273.   :F)
  1274.   #
  1275.   # CONFIG_FILE
  1276.   #
  1277.  
  1278.   case $INSTALL in
  1279.   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  1280.   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  1281.   esac
  1282.   ac_MKDIR_P=$MKDIR_P
  1283.   case $MKDIR_P in
  1284.   [\\/$]* | ?:[\\/]* ) ;;
  1285.   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  1286.   esac
  1287. # If the template does not know about datarootdir, expand it.
  1288. # FIXME: This hack should be removed a few years after 2.60.
  1289. ac_datarootdir_hack=; ac_datarootdir_seen=
  1290. ac_sed_dataroot='
  1291. /datarootdir/ {
  1292.   p
  1293.   q
  1294. }
  1295. /@datadir@/p
  1296. /@docdir@/p
  1297. /@infodir@/p
  1298. /@localedir@/p
  1299. /@mandir@/p'
  1300. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  1301. *datarootdir*) ac_datarootdir_seen=yes;;
  1302. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  1303.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  1304. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  1305.   ac_datarootdir_hack='
  1306.   s&@datadir@&${datarootdir}&g
  1307.   s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
  1308.   s&@infodir@&${datarootdir}/info&g
  1309.   s&@localedir@&${datarootdir}/locale&g
  1310.   s&@mandir@&${datarootdir}/man&g
  1311.   s&\${datarootdir}&${prefix}/share&g' ;;
  1312. esac
  1313. ac_sed_extra="/^[        ]*VPATH[        ]*=[    ]*/{
  1314. h
  1315. s///
  1316. s/^/:/
  1317. s/[      ]*$/:/
  1318. s/:\$(srcdir):/:/g
  1319. s/:\${srcdir}:/:/g
  1320. s/:@srcdir@:/:/g
  1321. s/^:*//
  1322. s/:*$//
  1323. x
  1324. s/\(=[   ]*\).*/\1/
  1325. G
  1326. s/\n//
  1327. s/^[^=]*=[       ]*$//
  1328. }
  1329.  
  1330. :t
  1331. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  1332. s|@configure_input@|$ac_sed_conf_input|;t t
  1333. s&@top_builddir@&$ac_top_builddir_sub&;t t
  1334. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  1335. s&@srcdir@&$ac_srcdir&;t t
  1336. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  1337. s&@top_srcdir@&$ac_top_srcdir&;t t
  1338. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  1339. s&@builddir@&$ac_builddir&;t t
  1340. s&@abs_builddir@&$ac_abs_builddir&;t t
  1341. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  1342. s&@INSTALL@&$ac_INSTALL&;t t
  1343. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  1344. $ac_datarootdir_hack
  1345. "
  1346. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  1347.   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1348.  
  1349. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  1350.   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  1351.   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
  1352.       "$ac_tmp/out"`; test -z "$ac_out"; } &&
  1353.   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1354. which seems to be undefined.  Please make sure it is defined" >&5
  1355. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  1356. which seems to be undefined.  Please make sure it is defined" >&2;}
  1357.  
  1358.   rm -f "$ac_tmp/stdin"
  1359.   case $ac_file in
  1360.   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  1361.   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  1362.   esac \
  1363.   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1364.  ;;
  1365.   :H)
  1366.   #
  1367.   # CONFIG_HEADER
  1368.   #
  1369.   if test x"$ac_file" != x-; then
  1370.     {
  1371.       $as_echo "/* $configure_input  */" \
  1372.       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  1373.     } >"$ac_tmp/config.h" \
  1374.       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1375.     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  1376.       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  1377. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  1378.     else
  1379.       rm -f "$ac_file"
  1380.       mv "$ac_tmp/config.h" "$ac_file" \
  1381.         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  1382.     fi
  1383.   else
  1384.     $as_echo "/* $configure_input  */" \
  1385.       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  1386.       || as_fn_error $? "could not create -" "$LINENO" 5
  1387.   fi
  1388. # Compute "$ac_file"'s index in $config_headers.
  1389. _am_arg="$ac_file"
  1390. _am_stamp_count=1
  1391. for _am_header in $config_headers :; do
  1392.   case $_am_header in
  1393.     $_am_arg | $_am_arg:* )
  1394.       break ;;
  1395.     * )
  1396.       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  1397.   esac
  1398. done
  1399. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  1400. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1401.          X"$_am_arg" : 'X\(//\)[^/]' \| \
  1402.          X"$_am_arg" : 'X\(//\)$' \| \
  1403.          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  1404. $as_echo X"$_am_arg" |
  1405.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1406.             s//\1/
  1407.             q
  1408.           }
  1409.           /^X\(\/\/\)[^/].*/{
  1410.             s//\1/
  1411.             q
  1412.           }
  1413.           /^X\(\/\/\)$/{
  1414.             s//\1/
  1415.             q
  1416.           }
  1417.           /^X\(\/\).*/{
  1418.             s//\1/
  1419.             q
  1420.           }
  1421.           s/.*/./; q'`/stamp-h$_am_stamp_count
  1422.  ;;
  1423.  
  1424.   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  1425. $as_echo "$as_me: executing $ac_file commands" >&6;}
  1426.  ;;
  1427.   esac
  1428.  
  1429.  
  1430.   case $ac_file$ac_mode in
  1431.     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  1432.   # Autoconf 2.62 quotes --file arguments for eval, but not when files
  1433.   # are listed without --file.  Let's play safe and only enable the eval
  1434.   # if we detect the quoting.
  1435.   case $CONFIG_FILES in
  1436.   *\'*) eval set x "$CONFIG_FILES" ;;
  1437.   *)   set x $CONFIG_FILES ;;
  1438.   esac
  1439.   shift
  1440.   for mf
  1441.   do
  1442.     # Strip MF so we end up with the name of the file.
  1443.     mf=`echo "$mf" | sed -e 's/:.*$//'`
  1444.     # Check whether this is an Automake generated Makefile or not.
  1445.     # We used to match only the files named `Makefile.in', but
  1446.     # some people rename them; so instead we look at the file content.
  1447.     # Grep'ing the first line is not enough: some people post-process
  1448.     # each Makefile.in and add a new line on top of each file to say so.
  1449.     # Grep'ing the whole file is not good either: AIX grep has a line
  1450.     # limit of 2048, but all sed's we know have understand at least 4000.
  1451.     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  1452.       dirpart=`$as_dirname -- "$mf" ||
  1453. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1454.          X"$mf" : 'X\(//\)[^/]' \| \
  1455.          X"$mf" : 'X\(//\)$' \| \
  1456.          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  1457. $as_echo X"$mf" |
  1458.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1459.             s//\1/
  1460.             q
  1461.           }
  1462.           /^X\(\/\/\)[^/].*/{
  1463.             s//\1/
  1464.             q
  1465.           }
  1466.           /^X\(\/\/\)$/{
  1467.             s//\1/
  1468.             q
  1469.           }
  1470.           /^X\(\/\).*/{
  1471.             s//\1/
  1472.             q
  1473.           }
  1474.           s/.*/./; q'`
  1475.     else
  1476.       continue
  1477.     fi
  1478.     # Extract the definition of DEPDIR, am__include, and am__quote
  1479.     # from the Makefile without running `make'.
  1480.     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  1481.     test -z "$DEPDIR" && continue
  1482.     am__include=`sed -n 's/^am__include = //p' < "$mf"`
  1483.     test -z "am__include" && continue
  1484.     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  1485.     # When using ansi2knr, U may be empty or an underscore; expand it
  1486.     U=`sed -n 's/^U = //p' < "$mf"`
  1487.     # Find all dependency output files, they are included files with
  1488.     # $(DEPDIR) in their names.  We invoke sed twice because it is the
  1489.     # simplest approach to changing $(DEPDIR) to its actual value in the
  1490.     # expansion.
  1491.     for file in `sed -n "
  1492.       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  1493.          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  1494.       # Make sure the directory exists.
  1495.       test -f "$dirpart/$file" && continue
  1496.       fdir=`$as_dirname -- "$file" ||
  1497. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1498.          X"$file" : 'X\(//\)[^/]' \| \
  1499.          X"$file" : 'X\(//\)$' \| \
  1500.          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  1501. $as_echo X"$file" |
  1502.     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1503.             s//\1/
  1504.             q
  1505.           }
  1506.           /^X\(\/\/\)[^/].*/{
  1507.             s//\1/
  1508.             q
  1509.           }
  1510.           /^X\(\/\/\)$/{
  1511.             s//\1/
  1512.             q
  1513.           }
  1514.           /^X\(\/\).*/{
  1515.             s//\1/
  1516.             q
  1517.           }
  1518.           s/.*/./; q'`
  1519.       as_dir=$dirpart/$fdir; as_fn_mkdir_p
  1520.       # echo "creating $dirpart/$file"
  1521.       echo '# dummy' > "$dirpart/$file"
  1522.     done
  1523.   done
  1524. }
  1525.  ;;
  1526.     "libtool":C)
  1527.  
  1528.     # See if we are running on zsh, and set the options which allow our
  1529.     # commands through without removal of \ escapes.
  1530.     if test -n "${ZSH_VERSION+set}" ; then
  1531.       setopt NO_GLOB_SUBST
  1532.     fi
  1533.  
  1534.     cfgfile="${ofile}T"
  1535.     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  1536.     $RM "$cfgfile"
  1537.  
  1538.     cat <<_LT_EOF >> "$cfgfile"
  1539. #! $SHELL
  1540.  
  1541. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  1542. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  1543. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  1544. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  1545. #
  1546. #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  1547. #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
  1548. #                 Inc.
  1549. #   Written by Gordon Matzigkeit, 1996
  1550. #
  1551. #   This file is part of GNU Libtool.
  1552. #
  1553. # GNU Libtool is free software; you can redistribute it and/or
  1554. # modify it under the terms of the GNU General Public License as
  1555. # published by the Free Software Foundation; either version 2 of
  1556. # the License, or (at your option) any later version.
  1557. #
  1558. # As a special exception to the GNU General Public License,
  1559. # if you distribute this file as part of a program or library that
  1560. # is built using GNU Libtool, you may include this file under the
  1561. # same distribution terms that you use for the rest of that program.
  1562. #
  1563. # GNU Libtool is distributed in the hope that it will be useful,
  1564. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  1565. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  1566. # GNU General Public License for more details.
  1567. #
  1568. # You should have received a copy of the GNU General Public License
  1569. # along with GNU Libtool; see the file COPYING.  If not, a copy
  1570. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  1571. # obtained by writing to the Free Software Foundation, Inc.,
  1572. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  1573.  
  1574.  
  1575. # The names of the tagged configurations supported by this script.
  1576. available_tags="CXX "
  1577.  
  1578. # ### BEGIN LIBTOOL CONFIG
  1579.  
  1580. # Whether or not to build shared libraries.
  1581. build_libtool_libs=$enable_shared
  1582.  
  1583. # Assembler program.
  1584. AS=$lt_AS
  1585.  
  1586. # DLL creation program.
  1587. DLLTOOL=$lt_DLLTOOL
  1588.  
  1589. # Object dumper program.
  1590. OBJDUMP=$lt_OBJDUMP
  1591.  
  1592. # Which release of libtool.m4 was used?
  1593. macro_version=$macro_version
  1594. macro_revision=$macro_revision
  1595.  
  1596. # Whether or not to build static libraries.
  1597. build_old_libs=$enable_static
  1598.  
  1599. # What type of objects to build.
  1600. pic_mode=$pic_mode
  1601.  
  1602. # Whether or not to optimize for fast installation.
  1603. fast_install=$enable_fast_install
  1604.  
  1605. # Shell to use when invoking shell scripts.
  1606. SHELL=$lt_SHELL
  1607.  
  1608. # An echo program that protects backslashes.
  1609. ECHO=$lt_ECHO
  1610.  
  1611. # The host system.
  1612. host_alias=$host_alias
  1613. host=$host
  1614. host_os=$host_os
  1615.  
  1616. # The build system.
  1617. build_alias=$build_alias
  1618. build=$build
  1619. build_os=$build_os
  1620.  
  1621. # A sed program that does not truncate output.
  1622. SED=$lt_SED
  1623.  
  1624. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  1625. Xsed="\$SED -e 1s/^X//"
  1626.  
  1627. # A grep program that handles long lines.
  1628. GREP=$lt_GREP
  1629.  
  1630. # An ERE matcher.
  1631. EGREP=$lt_EGREP
  1632.  
  1633. # A literal string matcher.
  1634. FGREP=$lt_FGREP
  1635.  
  1636. # A BSD- or MS-compatible name lister.
  1637. NM=$lt_NM
  1638.  
  1639. # Whether we need soft or hard links.
  1640. LN_S=$lt_LN_S
  1641.  
  1642. # What is the maximum length of a command?
  1643. max_cmd_len=$max_cmd_len
  1644.  
  1645. # Object file suffix (normally "o").
  1646. objext=$ac_objext
  1647.  
  1648. # Executable file suffix (normally "").
  1649. exeext=$exeext
  1650.  
  1651. # whether the shell understands "unset".
  1652. lt_unset=$lt_unset
  1653.  
  1654. # turn spaces into newlines.
  1655. SP2NL=$lt_lt_SP2NL
  1656.  
  1657. # turn newlines into spaces.
  1658. NL2SP=$lt_lt_NL2SP
  1659.  
  1660. # Method to check whether dependent libraries are shared objects.
  1661. deplibs_check_method=$lt_deplibs_check_method
  1662.  
  1663. # Command to use when deplibs_check_method == "file_magic".
  1664. file_magic_cmd=$lt_file_magic_cmd
  1665.  
  1666. # The archiver.
  1667. AR=$lt_AR
  1668. AR_FLAGS=$lt_AR_FLAGS
  1669.  
  1670. # A symbol stripping program.
  1671. STRIP=$lt_STRIP
  1672.  
  1673. # Commands used to install an old-style archive.
  1674. RANLIB=$lt_RANLIB
  1675. old_postinstall_cmds=$lt_old_postinstall_cmds
  1676. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  1677.  
  1678. # Whether to use a lock for old archive extraction.
  1679. lock_old_archive_extraction=$lock_old_archive_extraction
  1680.  
  1681. # A C compiler.
  1682. LTCC=$lt_CC
  1683.  
  1684. # LTCC compiler flags.
  1685. LTCFLAGS=$lt_CFLAGS
  1686.  
  1687. # Take the output of nm and produce a listing of raw symbols and C names.
  1688. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  1689.  
  1690. # Transform the output of nm in a proper C declaration.
  1691. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  1692.  
  1693. # Transform the output of nm in a C name address pair.
  1694. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  1695.  
  1696. # Transform the output of nm in a C name address pair when lib prefix is needed.
  1697. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  1698.  
  1699. # The name of the directory that contains temporary libtool files.
  1700. objdir=$objdir
  1701.  
  1702. # Used to examine libraries when file_magic_cmd begins with "file".
  1703. MAGIC_CMD=$MAGIC_CMD
  1704.  
  1705. # Must we lock files when doing compilation?
  1706. need_locks=$lt_need_locks
  1707.  
  1708. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  1709. DSYMUTIL=$lt_DSYMUTIL
  1710.  
  1711. # Tool to change global to local symbols on Mac OS X.
  1712. NMEDIT=$lt_NMEDIT
  1713.  
  1714. # Tool to manipulate fat objects and archives on Mac OS X.
  1715. LIPO=$lt_LIPO
  1716.  
  1717. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  1718. OTOOL=$lt_OTOOL
  1719.  
  1720. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  1721. OTOOL64=$lt_OTOOL64
  1722.  
  1723. # Old archive suffix (normally "a").
  1724. libext=$libext
  1725.  
  1726. # Shared library suffix (normally ".so").
  1727. shrext_cmds=$lt_shrext_cmds
  1728.  
  1729. # The commands to extract the exported symbol list from a shared archive.
  1730. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  1731.  
  1732. # Variables whose values should be saved in libtool wrapper scripts and
  1733. # restored at link time.
  1734. variables_saved_for_relink=$lt_variables_saved_for_relink
  1735.  
  1736. # Do we need the "lib" prefix for modules?
  1737. need_lib_prefix=$need_lib_prefix
  1738.  
  1739. # Do we need a version for libraries?
  1740. need_version=$need_version
  1741.  
  1742. # Library versioning type.
  1743. version_type=$version_type
  1744.  
  1745. # Shared library runtime path variable.
  1746. runpath_var=$runpath_var
  1747.  
  1748. # Shared library path variable.
  1749. shlibpath_var=$shlibpath_var
  1750.  
  1751. # Is shlibpath searched before the hard-coded library search path?
  1752. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  1753.  
  1754. # Format of library name prefix.
  1755. libname_spec=$lt_libname_spec
  1756.  
  1757. # List of archive names.  First name is the real one, the rest are links.
  1758. # The last name is the one that the linker finds with -lNAME
  1759. library_names_spec=$lt_library_names_spec
  1760.  
  1761. # The coded name of the library, if different from the real name.
  1762. soname_spec=$lt_soname_spec
  1763.  
  1764. # Permission mode override for installation of shared libraries.
  1765. install_override_mode=$lt_install_override_mode
  1766.  
  1767. # Command to use after installation of a shared archive.
  1768. postinstall_cmds=$lt_postinstall_cmds
  1769.  
  1770. # Command to use after uninstallation of a shared archive.
  1771. postuninstall_cmds=$lt_postuninstall_cmds
  1772.  
  1773. # Commands used to finish a libtool library installation in a directory.
  1774. finish_cmds=$lt_finish_cmds
  1775.  
  1776. # As "finish_cmds", except a single script fragment to be evaled but
  1777. # not shown.
  1778. finish_eval=$lt_finish_eval
  1779.  
  1780. # Whether we should hardcode library paths into libraries.
  1781. hardcode_into_libs=$hardcode_into_libs
  1782.  
  1783. # Compile-time system search path for libraries.
  1784. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  1785.  
  1786. # Run-time system search path for libraries.
  1787. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  1788.  
  1789. # Whether dlopen is supported.
  1790. dlopen_support=$enable_dlopen
  1791.  
  1792. # Whether dlopen of programs is supported.
  1793. dlopen_self=$enable_dlopen_self
  1794.  
  1795. # Whether dlopen of statically linked programs is supported.
  1796. dlopen_self_static=$enable_dlopen_self_static
  1797.  
  1798. # Commands to strip libraries.
  1799. old_striplib=$lt_old_striplib
  1800. striplib=$lt_striplib
  1801.  
  1802.  
  1803. # The linker used to build libraries.
  1804. LD=$lt_LD
  1805.  
  1806. # How to create reloadable object files.
  1807. reload_flag=$lt_reload_flag
  1808. reload_cmds=$lt_reload_cmds
  1809.  
  1810. # Commands used to build an old-style archive.
  1811. old_archive_cmds=$lt_old_archive_cmds
  1812.  
  1813. # A language specific compiler.
  1814. CC=$lt_compiler
  1815.  
  1816. # Is the compiler the GNU compiler?
  1817. with_gcc=$GCC
  1818.  
  1819. # Compiler flag to turn off builtin functions.
  1820. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  1821.  
  1822. # How to pass a linker flag through the compiler.
  1823. wl=$lt_lt_prog_compiler_wl
  1824.  
  1825. # Additional compiler flags for building library objects.
  1826. pic_flag=$lt_lt_prog_compiler_pic
  1827.  
  1828. # Compiler flag to prevent dynamic linking.
  1829. link_static_flag=$lt_lt_prog_compiler_static
  1830.  
  1831. # Does compiler simultaneously support -c and -o options?
  1832. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  1833.  
  1834. # Whether or not to add -lc for building shared libraries.
  1835. build_libtool_need_lc=$archive_cmds_need_lc
  1836.  
  1837. # Whether or not to disallow shared libs when runtime libs are static.
  1838. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  1839.  
  1840. # Compiler flag to allow reflexive dlopens.
  1841. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  1842.  
  1843. # Compiler flag to generate shared objects directly from archives.
  1844. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  1845.  
  1846. # Whether the compiler copes with passing no objects directly.
  1847. compiler_needs_object=$lt_compiler_needs_object
  1848.  
  1849. # Create an old-style archive from a shared archive.
  1850. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  1851.  
  1852. # Create a temporary old-style archive to link instead of a shared archive.
  1853. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  1854.  
  1855. # Commands used to build a shared archive.
  1856. archive_cmds=$lt_archive_cmds
  1857. archive_expsym_cmds=$lt_archive_expsym_cmds
  1858.  
  1859. # Commands used to build a loadable module if different from building
  1860. # a shared archive.
  1861. module_cmds=$lt_module_cmds
  1862. module_expsym_cmds=$lt_module_expsym_cmds
  1863.  
  1864. # Whether we are building with GNU ld or not.
  1865. with_gnu_ld=$lt_with_gnu_ld
  1866.  
  1867. # Flag that allows shared libraries with undefined symbols to be built.
  1868. allow_undefined_flag=$lt_allow_undefined_flag
  1869.  
  1870. # Flag that enforces no undefined symbols.
  1871. no_undefined_flag=$lt_no_undefined_flag
  1872.  
  1873. # Flag to hardcode \$libdir into a binary during linking.
  1874. # This must work even if \$libdir does not exist
  1875. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  1876.  
  1877. # If ld is used when linking, flag to hardcode \$libdir into a binary
  1878. # during linking.  This must work even if \$libdir does not exist.
  1879. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  1880.  
  1881. # Whether we need a single "-rpath" flag with a separated argument.
  1882. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  1883.  
  1884. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1885. # DIR into the resulting binary.
  1886. hardcode_direct=$hardcode_direct
  1887.  
  1888. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  1889. # DIR into the resulting binary and the resulting library dependency is
  1890. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  1891. # library is relocated.
  1892. hardcode_direct_absolute=$hardcode_direct_absolute
  1893.  
  1894. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  1895. # into the resulting binary.
  1896. hardcode_minus_L=$hardcode_minus_L
  1897.  
  1898. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  1899. # into the resulting binary.
  1900. hardcode_shlibpath_var=$hardcode_shlibpath_var
  1901.  
  1902. # Set to "yes" if building a shared library automatically hardcodes DIR
  1903. # into the library and all subsequent libraries and executables linked
  1904. # against it.
  1905. hardcode_automatic=$hardcode_automatic
  1906.  
  1907. # Set to yes if linker adds runtime paths of dependent libraries
  1908. # to runtime path list.
  1909. inherit_rpath=$inherit_rpath
  1910.  
  1911. # Whether libtool must link a program against all its dependency libraries.
  1912. link_all_deplibs=$link_all_deplibs
  1913.  
  1914. # Fix the shell variable \$srcfile for the compiler.
  1915. fix_srcfile_path=$lt_fix_srcfile_path
  1916.  
  1917. # Set to "yes" if exported symbols are required.
  1918. always_export_symbols=$always_export_symbols
  1919.  
  1920. # The commands to list exported symbols.
  1921. export_symbols_cmds=$lt_export_symbols_cmds
  1922.  
  1923. # Symbols that should not be listed in the preloaded symbols.
  1924. exclude_expsyms=$lt_exclude_expsyms
  1925.  
  1926. # Symbols that must always be exported.
  1927. include_expsyms=$lt_include_expsyms
  1928.  
  1929. # Commands necessary for linking programs (against libraries) with templates.
  1930. prelink_cmds=$lt_prelink_cmds
  1931.  
  1932. # Specify filename containing input files.
  1933. file_list_spec=$lt_file_list_spec
  1934.  
  1935. # How to hardcode a shared library path into an executable.
  1936. hardcode_action=$hardcode_action
  1937.  
  1938. # The directories searched by this compiler when creating a shared library.
  1939. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
  1940.  
  1941. # Dependencies to place before and after the objects being linked to
  1942. # create a shared library.
  1943. predep_objects=$lt_predep_objects
  1944. postdep_objects=$lt_postdep_objects
  1945. predeps=$lt_predeps
  1946. postdeps=$lt_postdeps
  1947.  
  1948. # The library search path used internally by the compiler when linking
  1949. # a shared library.
  1950. compiler_lib_search_path=$lt_compiler_lib_search_path
  1951.  
  1952. # ### END LIBTOOL CONFIG
  1953.  
  1954. _LT_EOF
  1955.  
  1956.   case $host_os in
  1957.   aix3*)
  1958.     cat <<\_LT_EOF >> "$cfgfile"
  1959. # AIX sometimes has problems with the GCC collect2 program.  For some
  1960. # reason, if we set the COLLECT_NAMES environment variable, the problems
  1961. # vanish in a puff of smoke.
  1962. if test "X${COLLECT_NAMES+set}" != Xset; then
  1963.   COLLECT_NAMES=
  1964.   export COLLECT_NAMES
  1965. fi
  1966. _LT_EOF
  1967.     ;;
  1968.   esac
  1969.  
  1970.  
  1971. ltmain="$ac_aux_dir/ltmain.sh"
  1972.  
  1973.  
  1974.   # We use sed instead of cat because bash on DJGPP gets confused if
  1975.   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  1976.   # text mode, it properly converts lines to CR/LF.  This bash problem
  1977.   # is reportedly fixed, but why not run on old versions too?
  1978.   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  1979.     || (rm -f "$cfgfile"; exit 1)
  1980.  
  1981.   case $xsi_shell in
  1982.   yes)
  1983.     cat << \_LT_EOF >> "$cfgfile"
  1984.  
  1985. # func_dirname file append nondir_replacement
  1986. # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
  1987. # otherwise set result to NONDIR_REPLACEMENT.
  1988. func_dirname ()
  1989. {
  1990.   case ${1} in
  1991.     */*) func_dirname_result="${1%/*}${2}" ;;
  1992.     *  ) func_dirname_result="${3}" ;;
  1993.   esac
  1994. }
  1995.  
  1996. # func_basename file
  1997. func_basename ()
  1998. {
  1999.   func_basename_result="${1##*/}"
  2000. }
  2001.  
  2002. # func_dirname_and_basename file append nondir_replacement
  2003. # perform func_basename and func_dirname in a single function
  2004. # call:
  2005. #   dirname:  Compute the dirname of FILE.  If nonempty,
  2006. #             add APPEND to the result, otherwise set result
  2007. #             to NONDIR_REPLACEMENT.
  2008. #             value returned in "$func_dirname_result"
  2009. #   basename: Compute filename of FILE.
  2010. #             value retuned in "$func_basename_result"
  2011. # Implementation must be kept synchronized with func_dirname
  2012. # and func_basename. For efficiency, we do not delegate to
  2013. # those functions but instead duplicate the functionality here.
  2014. func_dirname_and_basename ()
  2015. {
  2016.   case ${1} in
  2017.     */*) func_dirname_result="${1%/*}${2}" ;;
  2018.     *  ) func_dirname_result="${3}" ;;
  2019.   esac
  2020.   func_basename_result="${1##*/}"
  2021. }
  2022.  
  2023. # func_stripname prefix suffix name
  2024. # strip PREFIX and SUFFIX off of NAME.
  2025. # PREFIX and SUFFIX must not contain globbing or regex special
  2026. # characters, hashes, percent signs, but SUFFIX may contain a leading
  2027. # dot (in which case that matches only a dot).
  2028. func_stripname ()
  2029. {
  2030.   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  2031.   # positional parameters, so assign one to ordinary parameter first.
  2032.   func_stripname_result=${3}
  2033.   func_stripname_result=${func_stripname_result#"${1}"}
  2034.   func_stripname_result=${func_stripname_result%"${2}"}
  2035. }
  2036.  
  2037. # func_opt_split
  2038. func_opt_split ()
  2039. {
  2040.   func_opt_split_opt=${1%%=*}
  2041.   func_opt_split_arg=${1#*=}
  2042. }
  2043.  
  2044. # func_lo2o object
  2045. func_lo2o ()
  2046. {
  2047.   case ${1} in
  2048.     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  2049.     *)    func_lo2o_result=${1} ;;
  2050.   esac
  2051. }
  2052.  
  2053. # func_xform libobj-or-source
  2054. func_xform ()
  2055. {
  2056.   func_xform_result=${1%.*}.lo
  2057. }
  2058.  
  2059. # func_arith arithmetic-term...
  2060. func_arith ()
  2061. {
  2062.   func_arith_result=$(( $* ))
  2063. }
  2064.  
  2065. # func_len string
  2066. # STRING may not start with a hyphen.
  2067. func_len ()
  2068. {
  2069.   func_len_result=${#1}
  2070. }
  2071.  
  2072. _LT_EOF
  2073.     ;;
  2074.   *) # Bourne compatible functions.
  2075.     cat << \_LT_EOF >> "$cfgfile"
  2076.  
  2077. # func_dirname file append nondir_replacement
  2078. # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
  2079. # otherwise set result to NONDIR_REPLACEMENT.
  2080. func_dirname ()
  2081. {
  2082.   # Extract subdirectory from the argument.
  2083.   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
  2084.   if test "X$func_dirname_result" = "X${1}"; then
  2085.     func_dirname_result="${3}"
  2086.   else
  2087.     func_dirname_result="$func_dirname_result${2}"
  2088.   fi
  2089. }
  2090.  
  2091. # func_basename file
  2092. func_basename ()
  2093. {
  2094.   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
  2095. }
  2096.  
  2097.  
  2098. # func_stripname prefix suffix name
  2099. # strip PREFIX and SUFFIX off of NAME.
  2100. # PREFIX and SUFFIX must not contain globbing or regex special
  2101. # characters, hashes, percent signs, but SUFFIX may contain a leading
  2102. # dot (in which case that matches only a dot).
  2103. # func_strip_suffix prefix name
  2104. func_stripname ()
  2105. {
  2106.   case ${2} in
  2107.     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
  2108.     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
  2109.   esac
  2110. }
  2111.  
  2112. # sed scripts:
  2113. my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  2114. my_sed_long_arg='1s/^-[^=]*=//'
  2115.  
  2116. # func_opt_split
  2117. func_opt_split ()
  2118. {
  2119.   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
  2120.   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
  2121. }
  2122.  
  2123. # func_lo2o object
  2124. func_lo2o ()
  2125. {
  2126.   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
  2127. }
  2128.  
  2129. # func_xform libobj-or-source
  2130. func_xform ()
  2131. {
  2132.   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
  2133. }
  2134.  
  2135. # func_arith arithmetic-term...
  2136. func_arith ()
  2137. {
  2138.   func_arith_result=`expr "$@"`
  2139. }
  2140.  
  2141. # func_len string
  2142. # STRING may not start with a hyphen.
  2143. func_len ()
  2144. {
  2145.   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  2146. }
  2147.  
  2148. _LT_EOF
  2149. esac
  2150.  
  2151. case $lt_shell_append in
  2152.   yes)
  2153.     cat << \_LT_EOF >> "$cfgfile"
  2154.  
  2155. # func_append var value
  2156. # Append VALUE to the end of shell variable VAR.
  2157. func_append ()
  2158. {
  2159.   eval "$1+=\$2"
  2160. }
  2161. _LT_EOF
  2162.     ;;
  2163.   *)
  2164.     cat << \_LT_EOF >> "$cfgfile"
  2165.  
  2166. # func_append var value
  2167. # Append VALUE to the end of shell variable VAR.
  2168. func_append ()
  2169. {
  2170.   eval "$1=\$$1\$2"
  2171. }
  2172.  
  2173. _LT_EOF
  2174.     ;;
  2175.   esac
  2176.  
  2177.  
  2178.   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  2179.     || (rm -f "$cfgfile"; exit 1)
  2180.  
  2181.   mv -f "$cfgfile" "$ofile" ||
  2182.     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  2183.   chmod +x "$ofile"
  2184.  
  2185.  
  2186.     cat <<_LT_EOF >> "$ofile"
  2187.  
  2188. # ### BEGIN LIBTOOL TAG CONFIG: CXX
  2189.  
  2190. # The linker used to build libraries.
  2191. LD=$lt_LD_CXX
  2192.  
  2193. # How to create reloadable object files.
  2194. reload_flag=$lt_reload_flag_CXX
  2195. reload_cmds=$lt_reload_cmds_CXX
  2196.  
  2197. # Commands used to build an old-style archive.
  2198. old_archive_cmds=$lt_old_archive_cmds_CXX
  2199.  
  2200. # A language specific compiler.
  2201. CC=$lt_compiler_CXX
  2202.  
  2203. # Is the compiler the GNU compiler?
  2204. with_gcc=$GCC_CXX
  2205.  
  2206. # Compiler flag to turn off builtin functions.
  2207. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
  2208.  
  2209. # How to pass a linker flag through the compiler.
  2210. wl=$lt_lt_prog_compiler_wl_CXX
  2211.  
  2212. # Additional compiler flags for building library objects.
  2213. pic_flag=$lt_lt_prog_compiler_pic_CXX
  2214.  
  2215. # Compiler flag to prevent dynamic linking.
  2216. link_static_flag=$lt_lt_prog_compiler_static_CXX
  2217.  
  2218. # Does compiler simultaneously support -c and -o options?
  2219. compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
  2220.  
  2221. # Whether or not to add -lc for building shared libraries.
  2222. build_libtool_need_lc=$archive_cmds_need_lc_CXX
  2223.  
  2224. # Whether or not to disallow shared libs when runtime libs are static.
  2225. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
  2226.  
  2227. # Compiler flag to allow reflexive dlopens.
  2228. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
  2229.  
  2230. # Compiler flag to generate shared objects directly from archives.
  2231. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
  2232.  
  2233. # Whether the compiler copes with passing no objects directly.
  2234. compiler_needs_object=$lt_compiler_needs_object_CXX
  2235.  
  2236. # Create an old-style archive from a shared archive.
  2237. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
  2238.  
  2239. # Create a temporary old-style archive to link instead of a shared archive.
  2240. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
  2241.  
  2242. # Commands used to build a shared archive.
  2243. archive_cmds=$lt_archive_cmds_CXX
  2244. archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
  2245.  
  2246. # Commands used to build a loadable module if different from building
  2247. # a shared archive.
  2248. module_cmds=$lt_module_cmds_CXX
  2249. module_expsym_cmds=$lt_module_expsym_cmds_CXX
  2250.  
  2251. # Whether we are building with GNU ld or not.
  2252. with_gnu_ld=$lt_with_gnu_ld_CXX
  2253.  
  2254. # Flag that allows shared libraries with undefined symbols to be built.
  2255. allow_undefined_flag=$lt_allow_undefined_flag_CXX
  2256.  
  2257. # Flag that enforces no undefined symbols.
  2258. no_undefined_flag=$lt_no_undefined_flag_CXX
  2259.  
  2260. # Flag to hardcode \$libdir into a binary during linking.
  2261. # This must work even if \$libdir does not exist
  2262. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
  2263.  
  2264. # If ld is used when linking, flag to hardcode \$libdir into a binary
  2265. # during linking.  This must work even if \$libdir does not exist.
  2266. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
  2267.  
  2268. # Whether we need a single "-rpath" flag with a separated argument.
  2269. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
  2270.  
  2271. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  2272. # DIR into the resulting binary.
  2273. hardcode_direct=$hardcode_direct_CXX
  2274.  
  2275. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  2276. # DIR into the resulting binary and the resulting library dependency is
  2277. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  2278. # library is relocated.
  2279. hardcode_direct_absolute=$hardcode_direct_absolute_CXX
  2280.  
  2281. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  2282. # into the resulting binary.
  2283. hardcode_minus_L=$hardcode_minus_L_CXX
  2284.  
  2285. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  2286. # into the resulting binary.
  2287. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
  2288.  
  2289. # Set to "yes" if building a shared library automatically hardcodes DIR
  2290. # into the library and all subsequent libraries and executables linked
  2291. # against it.
  2292. hardcode_automatic=$hardcode_automatic_CXX
  2293.  
  2294. # Set to yes if linker adds runtime paths of dependent libraries
  2295. # to runtime path list.
  2296. inherit_rpath=$inherit_rpath_CXX
  2297.  
  2298. # Whether libtool must link a program against all its dependency libraries.
  2299. link_all_deplibs=$link_all_deplibs_CXX
  2300.  
  2301. # Fix the shell variable \$srcfile for the compiler.
  2302. fix_srcfile_path=$lt_fix_srcfile_path_CXX
  2303.  
  2304. # Set to "yes" if exported symbols are required.
  2305. always_export_symbols=$always_export_symbols_CXX
  2306.  
  2307. # The commands to list exported symbols.
  2308. export_symbols_cmds=$lt_export_symbols_cmds_CXX
  2309.  
  2310. # Symbols that should not be listed in the preloaded symbols.
  2311. exclude_expsyms=$lt_exclude_expsyms_CXX
  2312.  
  2313. # Symbols that must always be exported.
  2314. include_expsyms=$lt_include_expsyms_CXX
  2315.  
  2316. # Commands necessary for linking programs (against libraries) with templates.
  2317. prelink_cmds=$lt_prelink_cmds_CXX
  2318.  
  2319. # Specify filename containing input files.
  2320. file_list_spec=$lt_file_list_spec_CXX
  2321.  
  2322. # How to hardcode a shared library path into an executable.
  2323. hardcode_action=$hardcode_action_CXX
  2324.  
  2325. # The directories searched by this compiler when creating a shared library.
  2326. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
  2327.  
  2328. # Dependencies to place before and after the objects being linked to
  2329. # create a shared library.
  2330. predep_objects=$lt_predep_objects_CXX
  2331. postdep_objects=$lt_postdep_objects_CXX
  2332. predeps=$lt_predeps_CXX
  2333. postdeps=$lt_postdeps_CXX
  2334.  
  2335. # The library search path used internally by the compiler when linking
  2336. # a shared library.
  2337. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
  2338.  
  2339. # ### END LIBTOOL TAG CONFIG: CXX
  2340. _LT_EOF
  2341.  
  2342.  ;;
  2343.  
  2344.   esac
  2345. done # for ac_tag
  2346.  
  2347.  
  2348. as_fn_exit 0
  2349.