llvm.org GIT mirror llvm / e0c1a3e
[autoconf] Regenerate autoconf configure script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232063 91177308-0d34-0410-b5e6-96231b3b80d8 Logan Chien 4 years ago
1 changed file(s) with 311 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
704704 TARGETS_WITH_JIT
705705 ENABLE_DOCS
706706 ENABLE_DOXYGEN
707 enable_searchengine
708 enable_external_search
709 enable_server_based_search
710 searchengine_url
711 extra_search_mappings
712 QHELPGENERATOR
713 llvm_doxygen_generate_qhp
714 llvm_doxygen_qch_filename
715 llvm_doxygen_qhp_namespace
716 llvm_doxygen_qhelpgenerator_path
717 llvm_doxygen_qhp_cust_filter_name
718 llvm_doxygen_qhp_cust_filter_attrs
719 clang_doxygen_generate_qhp
720 clang_doxygen_qch_filename
721 clang_doxygen_qhp_namespace
722 clang_doxygen_qhelpgenerator_path
723 clang_doxygen_qhp_cust_filter_name
724 clang_doxygen_qhp_cust_filter_attrs
707725 LLVM_ENABLE_THREADS
708726 ENABLE_PTHREADS
709727 LLVM_ENABLE_ZLIB
14151433 --enable-jit Enable Just In Time Compiling (default is YES)
14161434 --enable-docs Build documents (default is YES)
14171435 --enable-doxygen Build doxygen documentation (default is NO)
1436 --enable-doxygen-search Enable doxygen search support (default is NO)
1437 --enable-doxygen-external-search
1438 Enable doxygen exteranl search (default is NO)
1439 --enable-doxygen-qt-help
1440 Build Qt help files (default is NO)
14181441 --enable-threads Use threads if available (default is YES)
14191442 --enable-pthreads Use pthreads if available (default is YES)
14201443 --enable-zlib Use zlib for compression/decompression if available
14491472 Optional Packages:
14501473 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
14511474 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1475 --with-doxygen-search-engine-url
1476 Specify the external search engine for doxygen
1477 --with-doxygen-search-mappings
1478 Specify the extra search mapping for doxygen
14521479 --with-optimize-option Select the compiler options to use for optimized
14531480 builds
14541481 --with-extra-options Specify additional options to compile LLVM with
51135140 case "$enableval" in
51145141 yes) ENABLE_DOXYGEN=1
51155142 ;;
5116 no) ENABLE_DOXYGEN=0
5117 ;;
5118 default) ENABLE_DOXYGEN=0
5143 no|default) ENABLE_DOXYGEN=0
51195144 ;;
51205145 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&5
51215146 echo "$as_me: error: Invalid setting for --enable-doxygen. Use \"yes\" or \"no\"" >&2;}
5147 { (exit 1); exit 1; }; } ;;
5148 esac
5149
5150 # Check whether --enable-doxygen-search was given.
5151 if test "${enable_doxygen_search+set}" = set; then
5152 enableval=$enable_doxygen_search;
5153 else
5154 enableval=default
5155 fi
5156
5157 ENABLE_DOXYGEN_SEARCH="$enableval"
5158
5159 case "$enableval" in
5160 yes|no|default) ;;
5161 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen-search. Use \"yes\" or \"no\"" >&5
5162 echo "$as_me: error: Invalid setting for --enable-doxygen-search. Use \"yes\" or \"no\"" >&2;}
5163 { (exit 1); exit 1; }; } ;;
5164 esac
5165
5166 # Check whether --enable-doxygen-external-search was given.
5167 if test "${enable_doxygen_external_search+set}" = set; then
5168 enableval=$enable_doxygen_external_search;
5169 else
5170 enableval=default
5171 fi
5172
5173 ENABLE_DOXYGEN_EXTERNAL_SEARCH="$enableval"
5174
5175 case "$enableval" in
5176 yes)
5177 case "$ENABLE_DOXYGEN_SEARCH" in
5178 yes|default) ENABLE_DOXYGEN_SEARCH="yes" ;;
5179 no) { { echo "$as_me:$LINENO: error: The option --enable-doxygen-external-search requires --enable-doxygen-search" >&5
5180 echo "$as_me: error: The option --enable-doxygen-external-search requires --enable-doxygen-search" >&2;}
5181 { (exit 1); exit 1; }; } ;;
5182 esac
5183 ;;
5184 no|default) ;;
5185 *) { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen-external-search. Use \"yes\" or \"no\"" >&5
5186 echo "$as_me: error: Invalid setting for --enable-doxygen-external-search. Use \"yes\" or \"no\"" >&2;}
5187 { (exit 1); exit 1; }; } ;;
5188 esac
5189
5190
5191 # Check whether --with-doxygen-search-engine-url was given.
5192 if test "${with_doxygen_search_engine_url+set}" = set; then
5193 withval=$with_doxygen_search_engine_url;
5194 fi
5195
5196 WITH_DOXYGEN_SEARCH_ENGINE_URL="$withval"
5197
5198
5199 # Check whether --with-doxygen-search-mappings was given.
5200 if test "${with_doxygen_search_mappings+set}" = set; then
5201 withval=$with_doxygen_search_mappings;
5202 fi
5203
5204 WITH_DOXYGEN_SEARCH_MAPPINGS="$withval"
5205
5206 case "$ENABLE_DOXYGEN_SEARCH" in
5207 yes)
5208 if test "$ENABLE_DOXYGEN" = "0" ; then
5209 { { echo "$as_me:$LINENO: error: The option --enable-doxygen-search requires --enable-doxygen." >&5
5210 echo "$as_me: error: The option --enable-doxygen-search requires --enable-doxygen." >&2;}
5211 { (exit 1); exit 1; }; }
5212 fi
5213
5214 enable_searchengine=YES
5215
5216
5217 case "$ENABLE_DOXYGEN_EXTERNAL_SEARCH" in
5218 yes)
5219 enable_external_search=YES
5220
5221 enable_server_based_search=YES
5222
5223 searchengine_url=$WITH_DOXYGEN_SEARCH_ENGINE_URL
5224
5225 extra_search_mappings=$WITH_DOXYGEN_SEARCH_MAPPINGS
5226
5227 ;;
5228
5229 no|default)
5230 enable_external_search=NO
5231
5232 enable_server_based_search=NO
5233
5234
5235
5236 ;;
5237 esac
5238 ;;
5239
5240 no|default)
5241 enable_searchengine=NO
5242
5243
5244 enable_server_based_search=NO
5245
5246 enable_external_search=NO
5247
5248
5249 ;;
5250
5251 *)
5252 { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen-search. Use \"yes\" or \"no\"" >&5
5253 echo "$as_me: error: Invalid setting for --enable-doxygen-search. Use \"yes\" or \"no\"" >&2;}
5254 { (exit 1); exit 1; }; }
5255 ;;
5256 esac
5257
5258 # Check whether --enable-doxygen-qt-help was given.
5259 if test "${enable_doxygen_qt_help+set}" = set; then
5260 enableval=$enable_doxygen_qt_help;
5261 else
5262 enableval=default
5263 fi
5264
5265 case "$enableval" in
5266 yes)
5267 if test "$ENABLE_DOXYGEN" = "0" ; then
5268 { { echo "$as_me:$LINENO: error: The option --enable-doxygen-qt-help requires --enable-doxygen." >&5
5269 echo "$as_me: error: The option --enable-doxygen-qt-help requires --enable-doxygen." >&2;}
5270 { (exit 1); exit 1; }; }
5271 fi
5272
5273 # Extract the first word of "qhelpgenerator", so it can be a program name with args.
5274 set dummy qhelpgenerator; ac_word=$2
5275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5277 if test "${ac_cv_path_QHELPGENERATOR+set}" = set; then
5278 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 else
5280 case $QHELPGENERATOR in
5281 [\\/]* | ?:[\\/]*)
5282 ac_cv_path_QHELPGENERATOR="$QHELPGENERATOR" # Let the user override the test with a path.
5283 ;;
5284 *)
5285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5286 for as_dir in $PATH
5287 do
5288 IFS=$as_save_IFS
5289 test -z "$as_dir" && as_dir=.
5290 for ac_exec_ext in '' $ac_executable_extensions; do
5291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5292 ac_cv_path_QHELPGENERATOR="$as_dir/$ac_word$ac_exec_ext"
5293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5294 break 2
5295 fi
5296 done
5297 done
5298 IFS=$as_save_IFS
5299
5300 test -z "$ac_cv_path_QHELPGENERATOR" && ac_cv_path_QHELPGENERATOR="qhelpgenerator"
5301 ;;
5302 esac
5303 fi
5304 QHELPGENERATOR=$ac_cv_path_QHELPGENERATOR
5305 if test -n "$QHELPGENERATOR"; then
5306 { echo "$as_me:$LINENO: result: $QHELPGENERATOR" >&5
5307 echo "${ECHO_T}$QHELPGENERATOR" >&6; }
5308 else
5309 { echo "$as_me:$LINENO: result: no" >&5
5310 echo "${ECHO_T}no" >&6; }
5311 fi
5312
5313
5314
5315 llvm_doxygen_generate_qhp=YES
5316
5317 llvm_doxygen_qch_filename=org.llvm.qch
5318
5319 llvm_doxygen_qhp_namespace=org.llvm
5320
5321 llvm_doxygen_qhelpgenerator_path=$QHELPGENERATOR
5322
5323 llvm_doxygen_qhp_cust_filter_name=$PACKAGE_STRING
5324
5325 llvm_doxygen_qhp_cust_filter_attrs=$PACKAGE_NAME,$PACKAGE_VERSION
5326
5327
5328 clang_doxygen_generate_qhp=YES
5329
5330 clang_doxygen_qch_filename=org.llvm.clang.qch
5331
5332 clang_doxygen_qhp_namespace=org.llvm.clang
5333
5334 clang_doxygen_qhelpgenerator_path=$QHELPGENERATOR
5335
5336 clang_doxygen_qhp_cust_filter_name=Clang $PACKAGE_VERSION
5337
5338 clang_doxygen_qhp_cust_filter_attrs=Clang,$PACKAGE_VERSION
5339
5340 ;;
5341
5342 no|default)
5343 llvm_doxygen_generate_qhp=NO
5344
5345
5346
5347
5348
5349
5350
5351 clang_doxygen_generate_qhp=NO
5352
5353
5354
5355
5356 clang_doxygen_qhp_cust_filter_name=Clang $PACKAGE_VERSION
5357
5358 clang_doxygen_qhp_cust_filter_attrs=Clang,$PACKAGE_VERSION
5359
5360 ;;
5361
5362 *)
5363 { { echo "$as_me:$LINENO: error: Invalid setting for --enable-doxygen-qt-help. Use \"yes\" or \"no\"" >&5
5364 echo "$as_me: error: Invalid setting for --enable-doxygen-qt-help. Use \"yes\" or \"no\"" >&2;}
51225365 { (exit 1); exit 1; }; } ;;
51235366 esac
51245367
1860918852 TARGETS_WITH_JIT!$TARGETS_WITH_JIT$ac_delim
1861018853 ENABLE_DOCS!$ENABLE_DOCS$ac_delim
1861118854 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
18855 enable_searchengine!$enable_searchengine$ac_delim
18856 enable_external_search!$enable_external_search$ac_delim
18857 enable_server_based_search!$enable_server_based_search$ac_delim
18858 searchengine_url!$searchengine_url$ac_delim
18859 extra_search_mappings!$extra_search_mappings$ac_delim
18860 QHELPGENERATOR!$QHELPGENERATOR$ac_delim
18861 llvm_doxygen_generate_qhp!$llvm_doxygen_generate_qhp$ac_delim
18862 llvm_doxygen_qch_filename!$llvm_doxygen_qch_filename$ac_delim
18863 llvm_doxygen_qhp_namespace!$llvm_doxygen_qhp_namespace$ac_delim
18864 llvm_doxygen_qhelpgenerator_path!$llvm_doxygen_qhelpgenerator_path$ac_delim
18865 llvm_doxygen_qhp_cust_filter_name!$llvm_doxygen_qhp_cust_filter_name$ac_delim
18866 llvm_doxygen_qhp_cust_filter_attrs!$llvm_doxygen_qhp_cust_filter_attrs$ac_delim
18867 clang_doxygen_generate_qhp!$clang_doxygen_generate_qhp$ac_delim
18868 clang_doxygen_qch_filename!$clang_doxygen_qch_filename$ac_delim
18869 clang_doxygen_qhp_namespace!$clang_doxygen_qhp_namespace$ac_delim
18870 clang_doxygen_qhelpgenerator_path!$clang_doxygen_qhelpgenerator_path$ac_delim
18871 clang_doxygen_qhp_cust_filter_name!$clang_doxygen_qhp_cust_filter_name$ac_delim
18872 clang_doxygen_qhp_cust_filter_attrs!$clang_doxygen_qhp_cust_filter_attrs$ac_delim
1861218873 LLVM_ENABLE_THREADS!$LLVM_ENABLE_THREADS$ac_delim
1861318874 ENABLE_PTHREADS!$ENABLE_PTHREADS$ac_delim
1861418875 LLVM_ENABLE_ZLIB!$LLVM_ENABLE_ZLIB$ac_delim
1868218943 SHLIBEXT!$SHLIBEXT$ac_delim
1868318944 LLVM_PREFIX!$LLVM_PREFIX$ac_delim
1868418945 LLVM_BINDIR!$LLVM_BINDIR$ac_delim
18946 _ACEOF
18947
18948 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
18949 break
18950 elif $ac_last_try; then
18951 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18952 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18953 { (exit 1); exit 1; }; }
18954 else
18955 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18956 fi
18957 done
18958
18959 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
18960 if test -n "$ac_eof"; then
18961 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
18962 ac_eof=`expr $ac_eof + 1`
18963 fi
18964
18965 cat >>$CONFIG_STATUS <<_ACEOF
18966 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
18967 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18968 _ACEOF
18969 sed '
18970 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
18971 s/^/s,@/; s/!/@,|#_!!_#|/
18972 :n
18973 t n
18974 s/'"$ac_delim"'$/,g/; t
18975 s/$/\\/; p
18976 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
18977 ' >>$CONFIG_STATUS
18978 rm -f conf$$subs.sed
18979 cat >>$CONFIG_STATUS <<_ACEOF
18980 CEOF$ac_eof
18981 _ACEOF
18982
18983
18984 ac_delim='%!_!# '
18985 for ac_last_try in false false false false false :; do
18986 cat >conf$$subs.sed <<_ACEOF
1868518987 LLVM_DATADIR!$LLVM_DATADIR$ac_delim
1868618988 LLVM_DOCSDIR!$LLVM_DOCSDIR$ac_delim
1868718989 LLVM_ETCDIR!$LLVM_ETCDIR$ac_delim
1870119003 LTLIBOBJS!$LTLIBOBJS$ac_delim
1870219004 _ACEOF
1870319005
18704 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then
19006 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
1870519007 break
1870619008 elif $ac_last_try; then
1870719009 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
1871919021 fi
1872019022
1872119023 cat >>$CONFIG_STATUS <<_ACEOF
18722 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
18723 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19024 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
19025 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
1872419026 _ACEOF
1872519027 sed '
1872619028 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
1873319035 ' >>$CONFIG_STATUS
1873419036 rm -f conf$$subs.sed
1873519037 cat >>$CONFIG_STATUS <<_ACEOF
19038 :end
19039 s/|#_!!_#|//g
1873619040 CEOF$ac_eof
1873719041 _ACEOF
1873819042
1898019284 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1898119285 s&@INSTALL@&$ac_INSTALL&;t t
1898219286 $ac_datarootdir_hack
18983 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed 's/|#_!!_#|//g' >$tmp/out
19287 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
1898419288
1898519289 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1898619290 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&