annotate ezBAMQC/src/htslib/configure @ 18:494b5cd02238

bash script
author youngkim
date Wed, 30 Mar 2016 13:39:05 -0400
parents dfa3745e5fd8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1 #! /bin/sh
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2 # Guess values for system-dependent variables and create Makefiles.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3 # Generated by GNU Autoconf 2.68 for HTSlib 1.2.1.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
5 # Report bugs to <samtools-help@lists.sourceforge.net>.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
6 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
7 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
10 # Foundation, Inc.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
11 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
12 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
13 # This configure script is free software; the Free Software Foundation
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
14 # gives unlimited permission to copy, distribute and modify it.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
15 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
16 # Portions copyright (C) 2015 Genome Research Ltd.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
17 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
18 # This configure script is free software: you are free to change and
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
19 # redistribute it. There is NO WARRANTY, to the extent permitted by law.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
20 ## -------------------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
21 ## M4sh Initialization. ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
22 ## -------------------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
23
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
24 # Be more Bourne compatible
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
25 DUALCASE=1; export DUALCASE # for MKS sh
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
26 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
27 emulate sh
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
28 NULLCMD=:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
29 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
30 # is contrary to our usage. Disable this feature.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
31 alias -g '${1+"$@"}'='"$@"'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
32 setopt NO_GLOB_SUBST
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
33 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
34 case `(set -o) 2>/dev/null` in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
35 *posix*) :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
36 set -o posix ;; #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
37 *) :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
38 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
39 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
40 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
41
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
42
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
43 as_nl='
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
44 '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
45 export as_nl
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
46 # Printing a long string crashes Solaris 7 /usr/bin/printf.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
47 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
50 # Prefer a ksh shell builtin over an external printf program on Solaris,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
51 # but without wasting forks for bash or zsh.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
52 if test -z "$BASH_VERSION$ZSH_VERSION" \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
53 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
54 as_echo='print -r --'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
55 as_echo_n='print -rn --'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
56 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
57 as_echo='printf %s\n'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
58 as_echo_n='printf %s'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
59 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
60 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
61 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
62 as_echo_n='/usr/ucb/echo -n'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
63 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
64 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
65 as_echo_n_body='eval
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
66 arg=$1;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
67 case $arg in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
68 *"$as_nl"*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
69 expr "X$arg" : "X\\(.*\\)$as_nl";
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
70 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
71 esac;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
72 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
73 '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
74 export as_echo_n_body
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
75 as_echo_n='sh -c $as_echo_n_body as_echo'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
76 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
77 export as_echo_body
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
78 as_echo='sh -c $as_echo_body as_echo'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
79 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
80
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
81 # The user is always right.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
82 if test "${PATH_SEPARATOR+set}" != set; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
83 PATH_SEPARATOR=:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
84 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
85 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
86 PATH_SEPARATOR=';'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
87 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
88 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
89
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
90
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
91 # IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
92 # We need space, tab and new line, in precisely that order. Quoting is
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
93 # there to prevent editors from complaining about space-tab.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
95 # splitting by setting IFS to empty value.)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
96 IFS=" "" $as_nl"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
97
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
98 # Find who we are. Look in the path if we contain no directory separator.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
99 as_myself=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
100 case $0 in #((
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
101 *[\\/]* ) as_myself=$0 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
103 for as_dir in $PATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
104 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
105 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
106 test -z "$as_dir" && as_dir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
108 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
109 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
110
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
111 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
112 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
113 # We did not find ourselves, most probably we were run as `sh COMMAND'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
114 # in which case we are not to be found in the path.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
115 if test "x$as_myself" = x; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
116 as_myself=$0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
117 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
118 if test ! -f "$as_myself"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
120 exit 1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
121 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
122
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
123 # Unset variables that we do not need and which cause bugs (e.g. in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
124 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
125 # suppresses any "Segmentation fault" message there. '((' could
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
126 # trigger a bug in pdksh 5.2.14.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
127 for as_var in BASH_ENV ENV MAIL MAILPATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
128 do eval test x\${$as_var+set} = xset \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
129 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
130 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
131 PS1='$ '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
132 PS2='> '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
133 PS4='+ '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
134
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
135 # NLS nuisances.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
136 LC_ALL=C
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
137 export LC_ALL
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
138 LANGUAGE=C
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
139 export LANGUAGE
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
140
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
141 # CDPATH.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
142 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
143
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
144 if test "x$CONFIG_SHELL" = x; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
145 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
146 emulate sh
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
147 NULLCMD=:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
149 # is contrary to our usage. Disable this feature.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
151 setopt NO_GLOB_SUBST
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
152 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
153 case \`(set -o) 2>/dev/null\` in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
154 *posix*) :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
155 set -o posix ;; #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
156 *) :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
157 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
158 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
159 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
160 "
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
161 as_required="as_fn_return () { (exit \$1); }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
162 as_fn_success () { as_fn_return 0; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
163 as_fn_failure () { as_fn_return 1; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
164 as_fn_ret_success () { return 0; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
165 as_fn_ret_failure () { return 1; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
166
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
167 exitcode=0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
173
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
174 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
175 exitcode=1; echo positional parameters were not saved.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
176 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
177 test x\$exitcode = x0 || exit 1"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
178 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
179 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
180 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
181 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
182 if (eval "$as_required") 2>/dev/null; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
183 as_have_required=yes
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
184 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
185 as_have_required=no
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
186 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
187 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
188
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
189 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
191 as_found=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
192 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
193 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
194 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
195 test -z "$as_dir" && as_dir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
196 as_found=:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
197 case $as_dir in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
198 /*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
199 for as_base in sh bash ksh sh5; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
200 # Try only shells that exist, to save several forks.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
201 as_shell=$as_dir/$as_base
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
202 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
203 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
204 CONFIG_SHELL=$as_shell as_have_required=yes
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
205 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
206 break 2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
207 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
208 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
209 done;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
210 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
211 as_found=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
212 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
213 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
214 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
215 CONFIG_SHELL=$SHELL as_have_required=yes
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
216 fi; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
217 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
218
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
219
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
220 if test "x$CONFIG_SHELL" != x; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
221 # We cannot yet assume a decent shell, so we have to provide a
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
222 # neutralization value for shells without unset; and this also
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
223 # works around shells that cannot unset nonexistent variables.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
224 # Preserve -v and -x to the replacement shell.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
225 BASH_ENV=/dev/null
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
226 ENV=/dev/null
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
227 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
228 export CONFIG_SHELL
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
229 case $- in # ((((
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
230 *v*x* | *x*v* ) as_opts=-vx ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
231 *v* ) as_opts=-v ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
232 *x* ) as_opts=-x ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
233 * ) as_opts= ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
234 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
235 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
236 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
237
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
238 if test x$as_have_required = xno; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
239 $as_echo "$0: This script requires a shell more modern than all"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
240 $as_echo "$0: the shells that I found on your system."
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
241 if test x${ZSH_VERSION+set} = xset ; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
242 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
243 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
244 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
245 $as_echo "$0: Please tell bug-autoconf@gnu.org and
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
246 $0: samtools-help@lists.sourceforge.net about your system,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
247 $0: including any error possibly output before this
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
248 $0: message. Then install a modern shell, or manually run
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
249 $0: the script under such a shell if you do have one."
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
250 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
251 exit 1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
252 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
253 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
254 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
255 SHELL=${CONFIG_SHELL-/bin/sh}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
256 export SHELL
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
257 # Unset more variables known to interfere with behavior of common tools.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
258 CLICOLOR_FORCE= GREP_OPTIONS=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
259 unset CLICOLOR_FORCE GREP_OPTIONS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
260
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
261 ## --------------------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
262 ## M4sh Shell Functions. ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
263 ## --------------------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
264 # as_fn_unset VAR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
265 # ---------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
266 # Portably unset VAR.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
267 as_fn_unset ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
268 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
269 { eval $1=; unset $1;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
270 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
271 as_unset=as_fn_unset
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
272
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
273 # as_fn_set_status STATUS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
274 # -----------------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
275 # Set $? to STATUS, without forking.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
276 as_fn_set_status ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
277 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
278 return $1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
279 } # as_fn_set_status
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
280
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
281 # as_fn_exit STATUS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
282 # -----------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
283 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
284 as_fn_exit ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
285 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
286 set +e
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
287 as_fn_set_status $1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
288 exit $1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
289 } # as_fn_exit
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
290
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
291 # as_fn_mkdir_p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
292 # -------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
293 # Create "$as_dir" as a directory, including parents if necessary.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
294 as_fn_mkdir_p ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
295 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
296
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
297 case $as_dir in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
298 -*) as_dir=./$as_dir;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
299 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
300 test -d "$as_dir" || eval $as_mkdir_p || {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
301 as_dirs=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
302 while :; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
303 case $as_dir in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
304 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
305 *) as_qdir=$as_dir;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
306 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
307 as_dirs="'$as_qdir' $as_dirs"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
308 as_dir=`$as_dirname -- "$as_dir" ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
310 X"$as_dir" : 'X\(//\)[^/]' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
311 X"$as_dir" : 'X\(//\)$' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
312 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
313 $as_echo X"$as_dir" |
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
315 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
316 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
317 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
318 /^X\(\/\/\)[^/].*/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
319 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
320 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
321 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
322 /^X\(\/\/\)$/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
323 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
324 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
325 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
326 /^X\(\/\).*/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
327 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
328 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
329 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
330 s/.*/./; q'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
331 test -d "$as_dir" && break
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
332 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
333 test -z "$as_dirs" || eval "mkdir $as_dirs"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
334 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
335
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
336
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
337 } # as_fn_mkdir_p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
338 # as_fn_append VAR VALUE
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
339 # ----------------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
340 # Append the text in VALUE to the end of the definition contained in VAR. Take
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
341 # advantage of any shell optimizations that allow amortized linear growth over
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
342 # repeated appends, instead of the typical quadratic growth present in naive
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
343 # implementations.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
344 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
345 eval 'as_fn_append ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
346 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
347 eval $1+=\$2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
348 }'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
349 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
350 as_fn_append ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
351 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
352 eval $1=\$$1\$2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
353 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
354 fi # as_fn_append
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
355
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
356 # as_fn_arith ARG...
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
357 # ------------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
358 # Perform arithmetic evaluation on the ARGs, and store the result in the
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
359 # global $as_val. Take advantage of shells that can avoid forks. The arguments
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
360 # must be portable across $(()) and expr.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
361 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
362 eval 'as_fn_arith ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
363 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
364 as_val=$(( $* ))
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
365 }'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
366 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
367 as_fn_arith ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
368 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
369 as_val=`expr "$@" || test $? -eq 1`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
370 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
371 fi # as_fn_arith
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
372
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
373
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
374 # as_fn_error STATUS ERROR [LINENO LOG_FD]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
375 # ----------------------------------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
376 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
377 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
378 # script with STATUS, using 1 if that was 0.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
379 as_fn_error ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
380 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
381 as_status=$1; test $as_status -eq 0 && as_status=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
382 if test "$4"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
383 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
384 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
385 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
386 $as_echo "$as_me: error: $2" >&2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
387 as_fn_exit $as_status
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
388 } # as_fn_error
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
389
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
390 if expr a : '\(a\)' >/dev/null 2>&1 &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
391 test "X`expr 00001 : '.*\(...\)'`" = X001; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
392 as_expr=expr
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
393 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
394 as_expr=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
395 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
396
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
397 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
398 as_basename=basename
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
399 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
400 as_basename=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
401 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
402
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
403 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
404 as_dirname=dirname
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
405 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
406 as_dirname=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
407 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
408
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
409 as_me=`$as_basename -- "$0" ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
410 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
411 X"$0" : 'X\(//\)$' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
412 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
413 $as_echo X/"$0" |
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
414 sed '/^.*\/\([^/][^/]*\)\/*$/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
415 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
416 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
417 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
418 /^X\/\(\/\/\)$/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
419 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
420 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
421 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
422 /^X\/\(\/\).*/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
423 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
424 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
425 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
426 s/.*/./; q'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
427
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
428 # Avoid depending upon Character Ranges.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
429 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
430 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
431 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
432 as_cr_digits='0123456789'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
433 as_cr_alnum=$as_cr_Letters$as_cr_digits
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
434
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
435
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
436 as_lineno_1=$LINENO as_lineno_1a=$LINENO
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
437 as_lineno_2=$LINENO as_lineno_2a=$LINENO
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
438 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
439 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
440 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
441 sed -n '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
442 p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
443 /[$]LINENO/=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
444 ' <$as_myself |
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
445 sed '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
446 s/[$]LINENO.*/&-/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
447 t lineno
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
448 b
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
449 :lineno
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
450 N
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
451 :loop
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
453 t loop
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
454 s/-\n.*//
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
455 ' >$as_me.lineno &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
456 chmod +x "$as_me.lineno" ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
457 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
458
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
459 # Don't try to exec as it changes $[0], causing all sort of problems
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
460 # (the dirname of $[0] is not the place where we might find the
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
461 # original and so on. Autoconf is especially sensitive to this).
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
462 . "./$as_me.lineno"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
463 # Exit status is that of the last command.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
464 exit
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
465 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
466
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
467 ECHO_C= ECHO_N= ECHO_T=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
468 case `echo -n x` in #(((((
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
469 -n*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
470 case `echo 'xy\c'` in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
471 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
472 xy) ECHO_C='\c';;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
473 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
474 ECHO_T=' ';;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
475 esac;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
476 *)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
477 ECHO_N='-n';;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
478 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
479
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
480 rm -f conf$$ conf$$.exe conf$$.file
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
481 if test -d conf$$.dir; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
482 rm -f conf$$.dir/conf$$.file
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
483 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
484 rm -f conf$$.dir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
485 mkdir conf$$.dir 2>/dev/null
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
486 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
487 if (echo >conf$$.file) 2>/dev/null; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
488 if ln -s conf$$.file conf$$ 2>/dev/null; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
489 as_ln_s='ln -s'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
490 # ... but there are two gotchas:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
491 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
492 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
493 # In both cases, we have to default to `cp -p'.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
494 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
495 as_ln_s='cp -p'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
496 elif ln conf$$.file conf$$ 2>/dev/null; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
497 as_ln_s=ln
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
498 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
499 as_ln_s='cp -p'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
500 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
501 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
502 as_ln_s='cp -p'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
503 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
504 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
505 rmdir conf$$.dir 2>/dev/null
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
506
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
507 if mkdir -p . 2>/dev/null; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
508 as_mkdir_p='mkdir -p "$as_dir"'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
509 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
510 test -d ./-p && rmdir ./-p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
511 as_mkdir_p=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
512 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
513
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
514 if test -x / >/dev/null 2>&1; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
515 as_test_x='test -x'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
516 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
517 if ls -dL / >/dev/null 2>&1; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
518 as_ls_L_option=L
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
519 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
520 as_ls_L_option=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
521 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
522 as_test_x='
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
523 eval sh -c '\''
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
524 if test -d "$1"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
525 test -d "$1/.";
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
526 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
527 case $1 in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
528 -*)set "./$1";;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
529 esac;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
530 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
531 ???[sx]*):;;*)false;;esac;fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
532 '\'' sh
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
533 '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
534 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
535 as_executable_p=$as_test_x
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
536
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
537 # Sed expression to map a string onto a valid CPP name.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
538 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
539
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
540 # Sed expression to map a string onto a valid variable name.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
541 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
542
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
543
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
544 test -n "$DJDIR" || exec 7<&0 </dev/null
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
545 exec 6>&1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
546
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
547 # Name of the host.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
548 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
549 # so uname gets run too.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
550 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
551
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
552 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
553 # Initializations.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
554 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
555 ac_default_prefix=/usr/local
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
556 ac_clean_files=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
557 ac_config_libobj_dir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
558 LIBOBJS=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
559 cross_compiling=no
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
560 subdirs=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
561 MFLAGS=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
562 MAKEFLAGS=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
563
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
564 # Identity of this package.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
565 PACKAGE_NAME='HTSlib'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
566 PACKAGE_TARNAME='htslib'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
567 PACKAGE_VERSION='1.2.1'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
568 PACKAGE_STRING='HTSlib 1.2.1'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
569 PACKAGE_BUGREPORT='samtools-help@lists.sourceforge.net'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
570 PACKAGE_URL='http://www.htslib.org/'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
571
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
572 ac_unique_file="hts.c"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
573 ac_subst_vars='LTLIBOBJS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
574 LIBOBJS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
575 define_IRODS_HOME
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
576 irods
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
577 RANLIB
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
578 OBJEXT
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
579 EXEEXT
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
580 ac_ct_CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
581 CPPFLAGS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
582 LDFLAGS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
583 CFLAGS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
584 CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
585 target_alias
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
586 host_alias
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
587 build_alias
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
588 LIBS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
589 ECHO_T
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
590 ECHO_N
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
591 ECHO_C
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
592 DEFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
593 mandir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
594 localedir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
595 libdir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
596 psdir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
597 pdfdir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
598 dvidir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
599 htmldir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
600 infodir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
601 docdir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
602 oldincludedir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
603 includedir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
604 localstatedir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
605 sharedstatedir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
606 sysconfdir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
607 datadir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
608 datarootdir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
609 libexecdir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
610 sbindir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
611 bindir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
612 program_transform_name
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
613 prefix
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
614 exec_prefix
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
615 PACKAGE_URL
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
616 PACKAGE_BUGREPORT
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
617 PACKAGE_STRING
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
618 PACKAGE_VERSION
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
619 PACKAGE_TARNAME
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
620 PACKAGE_NAME
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
621 PATH_SEPARATOR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
622 SHELL'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
623 ac_subst_files=''
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
624 ac_user_opts='
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
625 enable_option_checking
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
626 with_irods
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
627 '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
628 ac_precious_vars='build_alias
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
629 host_alias
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
630 target_alias
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
631 CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
632 CFLAGS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
633 LDFLAGS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
634 LIBS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
635 CPPFLAGS'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
636
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
637
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
638 # Initialize some variables set by options.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
639 ac_init_help=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
640 ac_init_version=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
641 ac_unrecognized_opts=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
642 ac_unrecognized_sep=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
643 # The variables have the same names as the options, with
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
644 # dashes changed to underlines.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
645 cache_file=/dev/null
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
646 exec_prefix=NONE
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
647 no_create=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
648 no_recursion=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
649 prefix=NONE
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
650 program_prefix=NONE
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
651 program_suffix=NONE
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
652 program_transform_name=s,x,x,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
653 silent=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
654 site=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
655 srcdir=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
656 verbose=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
657 x_includes=NONE
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
658 x_libraries=NONE
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
659
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
660 # Installation directory options.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
661 # These are left unexpanded so users can "make install exec_prefix=/foo"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
662 # and all the variables that are supposed to be based on exec_prefix
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
663 # by default will actually change.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
664 # Use braces instead of parens because sh, perl, etc. also accept them.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
665 # (The list follows the same order as the GNU Coding Standards.)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
666 bindir='${exec_prefix}/bin'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
667 sbindir='${exec_prefix}/sbin'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
668 libexecdir='${exec_prefix}/libexec'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
669 datarootdir='${prefix}/share'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
670 datadir='${datarootdir}'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
671 sysconfdir='${prefix}/etc'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
672 sharedstatedir='${prefix}/com'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
673 localstatedir='${prefix}/var'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
674 includedir='${prefix}/include'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
675 oldincludedir='/usr/include'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
676 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
677 infodir='${datarootdir}/info'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
678 htmldir='${docdir}'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
679 dvidir='${docdir}'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
680 pdfdir='${docdir}'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
681 psdir='${docdir}'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
682 libdir='${exec_prefix}/lib'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
683 localedir='${datarootdir}/locale'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
684 mandir='${datarootdir}/man'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
685
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
686 ac_prev=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
687 ac_dashdash=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
688 for ac_option
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
689 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
690 # If the previous option needs an argument, assign it.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
691 if test -n "$ac_prev"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
692 eval $ac_prev=\$ac_option
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
693 ac_prev=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
694 continue
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
695 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
696
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
697 case $ac_option in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
698 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
699 *=) ac_optarg= ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
700 *) ac_optarg=yes ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
701 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
702
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
703 # Accept the important Cygnus configure options, so we can diagnose typos.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
704
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
705 case $ac_dashdash$ac_option in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
706 --)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
707 ac_dashdash=yes ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
708
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
709 -bindir | --bindir | --bindi | --bind | --bin | --bi)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
710 ac_prev=bindir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
711 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
712 bindir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
713
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
714 -build | --build | --buil | --bui | --bu)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
715 ac_prev=build_alias ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
716 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
717 build_alias=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
718
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
719 -cache-file | --cache-file | --cache-fil | --cache-fi \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
720 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
721 ac_prev=cache_file ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
722 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
723 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
724 cache_file=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
725
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
726 --config-cache | -C)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
727 cache_file=config.cache ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
728
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
729 -datadir | --datadir | --datadi | --datad)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
730 ac_prev=datadir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
731 -datadir=* | --datadir=* | --datadi=* | --datad=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
732 datadir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
733
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
734 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
735 | --dataroo | --dataro | --datar)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
736 ac_prev=datarootdir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
737 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
738 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
739 datarootdir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
740
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
741 -disable-* | --disable-*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
742 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
743 # Reject names that are not valid shell variable names.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
744 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
745 as_fn_error $? "invalid feature name: $ac_useropt"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
746 ac_useropt_orig=$ac_useropt
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
747 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
748 case $ac_user_opts in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
749 *"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
750 "enable_$ac_useropt"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
751 "*) ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
752 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
753 ac_unrecognized_sep=', ';;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
754 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
755 eval enable_$ac_useropt=no ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
756
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
757 -docdir | --docdir | --docdi | --doc | --do)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
758 ac_prev=docdir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
759 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
760 docdir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
761
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
762 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
763 ac_prev=dvidir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
764 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
765 dvidir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
766
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
767 -enable-* | --enable-*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
768 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
769 # Reject names that are not valid shell variable names.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
771 as_fn_error $? "invalid feature name: $ac_useropt"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
772 ac_useropt_orig=$ac_useropt
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
773 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
774 case $ac_user_opts in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
775 *"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
776 "enable_$ac_useropt"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
777 "*) ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
778 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
779 ac_unrecognized_sep=', ';;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
780 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
781 eval enable_$ac_useropt=\$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
782
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
783 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
784 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
785 | --exec | --exe | --ex)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
786 ac_prev=exec_prefix ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
787 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
788 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
789 | --exec=* | --exe=* | --ex=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
790 exec_prefix=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
791
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
792 -gas | --gas | --ga | --g)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
793 # Obsolete; use --with-gas.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
794 with_gas=yes ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
795
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
796 -help | --help | --hel | --he | -h)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
797 ac_init_help=long ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
798 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
799 ac_init_help=recursive ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
800 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
801 ac_init_help=short ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
802
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
803 -host | --host | --hos | --ho)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
804 ac_prev=host_alias ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
805 -host=* | --host=* | --hos=* | --ho=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
806 host_alias=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
807
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
808 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
809 ac_prev=htmldir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
810 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
811 | --ht=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
812 htmldir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
813
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
814 -includedir | --includedir | --includedi | --included | --include \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
815 | --includ | --inclu | --incl | --inc)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
816 ac_prev=includedir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
817 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
818 | --includ=* | --inclu=* | --incl=* | --inc=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
819 includedir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
820
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
821 -infodir | --infodir | --infodi | --infod | --info | --inf)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
822 ac_prev=infodir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
823 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
824 infodir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
825
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
826 -libdir | --libdir | --libdi | --libd)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
827 ac_prev=libdir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
828 -libdir=* | --libdir=* | --libdi=* | --libd=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
829 libdir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
830
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
831 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
832 | --libexe | --libex | --libe)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
833 ac_prev=libexecdir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
834 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
835 | --libexe=* | --libex=* | --libe=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
836 libexecdir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
837
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
838 -localedir | --localedir | --localedi | --localed | --locale)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
839 ac_prev=localedir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
840 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
841 localedir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
842
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
843 -localstatedir | --localstatedir | --localstatedi | --localstated \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
844 | --localstate | --localstat | --localsta | --localst | --locals)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
845 ac_prev=localstatedir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
846 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
847 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
848 localstatedir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
849
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
850 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
851 ac_prev=mandir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
852 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
853 mandir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
854
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
855 -nfp | --nfp | --nf)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
856 # Obsolete; use --without-fp.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
857 with_fp=no ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
858
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
859 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
860 | --no-cr | --no-c | -n)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
861 no_create=yes ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
862
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
863 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
864 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
865 no_recursion=yes ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
866
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
867 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
868 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
869 | --oldin | --oldi | --old | --ol | --o)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
870 ac_prev=oldincludedir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
871 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
872 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
873 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
874 oldincludedir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
875
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
876 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
877 ac_prev=prefix ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
878 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
879 prefix=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
880
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
881 -program-prefix | --program-prefix | --program-prefi | --program-pref \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
882 | --program-pre | --program-pr | --program-p)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
883 ac_prev=program_prefix ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
884 -program-prefix=* | --program-prefix=* | --program-prefi=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
885 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
886 program_prefix=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
887
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
888 -program-suffix | --program-suffix | --program-suffi | --program-suff \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
889 | --program-suf | --program-su | --program-s)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
890 ac_prev=program_suffix ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
891 -program-suffix=* | --program-suffix=* | --program-suffi=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
892 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
893 program_suffix=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
894
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
895 -program-transform-name | --program-transform-name \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
896 | --program-transform-nam | --program-transform-na \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
897 | --program-transform-n | --program-transform- \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
898 | --program-transform | --program-transfor \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
899 | --program-transfo | --program-transf \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
900 | --program-trans | --program-tran \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
901 | --progr-tra | --program-tr | --program-t)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
902 ac_prev=program_transform_name ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
903 -program-transform-name=* | --program-transform-name=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
904 | --program-transform-nam=* | --program-transform-na=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
905 | --program-transform-n=* | --program-transform-=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
906 | --program-transform=* | --program-transfor=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
907 | --program-transfo=* | --program-transf=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
908 | --program-trans=* | --program-tran=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
909 | --progr-tra=* | --program-tr=* | --program-t=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
910 program_transform_name=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
911
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
912 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
913 ac_prev=pdfdir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
914 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
915 pdfdir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
916
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
917 -psdir | --psdir | --psdi | --psd | --ps)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
918 ac_prev=psdir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
919 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
920 psdir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
921
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
922 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
923 | -silent | --silent | --silen | --sile | --sil)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
924 silent=yes ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
925
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
926 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
927 ac_prev=sbindir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
928 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
929 | --sbi=* | --sb=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
930 sbindir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
931
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
932 -sharedstatedir | --sharedstatedir | --sharedstatedi \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
933 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
934 | --sharedst | --shareds | --shared | --share | --shar \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
935 | --sha | --sh)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
936 ac_prev=sharedstatedir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
937 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
938 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
939 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
940 | --sha=* | --sh=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
941 sharedstatedir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
942
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
943 -site | --site | --sit)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
944 ac_prev=site ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
945 -site=* | --site=* | --sit=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
946 site=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
947
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
948 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
949 ac_prev=srcdir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
950 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
951 srcdir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
952
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
953 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
954 | --syscon | --sysco | --sysc | --sys | --sy)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
955 ac_prev=sysconfdir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
956 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
957 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
958 sysconfdir=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
959
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
960 -target | --target | --targe | --targ | --tar | --ta | --t)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
961 ac_prev=target_alias ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
962 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
963 target_alias=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
964
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
965 -v | -verbose | --verbose | --verbos | --verbo | --verb)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
966 verbose=yes ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
967
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
968 -version | --version | --versio | --versi | --vers | -V)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
969 ac_init_version=: ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
970
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
971 -with-* | --with-*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
972 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
973 # Reject names that are not valid shell variable names.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
975 as_fn_error $? "invalid package name: $ac_useropt"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
976 ac_useropt_orig=$ac_useropt
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
977 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
978 case $ac_user_opts in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
979 *"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
980 "with_$ac_useropt"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
981 "*) ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
982 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
983 ac_unrecognized_sep=', ';;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
984 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
985 eval with_$ac_useropt=\$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
986
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
987 -without-* | --without-*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
988 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
989 # Reject names that are not valid shell variable names.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
991 as_fn_error $? "invalid package name: $ac_useropt"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
992 ac_useropt_orig=$ac_useropt
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
993 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
994 case $ac_user_opts in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
995 *"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
996 "with_$ac_useropt"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
997 "*) ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
998 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
999 ac_unrecognized_sep=', ';;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1000 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1001 eval with_$ac_useropt=no ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1002
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1003 --x)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1004 # Obsolete; use --with-x.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1005 with_x=yes ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1006
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1007 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1008 | --x-incl | --x-inc | --x-in | --x-i)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1009 ac_prev=x_includes ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1010 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1011 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1012 x_includes=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1013
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1014 -x-libraries | --x-libraries | --x-librarie | --x-librari \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1015 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1016 ac_prev=x_libraries ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1017 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1018 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1019 x_libraries=$ac_optarg ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1020
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1021 -*) as_fn_error $? "unrecognized option: \`$ac_option'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1022 Try \`$0 --help' for more information"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1023 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1024
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1025 *=*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1026 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1027 # Reject names that are not valid shell variable names.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1028 case $ac_envvar in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1029 '' | [0-9]* | *[!_$as_cr_alnum]* )
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1030 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1031 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1032 eval $ac_envvar=\$ac_optarg
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1033 export $ac_envvar ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1034
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1035 *)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1036 # FIXME: should be removed in autoconf 3.0.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1037 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1038 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1039 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1040 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1041 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1042
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1043 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1044 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1045
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1046 if test -n "$ac_prev"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1047 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1048 as_fn_error $? "missing argument to $ac_option"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1049 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1050
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1051 if test -n "$ac_unrecognized_opts"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1052 case $enable_option_checking in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1053 no) ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1054 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1055 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1056 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1057 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1058
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1059 # Check all directory arguments for consistency.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1060 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1061 datadir sysconfdir sharedstatedir localstatedir includedir \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1062 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1063 libdir localedir mandir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1064 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1065 eval ac_val=\$$ac_var
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1066 # Remove trailing slashes.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1067 case $ac_val in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1068 */ )
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1069 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1070 eval $ac_var=\$ac_val;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1071 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1072 # Be sure to have absolute directory names.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1073 case $ac_val in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1074 [\\/$]* | ?:[\\/]* ) continue;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1075 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1076 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1077 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1078 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1079
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1080 # There might be people who depend on the old broken behavior: `$host'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1081 # used to hold the argument of --host etc.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1082 # FIXME: To remove some day.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1083 build=$build_alias
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1084 host=$host_alias
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1085 target=$target_alias
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1086
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1087 # FIXME: To remove some day.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1088 if test "x$host_alias" != x; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1089 if test "x$build_alias" = x; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1090 cross_compiling=maybe
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1091 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1092 If a cross compiler is detected then cross compile mode will be used" >&2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1093 elif test "x$build_alias" != "x$host_alias"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1094 cross_compiling=yes
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1095 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1096 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1097
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1098 ac_tool_prefix=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1099 test -n "$host_alias" && ac_tool_prefix=$host_alias-
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1100
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1101 test "$silent" = yes && exec 6>/dev/null
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1102
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1103
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1104 ac_pwd=`pwd` && test -n "$ac_pwd" &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1105 ac_ls_di=`ls -di .` &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1106 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1107 as_fn_error $? "working directory cannot be determined"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1108 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1109 as_fn_error $? "pwd does not report name of working directory"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1110
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1111
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1112 # Find the source files, if location was not specified.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1113 if test -z "$srcdir"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1114 ac_srcdir_defaulted=yes
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1115 # Try the directory containing this script, then the parent directory.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1116 ac_confdir=`$as_dirname -- "$as_myself" ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1117 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1118 X"$as_myself" : 'X\(//\)[^/]' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1119 X"$as_myself" : 'X\(//\)$' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1120 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1121 $as_echo X"$as_myself" |
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1123 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1124 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1125 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1126 /^X\(\/\/\)[^/].*/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1127 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1128 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1129 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1130 /^X\(\/\/\)$/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1131 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1132 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1133 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1134 /^X\(\/\).*/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1135 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1136 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1137 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1138 s/.*/./; q'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1139 srcdir=$ac_confdir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1140 if test ! -r "$srcdir/$ac_unique_file"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1141 srcdir=..
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1142 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1143 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1144 ac_srcdir_defaulted=no
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1145 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1146 if test ! -r "$srcdir/$ac_unique_file"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1147 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1148 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1149 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1150 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1151 ac_abs_confdir=`(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1152 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1153 pwd)`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1154 # When building in place, set srcdir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1155 if test "$ac_abs_confdir" = "$ac_pwd"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1156 srcdir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1157 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1158 # Remove unnecessary trailing slashes from srcdir.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1159 # Double slashes in file names in object file debugging info
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1160 # mess up M-x gdb in Emacs.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1161 case $srcdir in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1162 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1163 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1164 for ac_var in $ac_precious_vars; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1165 eval ac_env_${ac_var}_set=\${${ac_var}+set}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1166 eval ac_env_${ac_var}_value=\$${ac_var}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1167 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1168 eval ac_cv_env_${ac_var}_value=\$${ac_var}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1169 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1170
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1171 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1172 # Report the --help message.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1173 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1174 if test "$ac_init_help" = "long"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1175 # Omit some internal or obsolete options to make the list less imposing.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1176 # This message is too long to be a string in the A/UX 3.1 sh.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1177 cat <<_ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1178 \`configure' configures HTSlib 1.2.1 to adapt to many kinds of systems.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1179
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1180 Usage: $0 [OPTION]... [VAR=VALUE]...
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1181
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1182 To assign environment variables (e.g., CC, CFLAGS...), specify them as
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1183 VAR=VALUE. See below for descriptions of some of the useful variables.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1184
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1185 Defaults for the options are specified in brackets.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1186
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1187 Configuration:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1188 -h, --help display this help and exit
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1189 --help=short display options specific to this package
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1190 --help=recursive display the short help of all the included packages
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1191 -V, --version display version information and exit
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1192 -q, --quiet, --silent do not print \`checking ...' messages
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1193 --cache-file=FILE cache test results in FILE [disabled]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1194 -C, --config-cache alias for \`--cache-file=config.cache'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1195 -n, --no-create do not create output files
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1196 --srcdir=DIR find the sources in DIR [configure dir or \`..']
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1197
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1198 Installation directories:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1199 --prefix=PREFIX install architecture-independent files in PREFIX
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1200 [$ac_default_prefix]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1201 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1202 [PREFIX]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1203
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1204 By default, \`make install' will install all the files in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1205 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1206 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1207 for instance \`--prefix=\$HOME'.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1208
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1209 For better control, use the options below.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1210
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1211 Fine tuning of the installation directories:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1212 --bindir=DIR user executables [EPREFIX/bin]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1213 --sbindir=DIR system admin executables [EPREFIX/sbin]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1214 --libexecdir=DIR program executables [EPREFIX/libexec]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1215 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1216 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1217 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1218 --libdir=DIR object code libraries [EPREFIX/lib]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1219 --includedir=DIR C header files [PREFIX/include]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1220 --oldincludedir=DIR C header files for non-gcc [/usr/include]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1221 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1222 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1223 --infodir=DIR info documentation [DATAROOTDIR/info]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1224 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1225 --mandir=DIR man documentation [DATAROOTDIR/man]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1226 --docdir=DIR documentation root [DATAROOTDIR/doc/htslib]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1227 --htmldir=DIR html documentation [DOCDIR]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1228 --dvidir=DIR dvi documentation [DOCDIR]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1229 --pdfdir=DIR pdf documentation [DOCDIR]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1230 --psdir=DIR ps documentation [DOCDIR]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1231 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1232
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1233 cat <<\_ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1234 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1235 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1236
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1237 if test -n "$ac_init_help"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1238 case $ac_init_help in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1239 short | recursive ) echo "Configuration of HTSlib 1.2.1:";;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1240 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1241 cat <<\_ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1242
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1243 Optional Packages:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1244 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1245 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1246 --with-irods[=DIR] use RodsAPIs library (in DIR) to support iRODS URLs
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1247
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1248 Some influential environment variables:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1249 CC C compiler command
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1250 CFLAGS C compiler flags
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1251 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1252 nonstandard directory <lib dir>
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1253 LIBS libraries to pass to the linker, e.g. -l<library>
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1254 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1255 you have headers in a nonstandard directory <include dir>
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1256
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1257 Use these variables to override the choices made by `configure' or to help
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1258 it to find libraries and programs with nonstandard names/locations.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1259
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1260 Report bugs to <samtools-help@lists.sourceforge.net>.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1261 HTSlib home page: <http://www.htslib.org/>.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1262 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1263 ac_status=$?
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1264 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1265
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1266 if test "$ac_init_help" = "recursive"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1267 # If there are subdirs, report their specific --help.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1268 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1269 test -d "$ac_dir" ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1270 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1271 continue
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1272 ac_builddir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1273
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1274 case "$ac_dir" in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1275 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1276 *)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1277 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1278 # A ".." for each directory in $ac_dir_suffix.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1279 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1280 case $ac_top_builddir_sub in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1281 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1282 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1283 esac ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1284 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1285 ac_abs_top_builddir=$ac_pwd
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1286 ac_abs_builddir=$ac_pwd$ac_dir_suffix
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1287 # for backward compatibility:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1288 ac_top_builddir=$ac_top_build_prefix
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1289
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1290 case $srcdir in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1291 .) # We are building in place.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1292 ac_srcdir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1293 ac_top_srcdir=$ac_top_builddir_sub
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1294 ac_abs_top_srcdir=$ac_pwd ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1295 [\\/]* | ?:[\\/]* ) # Absolute name.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1296 ac_srcdir=$srcdir$ac_dir_suffix;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1297 ac_top_srcdir=$srcdir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1298 ac_abs_top_srcdir=$srcdir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1299 *) # Relative name.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1300 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1301 ac_top_srcdir=$ac_top_build_prefix$srcdir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1302 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1303 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1304 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1305
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1306 cd "$ac_dir" || { ac_status=$?; continue; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1307 # Check for guested configure.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1308 if test -f "$ac_srcdir/configure.gnu"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1309 echo &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1310 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1311 elif test -f "$ac_srcdir/configure"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1312 echo &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1313 $SHELL "$ac_srcdir/configure" --help=recursive
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1314 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1315 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1316 fi || ac_status=$?
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1317 cd "$ac_pwd" || { ac_status=$?; break; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1318 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1319 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1320
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1321 test -n "$ac_init_help" && exit $ac_status
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1322 if $ac_init_version; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1323 cat <<\_ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1324 HTSlib configure 1.2.1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1325 generated by GNU Autoconf 2.68
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1326
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1327 Copyright (C) 2010 Free Software Foundation, Inc.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1328 This configure script is free software; the Free Software Foundation
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1329 gives unlimited permission to copy, distribute and modify it.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1330
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1331 Portions copyright (C) 2015 Genome Research Ltd.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1332
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1333 This configure script is free software: you are free to change and
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1334 redistribute it. There is NO WARRANTY, to the extent permitted by law.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1335 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1336 exit
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1337 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1338
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1339 ## ------------------------ ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1340 ## Autoconf initialization. ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1341 ## ------------------------ ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1342
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1343 # ac_fn_c_try_compile LINENO
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1344 # --------------------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1345 # Try to compile conftest.$ac_ext, and return whether this succeeded.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1346 ac_fn_c_try_compile ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1347 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1348 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1349 rm -f conftest.$ac_objext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1350 if { { ac_try="$ac_compile"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1351 case "(($ac_try" in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1353 *) ac_try_echo=$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1354 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1356 $as_echo "$ac_try_echo"; } >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1357 (eval "$ac_compile") 2>conftest.err
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1358 ac_status=$?
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1359 if test -s conftest.err; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1360 grep -v '^ *+' conftest.err >conftest.er1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1361 cat conftest.er1 >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1362 mv -f conftest.er1 conftest.err
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1363 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1365 test $ac_status = 0; } && {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1366 test -z "$ac_c_werror_flag" ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1367 test ! -s conftest.err
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1368 } && test -s conftest.$ac_objext; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1369 ac_retval=0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1370 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1371 $as_echo "$as_me: failed program was:" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1372 sed 's/^/| /' conftest.$ac_ext >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1373
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1374 ac_retval=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1375 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1376 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1377 as_fn_set_status $ac_retval
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1378
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1379 } # ac_fn_c_try_compile
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1380
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1381 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1382 # -------------------------------------------------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1383 # Tests whether HEADER exists and can be compiled using the include files in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1384 # INCLUDES, setting the cache variable VAR accordingly.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1385 ac_fn_c_check_header_compile ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1386 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1387 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1389 $as_echo_n "checking for $2... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1390 if eval \${$3+:} false; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1391 $as_echo_n "(cached) " >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1392 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1394 /* end confdefs.h. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1395 $4
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1396 #include <$2>
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1397 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1398 if ac_fn_c_try_compile "$LINENO"; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1399 eval "$3=yes"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1400 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1401 eval "$3=no"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1402 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1404 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1405 eval ac_res=\$$3
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1407 $as_echo "$ac_res" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1408 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1409
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1410 } # ac_fn_c_check_header_compile
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1411
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1412 # ac_fn_c_try_link LINENO
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1413 # -----------------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1414 # Try to link conftest.$ac_ext, and return whether this succeeded.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1415 ac_fn_c_try_link ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1416 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1418 rm -f conftest.$ac_objext conftest$ac_exeext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1419 if { { ac_try="$ac_link"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1420 case "(($ac_try" in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1422 *) ac_try_echo=$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1423 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1425 $as_echo "$ac_try_echo"; } >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1426 (eval "$ac_link") 2>conftest.err
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1427 ac_status=$?
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1428 if test -s conftest.err; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1429 grep -v '^ *+' conftest.err >conftest.er1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1430 cat conftest.er1 >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1431 mv -f conftest.er1 conftest.err
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1432 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1434 test $ac_status = 0; } && {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1435 test -z "$ac_c_werror_flag" ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1436 test ! -s conftest.err
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1437 } && test -s conftest$ac_exeext && {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1438 test "$cross_compiling" = yes ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1439 $as_test_x conftest$ac_exeext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1440 }; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1441 ac_retval=0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1442 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1443 $as_echo "$as_me: failed program was:" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1444 sed 's/^/| /' conftest.$ac_ext >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1445
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1446 ac_retval=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1447 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1448 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1449 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1450 # interfere with the next link command; also delete a directory that is
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1451 # left behind by Apple's compiler. We do this before executing the actions.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1452 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1453 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1454 as_fn_set_status $ac_retval
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1455
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1456 } # ac_fn_c_try_link
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1457 cat >config.log <<_ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1458 This file contains any messages produced by compilers while
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1459 running configure, to aid debugging if configure makes a mistake.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1460
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1461 It was created by HTSlib $as_me 1.2.1, which was
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1462 generated by GNU Autoconf 2.68. Invocation command line was
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1463
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1464 $ $0 $@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1465
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1466 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1467 exec 5>>config.log
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1468 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1469 cat <<_ASUNAME
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1470 ## --------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1471 ## Platform. ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1472 ## --------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1473
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1474 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1475 uname -m = `(uname -m) 2>/dev/null || echo unknown`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1476 uname -r = `(uname -r) 2>/dev/null || echo unknown`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1477 uname -s = `(uname -s) 2>/dev/null || echo unknown`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1478 uname -v = `(uname -v) 2>/dev/null || echo unknown`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1479
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1480 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1481 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1482
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1483 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1484 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1485 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1486 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1487 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1488 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1489 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1490
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1491 _ASUNAME
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1492
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1494 for as_dir in $PATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1495 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1496 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1497 test -z "$as_dir" && as_dir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1498 $as_echo "PATH: $as_dir"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1499 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1500 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1501
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1502 } >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1503
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1504 cat >&5 <<_ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1505
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1506
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1507 ## ----------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1508 ## Core tests. ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1509 ## ----------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1510
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1511 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1512
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1513
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1514 # Keep a trace of the command line.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1515 # Strip out --no-create and --no-recursion so they do not pile up.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1516 # Strip out --silent because we don't want to record it for future runs.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1517 # Also quote any args containing shell meta-characters.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1518 # Make two passes to allow for proper duplicate-argument suppression.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1519 ac_configure_args=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1520 ac_configure_args0=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1521 ac_configure_args1=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1522 ac_must_keep_next=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1523 for ac_pass in 1 2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1524 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1525 for ac_arg
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1526 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1527 case $ac_arg in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1528 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1529 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1530 | -silent | --silent | --silen | --sile | --sil)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1531 continue ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1532 *\'*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1533 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1534 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1535 case $ac_pass in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1536 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1537 2)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1538 as_fn_append ac_configure_args1 " '$ac_arg'"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1539 if test $ac_must_keep_next = true; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1540 ac_must_keep_next=false # Got value, back to normal.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1541 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1542 case $ac_arg in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1543 *=* | --config-cache | -C | -disable-* | --disable-* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1544 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1545 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1546 | -with-* | --with-* | -without-* | --without-* | --x)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1547 case "$ac_configure_args0 " in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1548 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1549 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1550 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1551 -* ) ac_must_keep_next=true ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1552 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1553 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1554 as_fn_append ac_configure_args " '$ac_arg'"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1555 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1556 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1557 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1558 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1559 { ac_configure_args0=; unset ac_configure_args0;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1560 { ac_configure_args1=; unset ac_configure_args1;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1561
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1562 # When interrupted or exit'd, cleanup temporary files, and complete
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1563 # config.log. We remove comments because anyway the quotes in there
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1564 # would cause problems or look ugly.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1565 # WARNING: Use '\'' to represent an apostrophe within the trap.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1566 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1567 trap 'exit_status=$?
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1568 # Save into config.log some information that might help in debugging.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1569 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1570 echo
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1571
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1572 $as_echo "## ---------------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1573 ## Cache variables. ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1574 ## ---------------- ##"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1575 echo
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1576 # The following way of writing the cache mishandles newlines in values,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1577 (
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1578 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1579 eval ac_val=\$$ac_var
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1580 case $ac_val in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1581 *${as_nl}*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1582 case $ac_var in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1583 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1584 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1585 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1586 case $ac_var in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1587 _ | IFS | as_nl) ;; #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1588 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1589 *) { eval $ac_var=; unset $ac_var;} ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1590 esac ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1591 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1592 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1593 (set) 2>&1 |
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1594 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1595 *${as_nl}ac_space=\ *)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1596 sed -n \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1597 "s/'\''/'\''\\\\'\'''\''/g;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1599 ;; #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1600 *)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1601 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1602 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1603 esac |
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1604 sort
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1605 )
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1606 echo
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1607
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1608 $as_echo "## ----------------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1609 ## Output variables. ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1610 ## ----------------- ##"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1611 echo
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1612 for ac_var in $ac_subst_vars
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1613 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1614 eval ac_val=\$$ac_var
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1615 case $ac_val in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1616 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1617 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1618 $as_echo "$ac_var='\''$ac_val'\''"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1619 done | sort
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1620 echo
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1621
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1622 if test -n "$ac_subst_files"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1623 $as_echo "## ------------------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1624 ## File substitutions. ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1625 ## ------------------- ##"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1626 echo
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1627 for ac_var in $ac_subst_files
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1628 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1629 eval ac_val=\$$ac_var
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1630 case $ac_val in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1631 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1632 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1633 $as_echo "$ac_var='\''$ac_val'\''"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1634 done | sort
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1635 echo
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1636 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1637
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1638 if test -s confdefs.h; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1639 $as_echo "## ----------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1640 ## confdefs.h. ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1641 ## ----------- ##"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1642 echo
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1643 cat confdefs.h
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1644 echo
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1645 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1646 test "$ac_signal" != 0 &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1647 $as_echo "$as_me: caught signal $ac_signal"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1648 $as_echo "$as_me: exit $exit_status"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1649 } >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1650 rm -f core *.core core.conftest.* &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1651 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1652 exit $exit_status
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1653 ' 0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1654 for ac_signal in 1 2 13 15; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1655 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1656 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1657 ac_signal=0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1658
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1659 # confdefs.h avoids OS command line length limits that DEFS can exceed.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1660 rm -f -r conftest* confdefs.h
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1661
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1662 $as_echo "/* confdefs.h */" > confdefs.h
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1663
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1664 # Predefined preprocessor variables.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1665
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1666 cat >>confdefs.h <<_ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1667 #define PACKAGE_NAME "$PACKAGE_NAME"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1668 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1669
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1670 cat >>confdefs.h <<_ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1671 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1672 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1673
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1674 cat >>confdefs.h <<_ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1675 #define PACKAGE_VERSION "$PACKAGE_VERSION"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1676 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1677
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1678 cat >>confdefs.h <<_ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1679 #define PACKAGE_STRING "$PACKAGE_STRING"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1680 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1681
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1682 cat >>confdefs.h <<_ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1683 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1684 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1685
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1686 cat >>confdefs.h <<_ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1687 #define PACKAGE_URL "$PACKAGE_URL"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1688 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1689
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1690
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1691 # Let the site file select an alternate cache file if it wants to.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1692 # Prefer an explicitly selected file to automatically selected ones.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1693 ac_site_file1=NONE
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1694 ac_site_file2=NONE
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1695 if test -n "$CONFIG_SITE"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1696 # We do not want a PATH search for config.site.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1697 case $CONFIG_SITE in #((
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1698 -*) ac_site_file1=./$CONFIG_SITE;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1699 */*) ac_site_file1=$CONFIG_SITE;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1700 *) ac_site_file1=./$CONFIG_SITE;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1701 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1702 elif test "x$prefix" != xNONE; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1703 ac_site_file1=$prefix/share/config.site
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1704 ac_site_file2=$prefix/etc/config.site
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1705 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1706 ac_site_file1=$ac_default_prefix/share/config.site
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1707 ac_site_file2=$ac_default_prefix/etc/config.site
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1708 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1709 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1710 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1711 test "x$ac_site_file" = xNONE && continue
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1712 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1714 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1715 sed 's/^/| /' "$ac_site_file" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1716 . "$ac_site_file" \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1717 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1719 as_fn_error $? "failed to load site script $ac_site_file
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1720 See \`config.log' for more details" "$LINENO" 5; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1721 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1722 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1723
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1724 if test -r "$cache_file"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1725 # Some versions of bash will fail to source /dev/null (special files
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1726 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1727 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1729 $as_echo "$as_me: loading cache $cache_file" >&6;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1730 case $cache_file in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1731 [\\/]* | ?:[\\/]* ) . "$cache_file";;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1732 *) . "./$cache_file";;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1733 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1734 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1735 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1737 $as_echo "$as_me: creating cache $cache_file" >&6;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1738 >$cache_file
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1739 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1740
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1741 # Check that the precious variables saved in the cache have kept the same
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1742 # value.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1743 ac_cache_corrupted=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1744 for ac_var in $ac_precious_vars; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1745 eval ac_old_set=\$ac_cv_env_${ac_var}_set
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1746 eval ac_new_set=\$ac_env_${ac_var}_set
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1747 eval ac_old_val=\$ac_cv_env_${ac_var}_value
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1748 eval ac_new_val=\$ac_env_${ac_var}_value
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1749 case $ac_old_set,$ac_new_set in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1750 set,)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1752 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1753 ac_cache_corrupted=: ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1754 ,set)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1756 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1757 ac_cache_corrupted=: ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1758 ,);;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1759 *)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1760 if test "x$ac_old_val" != "x$ac_new_val"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1761 # differences in whitespace do not lead to failure.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1762 ac_old_val_w=`echo x $ac_old_val`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1763 ac_new_val_w=`echo x $ac_new_val`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1764 if test "$ac_old_val_w" != "$ac_new_val_w"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1766 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1767 ac_cache_corrupted=:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1768 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1770 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1771 eval $ac_var=\$ac_old_val
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1772 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1774 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1776 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1777 fi;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1778 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1779 # Pass precious variables to config.status.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1780 if test "$ac_new_set" = set; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1781 case $ac_new_val in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1782 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1783 *) ac_arg=$ac_var=$ac_new_val ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1784 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1785 case " $ac_configure_args " in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1786 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1787 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1788 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1789 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1790 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1791 if $ac_cache_corrupted; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1795 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1796 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1797 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1798 ## -------------------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1799 ## Main body of script. ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1800 ## -------------------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1801
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1802 ac_ext=c
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1803 ac_cpp='$CPP $CPPFLAGS'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1807
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1808
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1809
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1810
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1811
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1812
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1813 ac_ext=c
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1814 ac_cpp='$CPP $CPPFLAGS'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1818 if test -n "$ac_tool_prefix"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1819 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1820 set dummy ${ac_tool_prefix}gcc; ac_word=$2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1822 $as_echo_n "checking for $ac_word... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1823 if ${ac_cv_prog_CC+:} false; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1824 $as_echo_n "(cached) " >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1825 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1826 if test -n "$CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1827 ac_cv_prog_CC="$CC" # Let the user override the test.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1828 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1830 for as_dir in $PATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1831 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1832 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1833 test -z "$as_dir" && as_dir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1834 for ac_exec_ext in '' $ac_executable_extensions; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1836 ac_cv_prog_CC="${ac_tool_prefix}gcc"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1838 break 2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1839 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1840 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1841 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1842 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1843
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1844 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1845 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1846 CC=$ac_cv_prog_CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1847 if test -n "$CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1849 $as_echo "$CC" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1850 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1852 $as_echo "no" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1853 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1854
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1855
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1856 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1857 if test -z "$ac_cv_prog_CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1858 ac_ct_CC=$CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1859 # Extract the first word of "gcc", so it can be a program name with args.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1860 set dummy gcc; ac_word=$2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1862 $as_echo_n "checking for $ac_word... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1863 if ${ac_cv_prog_ac_ct_CC+:} false; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1864 $as_echo_n "(cached) " >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1865 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1866 if test -n "$ac_ct_CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1867 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1868 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1870 for as_dir in $PATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1871 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1872 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1873 test -z "$as_dir" && as_dir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1874 for ac_exec_ext in '' $ac_executable_extensions; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1876 ac_cv_prog_ac_ct_CC="gcc"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1878 break 2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1879 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1880 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1881 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1882 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1883
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1884 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1885 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1886 ac_ct_CC=$ac_cv_prog_ac_ct_CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1887 if test -n "$ac_ct_CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1889 $as_echo "$ac_ct_CC" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1890 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1892 $as_echo "no" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1893 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1894
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1895 if test "x$ac_ct_CC" = x; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1896 CC=""
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1897 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1898 case $cross_compiling:$ac_tool_warned in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1899 yes:)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1902 ac_tool_warned=yes ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1903 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1904 CC=$ac_ct_CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1905 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1906 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1907 CC="$ac_cv_prog_CC"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1908 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1909
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1910 if test -z "$CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1911 if test -n "$ac_tool_prefix"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1912 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1913 set dummy ${ac_tool_prefix}cc; ac_word=$2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1915 $as_echo_n "checking for $ac_word... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1916 if ${ac_cv_prog_CC+:} false; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1917 $as_echo_n "(cached) " >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1918 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1919 if test -n "$CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1920 ac_cv_prog_CC="$CC" # Let the user override the test.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1921 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1923 for as_dir in $PATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1924 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1925 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1926 test -z "$as_dir" && as_dir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1927 for ac_exec_ext in '' $ac_executable_extensions; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1929 ac_cv_prog_CC="${ac_tool_prefix}cc"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1931 break 2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1932 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1933 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1934 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1935 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1936
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1937 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1938 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1939 CC=$ac_cv_prog_CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1940 if test -n "$CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1942 $as_echo "$CC" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1943 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1945 $as_echo "no" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1946 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1947
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1948
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1949 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1950 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1951 if test -z "$CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1952 # Extract the first word of "cc", so it can be a program name with args.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1953 set dummy cc; ac_word=$2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1955 $as_echo_n "checking for $ac_word... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1956 if ${ac_cv_prog_CC+:} false; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1957 $as_echo_n "(cached) " >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1958 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1959 if test -n "$CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1960 ac_cv_prog_CC="$CC" # Let the user override the test.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1961 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1962 ac_prog_rejected=no
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1964 for as_dir in $PATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1965 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1966 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1967 test -z "$as_dir" && as_dir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1968 for ac_exec_ext in '' $ac_executable_extensions; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1970 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1971 ac_prog_rejected=yes
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1972 continue
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1973 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1974 ac_cv_prog_CC="cc"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1976 break 2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1977 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1978 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1979 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1980 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1981
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1982 if test $ac_prog_rejected = yes; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1983 # We found a bogon in the path, so make sure we never use it.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1984 set dummy $ac_cv_prog_CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1985 shift
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1986 if test $# != 0; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1987 # We chose a different compiler from the bogus one.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1988 # However, it has the same basename, so the bogon will be chosen
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1989 # first if we set CC to just the basename; use the full file name.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1990 shift
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1991 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1992 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1993 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1994 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1995 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1996 CC=$ac_cv_prog_CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1997 if test -n "$CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
1999 $as_echo "$CC" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2000 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2002 $as_echo "no" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2003 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2004
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2005
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2006 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2007 if test -z "$CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2008 if test -n "$ac_tool_prefix"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2009 for ac_prog in cl.exe
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2010 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2011 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2012 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2014 $as_echo_n "checking for $ac_word... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2015 if ${ac_cv_prog_CC+:} false; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2016 $as_echo_n "(cached) " >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2017 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2018 if test -n "$CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2019 ac_cv_prog_CC="$CC" # Let the user override the test.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2020 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2022 for as_dir in $PATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2023 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2024 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2025 test -z "$as_dir" && as_dir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2026 for ac_exec_ext in '' $ac_executable_extensions; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2028 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2030 break 2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2031 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2032 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2033 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2034 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2035
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2036 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2037 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2038 CC=$ac_cv_prog_CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2039 if test -n "$CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2041 $as_echo "$CC" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2042 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2044 $as_echo "no" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2045 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2046
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2047
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2048 test -n "$CC" && break
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2049 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2050 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2051 if test -z "$CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2052 ac_ct_CC=$CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2053 for ac_prog in cl.exe
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2054 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2055 # Extract the first word of "$ac_prog", so it can be a program name with args.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2056 set dummy $ac_prog; ac_word=$2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2058 $as_echo_n "checking for $ac_word... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2059 if ${ac_cv_prog_ac_ct_CC+:} false; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2060 $as_echo_n "(cached) " >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2061 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2062 if test -n "$ac_ct_CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2063 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2064 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2066 for as_dir in $PATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2067 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2068 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2069 test -z "$as_dir" && as_dir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2070 for ac_exec_ext in '' $ac_executable_extensions; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2072 ac_cv_prog_ac_ct_CC="$ac_prog"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2074 break 2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2075 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2076 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2077 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2078 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2079
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2080 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2081 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2082 ac_ct_CC=$ac_cv_prog_ac_ct_CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2083 if test -n "$ac_ct_CC"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2085 $as_echo "$ac_ct_CC" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2086 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2088 $as_echo "no" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2089 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2090
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2091
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2092 test -n "$ac_ct_CC" && break
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2093 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2094
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2095 if test "x$ac_ct_CC" = x; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2096 CC=""
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2097 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2098 case $cross_compiling:$ac_tool_warned in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2099 yes:)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2102 ac_tool_warned=yes ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2103 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2104 CC=$ac_ct_CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2105 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2106 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2107
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2108 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2109
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2110
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2111 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2113 as_fn_error $? "no acceptable C compiler found in \$PATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2114 See \`config.log' for more details" "$LINENO" 5; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2115
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2116 # Provide some information about the compiler.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2117 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2118 set X $ac_compile
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2119 ac_compiler=$2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2120 for ac_option in --version -v -V -qversion; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2121 { { ac_try="$ac_compiler $ac_option >&5"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2122 case "(($ac_try" in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2124 *) ac_try_echo=$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2125 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2127 $as_echo "$ac_try_echo"; } >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2128 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2129 ac_status=$?
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2130 if test -s conftest.err; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2131 sed '10a\
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2132 ... rest of stderr output deleted ...
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2133 10q' conftest.err >conftest.er1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2134 cat conftest.er1 >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2135 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2136 rm -f conftest.er1 conftest.err
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2138 test $ac_status = 0; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2139 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2140
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2142 /* end confdefs.h. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2143
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2144 int
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2145 main ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2146 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2147
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2148 ;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2149 return 0;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2150 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2151 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2152 ac_clean_files_save=$ac_clean_files
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2153 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2154 # Try to create an executable without -o first, disregard a.out.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2155 # It will help us diagnose broken compilers, and finding out an intuition
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2156 # of exeext.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2158 $as_echo_n "checking whether the C compiler works... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2159 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2160
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2161 # The possible output files:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2162 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2163
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2164 ac_rmfiles=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2165 for ac_file in $ac_files
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2166 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2167 case $ac_file in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2169 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2170 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2171 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2172 rm -f $ac_rmfiles
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2173
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2174 if { { ac_try="$ac_link_default"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2175 case "(($ac_try" in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2177 *) ac_try_echo=$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2178 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2180 $as_echo "$ac_try_echo"; } >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2181 (eval "$ac_link_default") 2>&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2182 ac_status=$?
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2184 test $ac_status = 0; }; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2185 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2186 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2187 # in a Makefile. We should not override ac_cv_exeext if it was cached,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2188 # so that the user can short-circuit this test for compilers unknown to
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2189 # Autoconf.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2190 for ac_file in $ac_files ''
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2191 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2192 test -f "$ac_file" || continue
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2193 case $ac_file in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2194 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2195 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2196 [ab].out )
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2197 # We found the default executable, but exeext='' is most
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2198 # certainly right.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2199 break;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2200 *.* )
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2201 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2202 then :; else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2203 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2204 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2205 # We set ac_cv_exeext here because the later test for it is not
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2206 # safe: cross compilers may not add the suffix if given an `-o'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2207 # argument, so we may need to know it at that point already.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2208 # Even if this section looks crufty: it has the advantage of
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2209 # actually working.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2210 break;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2211 * )
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2212 break;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2213 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2214 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2215 test "$ac_cv_exeext" = no && ac_cv_exeext=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2216
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2217 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2218 ac_file=''
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2219 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2220 if test -z "$ac_file"; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2222 $as_echo "no" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2223 $as_echo "$as_me: failed program was:" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2224 sed 's/^/| /' conftest.$ac_ext >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2225
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2228 as_fn_error 77 "C compiler cannot create executables
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2229 See \`config.log' for more details" "$LINENO" 5; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2230 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2232 $as_echo "yes" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2233 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2235 $as_echo_n "checking for C compiler default output file name... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2237 $as_echo "$ac_file" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2238 ac_exeext=$ac_cv_exeext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2239
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2240 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2241 ac_clean_files=$ac_clean_files_save
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2243 $as_echo_n "checking for suffix of executables... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2244 if { { ac_try="$ac_link"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2245 case "(($ac_try" in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2247 *) ac_try_echo=$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2248 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2250 $as_echo "$ac_try_echo"; } >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2251 (eval "$ac_link") 2>&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2252 ac_status=$?
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2254 test $ac_status = 0; }; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2255 # If both `conftest.exe' and `conftest' are `present' (well, observable)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2256 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2257 # work properly (i.e., refer to `conftest.exe'), while it won't with
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2258 # `rm'.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2259 for ac_file in conftest.exe conftest conftest.*; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2260 test -f "$ac_file" || continue
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2261 case $ac_file in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2262 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2263 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2264 break;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2265 * ) break;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2266 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2267 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2268 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2271 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2272 See \`config.log' for more details" "$LINENO" 5; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2273 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2274 rm -f conftest conftest$ac_cv_exeext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2276 $as_echo "$ac_cv_exeext" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2277
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2278 rm -f conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2279 EXEEXT=$ac_cv_exeext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2280 ac_exeext=$EXEEXT
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2282 /* end confdefs.h. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2283 #include <stdio.h>
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2284 int
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2285 main ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2286 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2287 FILE *f = fopen ("conftest.out", "w");
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2288 return ferror (f) || fclose (f) != 0;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2289
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2290 ;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2291 return 0;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2292 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2293 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2294 ac_clean_files="$ac_clean_files conftest.out"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2295 # Check that the compiler produces executables we can run. If not, either
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2296 # the compiler is broken, or we cross compile.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2298 $as_echo_n "checking whether we are cross compiling... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2299 if test "$cross_compiling" != yes; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2300 { { ac_try="$ac_link"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2301 case "(($ac_try" in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2303 *) ac_try_echo=$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2304 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2305 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2306 $as_echo "$ac_try_echo"; } >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2307 (eval "$ac_link") 2>&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2308 ac_status=$?
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2310 test $ac_status = 0; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2311 if { ac_try='./conftest$ac_cv_exeext'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2312 { { case "(($ac_try" in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2314 *) ac_try_echo=$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2315 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2317 $as_echo "$ac_try_echo"; } >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2318 (eval "$ac_try") 2>&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2319 ac_status=$?
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2321 test $ac_status = 0; }; }; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2322 cross_compiling=no
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2323 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2324 if test "$cross_compiling" = maybe; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2325 cross_compiling=yes
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2326 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2327 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2329 as_fn_error $? "cannot run C compiled programs.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2330 If you meant to cross compile, use \`--host'.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2331 See \`config.log' for more details" "$LINENO" 5; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2332 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2333 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2334 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2336 $as_echo "$cross_compiling" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2337
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2338 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2339 ac_clean_files=$ac_clean_files_save
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2341 $as_echo_n "checking for suffix of object files... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2342 if ${ac_cv_objext+:} false; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2343 $as_echo_n "(cached) " >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2344 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2346 /* end confdefs.h. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2347
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2348 int
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2349 main ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2350 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2351
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2352 ;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2353 return 0;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2354 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2355 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2356 rm -f conftest.o conftest.obj
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2357 if { { ac_try="$ac_compile"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2358 case "(($ac_try" in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2360 *) ac_try_echo=$ac_try;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2361 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2363 $as_echo "$ac_try_echo"; } >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2364 (eval "$ac_compile") 2>&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2365 ac_status=$?
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2367 test $ac_status = 0; }; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2368 for ac_file in conftest.o conftest.obj conftest.*; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2369 test -f "$ac_file" || continue;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2370 case $ac_file in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2372 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2373 break;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2374 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2375 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2376 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2377 $as_echo "$as_me: failed program was:" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2378 sed 's/^/| /' conftest.$ac_ext >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2379
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2382 as_fn_error $? "cannot compute suffix of object files: cannot compile
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2383 See \`config.log' for more details" "$LINENO" 5; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2384 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2385 rm -f conftest.$ac_cv_objext conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2386 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2388 $as_echo "$ac_cv_objext" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2389 OBJEXT=$ac_cv_objext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2390 ac_objext=$OBJEXT
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2392 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2393 if ${ac_cv_c_compiler_gnu+:} false; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2394 $as_echo_n "(cached) " >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2395 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2397 /* end confdefs.h. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2398
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2399 int
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2400 main ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2401 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2402 #ifndef __GNUC__
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2403 choke me
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2404 #endif
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2405
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2406 ;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2407 return 0;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2408 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2409 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2410 if ac_fn_c_try_compile "$LINENO"; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2411 ac_compiler_gnu=yes
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2412 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2413 ac_compiler_gnu=no
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2414 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2416 ac_cv_c_compiler_gnu=$ac_compiler_gnu
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2417
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2418 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2420 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2421 if test $ac_compiler_gnu = yes; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2422 GCC=yes
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2423 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2424 GCC=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2425 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2426 ac_test_CFLAGS=${CFLAGS+set}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2427 ac_save_CFLAGS=$CFLAGS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2429 $as_echo_n "checking whether $CC accepts -g... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2430 if ${ac_cv_prog_cc_g+:} false; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2431 $as_echo_n "(cached) " >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2432 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2433 ac_save_c_werror_flag=$ac_c_werror_flag
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2434 ac_c_werror_flag=yes
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2435 ac_cv_prog_cc_g=no
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2436 CFLAGS="-g"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2438 /* end confdefs.h. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2439
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2440 int
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2441 main ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2442 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2443
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2444 ;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2445 return 0;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2446 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2447 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2448 if ac_fn_c_try_compile "$LINENO"; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2449 ac_cv_prog_cc_g=yes
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2450 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2451 CFLAGS=""
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2453 /* end confdefs.h. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2454
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2455 int
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2456 main ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2457 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2458
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2459 ;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2460 return 0;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2461 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2462 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2463 if ac_fn_c_try_compile "$LINENO"; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2464
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2465 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2466 ac_c_werror_flag=$ac_save_c_werror_flag
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2467 CFLAGS="-g"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2469 /* end confdefs.h. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2470
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2471 int
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2472 main ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2473 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2474
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2475 ;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2476 return 0;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2477 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2478 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2479 if ac_fn_c_try_compile "$LINENO"; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2480 ac_cv_prog_cc_g=yes
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2481 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2483 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2485 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2487 ac_c_werror_flag=$ac_save_c_werror_flag
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2488 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2490 $as_echo "$ac_cv_prog_cc_g" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2491 if test "$ac_test_CFLAGS" = set; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2492 CFLAGS=$ac_save_CFLAGS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2493 elif test $ac_cv_prog_cc_g = yes; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2494 if test "$GCC" = yes; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2495 CFLAGS="-g -O2"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2496 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2497 CFLAGS="-g"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2498 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2499 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2500 if test "$GCC" = yes; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2501 CFLAGS="-O2"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2502 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2503 CFLAGS=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2504 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2505 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2507 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2508 if ${ac_cv_prog_cc_c89+:} false; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2509 $as_echo_n "(cached) " >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2510 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2511 ac_cv_prog_cc_c89=no
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2512 ac_save_CC=$CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2514 /* end confdefs.h. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2515 #include <stdarg.h>
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2516 #include <stdio.h>
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2517 #include <sys/types.h>
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2518 #include <sys/stat.h>
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2519 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2520 struct buf { int x; };
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2521 FILE * (*rcsopen) (struct buf *, struct stat *, int);
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2522 static char *e (p, i)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2523 char **p;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2524 int i;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2525 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2526 return p[i];
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2527 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2528 static char *f (char * (*g) (char **, int), char **p, ...)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2529 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2530 char *s;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2531 va_list v;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2532 va_start (v,p);
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2533 s = g (p, va_arg (v,int));
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2534 va_end (v);
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2535 return s;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2536 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2537
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2538 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2539 function prototypes and stuff, but not '\xHH' hex character constants.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2540 These don't provoke an error unfortunately, instead are silently treated
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2541 as 'x'. The following induces an error, until -std is added to get
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2542 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2543 array size at least. It's necessary to write '\x00'==0 to get something
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2544 that's true only with -std. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2545 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2546
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2547 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2548 inside strings and character constants. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2549 #define FOO(x) 'x'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2550 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2551
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2552 int test (int i, double x);
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2553 struct s1 {int (*f) (int a);};
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2554 struct s2 {int (*f) (double a);};
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2555 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2556 int argc;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2557 char **argv;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2558 int
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2559 main ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2560 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2561 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2562 ;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2563 return 0;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2564 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2565 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2566 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2567 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2568 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2569 CC="$ac_save_CC $ac_arg"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2570 if ac_fn_c_try_compile "$LINENO"; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2571 ac_cv_prog_cc_c89=$ac_arg
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2572 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2573 rm -f core conftest.err conftest.$ac_objext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2574 test "x$ac_cv_prog_cc_c89" != "xno" && break
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2575 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2576 rm -f conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2577 CC=$ac_save_CC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2578
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2579 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2580 # AC_CACHE_VAL
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2581 case "x$ac_cv_prog_cc_c89" in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2582 x)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2584 $as_echo "none needed" >&6; } ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2585 xno)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2587 $as_echo "unsupported" >&6; } ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2588 *)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2589 CC="$CC $ac_cv_prog_cc_c89"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2591 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2592 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2593 if test "x$ac_cv_prog_cc_c89" != xno; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2594
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2595 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2596
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2597 ac_ext=c
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2598 ac_cpp='$CPP $CPPFLAGS'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2602
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2603 if test -n "$ac_tool_prefix"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2604 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2605 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2607 $as_echo_n "checking for $ac_word... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2608 if ${ac_cv_prog_RANLIB+:} false; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2609 $as_echo_n "(cached) " >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2610 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2611 if test -n "$RANLIB"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2612 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2613 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2615 for as_dir in $PATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2616 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2617 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2618 test -z "$as_dir" && as_dir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2619 for ac_exec_ext in '' $ac_executable_extensions; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2621 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2623 break 2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2624 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2625 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2626 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2627 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2628
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2629 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2630 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2631 RANLIB=$ac_cv_prog_RANLIB
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2632 if test -n "$RANLIB"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2634 $as_echo "$RANLIB" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2635 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2637 $as_echo "no" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2638 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2639
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2640
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2641 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2642 if test -z "$ac_cv_prog_RANLIB"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2643 ac_ct_RANLIB=$RANLIB
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2644 # Extract the first word of "ranlib", so it can be a program name with args.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2645 set dummy ranlib; ac_word=$2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2647 $as_echo_n "checking for $ac_word... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2648 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2649 $as_echo_n "(cached) " >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2650 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2651 if test -n "$ac_ct_RANLIB"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2652 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2653 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2655 for as_dir in $PATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2656 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2657 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2658 test -z "$as_dir" && as_dir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2659 for ac_exec_ext in '' $ac_executable_extensions; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2661 ac_cv_prog_ac_ct_RANLIB="ranlib"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2663 break 2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2664 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2665 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2666 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2667 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2668
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2669 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2670 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2671 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2672 if test -n "$ac_ct_RANLIB"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2674 $as_echo "$ac_ct_RANLIB" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2675 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2677 $as_echo "no" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2678 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2679
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2680 if test "x$ac_ct_RANLIB" = x; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2681 RANLIB=":"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2682 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2683 case $cross_compiling:$ac_tool_warned in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2684 yes:)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2687 ac_tool_warned=yes ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2688 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2689 RANLIB=$ac_ct_RANLIB
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2690 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2691 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2692 RANLIB="$ac_cv_prog_RANLIB"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2693 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2694
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2695
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2696
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2697 # Check whether --with-irods was given.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2698 if test "${with_irods+set}" = set; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2699 withval=$with_irods; case $withval in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2700 no) irods=disabled ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2701 yes) irods=enabled ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2702 *) irods=enabled; IRODS_HOME=$withval ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2703 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2704 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2705 irods=disabled
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2706 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2707
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2708
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2709 save_LIBS=$LIBS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2710 zlib_devel=ok
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2711
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2712 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" ";
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2713 "
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2714 if test "x$ac_cv_header_zlib_h" = xyes; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2715
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2716 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2717 zlib_devel=missing
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2718 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2719
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2720
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2722 $as_echo_n "checking for inflate in -lz... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2723 if ${ac_cv_lib_z_inflate+:} false; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2724 $as_echo_n "(cached) " >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2725 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2726 ac_check_lib_save_LIBS=$LIBS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2727 LIBS="-lz $LIBS"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2729 /* end confdefs.h. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2730
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2731 /* Override any GCC internal prototype to avoid an error.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2732 Use char because int might match the return type of a GCC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2733 builtin and then its argument prototype would still apply. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2734 #ifdef __cplusplus
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2735 extern "C"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2736 #endif
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2737 char inflate ();
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2738 int
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2739 main ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2740 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2741 return inflate ();
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2742 ;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2743 return 0;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2744 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2745 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2746 if ac_fn_c_try_link "$LINENO"; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2747 ac_cv_lib_z_inflate=yes
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2748 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2749 ac_cv_lib_z_inflate=no
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2750 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2751 rm -f core conftest.err conftest.$ac_objext \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2752 conftest$ac_exeext conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2753 LIBS=$ac_check_lib_save_LIBS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2754 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2756 $as_echo "$ac_cv_lib_z_inflate" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2757 if test "x$ac_cv_lib_z_inflate" = xyes; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2758 cat >>confdefs.h <<_ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2759 #define HAVE_LIBZ 1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2760 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2761
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2762 LIBS="-lz $LIBS"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2763
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2764 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2765 zlib_devel=missing
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2766 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2767
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2768 LIBS=$save_LIBS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2769
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2770 if test $zlib_devel != ok; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2771 as_fn_error $? "zlib development files not found
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2772
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2773 HTSlib uses compression routines from the zlib library <http://zlib.net>.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2774 Building HTSlib requires zlib development files to be installed on the build
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2775 machine; you may need to ensure a package such as zlib1g-dev (on Debian or
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2776 Ubuntu Linux) or zlib-devel (on RPM-based Linux distributions) is installed.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2777
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2778 FAILED. This error must be resolved in order to build HTSlib successfully." "$LINENO" 5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2779 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2780
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2781 if test $irods = enabled; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2782 # TODO Also test whether we require libgssapi_krb5 and AC_CHECK_LIB it
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2783 save_LDFLAGS=$LDFLAGS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2784 LDFLAGS="$LDFLAGS -L$IRODS_HOME/lib/core/obj"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getRodsEnvFileName in -lRodsAPIs" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2786 $as_echo_n "checking for getRodsEnvFileName in -lRodsAPIs... " >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2787 if ${ac_cv_lib_RodsAPIs_getRodsEnvFileName+:} false; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2788 $as_echo_n "(cached) " >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2789 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2790 ac_check_lib_save_LIBS=$LIBS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2791 LIBS="-lRodsAPIs -lgssapi_krb5 -lpthread $LIBS"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2793 /* end confdefs.h. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2794
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2795 /* Override any GCC internal prototype to avoid an error.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2796 Use char because int might match the return type of a GCC
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2797 builtin and then its argument prototype would still apply. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2798 #ifdef __cplusplus
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2799 extern "C"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2800 #endif
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2801 char getRodsEnvFileName ();
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2802 int
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2803 main ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2804 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2805 return getRodsEnvFileName ();
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2806 ;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2807 return 0;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2808 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2809 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2810 if ac_fn_c_try_link "$LINENO"; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2811 ac_cv_lib_RodsAPIs_getRodsEnvFileName=yes
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2812 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2813 ac_cv_lib_RodsAPIs_getRodsEnvFileName=no
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2814 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2815 rm -f core conftest.err conftest.$ac_objext \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2816 conftest$ac_exeext conftest.$ac_ext
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2817 LIBS=$ac_check_lib_save_LIBS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2818 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_RodsAPIs_getRodsEnvFileName" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2820 $as_echo "$ac_cv_lib_RodsAPIs_getRodsEnvFileName" >&6; }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2821 if test "x$ac_cv_lib_RodsAPIs_getRodsEnvFileName" = xyes; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2822 case $with_irods in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2823 yes) define_IRODS_HOME='# Uses $(IRODS_HOME) from the environment' ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2824 *) define_IRODS_HOME="IRODS_HOME = $with_irods" ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2825 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2826 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2827 as_fn_error $? "iRODS development files not found
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2828
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2829 Support for iRODS URLs requires the libRodsAPI client library and headers.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2830 Configure with --with-irods=DIR (or just --with-irods if \$IRODS_HOME has
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2831 been exported with a suitable value), where DIR is the base of an iRODS tree
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2832 such that the library is present as DIR/lib/core/obj/libRodsAPI.* and headers
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2833 are present under DIR/lib/api/include and so on." "$LINENO" 5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2834 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2835
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2836 LDFLAGS=$save_LDFLAGS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2837 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2838 define_IRODS_HOME='IRODS_HOME ?= /disabled'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2839 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2840
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2841
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2842
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2843 ac_config_files="$ac_config_files config.mk"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2844
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2845 cat >confcache <<\_ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2846 # This file is a shell script that caches the results of configure
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2847 # tests run on this system so they can be shared between configure
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2848 # scripts and configure runs, see configure's option --config-cache.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2849 # It is not useful on other systems. If it contains results you don't
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2850 # want to keep, you may remove or edit it.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2851 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2852 # config.status only pays attention to the cache file if you give it
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2853 # the --recheck option to rerun configure.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2854 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2855 # `ac_cv_env_foo' variables (set or unset) will be overridden when
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2856 # loading this file, other *unset* `ac_cv_foo' will be assigned the
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2857 # following values.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2858
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2859 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2860
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2861 # The following way of writing the cache mishandles newlines in values,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2862 # but we know of no workaround that is simple, portable, and efficient.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2863 # So, we kill variables containing newlines.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2864 # Ultrix sh set writes to stderr and can't be redirected directly,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2865 # and sets the high bit in the cache file unless we assign to the vars.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2866 (
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2867 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2868 eval ac_val=\$$ac_var
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2869 case $ac_val in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2870 *${as_nl}*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2871 case $ac_var in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2872 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2873 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2874 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2875 case $ac_var in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2876 _ | IFS | as_nl) ;; #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2877 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2878 *) { eval $ac_var=; unset $ac_var;} ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2879 esac ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2880 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2881 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2882
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2883 (set) 2>&1 |
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2884 case $as_nl`(ac_space=' '; set) 2>&1` in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2885 *${as_nl}ac_space=\ *)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2886 # `set' does not quote correctly, so add quotes: double-quote
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2887 # substitution turns \\\\ into \\, and sed turns \\ into \.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2888 sed -n \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2889 "s/'/'\\\\''/g;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2890 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2891 ;; #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2892 *)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2893 # `set' quotes correctly as required by POSIX, so do not add quotes.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2894 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2895 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2896 esac |
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2897 sort
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2898 ) |
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2899 sed '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2900 /^ac_cv_env_/b end
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2901 t clear
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2902 :clear
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2903 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2904 t end
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2905 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2906 :end' >>confcache
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2907 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2908 if test -w "$cache_file"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2909 if test "x$cache_file" != "x/dev/null"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2911 $as_echo "$as_me: updating cache $cache_file" >&6;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2912 if test ! -f "$cache_file" || test -h "$cache_file"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2913 cat confcache >"$cache_file"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2914 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2915 case $cache_file in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2916 */* | ?:*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2917 mv -f confcache "$cache_file"$$ &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2918 mv -f "$cache_file"$$ "$cache_file" ;; #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2919 *)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2920 mv -f confcache "$cache_file" ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2921 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2922 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2923 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2924 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2926 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2927 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2928 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2929 rm -f confcache
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2930
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2931 test "x$prefix" = xNONE && prefix=$ac_default_prefix
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2932 # Let make expand exec_prefix.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2933 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2934
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2935 # Transform confdefs.h into DEFS.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2936 # Protect against shell expansion while executing Makefile rules.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2937 # Protect against Makefile macro expansion.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2938 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2939 # If the first sed substitution is executed (which looks for macros that
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2940 # take arguments), then branch to the quote section. Otherwise,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2941 # look for a macro that doesn't take arguments.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2942 ac_script='
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2943 :mline
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2944 /\\$/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2945 N
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2946 s,\\\n,,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2947 b mline
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2948 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2949 t clear
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2950 :clear
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2951 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2952 t quote
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2953 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2954 t quote
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2955 b any
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2956 :quote
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2957 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2958 s/\[/\\&/g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2959 s/\]/\\&/g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2960 s/\$/$$/g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2961 H
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2962 :any
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2963 ${
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2964 g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2965 s/^\n//
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2966 s/\n/ /g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2967 p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2968 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2969 '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2970 DEFS=`sed -n "$ac_script" confdefs.h`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2971
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2972
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2973 ac_libobjs=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2974 ac_ltlibobjs=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2975 U=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2976 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2977 # 1. Remove the extension, and $U if already installed.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2978 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2979 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2980 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2981 # will be set to the directory where LIBOBJS objects are built.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2982 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2983 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2984 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2985 LIBOBJS=$ac_libobjs
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2986
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2987 LTLIBOBJS=$ac_ltlibobjs
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2988
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2989
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2990
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2991 : "${CONFIG_STATUS=./config.status}"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2992 ac_write_fail=0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2993 ac_clean_files_save=$ac_clean_files
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2994 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2996 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2997 as_write_fail=0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2998 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
2999 #! $SHELL
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3000 # Generated by $as_me.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3001 # Run this file to recreate the current configuration.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3002 # Compiler output produced by configure, useful for debugging
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3003 # configure, is in config.log if it exists.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3004
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3005 debug=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3006 ac_cs_recheck=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3007 ac_cs_silent=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3008
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3009 SHELL=\${CONFIG_SHELL-$SHELL}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3010 export SHELL
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3011 _ASEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3012 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3013 ## -------------------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3014 ## M4sh Initialization. ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3015 ## -------------------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3016
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3017 # Be more Bourne compatible
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3018 DUALCASE=1; export DUALCASE # for MKS sh
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3019 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3020 emulate sh
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3021 NULLCMD=:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3022 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3023 # is contrary to our usage. Disable this feature.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3024 alias -g '${1+"$@"}'='"$@"'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3025 setopt NO_GLOB_SUBST
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3026 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3027 case `(set -o) 2>/dev/null` in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3028 *posix*) :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3029 set -o posix ;; #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3030 *) :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3031 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3032 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3033 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3034
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3035
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3036 as_nl='
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3037 '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3038 export as_nl
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3039 # Printing a long string crashes Solaris 7 /usr/bin/printf.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3040 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3041 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3042 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3043 # Prefer a ksh shell builtin over an external printf program on Solaris,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3044 # but without wasting forks for bash or zsh.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3045 if test -z "$BASH_VERSION$ZSH_VERSION" \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3046 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3047 as_echo='print -r --'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3048 as_echo_n='print -rn --'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3049 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3050 as_echo='printf %s\n'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3051 as_echo_n='printf %s'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3052 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3053 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3054 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3055 as_echo_n='/usr/ucb/echo -n'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3056 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3057 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3058 as_echo_n_body='eval
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3059 arg=$1;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3060 case $arg in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3061 *"$as_nl"*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3062 expr "X$arg" : "X\\(.*\\)$as_nl";
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3063 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3064 esac;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3065 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3066 '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3067 export as_echo_n_body
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3068 as_echo_n='sh -c $as_echo_n_body as_echo'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3069 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3070 export as_echo_body
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3071 as_echo='sh -c $as_echo_body as_echo'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3072 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3073
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3074 # The user is always right.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3075 if test "${PATH_SEPARATOR+set}" != set; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3076 PATH_SEPARATOR=:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3077 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3078 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3079 PATH_SEPARATOR=';'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3080 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3081 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3082
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3083
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3084 # IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3085 # We need space, tab and new line, in precisely that order. Quoting is
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3086 # there to prevent editors from complaining about space-tab.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3087 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3088 # splitting by setting IFS to empty value.)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3089 IFS=" "" $as_nl"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3090
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3091 # Find who we are. Look in the path if we contain no directory separator.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3092 as_myself=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3093 case $0 in #((
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3094 *[\\/]* ) as_myself=$0 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3095 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3096 for as_dir in $PATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3097 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3098 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3099 test -z "$as_dir" && as_dir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3101 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3102 IFS=$as_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3103
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3104 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3105 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3106 # We did not find ourselves, most probably we were run as `sh COMMAND'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3107 # in which case we are not to be found in the path.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3108 if test "x$as_myself" = x; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3109 as_myself=$0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3110 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3111 if test ! -f "$as_myself"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3113 exit 1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3114 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3115
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3116 # Unset variables that we do not need and which cause bugs (e.g. in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3118 # suppresses any "Segmentation fault" message there. '((' could
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3119 # trigger a bug in pdksh 5.2.14.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3120 for as_var in BASH_ENV ENV MAIL MAILPATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3121 do eval test x\${$as_var+set} = xset \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3123 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3124 PS1='$ '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3125 PS2='> '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3126 PS4='+ '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3127
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3128 # NLS nuisances.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3129 LC_ALL=C
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3130 export LC_ALL
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3131 LANGUAGE=C
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3132 export LANGUAGE
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3133
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3134 # CDPATH.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3136
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3137
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3138 # as_fn_error STATUS ERROR [LINENO LOG_FD]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3139 # ----------------------------------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3140 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3141 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3142 # script with STATUS, using 1 if that was 0.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3143 as_fn_error ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3144 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3145 as_status=$1; test $as_status -eq 0 && as_status=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3146 if test "$4"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3147 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3148 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3149 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3150 $as_echo "$as_me: error: $2" >&2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3151 as_fn_exit $as_status
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3152 } # as_fn_error
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3153
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3154
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3155 # as_fn_set_status STATUS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3156 # -----------------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3157 # Set $? to STATUS, without forking.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3158 as_fn_set_status ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3159 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3160 return $1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3161 } # as_fn_set_status
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3162
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3163 # as_fn_exit STATUS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3164 # -----------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3165 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3166 as_fn_exit ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3167 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3168 set +e
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3169 as_fn_set_status $1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3170 exit $1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3171 } # as_fn_exit
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3172
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3173 # as_fn_unset VAR
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3174 # ---------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3175 # Portably unset VAR.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3176 as_fn_unset ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3177 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3178 { eval $1=; unset $1;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3179 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3180 as_unset=as_fn_unset
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3181 # as_fn_append VAR VALUE
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3182 # ----------------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3183 # Append the text in VALUE to the end of the definition contained in VAR. Take
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3184 # advantage of any shell optimizations that allow amortized linear growth over
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3185 # repeated appends, instead of the typical quadratic growth present in naive
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3186 # implementations.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3187 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3188 eval 'as_fn_append ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3189 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3190 eval $1+=\$2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3191 }'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3192 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3193 as_fn_append ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3194 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3195 eval $1=\$$1\$2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3196 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3197 fi # as_fn_append
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3198
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3199 # as_fn_arith ARG...
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3200 # ------------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3201 # Perform arithmetic evaluation on the ARGs, and store the result in the
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3202 # global $as_val. Take advantage of shells that can avoid forks. The arguments
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3203 # must be portable across $(()) and expr.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3204 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3205 eval 'as_fn_arith ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3206 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3207 as_val=$(( $* ))
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3208 }'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3209 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3210 as_fn_arith ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3211 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3212 as_val=`expr "$@" || test $? -eq 1`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3213 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3214 fi # as_fn_arith
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3215
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3216
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3217 if expr a : '\(a\)' >/dev/null 2>&1 &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3218 test "X`expr 00001 : '.*\(...\)'`" = X001; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3219 as_expr=expr
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3220 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3221 as_expr=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3222 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3223
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3224 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3225 as_basename=basename
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3226 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3227 as_basename=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3228 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3229
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3230 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3231 as_dirname=dirname
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3232 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3233 as_dirname=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3234 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3235
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3236 as_me=`$as_basename -- "$0" ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3237 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3238 X"$0" : 'X\(//\)$' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3239 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3240 $as_echo X/"$0" |
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3241 sed '/^.*\/\([^/][^/]*\)\/*$/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3242 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3243 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3244 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3245 /^X\/\(\/\/\)$/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3246 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3247 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3248 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3249 /^X\/\(\/\).*/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3250 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3251 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3252 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3253 s/.*/./; q'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3254
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3255 # Avoid depending upon Character Ranges.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3256 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3257 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3258 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3259 as_cr_digits='0123456789'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3260 as_cr_alnum=$as_cr_Letters$as_cr_digits
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3261
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3262 ECHO_C= ECHO_N= ECHO_T=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3263 case `echo -n x` in #(((((
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3264 -n*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3265 case `echo 'xy\c'` in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3266 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3267 xy) ECHO_C='\c';;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3268 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3269 ECHO_T=' ';;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3270 esac;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3271 *)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3272 ECHO_N='-n';;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3273 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3274
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3275 rm -f conf$$ conf$$.exe conf$$.file
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3276 if test -d conf$$.dir; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3277 rm -f conf$$.dir/conf$$.file
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3278 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3279 rm -f conf$$.dir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3280 mkdir conf$$.dir 2>/dev/null
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3281 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3282 if (echo >conf$$.file) 2>/dev/null; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3283 if ln -s conf$$.file conf$$ 2>/dev/null; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3284 as_ln_s='ln -s'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3285 # ... but there are two gotchas:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3286 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3287 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3288 # In both cases, we have to default to `cp -p'.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3289 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3290 as_ln_s='cp -p'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3291 elif ln conf$$.file conf$$ 2>/dev/null; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3292 as_ln_s=ln
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3293 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3294 as_ln_s='cp -p'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3295 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3296 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3297 as_ln_s='cp -p'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3298 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3299 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3300 rmdir conf$$.dir 2>/dev/null
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3301
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3302
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3303 # as_fn_mkdir_p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3304 # -------------
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3305 # Create "$as_dir" as a directory, including parents if necessary.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3306 as_fn_mkdir_p ()
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3307 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3308
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3309 case $as_dir in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3310 -*) as_dir=./$as_dir;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3311 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3312 test -d "$as_dir" || eval $as_mkdir_p || {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3313 as_dirs=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3314 while :; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3315 case $as_dir in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3316 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3317 *) as_qdir=$as_dir;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3318 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3319 as_dirs="'$as_qdir' $as_dirs"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3320 as_dir=`$as_dirname -- "$as_dir" ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3321 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3322 X"$as_dir" : 'X\(//\)[^/]' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3323 X"$as_dir" : 'X\(//\)$' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3324 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3325 $as_echo X"$as_dir" |
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3327 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3328 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3329 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3330 /^X\(\/\/\)[^/].*/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3331 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3332 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3333 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3334 /^X\(\/\/\)$/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3335 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3336 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3337 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3338 /^X\(\/\).*/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3339 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3340 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3341 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3342 s/.*/./; q'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3343 test -d "$as_dir" && break
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3344 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3345 test -z "$as_dirs" || eval "mkdir $as_dirs"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3346 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3347
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3348
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3349 } # as_fn_mkdir_p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3350 if mkdir -p . 2>/dev/null; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3351 as_mkdir_p='mkdir -p "$as_dir"'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3352 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3353 test -d ./-p && rmdir ./-p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3354 as_mkdir_p=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3355 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3356
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3357 if test -x / >/dev/null 2>&1; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3358 as_test_x='test -x'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3359 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3360 if ls -dL / >/dev/null 2>&1; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3361 as_ls_L_option=L
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3362 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3363 as_ls_L_option=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3364 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3365 as_test_x='
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3366 eval sh -c '\''
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3367 if test -d "$1"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3368 test -d "$1/.";
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3369 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3370 case $1 in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3371 -*)set "./$1";;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3372 esac;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3373 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3374 ???[sx]*):;;*)false;;esac;fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3375 '\'' sh
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3376 '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3377 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3378 as_executable_p=$as_test_x
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3379
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3380 # Sed expression to map a string onto a valid CPP name.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3381 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3382
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3383 # Sed expression to map a string onto a valid variable name.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3384 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3385
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3386
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3387 exec 6>&1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3388 ## ----------------------------------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3389 ## Main body of $CONFIG_STATUS script. ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3390 ## ----------------------------------- ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3391 _ASEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3392 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3393
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3395 # Save the log message, to keep $0 and so on meaningful, and to
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3396 # report actual input values of CONFIG_FILES etc. instead of their
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3397 # values after options handling.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3398 ac_log="
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3399 This file was extended by HTSlib $as_me 1.2.1, which was
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3400 generated by GNU Autoconf 2.68. Invocation command line was
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3401
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3402 CONFIG_FILES = $CONFIG_FILES
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3403 CONFIG_HEADERS = $CONFIG_HEADERS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3404 CONFIG_LINKS = $CONFIG_LINKS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3405 CONFIG_COMMANDS = $CONFIG_COMMANDS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3406 $ $0 $@
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3407
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3408 on `(hostname || uname -n) 2>/dev/null | sed 1q`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3409 "
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3410
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3411 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3412
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3413 case $ac_config_files in *"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3414 "*) set x $ac_config_files; shift; ac_config_files=$*;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3415 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3416
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3417
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3418
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3420 # Files that config.status was made for.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3421 config_files="$ac_config_files"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3422
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3423 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3424
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3426 ac_cs_usage="\
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3427 \`$as_me' instantiates files and other configuration actions
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3428 from templates according to the current configuration. Unless the files
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3429 and actions are specified as TAGs, all are instantiated by default.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3430
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3431 Usage: $0 [OPTION]... [TAG]...
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3432
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3433 -h, --help print this help, then exit
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3434 -V, --version print version number and configuration settings, then exit
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3435 --config print configuration, then exit
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3436 -q, --quiet, --silent
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3437 do not print progress messages
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3438 -d, --debug don't remove temporary files
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3439 --recheck update $as_me by reconfiguring in the same conditions
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3440 --file=FILE[:TEMPLATE]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3441 instantiate the configuration file FILE
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3442
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3443 Configuration files:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3444 $config_files
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3445
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3446 Report bugs to <samtools-help@lists.sourceforge.net>.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3447 HTSlib home page: <http://www.htslib.org/>."
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3448
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3449 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3451 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3452 ac_cs_version="\\
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3453 HTSlib config.status 1.2.1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3454 configured by $0, generated by GNU Autoconf 2.68,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3455 with options \\"\$ac_cs_config\\"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3456
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3457 Copyright (C) 2010 Free Software Foundation, Inc.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3458 This config.status script is free software; the Free Software Foundation
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3459 gives unlimited permission to copy, distribute and modify it."
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3460
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3461 ac_pwd='$ac_pwd'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3462 srcdir='$srcdir'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3463 test -n "\$AWK" || AWK=awk
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3464 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3465
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3467 # The default lists apply if the user does not specify any file.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3468 ac_need_defaults=:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3469 while test $# != 0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3470 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3471 case $1 in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3472 --*=?*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3473 ac_option=`expr "X$1" : 'X\([^=]*\)='`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3474 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3475 ac_shift=:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3476 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3477 --*=)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3478 ac_option=`expr "X$1" : 'X\([^=]*\)='`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3479 ac_optarg=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3480 ac_shift=:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3481 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3482 *)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3483 ac_option=$1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3484 ac_optarg=$2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3485 ac_shift=shift
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3486 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3487 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3488
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3489 case $ac_option in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3490 # Handling of the options.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3491 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3492 ac_cs_recheck=: ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3493 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3494 $as_echo "$ac_cs_version"; exit ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3495 --config | --confi | --conf | --con | --co | --c )
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3496 $as_echo "$ac_cs_config"; exit ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3497 --debug | --debu | --deb | --de | --d | -d )
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3498 debug=: ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3499 --file | --fil | --fi | --f )
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3500 $ac_shift
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3501 case $ac_optarg in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3502 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3503 '') as_fn_error $? "missing file argument" ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3504 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3505 as_fn_append CONFIG_FILES " '$ac_optarg'"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3506 ac_need_defaults=false;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3507 --he | --h | --help | --hel | -h )
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3508 $as_echo "$ac_cs_usage"; exit ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3509 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3510 | -silent | --silent | --silen | --sile | --sil | --si | --s)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3511 ac_cs_silent=: ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3512
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3513 # This is an error.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3514 -*) as_fn_error $? "unrecognized option: \`$1'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3515 Try \`$0 --help' for more information." ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3516
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3517 *) as_fn_append ac_config_targets " $1"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3518 ac_need_defaults=false ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3519
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3520 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3521 shift
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3522 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3523
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3524 ac_configure_extra_args=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3525
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3526 if $ac_cs_silent; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3527 exec 6>/dev/null
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3528 ac_configure_extra_args="$ac_configure_extra_args --silent"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3529 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3530
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3531 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3533 if \$ac_cs_recheck; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3534 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3535 shift
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3536 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3537 CONFIG_SHELL='$SHELL'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3538 export CONFIG_SHELL
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3539 exec "\$@"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3540 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3541
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3542 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3544 exec 5>>config.log
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3545 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3546 echo
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3547 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3548 ## Running $as_me. ##
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3549 _ASBOX
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3550 $as_echo "$ac_log"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3551 } >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3552
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3553 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3555 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3556
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3558
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3559 # Handling of arguments.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3560 for ac_config_target in $ac_config_targets
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3561 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3562 case $ac_config_target in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3563 "config.mk") CONFIG_FILES="$CONFIG_FILES config.mk" ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3564
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3565 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3566 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3567 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3568
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3569
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3570 # If the user did not use the arguments to specify the items to instantiate,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3571 # then the envvar interface is used. Set only those that are not.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3572 # We use the long form for the default assignment because of an extremely
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3573 # bizarre bug on SunOS 4.1.3.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3574 if $ac_need_defaults; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3575 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3576 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3577
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3578 # Have a temporary directory for convenience. Make it in the build tree
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3579 # simply because there is no reason against having it here, and in addition,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3580 # creating and moving files from /tmp can sometimes cause problems.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3581 # Hook for its removal unless debugging.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3582 # Note that there is a small window in which the directory will not be cleaned:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3583 # after its creation but before its name has been assigned to `$tmp'.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3584 $debug ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3585 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3586 tmp= ac_tmp=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3587 trap 'exit_status=$?
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3588 : "${ac_tmp:=$tmp}"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3589 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3590 ' 0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3591 trap 'as_fn_exit 1' 1 2 13 15
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3592 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3593 # Create a (secure) tmp directory for tmp files.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3594
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3595 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3596 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3597 test -d "$tmp"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3598 } ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3599 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3600 tmp=./conf$$-$RANDOM
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3601 (umask 077 && mkdir "$tmp")
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3602 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3603 ac_tmp=$tmp
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3604
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3605 # Set up the scripts for CONFIG_FILES section.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3606 # No need to generate them if there are no CONFIG_FILES.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3607 # This happens for instance with `./config.status config.h'.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3608 if test -n "$CONFIG_FILES"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3609
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3610
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3611 ac_cr=`echo X | tr X '\015'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3612 # On cygwin, bash can eat \r inside `` if the user requested igncr.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3613 # But we know of no other shell where ac_cr would be empty at this
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3614 # point, so we can use a bashism as a fallback.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3615 if test "x$ac_cr" = x; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3616 eval ac_cr=\$\'\\r\'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3617 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3618 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3619 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3620 ac_cs_awk_cr='\\r'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3621 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3622 ac_cs_awk_cr=$ac_cr
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3623 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3624
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3625 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3626 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3627
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3628
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3629 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3630 echo "cat >conf$$subs.awk <<_ACEOF" &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3631 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3632 echo "_ACEOF"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3633 } >conf$$subs.sh ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3634 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3635 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3636 ac_delim='%!_!# '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3637 for ac_last_try in false false false false false :; do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3638 . ./conf$$subs.sh ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3639 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3640
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3641 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3642 if test $ac_delim_n = $ac_delim_num; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3643 break
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3644 elif $ac_last_try; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3645 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3646 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3647 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3648 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3649 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3650 rm -f conf$$subs.sh
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3651
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3653 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3654 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3655 sed -n '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3656 h
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3657 s/^/S["/; s/!.*/"]=/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3658 p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3659 g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3660 s/^[^!]*!//
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3661 :repl
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3662 t repl
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3663 s/'"$ac_delim"'$//
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3664 t delim
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3665 :nl
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3666 h
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3667 s/\(.\{148\}\)..*/\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3668 t more1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3669 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3670 p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3671 n
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3672 b repl
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3673 :more1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3674 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3675 p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3676 g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3677 s/.\{148\}//
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3678 t nl
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3679 :delim
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3680 h
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3681 s/\(.\{148\}\)..*/\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3682 t more2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3683 s/["\\]/\\&/g; s/^/"/; s/$/"/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3684 p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3685 b
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3686 :more2
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3687 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3688 p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3689 g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3690 s/.\{148\}//
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3691 t delim
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3692 ' <conf$$subs.awk | sed '
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3693 /^[^""]/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3694 N
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3695 s/\n//
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3696 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3697 ' >>$CONFIG_STATUS || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3698 rm -f conf$$subs.awk
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3700 _ACAWK
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3701 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3702 for (key in S) S_is_set[key] = 1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3703 FS = ""
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3704
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3705 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3706 {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3707 line = $ 0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3708 nfields = split(line, field, "@")
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3709 substed = 0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3710 len = length(field[1])
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3711 for (i = 2; i < nfields; i++) {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3712 key = field[i]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3713 keylen = length(key)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3714 if (S_is_set[key]) {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3715 value = S[key]
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3716 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3717 len += length(value) + length(field[++i])
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3718 substed = 1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3719 } else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3720 len += 1 + keylen
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3721 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3722
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3723 print line
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3724 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3725
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3726 _ACAWK
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3727 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3729 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3730 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3731 else
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3732 cat
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3733 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3734 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3735 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3736
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3737 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3738 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3739 # trailing colons and then remove the whole line if VPATH becomes empty
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3740 # (actually we leave an empty line to preserve line numbers).
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3741 if test "x$srcdir" = x.; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3742 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3743 h
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3744 s///
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3745 s/^/:/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3746 s/[ ]*$/:/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3747 s/:\$(srcdir):/:/g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3748 s/:\${srcdir}:/:/g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3749 s/:@srcdir@:/:/g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3750 s/^:*//
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3751 s/:*$//
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3752 x
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3753 s/\(=[ ]*\).*/\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3754 G
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3755 s/\n//
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3756 s/^[^=]*=[ ]*$//
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3757 }'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3758 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3759
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3761 fi # test -n "$CONFIG_FILES"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3762
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3763
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3764 eval set X " :F $CONFIG_FILES "
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3765 shift
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3766 for ac_tag
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3767 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3768 case $ac_tag in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3769 :[FHLC]) ac_mode=$ac_tag; continue;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3770 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3771 case $ac_mode$ac_tag in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3772 :[FHL]*:*);;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3773 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3774 :[FH]-) ac_tag=-:-;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3775 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3776 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3777 ac_save_IFS=$IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3778 IFS=:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3779 set x $ac_tag
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3780 IFS=$ac_save_IFS
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3781 shift
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3782 ac_file=$1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3783 shift
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3784
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3785 case $ac_mode in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3786 :L) ac_source=$1;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3787 :[FH])
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3788 ac_file_inputs=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3789 for ac_f
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3790 do
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3791 case $ac_f in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3792 -) ac_f="$ac_tmp/stdin";;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3793 *) # Look for the file first in the build tree, then in the source tree
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3794 # (if the path is not absolute). The absolute path cannot be DOS-style,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3795 # because $ac_f cannot contain `:'.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3796 test -f "$ac_f" ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3797 case $ac_f in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3798 [\\/$]*) false;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3799 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3800 esac ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3801 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3802 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3803 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3804 as_fn_append ac_file_inputs " '$ac_f'"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3805 done
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3806
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3807 # Let's still pretend it is `configure' which instantiates (i.e., don't
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3808 # use $as_me), people would be surprised to read:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3809 # /* config.h. Generated by config.status. */
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3810 configure_input='Generated from '`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3811 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3812 `' by configure.'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3813 if test x"$ac_file" != x-; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3814 configure_input="$ac_file. $configure_input"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3816 $as_echo "$as_me: creating $ac_file" >&6;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3817 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3818 # Neutralize special characters interpreted by sed in replacement strings.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3819 case $configure_input in #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3820 *\&* | *\|* | *\\* )
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3821 ac_sed_conf_input=`$as_echo "$configure_input" |
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3822 sed 's/[\\\\&|]/\\\\&/g'`;; #(
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3823 *) ac_sed_conf_input=$configure_input;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3824 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3825
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3826 case $ac_tag in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3827 *:-:* | *:-) cat >"$ac_tmp/stdin" \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3828 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3829 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3830 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3831 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3832
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3833 ac_dir=`$as_dirname -- "$ac_file" ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3834 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3835 X"$ac_file" : 'X\(//\)[^/]' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3836 X"$ac_file" : 'X\(//\)$' \| \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3837 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3838 $as_echo X"$ac_file" |
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3840 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3841 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3842 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3843 /^X\(\/\/\)[^/].*/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3844 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3845 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3846 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3847 /^X\(\/\/\)$/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3848 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3849 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3850 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3851 /^X\(\/\).*/{
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3852 s//\1/
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3853 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3854 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3855 s/.*/./; q'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3856 as_dir="$ac_dir"; as_fn_mkdir_p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3857 ac_builddir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3858
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3859 case "$ac_dir" in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3860 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3861 *)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3862 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3863 # A ".." for each directory in $ac_dir_suffix.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3864 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3865 case $ac_top_builddir_sub in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3866 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3867 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3868 esac ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3869 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3870 ac_abs_top_builddir=$ac_pwd
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3871 ac_abs_builddir=$ac_pwd$ac_dir_suffix
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3872 # for backward compatibility:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3873 ac_top_builddir=$ac_top_build_prefix
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3874
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3875 case $srcdir in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3876 .) # We are building in place.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3877 ac_srcdir=.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3878 ac_top_srcdir=$ac_top_builddir_sub
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3879 ac_abs_top_srcdir=$ac_pwd ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3880 [\\/]* | ?:[\\/]* ) # Absolute name.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3881 ac_srcdir=$srcdir$ac_dir_suffix;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3882 ac_top_srcdir=$srcdir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3883 ac_abs_top_srcdir=$srcdir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3884 *) # Relative name.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3885 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3886 ac_top_srcdir=$ac_top_build_prefix$srcdir
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3887 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3888 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3889 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3890
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3891
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3892 case $ac_mode in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3893 :F)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3894 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3895 # CONFIG_FILE
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3896 #
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3897
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3898 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3899
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3901 # If the template does not know about datarootdir, expand it.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3902 # FIXME: This hack should be removed a few years after 2.60.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3903 ac_datarootdir_hack=; ac_datarootdir_seen=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3904 ac_sed_dataroot='
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3905 /datarootdir/ {
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3906 p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3907 q
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3908 }
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3909 /@datadir@/p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3910 /@docdir@/p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3911 /@infodir@/p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3912 /@localedir@/p
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3913 /@mandir@/p'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3914 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3915 *datarootdir*) ac_datarootdir_seen=yes;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3916 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3918 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3919 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3921 ac_datarootdir_hack='
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3922 s&@datadir@&$datadir&g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3923 s&@docdir@&$docdir&g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3924 s&@infodir@&$infodir&g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3925 s&@localedir@&$localedir&g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3926 s&@mandir@&$mandir&g
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3927 s&\\\${datarootdir}&$datarootdir&g' ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3928 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3929 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3930
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3931 # Neutralize VPATH when `$srcdir' = `.'.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3932 # Shell code in configure.ac might set extrasub.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3933 # FIXME: do we really want to maintain this feature?
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3935 ac_sed_extra="$ac_vpsub
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3936 $extrasub
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3937 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3939 :t
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3941 s|@configure_input@|$ac_sed_conf_input|;t t
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3942 s&@top_builddir@&$ac_top_builddir_sub&;t t
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3943 s&@top_build_prefix@&$ac_top_build_prefix&;t t
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3944 s&@srcdir@&$ac_srcdir&;t t
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3945 s&@abs_srcdir@&$ac_abs_srcdir&;t t
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3946 s&@top_srcdir@&$ac_top_srcdir&;t t
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3947 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3948 s&@builddir@&$ac_builddir&;t t
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3949 s&@abs_builddir@&$ac_abs_builddir&;t t
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3950 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3951 $ac_datarootdir_hack
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3952 "
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3953 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3954 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3955
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3956 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3957 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3958 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3959 "$ac_tmp/out"`; test -z "$ac_out"; } &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3961 which seems to be undefined. Please make sure it is defined" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3962 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3963 which seems to be undefined. Please make sure it is defined" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3964
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3965 rm -f "$ac_tmp/stdin"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3966 case $ac_file in
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3967 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3968 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3969 esac \
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3970 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3971 ;;
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3972
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3973
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3974
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3975 esac
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3976
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3977 done # for ac_tag
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3978
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3979
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3980 as_fn_exit 0
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3981 _ACEOF
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3982 ac_clean_files=$ac_clean_files_save
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3983
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3984 test $ac_write_fail = 0 ||
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3985 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3986
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3987
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3988 # configure is writing to config.log, and then calls config.status.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3989 # config.status does its own redirection, appending to config.log.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3990 # Unfortunately, on DOS this fails, as config.log is still kept open
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3991 # by configure, so config.status won't be able to write to it; its
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3992 # output is simply discarded. So we exec the FD to /dev/null,
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3993 # effectively closing config.log, so it can be properly (re)opened and
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3994 # appended to by config.status. When coming back to configure, we
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3995 # need to make the FD available again.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3996 if test "$no_create" != yes; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3997 ac_cs_success=:
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3998 ac_config_status_args=
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
3999 test "$silent" = yes &&
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4000 ac_config_status_args="$ac_config_status_args --quiet"
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4001 exec 5>/dev/null
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4002 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4003 exec 5>>config.log
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4004 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4005 # would make configure fail if this is the last instruction.
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4006 $ac_cs_success || as_fn_exit 1
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4007 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4008 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4010 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4011 fi
dfa3745e5fd8 Uploaded
youngkim
parents:
diff changeset
4012