configure 74 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.54 for UNITS 1.0.
  4. #
  5. # Report bugs to <zahn.sharon@mayo.edu>.
  6. #
  7. # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  8. # Free Software Foundation, Inc.
  9. # This configure script is free software; the Free Software Foundation
  10. # gives unlimited permission to copy, distribute and modify it.
  11. ## --------------------- ##
  12. ## M4sh Initialization. ##
  13. ## --------------------- ##
  14. # Be Bourne compatible
  15. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  16. emulate sh
  17. NULLCMD=:
  18. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  19. # is contrary to our usage. Disable this feature.
  20. alias -g '${1+"$@"}'='"$@"'
  21. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  22. set -o posix
  23. fi
  24. # Support unset when possible.
  25. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  26. as_unset=unset
  27. else
  28. as_unset=false
  29. fi
  30. # Work around bugs in pre-3.0 UWIN ksh.
  31. $as_unset ENV MAIL MAILPATH
  32. PS1='$ '
  33. PS2='> '
  34. PS4='+ '
  35. # NLS nuisances.
  36. for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
  37. do
  38. if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  39. eval $as_var=C; export $as_var
  40. else
  41. $as_unset $as_var
  42. fi
  43. done
  44. # Required to use basename.
  45. if expr a : '\(a\)' >/dev/null 2>&1; then
  46. as_expr=expr
  47. else
  48. as_expr=false
  49. fi
  50. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  51. as_basename=basename
  52. else
  53. as_basename=false
  54. fi
  55. # Name of the executable.
  56. as_me=`$as_basename "$0" ||
  57. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  58. X"$0" : 'X\(//\)$' \| \
  59. X"$0" : 'X\(/\)$' \| \
  60. . : '\(.\)' 2>/dev/null ||
  61. echo X/"$0" |
  62. sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  63. /^X\/\(\/\/\)$/{ s//\1/; q; }
  64. /^X\/\(\/\).*/{ s//\1/; q; }
  65. s/.*/./; q'`
  66. # PATH needs CR, and LINENO needs CR and PATH.
  67. # Avoid depending upon Character Ranges.
  68. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  69. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  70. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  71. as_cr_digits='0123456789'
  72. as_cr_alnum=$as_cr_Letters$as_cr_digits
  73. # The user is always right.
  74. if test "${PATH_SEPARATOR+set}" != set; then
  75. echo "#! /bin/sh" >conftest.sh
  76. echo "exit 0" >>conftest.sh
  77. chmod +x conftest.sh
  78. if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
  79. PATH_SEPARATOR=';'
  80. else
  81. PATH_SEPARATOR=:
  82. fi
  83. rm -f conftest.sh
  84. fi
  85. as_lineno_1=$LINENO
  86. as_lineno_2=$LINENO
  87. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  88. test "x$as_lineno_1" != "x$as_lineno_2" &&
  89. test "x$as_lineno_3" = "x$as_lineno_2" || {
  90. # Find who we are. Look in the path if we contain no path at all
  91. # relative or not.
  92. case $0 in
  93. *[\\/]* ) as_myself=$0 ;;
  94. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  95. for as_dir in $PATH
  96. do
  97. IFS=$as_save_IFS
  98. test -z "$as_dir" && as_dir=.
  99. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  100. done
  101. ;;
  102. esac
  103. # We did not find ourselves, most probably we were run as `sh COMMAND'
  104. # in which case we are not to be found in the path.
  105. if test "x$as_myself" = x; then
  106. as_myself=$0
  107. fi
  108. if test ! -f "$as_myself"; then
  109. { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
  110. { (exit 1); exit 1; }; }
  111. fi
  112. case $CONFIG_SHELL in
  113. '')
  114. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  115. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  116. do
  117. IFS=$as_save_IFS
  118. test -z "$as_dir" && as_dir=.
  119. for as_base in sh bash ksh sh5; do
  120. case $as_dir in
  121. /*)
  122. if ("$as_dir/$as_base" -c '
  123. as_lineno_1=$LINENO
  124. as_lineno_2=$LINENO
  125. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  126. test "x$as_lineno_1" != "x$as_lineno_2" &&
  127. test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  128. $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  129. $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  130. CONFIG_SHELL=$as_dir/$as_base
  131. export CONFIG_SHELL
  132. exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  133. fi;;
  134. esac
  135. done
  136. done
  137. ;;
  138. esac
  139. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  140. # uniformly replaced by the line number. The first 'sed' inserts a
  141. # line-number line before each line; the second 'sed' does the real
  142. # work. The second script uses 'N' to pair each line-number line
  143. # with the numbered line, and appends trailing '-' during
  144. # substitution so that $LINENO is not a special case at line end.
  145. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  146. # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  147. sed '=' <$as_myself |
  148. sed '
  149. N
  150. s,$,-,
  151. : loop
  152. s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  153. t loop
  154. s,-$,,
  155. s,^['$as_cr_digits']*\n,,
  156. ' >$as_me.lineno &&
  157. chmod +x $as_me.lineno ||
  158. { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  159. { (exit 1); exit 1; }; }
  160. # Don't try to exec as it changes $[0], causing all sort of problems
  161. # (the dirname of $[0] is not the place where we might find the
  162. # original and so on. Autoconf is especially sensible to this).
  163. . ./$as_me.lineno
  164. # Exit status is that of the last command.
  165. exit
  166. }
  167. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  168. *c*,-n*) ECHO_N= ECHO_C='
  169. ' ECHO_T=' ' ;;
  170. *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  171. *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  172. esac
  173. if expr a : '\(a\)' >/dev/null 2>&1; then
  174. as_expr=expr
  175. else
  176. as_expr=false
  177. fi
  178. rm -f conf$$ conf$$.exe conf$$.file
  179. echo >conf$$.file
  180. if ln -s conf$$.file conf$$ 2>/dev/null; then
  181. # We could just check for DJGPP; but this test a) works b) is more generic
  182. # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  183. if test -f conf$$.exe; then
  184. # Don't use ln at all; we don't have any links
  185. as_ln_s='cp -p'
  186. else
  187. as_ln_s='ln -s'
  188. fi
  189. elif ln conf$$.file conf$$ 2>/dev/null; then
  190. as_ln_s=ln
  191. else
  192. as_ln_s='cp -p'
  193. fi
  194. rm -f conf$$ conf$$.exe conf$$.file
  195. if mkdir -p . 2>/dev/null; then
  196. as_mkdir_p=:
  197. else
  198. as_mkdir_p=false
  199. fi
  200. as_executable_p="test -f"
  201. # Sed expression to map a string onto a valid CPP name.
  202. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  203. # Sed expression to map a string onto a valid variable name.
  204. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  205. # IFS
  206. # We need space, tab and new line, in precisely that order.
  207. as_nl='
  208. '
  209. IFS=" $as_nl"
  210. # CDPATH.
  211. $as_unset CDPATH
  212. # Name of the host.
  213. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  214. # so uname gets run too.
  215. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  216. exec 6>&1
  217. #
  218. # Initializations.
  219. #
  220. ac_default_prefix=/usr/local
  221. ac_config_libobj_dir=.
  222. cross_compiling=no
  223. subdirs=
  224. MFLAGS=
  225. MAKEFLAGS=
  226. SHELL=${CONFIG_SHELL-/bin/sh}
  227. # Maximum number of lines to put in a shell here document.
  228. # This variable seems obsolete. It should probably be removed, and
  229. # only ac_max_sed_lines should be used.
  230. : ${ac_max_here_lines=38}
  231. # Identity of this package.
  232. PACKAGE_NAME='UNITS'
  233. PACKAGE_TARNAME='units'
  234. PACKAGE_VERSION='1.0'
  235. PACKAGE_STRING='UNITS 1.0'
  236. PACKAGE_BUGREPORT='zahn.sharon@mayo.edu'
  237. ac_unique_file=""
  238. ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE LIBOBJS LTLIBOBJS'
  239. ac_subst_files=''
  240. # Initialize some variables set by options.
  241. ac_init_help=
  242. ac_init_version=false
  243. # The variables have the same names as the options, with
  244. # dashes changed to underlines.
  245. cache_file=/dev/null
  246. exec_prefix=NONE
  247. no_create=
  248. no_recursion=
  249. prefix=NONE
  250. program_prefix=NONE
  251. program_suffix=NONE
  252. program_transform_name=s,x,x,
  253. silent=
  254. site=
  255. srcdir=
  256. verbose=
  257. x_includes=NONE
  258. x_libraries=NONE
  259. # Installation directory options.
  260. # These are left unexpanded so users can "make install exec_prefix=/foo"
  261. # and all the variables that are supposed to be based on exec_prefix
  262. # by default will actually change.
  263. # Use braces instead of parens because sh, perl, etc. also accept them.
  264. bindir='${exec_prefix}/bin'
  265. sbindir='${exec_prefix}/sbin'
  266. libexecdir='${exec_prefix}/libexec'
  267. datadir='${prefix}/share'
  268. sysconfdir='${prefix}/etc'
  269. sharedstatedir='${prefix}/com'
  270. localstatedir='${prefix}/var'
  271. libdir='${exec_prefix}/lib'
  272. includedir='${prefix}/include'
  273. oldincludedir='/usr/include'
  274. infodir='${prefix}/info'
  275. mandir='${prefix}/man'
  276. ac_prev=
  277. for ac_option
  278. do
  279. # If the previous option needs an argument, assign it.
  280. if test -n "$ac_prev"; then
  281. eval "$ac_prev=\$ac_option"
  282. ac_prev=
  283. continue
  284. fi
  285. ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
  286. # Accept the important Cygnus configure options, so we can diagnose typos.
  287. case $ac_option in
  288. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  289. ac_prev=bindir ;;
  290. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  291. bindir=$ac_optarg ;;
  292. -build | --build | --buil | --bui | --bu)
  293. ac_prev=build_alias ;;
  294. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  295. build_alias=$ac_optarg ;;
  296. -cache-file | --cache-file | --cache-fil | --cache-fi \
  297. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  298. ac_prev=cache_file ;;
  299. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  300. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  301. cache_file=$ac_optarg ;;
  302. --config-cache | -C)
  303. cache_file=config.cache ;;
  304. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  305. ac_prev=datadir ;;
  306. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  307. | --da=*)
  308. datadir=$ac_optarg ;;
  309. -disable-* | --disable-*)
  310. ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  311. # Reject names that are not valid shell variable names.
  312. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  313. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  314. { (exit 1); exit 1; }; }
  315. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  316. eval "enable_$ac_feature=no" ;;
  317. -enable-* | --enable-*)
  318. ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  319. # Reject names that are not valid shell variable names.
  320. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  321. { echo "$as_me: error: invalid feature name: $ac_feature" >&2
  322. { (exit 1); exit 1; }; }
  323. ac_feature=`echo $ac_feature | sed 's/-/_/g'`
  324. case $ac_option in
  325. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  326. *) ac_optarg=yes ;;
  327. esac
  328. eval "enable_$ac_feature='$ac_optarg'" ;;
  329. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  330. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  331. | --exec | --exe | --ex)
  332. ac_prev=exec_prefix ;;
  333. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  334. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  335. | --exec=* | --exe=* | --ex=*)
  336. exec_prefix=$ac_optarg ;;
  337. -gas | --gas | --ga | --g)
  338. # Obsolete; use --with-gas.
  339. with_gas=yes ;;
  340. -help | --help | --hel | --he | -h)
  341. ac_init_help=long ;;
  342. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  343. ac_init_help=recursive ;;
  344. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  345. ac_init_help=short ;;
  346. -host | --host | --hos | --ho)
  347. ac_prev=host_alias ;;
  348. -host=* | --host=* | --hos=* | --ho=*)
  349. host_alias=$ac_optarg ;;
  350. -includedir | --includedir | --includedi | --included | --include \
  351. | --includ | --inclu | --incl | --inc)
  352. ac_prev=includedir ;;
  353. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  354. | --includ=* | --inclu=* | --incl=* | --inc=*)
  355. includedir=$ac_optarg ;;
  356. -infodir | --infodir | --infodi | --infod | --info | --inf)
  357. ac_prev=infodir ;;
  358. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  359. infodir=$ac_optarg ;;
  360. -libdir | --libdir | --libdi | --libd)
  361. ac_prev=libdir ;;
  362. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  363. libdir=$ac_optarg ;;
  364. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  365. | --libexe | --libex | --libe)
  366. ac_prev=libexecdir ;;
  367. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  368. | --libexe=* | --libex=* | --libe=*)
  369. libexecdir=$ac_optarg ;;
  370. -localstatedir | --localstatedir | --localstatedi | --localstated \
  371. | --localstate | --localstat | --localsta | --localst \
  372. | --locals | --local | --loca | --loc | --lo)
  373. ac_prev=localstatedir ;;
  374. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  375. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  376. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  377. localstatedir=$ac_optarg ;;
  378. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  379. ac_prev=mandir ;;
  380. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  381. mandir=$ac_optarg ;;
  382. -nfp | --nfp | --nf)
  383. # Obsolete; use --without-fp.
  384. with_fp=no ;;
  385. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  386. | --no-cr | --no-c | -n)
  387. no_create=yes ;;
  388. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  389. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  390. no_recursion=yes ;;
  391. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  392. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  393. | --oldin | --oldi | --old | --ol | --o)
  394. ac_prev=oldincludedir ;;
  395. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  396. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  397. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  398. oldincludedir=$ac_optarg ;;
  399. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  400. ac_prev=prefix ;;
  401. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  402. prefix=$ac_optarg ;;
  403. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  404. | --program-pre | --program-pr | --program-p)
  405. ac_prev=program_prefix ;;
  406. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  407. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  408. program_prefix=$ac_optarg ;;
  409. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  410. | --program-suf | --program-su | --program-s)
  411. ac_prev=program_suffix ;;
  412. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  413. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  414. program_suffix=$ac_optarg ;;
  415. -program-transform-name | --program-transform-name \
  416. | --program-transform-nam | --program-transform-na \
  417. | --program-transform-n | --program-transform- \
  418. | --program-transform | --program-transfor \
  419. | --program-transfo | --program-transf \
  420. | --program-trans | --program-tran \
  421. | --progr-tra | --program-tr | --program-t)
  422. ac_prev=program_transform_name ;;
  423. -program-transform-name=* | --program-transform-name=* \
  424. | --program-transform-nam=* | --program-transform-na=* \
  425. | --program-transform-n=* | --program-transform-=* \
  426. | --program-transform=* | --program-transfor=* \
  427. | --program-transfo=* | --program-transf=* \
  428. | --program-trans=* | --program-tran=* \
  429. | --progr-tra=* | --program-tr=* | --program-t=*)
  430. program_transform_name=$ac_optarg ;;
  431. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  432. | -silent | --silent | --silen | --sile | --sil)
  433. silent=yes ;;
  434. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  435. ac_prev=sbindir ;;
  436. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  437. | --sbi=* | --sb=*)
  438. sbindir=$ac_optarg ;;
  439. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  440. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  441. | --sharedst | --shareds | --shared | --share | --shar \
  442. | --sha | --sh)
  443. ac_prev=sharedstatedir ;;
  444. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  445. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  446. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  447. | --sha=* | --sh=*)
  448. sharedstatedir=$ac_optarg ;;
  449. -site | --site | --sit)
  450. ac_prev=site ;;
  451. -site=* | --site=* | --sit=*)
  452. site=$ac_optarg ;;
  453. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  454. ac_prev=srcdir ;;
  455. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  456. srcdir=$ac_optarg ;;
  457. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  458. | --syscon | --sysco | --sysc | --sys | --sy)
  459. ac_prev=sysconfdir ;;
  460. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  461. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  462. sysconfdir=$ac_optarg ;;
  463. -target | --target | --targe | --targ | --tar | --ta | --t)
  464. ac_prev=target_alias ;;
  465. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  466. target_alias=$ac_optarg ;;
  467. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  468. verbose=yes ;;
  469. -version | --version | --versio | --versi | --vers | -V)
  470. ac_init_version=: ;;
  471. -with-* | --with-*)
  472. ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  473. # Reject names that are not valid shell variable names.
  474. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  475. { echo "$as_me: error: invalid package name: $ac_package" >&2
  476. { (exit 1); exit 1; }; }
  477. ac_package=`echo $ac_package| sed 's/-/_/g'`
  478. case $ac_option in
  479. *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
  480. *) ac_optarg=yes ;;
  481. esac
  482. eval "with_$ac_package='$ac_optarg'" ;;
  483. -without-* | --without-*)
  484. ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  485. # Reject names that are not valid shell variable names.
  486. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
  487. { echo "$as_me: error: invalid package name: $ac_package" >&2
  488. { (exit 1); exit 1; }; }
  489. ac_package=`echo $ac_package | sed 's/-/_/g'`
  490. eval "with_$ac_package=no" ;;
  491. --x)
  492. # Obsolete; use --with-x.
  493. with_x=yes ;;
  494. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  495. | --x-incl | --x-inc | --x-in | --x-i)
  496. ac_prev=x_includes ;;
  497. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  498. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  499. x_includes=$ac_optarg ;;
  500. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  501. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  502. ac_prev=x_libraries ;;
  503. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  504. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  505. x_libraries=$ac_optarg ;;
  506. -*) { echo "$as_me: error: unrecognized option: $ac_option
  507. Try \`$0 --help' for more information." >&2
  508. { (exit 1); exit 1; }; }
  509. ;;
  510. *=*)
  511. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  512. # Reject names that are not valid shell variable names.
  513. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  514. { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  515. { (exit 1); exit 1; }; }
  516. ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
  517. eval "$ac_envvar='$ac_optarg'"
  518. export $ac_envvar ;;
  519. *)
  520. # FIXME: should be removed in autoconf 3.0.
  521. echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  522. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  523. echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  524. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  525. ;;
  526. esac
  527. done
  528. if test -n "$ac_prev"; then
  529. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  530. { echo "$as_me: error: missing argument to $ac_option" >&2
  531. { (exit 1); exit 1; }; }
  532. fi
  533. # Be sure to have absolute paths.
  534. for ac_var in exec_prefix prefix
  535. do
  536. eval ac_val=$`echo $ac_var`
  537. case $ac_val in
  538. [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
  539. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  540. { (exit 1); exit 1; }; };;
  541. esac
  542. done
  543. # Be sure to have absolute paths.
  544. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
  545. localstatedir libdir includedir oldincludedir infodir mandir
  546. do
  547. eval ac_val=$`echo $ac_var`
  548. case $ac_val in
  549. [\\/$]* | ?:[\\/]* ) ;;
  550. *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  551. { (exit 1); exit 1; }; };;
  552. esac
  553. done
  554. # There might be people who depend on the old broken behavior: `$host'
  555. # used to hold the argument of --host etc.
  556. # FIXME: To remove some day.
  557. build=$build_alias
  558. host=$host_alias
  559. target=$target_alias
  560. # FIXME: To remove some day.
  561. if test "x$host_alias" != x; then
  562. if test "x$build_alias" = x; then
  563. cross_compiling=maybe
  564. echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  565. If a cross compiler is detected then cross compile mode will be used." >&2
  566. elif test "x$build_alias" != "x$host_alias"; then
  567. cross_compiling=yes
  568. fi
  569. fi
  570. ac_tool_prefix=
  571. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  572. test "$silent" = yes && exec 6>/dev/null
  573. # Find the source files, if location was not specified.
  574. if test -z "$srcdir"; then
  575. ac_srcdir_defaulted=yes
  576. # Try the directory containing this script, then its parent.
  577. ac_confdir=`(dirname "$0") 2>/dev/null ||
  578. $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  579. X"$0" : 'X\(//\)[^/]' \| \
  580. X"$0" : 'X\(//\)$' \| \
  581. X"$0" : 'X\(/\)' \| \
  582. . : '\(.\)' 2>/dev/null ||
  583. echo X"$0" |
  584. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  585. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  586. /^X\(\/\/\)$/{ s//\1/; q; }
  587. /^X\(\/\).*/{ s//\1/; q; }
  588. s/.*/./; q'`
  589. srcdir=$ac_confdir
  590. if test ! -r $srcdir/$ac_unique_file; then
  591. srcdir=..
  592. fi
  593. else
  594. ac_srcdir_defaulted=no
  595. fi
  596. if test ! -r $srcdir/$ac_unique_file; then
  597. if test "$ac_srcdir_defaulted" = yes; then
  598. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
  599. { (exit 1); exit 1; }; }
  600. else
  601. { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  602. { (exit 1); exit 1; }; }
  603. fi
  604. fi
  605. (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
  606. { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
  607. { (exit 1); exit 1; }; }
  608. srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
  609. ac_env_build_alias_set=${build_alias+set}
  610. ac_env_build_alias_value=$build_alias
  611. ac_cv_env_build_alias_set=${build_alias+set}
  612. ac_cv_env_build_alias_value=$build_alias
  613. ac_env_host_alias_set=${host_alias+set}
  614. ac_env_host_alias_value=$host_alias
  615. ac_cv_env_host_alias_set=${host_alias+set}
  616. ac_cv_env_host_alias_value=$host_alias
  617. ac_env_target_alias_set=${target_alias+set}
  618. ac_env_target_alias_value=$target_alias
  619. ac_cv_env_target_alias_set=${target_alias+set}
  620. ac_cv_env_target_alias_value=$target_alias
  621. #
  622. # Report the --help message.
  623. #
  624. if test "$ac_init_help" = "long"; then
  625. # Omit some internal or obsolete options to make the list less imposing.
  626. # This message is too long to be a string in the A/UX 3.1 sh.
  627. cat <<_ACEOF
  628. \`configure' configures UNITS 1.0 to adapt to many kinds of systems.
  629. Usage: $0 [OPTION]... [VAR=VALUE]...
  630. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  631. VAR=VALUE. See below for descriptions of some of the useful variables.
  632. Defaults for the options are specified in brackets.
  633. Configuration:
  634. -h, --help display this help and exit
  635. --help=short display options specific to this package
  636. --help=recursive display the short help of all the included packages
  637. -V, --version display version information and exit
  638. -q, --quiet, --silent do not print \`checking...' messages
  639. --cache-file=FILE cache test results in FILE [disabled]
  640. -C, --config-cache alias for \`--cache-file=config.cache'
  641. -n, --no-create do not create output files
  642. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  643. _ACEOF
  644. cat <<_ACEOF
  645. Installation directories:
  646. --prefix=PREFIX install architecture-independent files in PREFIX
  647. [$ac_default_prefix]
  648. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  649. [PREFIX]
  650. By default, \`make install' will install all the files in
  651. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  652. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  653. for instance \`--prefix=\$HOME'.
  654. For better control, use the options below.
  655. Fine tuning of the installation directories:
  656. --bindir=DIR user executables [EPREFIX/bin]
  657. --sbindir=DIR system admin executables [EPREFIX/sbin]
  658. --libexecdir=DIR program executables [EPREFIX/libexec]
  659. --datadir=DIR read-only architecture-independent data [PREFIX/share]
  660. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  661. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  662. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  663. --libdir=DIR object code libraries [EPREFIX/lib]
  664. --includedir=DIR C header files [PREFIX/include]
  665. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  666. --infodir=DIR info documentation [PREFIX/info]
  667. --mandir=DIR man documentation [PREFIX/man]
  668. _ACEOF
  669. cat <<\_ACEOF
  670. Program names:
  671. --program-prefix=PREFIX prepend PREFIX to installed program names
  672. --program-suffix=SUFFIX append SUFFIX to installed program names
  673. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  674. _ACEOF
  675. fi
  676. if test -n "$ac_init_help"; then
  677. case $ac_init_help in
  678. short | recursive ) echo "Configuration of UNITS 1.0:";;
  679. esac
  680. cat <<\_ACEOF
  681. Report bugs to <zahn.sharon@mayo.edu>.
  682. _ACEOF
  683. fi
  684. if test "$ac_init_help" = "recursive"; then
  685. # If there are subdirs, report their specific --help.
  686. ac_popdir=`pwd`
  687. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  688. test -d $ac_dir || continue
  689. ac_builddir=.
  690. if test "$ac_dir" != .; then
  691. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  692. # A "../" for each directory in $ac_dir_suffix.
  693. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  694. else
  695. ac_dir_suffix= ac_top_builddir=
  696. fi
  697. case $srcdir in
  698. .) # No --srcdir option. We are building in place.
  699. ac_srcdir=.
  700. if test -z "$ac_top_builddir"; then
  701. ac_top_srcdir=.
  702. else
  703. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  704. fi ;;
  705. [\\/]* | ?:[\\/]* ) # Absolute path.
  706. ac_srcdir=$srcdir$ac_dir_suffix;
  707. ac_top_srcdir=$srcdir ;;
  708. *) # Relative path.
  709. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  710. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  711. esac
  712. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  713. # absolute.
  714. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  715. ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  716. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  717. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  718. cd $ac_dir
  719. # Check for guested configure; otherwise get Cygnus style configure.
  720. if test -f $ac_srcdir/configure.gnu; then
  721. echo
  722. $SHELL $ac_srcdir/configure.gnu --help=recursive
  723. elif test -f $ac_srcdir/configure; then
  724. echo
  725. $SHELL $ac_srcdir/configure --help=recursive
  726. elif test -f $ac_srcdir/configure.ac ||
  727. test -f $ac_srcdir/configure.in; then
  728. echo
  729. $ac_configure --help
  730. else
  731. echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  732. fi
  733. cd $ac_popdir
  734. done
  735. fi
  736. test -n "$ac_init_help" && exit 0
  737. if $ac_init_version; then
  738. cat <<\_ACEOF
  739. UNITS configure 1.0
  740. generated by GNU Autoconf 2.54
  741. Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
  742. Free Software Foundation, Inc.
  743. This configure script is free software; the Free Software Foundation
  744. gives unlimited permission to copy, distribute and modify it.
  745. _ACEOF
  746. exit 0
  747. fi
  748. exec 5>config.log
  749. cat >&5 <<_ACEOF
  750. This file contains any messages produced by compilers while
  751. running configure, to aid debugging if configure makes a mistake.
  752. It was created by UNITS $as_me 1.0, which was
  753. generated by GNU Autoconf 2.54. Invocation command line was
  754. $ $0 $@
  755. _ACEOF
  756. {
  757. cat <<_ASUNAME
  758. ## --------- ##
  759. ## Platform. ##
  760. ## --------- ##
  761. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  762. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  763. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  764. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  765. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  766. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  767. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  768. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  769. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  770. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  771. hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
  772. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  773. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  774. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  775. _ASUNAME
  776. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  777. for as_dir in $PATH
  778. do
  779. IFS=$as_save_IFS
  780. test -z "$as_dir" && as_dir=.
  781. echo "PATH: $as_dir"
  782. done
  783. } >&5
  784. cat >&5 <<_ACEOF
  785. ## ----------- ##
  786. ## Core tests. ##
  787. ## ----------- ##
  788. _ACEOF
  789. # Keep a trace of the command line.
  790. # Strip out --no-create and --no-recursion so they do not pile up.
  791. # Also quote any args containing shell meta-characters.
  792. ac_configure_args=
  793. ac_sep=
  794. for ac_arg
  795. do
  796. case $ac_arg in
  797. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  798. | --no-cr | --no-c | -n ) continue ;;
  799. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  800. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  801. continue ;;
  802. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  803. ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  804. esac
  805. ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
  806. # Get rid of the leading space.
  807. ac_sep=" "
  808. done
  809. # When interrupted or exit'd, cleanup temporary files, and complete
  810. # config.log. We remove comments because anyway the quotes in there
  811. # would cause problems or look ugly.
  812. # WARNING: Be sure not to use single quotes in there, as some shells,
  813. # such as our DU 5.0 friend, will then `close' the trap.
  814. trap 'exit_status=$?
  815. # Save into config.log some information that might help in debugging.
  816. {
  817. echo
  818. cat <<\_ASBOX
  819. ## ---------------- ##
  820. ## Cache variables. ##
  821. ## ---------------- ##
  822. _ASBOX
  823. echo
  824. # The following way of writing the cache mishandles newlines in values,
  825. {
  826. (set) 2>&1 |
  827. case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
  828. *ac_space=\ *)
  829. sed -n \
  830. "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
  831. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
  832. ;;
  833. *)
  834. sed -n \
  835. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  836. ;;
  837. esac;
  838. }
  839. echo
  840. cat <<\_ASBOX
  841. ## ----------------- ##
  842. ## Output variables. ##
  843. ## ----------------- ##
  844. _ASBOX
  845. echo
  846. for ac_var in $ac_subst_vars
  847. do
  848. eval ac_val=$`echo $ac_var`
  849. echo "$ac_var='"'"'$ac_val'"'"'"
  850. done | sort
  851. echo
  852. if test -n "$ac_subst_files"; then
  853. cat <<\_ASBOX
  854. ## ------------- ##
  855. ## Output files. ##
  856. ## ------------- ##
  857. _ASBOX
  858. echo
  859. for ac_var in $ac_subst_files
  860. do
  861. eval ac_val=$`echo $ac_var`
  862. echo "$ac_var='"'"'$ac_val'"'"'"
  863. done | sort
  864. echo
  865. fi
  866. if test -s confdefs.h; then
  867. cat <<\_ASBOX
  868. ## ----------- ##
  869. ## confdefs.h. ##
  870. ## ----------- ##
  871. _ASBOX
  872. echo
  873. sed "/^$/d" confdefs.h | sort
  874. echo
  875. fi
  876. test "$ac_signal" != 0 &&
  877. echo "$as_me: caught signal $ac_signal"
  878. echo "$as_me: exit $exit_status"
  879. } >&5
  880. rm -f core core.* *.core &&
  881. rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
  882. exit $exit_status
  883. ' 0
  884. for ac_signal in 1 2 13 15; do
  885. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  886. done
  887. ac_signal=0
  888. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  889. rm -rf conftest* confdefs.h
  890. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  891. echo >confdefs.h
  892. # Predefined preprocessor variables.
  893. cat >>confdefs.h <<_ACEOF
  894. #define PACKAGE_NAME "$PACKAGE_NAME"
  895. _ACEOF
  896. cat >>confdefs.h <<_ACEOF
  897. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  898. _ACEOF
  899. cat >>confdefs.h <<_ACEOF
  900. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  901. _ACEOF
  902. cat >>confdefs.h <<_ACEOF
  903. #define PACKAGE_STRING "$PACKAGE_STRING"
  904. _ACEOF
  905. cat >>confdefs.h <<_ACEOF
  906. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  907. _ACEOF
  908. # Let the site file select an alternate cache file if it wants to.
  909. # Prefer explicitly selected file to automatically selected ones.
  910. if test -z "$CONFIG_SITE"; then
  911. if test "x$prefix" != xNONE; then
  912. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  913. else
  914. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  915. fi
  916. fi
  917. for ac_site_file in $CONFIG_SITE; do
  918. if test -r "$ac_site_file"; then
  919. { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  920. echo "$as_me: loading site script $ac_site_file" >&6;}
  921. sed 's/^/| /' "$ac_site_file" >&5
  922. . "$ac_site_file"
  923. fi
  924. done
  925. if test -r "$cache_file"; then
  926. # Some versions of bash will fail to source /dev/null (special
  927. # files actually), so we avoid doing that.
  928. if test -f "$cache_file"; then
  929. { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  930. echo "$as_me: loading cache $cache_file" >&6;}
  931. case $cache_file in
  932. [\\/]* | ?:[\\/]* ) . $cache_file;;
  933. *) . ./$cache_file;;
  934. esac
  935. fi
  936. else
  937. { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  938. echo "$as_me: creating cache $cache_file" >&6;}
  939. >$cache_file
  940. fi
  941. # Check that the precious variables saved in the cache have kept the same
  942. # value.
  943. ac_cache_corrupted=false
  944. for ac_var in `(set) 2>&1 |
  945. sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
  946. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  947. eval ac_new_set=\$ac_env_${ac_var}_set
  948. eval ac_old_val="\$ac_cv_env_${ac_var}_value"
  949. eval ac_new_val="\$ac_env_${ac_var}_value"
  950. case $ac_old_set,$ac_new_set in
  951. set,)
  952. { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  953. echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  954. ac_cache_corrupted=: ;;
  955. ,set)
  956. { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  957. echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  958. ac_cache_corrupted=: ;;
  959. ,);;
  960. *)
  961. if test "x$ac_old_val" != "x$ac_new_val"; then
  962. { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  963. echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  964. { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
  965. echo "$as_me: former value: $ac_old_val" >&2;}
  966. { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
  967. echo "$as_me: current value: $ac_new_val" >&2;}
  968. ac_cache_corrupted=:
  969. fi;;
  970. esac
  971. # Pass precious variables to config.status.
  972. if test "$ac_new_set" = set; then
  973. case $ac_new_val in
  974. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
  975. ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  976. *) ac_arg=$ac_var=$ac_new_val ;;
  977. esac
  978. case " $ac_configure_args " in
  979. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  980. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  981. esac
  982. fi
  983. done
  984. if $ac_cache_corrupted; then
  985. { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  986. echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  987. { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  988. echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  989. { (exit 1); exit 1; }; }
  990. fi
  991. ac_ext=c
  992. ac_cpp='$CPP $CPPFLAGS'
  993. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  994. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  995. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  996. #----------------------------------------------------------------
  997. # Give autoconf a point of reference, and tell it that
  998. # we're going to use automake later.
  999. #----------------------------------------------------------------
  1000. am__api_version="1.7"
  1001. ac_aux_dir=
  1002. for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
  1003. if test -f $ac_dir/install-sh; then
  1004. ac_aux_dir=$ac_dir
  1005. ac_install_sh="$ac_aux_dir/install-sh -c"
  1006. break
  1007. elif test -f $ac_dir/install.sh; then
  1008. ac_aux_dir=$ac_dir
  1009. ac_install_sh="$ac_aux_dir/install.sh -c"
  1010. break
  1011. elif test -f $ac_dir/shtool; then
  1012. ac_aux_dir=$ac_dir
  1013. ac_install_sh="$ac_aux_dir/shtool install -c"
  1014. break
  1015. fi
  1016. done
  1017. if test -z "$ac_aux_dir"; then
  1018. { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
  1019. echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
  1020. { (exit 1); exit 1; }; }
  1021. fi
  1022. ac_config_guess="$SHELL $ac_aux_dir/config.guess"
  1023. ac_config_sub="$SHELL $ac_aux_dir/config.sub"
  1024. ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
  1025. # Find a good install program. We prefer a C program (faster),
  1026. # so one script is as good as another. But avoid the broken or
  1027. # incompatible versions:
  1028. # SysV /etc/install, /usr/sbin/install
  1029. # SunOS /usr/etc/install
  1030. # IRIX /sbin/install
  1031. # AIX /bin/install
  1032. # AmigaOS /C/install, which installs bootblocks on floppy discs
  1033. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1034. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1035. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1036. # ./install, which can be erroneously created by make from ./install.sh.
  1037. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1038. echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
  1039. if test -z "$INSTALL"; then
  1040. if test "${ac_cv_path_install+set}" = set; then
  1041. echo $ECHO_N "(cached) $ECHO_C" >&6
  1042. else
  1043. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1044. for as_dir in $PATH
  1045. do
  1046. IFS=$as_save_IFS
  1047. test -z "$as_dir" && as_dir=.
  1048. # Account for people who put trailing slashes in PATH elements.
  1049. case $as_dir/ in
  1050. ./ | .// | /cC/* | \
  1051. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1052. /usr/ucb/* ) ;;
  1053. *)
  1054. # OSF1 and SCO ODT 3.0 have their own names for install.
  1055. # Don't use installbsd from OSF since it installs stuff as root
  1056. # by default.
  1057. for ac_prog in ginstall scoinst install; do
  1058. for ac_exec_ext in '' $ac_executable_extensions; do
  1059. if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  1060. if test $ac_prog = install &&
  1061. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1062. # AIX install. It has an incompatible calling convention.
  1063. :
  1064. elif test $ac_prog = install &&
  1065. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1066. # program-specific install script used by HP pwplus--don't use.
  1067. :
  1068. else
  1069. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1070. break 3
  1071. fi
  1072. fi
  1073. done
  1074. done
  1075. ;;
  1076. esac
  1077. done
  1078. fi
  1079. if test "${ac_cv_path_install+set}" = set; then
  1080. INSTALL=$ac_cv_path_install
  1081. else
  1082. # As a last resort, use the slow shell script. We don't cache a
  1083. # path for INSTALL within a source directory, because that will
  1084. # break other packages using the cache if that directory is
  1085. # removed, or if the path is relative.
  1086. INSTALL=$ac_install_sh
  1087. fi
  1088. fi
  1089. echo "$as_me:$LINENO: result: $INSTALL" >&5
  1090. echo "${ECHO_T}$INSTALL" >&6
  1091. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1092. # It thinks the first close brace ends the variable substitution.
  1093. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1094. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1095. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1096. echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1097. echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
  1098. # Just in case
  1099. sleep 1
  1100. echo timestamp > conftest.file
  1101. # Do `set' in a subshell so we don't clobber the current shell's
  1102. # arguments. Must try -L first in case configure is actually a
  1103. # symlink; some systems play weird games with the mod time of symlinks
  1104. # (eg FreeBSD returns the mod time of the symlink's containing
  1105. # directory).
  1106. if (
  1107. set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1108. if test "$*" = "X"; then
  1109. # -L didn't work.
  1110. set X `ls -t $srcdir/configure conftest.file`
  1111. fi
  1112. rm -f conftest.file
  1113. if test "$*" != "X $srcdir/configure conftest.file" \
  1114. && test "$*" != "X conftest.file $srcdir/configure"; then
  1115. # If neither matched, then we have a broken ls. This can happen
  1116. # if, for instance, CONFIG_SHELL is bash and it inherits a
  1117. # broken ls alias from the environment. This has actually
  1118. # happened. Such a system could not be considered "sane".
  1119. { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
  1120. alias in your environment" >&5
  1121. echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
  1122. alias in your environment" >&2;}
  1123. { (exit 1); exit 1; }; }
  1124. fi
  1125. test "$2" = conftest.file
  1126. )
  1127. then
  1128. # Ok.
  1129. :
  1130. else
  1131. { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1132. Check your system clock" >&5
  1133. echo "$as_me: error: newly created file is older than distributed files!
  1134. Check your system clock" >&2;}
  1135. { (exit 1); exit 1; }; }
  1136. fi
  1137. echo "$as_me:$LINENO: result: yes" >&5
  1138. echo "${ECHO_T}yes" >&6
  1139. test "$program_prefix" != NONE &&
  1140. program_transform_name="s,^,$program_prefix,;$program_transform_name"
  1141. # Use a double $ so make ignores it.
  1142. test "$program_suffix" != NONE &&
  1143. program_transform_name="s,\$,$program_suffix,;$program_transform_name"
  1144. # Double any \ or $. echo might interpret backslashes.
  1145. # By default was `s,x,x', remove it if useless.
  1146. cat <<\_ACEOF >conftest.sed
  1147. s/[\\$]/&&/g;s/;s,x,x,$//
  1148. _ACEOF
  1149. program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  1150. rm conftest.sed
  1151. # expand $ac_aux_dir to an absolute path
  1152. am_aux_dir=`cd $ac_aux_dir && pwd`
  1153. test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  1154. # Use eval to expand $SHELL
  1155. if eval "$MISSING --run true"; then
  1156. am_missing_run="$MISSING --run "
  1157. else
  1158. am_missing_run=
  1159. { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  1160. echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  1161. fi
  1162. for ac_prog in gawk mawk nawk awk
  1163. do
  1164. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1165. set dummy $ac_prog; ac_word=$2
  1166. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1167. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1168. if test "${ac_cv_prog_AWK+set}" = set; then
  1169. echo $ECHO_N "(cached) $ECHO_C" >&6
  1170. else
  1171. if test -n "$AWK"; then
  1172. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1173. else
  1174. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1175. for as_dir in $PATH
  1176. do
  1177. IFS=$as_save_IFS
  1178. test -z "$as_dir" && as_dir=.
  1179. for ac_exec_ext in '' $ac_executable_extensions; do
  1180. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1181. ac_cv_prog_AWK="$ac_prog"
  1182. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1183. break 2
  1184. fi
  1185. done
  1186. done
  1187. fi
  1188. fi
  1189. AWK=$ac_cv_prog_AWK
  1190. if test -n "$AWK"; then
  1191. echo "$as_me:$LINENO: result: $AWK" >&5
  1192. echo "${ECHO_T}$AWK" >&6
  1193. else
  1194. echo "$as_me:$LINENO: result: no" >&5
  1195. echo "${ECHO_T}no" >&6
  1196. fi
  1197. test -n "$AWK" && break
  1198. done
  1199. echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
  1200. echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
  1201. set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
  1202. if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
  1203. echo $ECHO_N "(cached) $ECHO_C" >&6
  1204. else
  1205. cat >conftest.make <<\_ACEOF
  1206. all:
  1207. @echo 'ac_maketemp="${MAKE}"'
  1208. _ACEOF
  1209. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  1210. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
  1211. if test -n "$ac_maketemp"; then
  1212. eval ac_cv_prog_make_${ac_make}_set=yes
  1213. else
  1214. eval ac_cv_prog_make_${ac_make}_set=no
  1215. fi
  1216. rm -f conftest.make
  1217. fi
  1218. if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
  1219. echo "$as_me:$LINENO: result: yes" >&5
  1220. echo "${ECHO_T}yes" >&6
  1221. SET_MAKE=
  1222. else
  1223. echo "$as_me:$LINENO: result: no" >&5
  1224. echo "${ECHO_T}no" >&6
  1225. SET_MAKE="MAKE=${MAKE-make}"
  1226. fi
  1227. # test to see if srcdir already configured
  1228. if test "`cd $srcdir && pwd`" != "`pwd`" &&
  1229. test -f $srcdir/config.status; then
  1230. { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  1231. echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  1232. { (exit 1); exit 1; }; }
  1233. fi
  1234. # test whether we have cygpath
  1235. if test -z "$CYGPATH_W"; then
  1236. if (cygpath --version) >/dev/null 2>/dev/null; then
  1237. CYGPATH_W='cygpath -w'
  1238. else
  1239. CYGPATH_W=echo
  1240. fi
  1241. fi
  1242. # Define the identity of the package.
  1243. PACKAGE=units
  1244. VERSION=1.0
  1245. cat >>confdefs.h <<_ACEOF
  1246. #define PACKAGE "$PACKAGE"
  1247. _ACEOF
  1248. cat >>confdefs.h <<_ACEOF
  1249. #define VERSION "$VERSION"
  1250. _ACEOF
  1251. # Some tools Automake needs.
  1252. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  1253. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  1254. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  1255. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  1256. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  1257. AMTAR=${AMTAR-"${am_missing_run}tar"}
  1258. install_sh=${install_sh-"$am_aux_dir/install-sh"}
  1259. # Installed binaries are usually stripped using `strip' when the user
  1260. # run `make install-strip'. However `strip' might not be the right
  1261. # tool to use in cross-compilation environments, therefore Automake
  1262. # will honor the `STRIP' environment variable to overrule this program.
  1263. if test "$cross_compiling" != no; then
  1264. if test -n "$ac_tool_prefix"; then
  1265. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  1266. set dummy ${ac_tool_prefix}strip; ac_word=$2
  1267. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1268. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1269. if test "${ac_cv_prog_STRIP+set}" = set; then
  1270. echo $ECHO_N "(cached) $ECHO_C" >&6
  1271. else
  1272. if test -n "$STRIP"; then
  1273. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  1274. else
  1275. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1276. for as_dir in $PATH
  1277. do
  1278. IFS=$as_save_IFS
  1279. test -z "$as_dir" && as_dir=.
  1280. for ac_exec_ext in '' $ac_executable_extensions; do
  1281. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1282. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  1283. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1284. break 2
  1285. fi
  1286. done
  1287. done
  1288. fi
  1289. fi
  1290. STRIP=$ac_cv_prog_STRIP
  1291. if test -n "$STRIP"; then
  1292. echo "$as_me:$LINENO: result: $STRIP" >&5
  1293. echo "${ECHO_T}$STRIP" >&6
  1294. else
  1295. echo "$as_me:$LINENO: result: no" >&5
  1296. echo "${ECHO_T}no" >&6
  1297. fi
  1298. fi
  1299. if test -z "$ac_cv_prog_STRIP"; then
  1300. ac_ct_STRIP=$STRIP
  1301. # Extract the first word of "strip", so it can be a program name with args.
  1302. set dummy strip; ac_word=$2
  1303. echo "$as_me:$LINENO: checking for $ac_word" >&5
  1304. echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
  1305. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  1306. echo $ECHO_N "(cached) $ECHO_C" >&6
  1307. else
  1308. if test -n "$ac_ct_STRIP"; then
  1309. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  1310. else
  1311. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1312. for as_dir in $PATH
  1313. do
  1314. IFS=$as_save_IFS
  1315. test -z "$as_dir" && as_dir=.
  1316. for ac_exec_ext in '' $ac_executable_extensions; do
  1317. if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  1318. ac_cv_prog_ac_ct_STRIP="strip"
  1319. echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  1320. break 2
  1321. fi
  1322. done
  1323. done
  1324. test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
  1325. fi
  1326. fi
  1327. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  1328. if test -n "$ac_ct_STRIP"; then
  1329. echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  1330. echo "${ECHO_T}$ac_ct_STRIP" >&6
  1331. else
  1332. echo "$as_me:$LINENO: result: no" >&5
  1333. echo "${ECHO_T}no" >&6
  1334. fi
  1335. STRIP=$ac_ct_STRIP
  1336. else
  1337. STRIP="$ac_cv_prog_STRIP"
  1338. fi
  1339. fi
  1340. INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  1341. # We need awk for the "check" target. The system "awk" is bad on
  1342. # some platforms.
  1343. #----------------------------------------------------------------
  1344. # Don't bother checking for host type, libraries, or
  1345. # header file variations, as we're just dealing
  1346. # with highly portable scripts at this level.
  1347. #----------------------------------------------------------------
  1348. ac_config_files="$ac_config_files Makefile"
  1349. cat >confcache <<\_ACEOF
  1350. # This file is a shell script that caches the results of configure
  1351. # tests run on this system so they can be shared between configure
  1352. # scripts and configure runs, see configure's option --config-cache.
  1353. # It is not useful on other systems. If it contains results you don't
  1354. # want to keep, you may remove or edit it.
  1355. #
  1356. # config.status only pays attention to the cache file if you give it
  1357. # the --recheck option to rerun configure.
  1358. #
  1359. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  1360. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  1361. # following values.
  1362. _ACEOF
  1363. # The following way of writing the cache mishandles newlines in values,
  1364. # but we know of no workaround that is simple, portable, and efficient.
  1365. # So, don't put newlines in cache variables' values.
  1366. # Ultrix sh set writes to stderr and can't be redirected directly,
  1367. # and sets the high bit in the cache file unless we assign to the vars.
  1368. {
  1369. (set) 2>&1 |
  1370. case `(ac_space=' '; set | grep ac_space) 2>&1` in
  1371. *ac_space=\ *)
  1372. # `set' does not quote correctly, so add quotes (double-quote
  1373. # substitution turns \\\\ into \\, and sed turns \\ into \).
  1374. sed -n \
  1375. "s/'/'\\\\''/g;
  1376. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  1377. ;;
  1378. *)
  1379. # `set' quotes correctly as required by POSIX, so do not add quotes.
  1380. sed -n \
  1381. "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
  1382. ;;
  1383. esac;
  1384. } |
  1385. sed '
  1386. t clear
  1387. : clear
  1388. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  1389. t end
  1390. /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  1391. : end' >>confcache
  1392. if cmp -s $cache_file confcache; then :; else
  1393. if test -w $cache_file; then
  1394. test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
  1395. cat confcache >$cache_file
  1396. else
  1397. echo "not updating unwritable cache $cache_file"
  1398. fi
  1399. fi
  1400. rm -f confcache
  1401. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  1402. # Let make expand exec_prefix.
  1403. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  1404. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  1405. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  1406. # trailing colons and then remove the whole line if VPATH becomes empty
  1407. # (actually we leave an empty line to preserve line numbers).
  1408. if test "x$srcdir" = x.; then
  1409. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  1410. s/:*\$(srcdir):*/:/;
  1411. s/:*\${srcdir}:*/:/;
  1412. s/:*@srcdir@:*/:/;
  1413. s/^\([^=]*=[ ]*\):*/\1/;
  1414. s/:*$//;
  1415. s/^[^=]*=[ ]*$//;
  1416. }'
  1417. fi
  1418. # Transform confdefs.h into DEFS.
  1419. # Protect against shell expansion while executing Makefile rules.
  1420. # Protect against Makefile macro expansion.
  1421. #
  1422. # If the first sed substitution is executed (which looks for macros that
  1423. # take arguments), then we branch to the quote section. Otherwise,
  1424. # look for a macro that doesn't take arguments.
  1425. cat >confdef2opt.sed <<\_ACEOF
  1426. t clear
  1427. : clear
  1428. s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
  1429. t quote
  1430. s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
  1431. t quote
  1432. d
  1433. : quote
  1434. s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
  1435. s,\[,\\&,g
  1436. s,\],\\&,g
  1437. s,\$,$$,g
  1438. p
  1439. _ACEOF
  1440. # We use echo to avoid assuming a particular line-breaking character.
  1441. # The extra dot is to prevent the shell from consuming trailing
  1442. # line-breaks from the sub-command output. A line-break within
  1443. # single-quotes doesn't work because, if this script is created in a
  1444. # platform that uses two characters for line-breaks (e.g., DOS), tr
  1445. # would break.
  1446. ac_LF_and_DOT=`echo; echo .`
  1447. DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
  1448. rm -f confdef2opt.sed
  1449. ac_libobjs=
  1450. ac_ltlibobjs=
  1451. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  1452. # 1. Remove the extension, and $U if already installed.
  1453. ac_i=`echo "$ac_i" |
  1454. sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
  1455. # 2. Add them.
  1456. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
  1457. ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
  1458. done
  1459. LIBOBJS=$ac_libobjs
  1460. LTLIBOBJS=$ac_ltlibobjs
  1461. : ${CONFIG_STATUS=./config.status}
  1462. ac_clean_files_save=$ac_clean_files
  1463. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  1464. { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  1465. echo "$as_me: creating $CONFIG_STATUS" >&6;}
  1466. cat >$CONFIG_STATUS <<_ACEOF
  1467. #! $SHELL
  1468. # Generated by $as_me.
  1469. # Run this file to recreate the current configuration.
  1470. # Compiler output produced by configure, useful for debugging
  1471. # configure, is in config.log if it exists.
  1472. debug=false
  1473. SHELL=\${CONFIG_SHELL-$SHELL}
  1474. _ACEOF
  1475. cat >>$CONFIG_STATUS <<\_ACEOF
  1476. ## --------------------- ##
  1477. ## M4sh Initialization. ##
  1478. ## --------------------- ##
  1479. # Be Bourne compatible
  1480. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  1481. emulate sh
  1482. NULLCMD=:
  1483. # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
  1484. # is contrary to our usage. Disable this feature.
  1485. alias -g '${1+"$@"}'='"$@"'
  1486. elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
  1487. set -o posix
  1488. fi
  1489. # Support unset when possible.
  1490. if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
  1491. as_unset=unset
  1492. else
  1493. as_unset=false
  1494. fi
  1495. # Work around bugs in pre-3.0 UWIN ksh.
  1496. $as_unset ENV MAIL MAILPATH
  1497. PS1='$ '
  1498. PS2='> '
  1499. PS4='+ '
  1500. # NLS nuisances.
  1501. for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
  1502. do
  1503. if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
  1504. eval $as_var=C; export $as_var
  1505. else
  1506. $as_unset $as_var
  1507. fi
  1508. done
  1509. # Required to use basename.
  1510. if expr a : '\(a\)' >/dev/null 2>&1; then
  1511. as_expr=expr
  1512. else
  1513. as_expr=false
  1514. fi
  1515. if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
  1516. as_basename=basename
  1517. else
  1518. as_basename=false
  1519. fi
  1520. # Name of the executable.
  1521. as_me=`$as_basename "$0" ||
  1522. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  1523. X"$0" : 'X\(//\)$' \| \
  1524. X"$0" : 'X\(/\)$' \| \
  1525. . : '\(.\)' 2>/dev/null ||
  1526. echo X/"$0" |
  1527. sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
  1528. /^X\/\(\/\/\)$/{ s//\1/; q; }
  1529. /^X\/\(\/\).*/{ s//\1/; q; }
  1530. s/.*/./; q'`
  1531. # PATH needs CR, and LINENO needs CR and PATH.
  1532. # Avoid depending upon Character Ranges.
  1533. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  1534. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  1535. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  1536. as_cr_digits='0123456789'
  1537. as_cr_alnum=$as_cr_Letters$as_cr_digits
  1538. # The user is always right.
  1539. if test "${PATH_SEPARATOR+set}" != set; then
  1540. echo "#! /bin/sh" >conftest.sh
  1541. echo "exit 0" >>conftest.sh
  1542. chmod +x conftest.sh
  1543. if (PATH="/nonexistent;."; conftest.sh) >/dev/null 2>&1; then
  1544. PATH_SEPARATOR=';'
  1545. else
  1546. PATH_SEPARATOR=:
  1547. fi
  1548. rm -f conftest.sh
  1549. fi
  1550. as_lineno_1=$LINENO
  1551. as_lineno_2=$LINENO
  1552. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  1553. test "x$as_lineno_1" != "x$as_lineno_2" &&
  1554. test "x$as_lineno_3" = "x$as_lineno_2" || {
  1555. # Find who we are. Look in the path if we contain no path at all
  1556. # relative or not.
  1557. case $0 in
  1558. *[\\/]* ) as_myself=$0 ;;
  1559. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1560. for as_dir in $PATH
  1561. do
  1562. IFS=$as_save_IFS
  1563. test -z "$as_dir" && as_dir=.
  1564. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  1565. done
  1566. ;;
  1567. esac
  1568. # We did not find ourselves, most probably we were run as `sh COMMAND'
  1569. # in which case we are not to be found in the path.
  1570. if test "x$as_myself" = x; then
  1571. as_myself=$0
  1572. fi
  1573. if test ! -f "$as_myself"; then
  1574. { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
  1575. echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
  1576. { (exit 1); exit 1; }; }
  1577. fi
  1578. case $CONFIG_SHELL in
  1579. '')
  1580. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1581. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  1582. do
  1583. IFS=$as_save_IFS
  1584. test -z "$as_dir" && as_dir=.
  1585. for as_base in sh bash ksh sh5; do
  1586. case $as_dir in
  1587. /*)
  1588. if ("$as_dir/$as_base" -c '
  1589. as_lineno_1=$LINENO
  1590. as_lineno_2=$LINENO
  1591. as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  1592. test "x$as_lineno_1" != "x$as_lineno_2" &&
  1593. test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
  1594. $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
  1595. $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
  1596. CONFIG_SHELL=$as_dir/$as_base
  1597. export CONFIG_SHELL
  1598. exec "$CONFIG_SHELL" "$0" ${1+"$@"}
  1599. fi;;
  1600. esac
  1601. done
  1602. done
  1603. ;;
  1604. esac
  1605. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  1606. # uniformly replaced by the line number. The first 'sed' inserts a
  1607. # line-number line before each line; the second 'sed' does the real
  1608. # work. The second script uses 'N' to pair each line-number line
  1609. # with the numbered line, and appends trailing '-' during
  1610. # substitution so that $LINENO is not a special case at line end.
  1611. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  1612. # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
  1613. sed '=' <$as_myself |
  1614. sed '
  1615. N
  1616. s,$,-,
  1617. : loop
  1618. s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
  1619. t loop
  1620. s,-$,,
  1621. s,^['$as_cr_digits']*\n,,
  1622. ' >$as_me.lineno &&
  1623. chmod +x $as_me.lineno ||
  1624. { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
  1625. echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
  1626. { (exit 1); exit 1; }; }
  1627. # Don't try to exec as it changes $[0], causing all sort of problems
  1628. # (the dirname of $[0] is not the place where we might find the
  1629. # original and so on. Autoconf is especially sensible to this).
  1630. . ./$as_me.lineno
  1631. # Exit status is that of the last command.
  1632. exit
  1633. }
  1634. case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
  1635. *c*,-n*) ECHO_N= ECHO_C='
  1636. ' ECHO_T=' ' ;;
  1637. *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  1638. *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
  1639. esac
  1640. if expr a : '\(a\)' >/dev/null 2>&1; then
  1641. as_expr=expr
  1642. else
  1643. as_expr=false
  1644. fi
  1645. rm -f conf$$ conf$$.exe conf$$.file
  1646. echo >conf$$.file
  1647. if ln -s conf$$.file conf$$ 2>/dev/null; then
  1648. # We could just check for DJGPP; but this test a) works b) is more generic
  1649. # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
  1650. if test -f conf$$.exe; then
  1651. # Don't use ln at all; we don't have any links
  1652. as_ln_s='cp -p'
  1653. else
  1654. as_ln_s='ln -s'
  1655. fi
  1656. elif ln conf$$.file conf$$ 2>/dev/null; then
  1657. as_ln_s=ln
  1658. else
  1659. as_ln_s='cp -p'
  1660. fi
  1661. rm -f conf$$ conf$$.exe conf$$.file
  1662. if mkdir -p . 2>/dev/null; then
  1663. as_mkdir_p=:
  1664. else
  1665. as_mkdir_p=false
  1666. fi
  1667. as_executable_p="test -f"
  1668. # Sed expression to map a string onto a valid CPP name.
  1669. as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
  1670. # Sed expression to map a string onto a valid variable name.
  1671. as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
  1672. # IFS
  1673. # We need space, tab and new line, in precisely that order.
  1674. as_nl='
  1675. '
  1676. IFS=" $as_nl"
  1677. # CDPATH.
  1678. $as_unset CDPATH
  1679. exec 6>&1
  1680. # Open the log real soon, to keep \$[0] and so on meaningful, and to
  1681. # report actual input values of CONFIG_FILES etc. instead of their
  1682. # values after options handling. Logging --version etc. is OK.
  1683. exec 5>>config.log
  1684. {
  1685. echo
  1686. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  1687. ## Running $as_me. ##
  1688. _ASBOX
  1689. } >&5
  1690. cat >&5 <<_CSEOF
  1691. This file was extended by UNITS $as_me 1.0, which was
  1692. generated by GNU Autoconf 2.54. Invocation command line was
  1693. CONFIG_FILES = $CONFIG_FILES
  1694. CONFIG_HEADERS = $CONFIG_HEADERS
  1695. CONFIG_LINKS = $CONFIG_LINKS
  1696. CONFIG_COMMANDS = $CONFIG_COMMANDS
  1697. $ $0 $@
  1698. _CSEOF
  1699. echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
  1700. echo >&5
  1701. _ACEOF
  1702. # Files that config.status was made for.
  1703. if test -n "$ac_config_files"; then
  1704. echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
  1705. fi
  1706. if test -n "$ac_config_headers"; then
  1707. echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
  1708. fi
  1709. if test -n "$ac_config_links"; then
  1710. echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
  1711. fi
  1712. if test -n "$ac_config_commands"; then
  1713. echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
  1714. fi
  1715. cat >>$CONFIG_STATUS <<\_ACEOF
  1716. ac_cs_usage="\
  1717. \`$as_me' instantiates files from templates according to the
  1718. current configuration.
  1719. Usage: $0 [OPTIONS] [FILE]...
  1720. -h, --help print this help, then exit
  1721. -V, --version print version number, then exit
  1722. -d, --debug don't remove temporary files
  1723. --recheck update $as_me by reconfiguring in the same conditions
  1724. --file=FILE[:TEMPLATE]
  1725. instantiate the configuration file FILE
  1726. Configuration files:
  1727. $config_files
  1728. Report bugs to <bug-autoconf@gnu.org>."
  1729. _ACEOF
  1730. cat >>$CONFIG_STATUS <<_ACEOF
  1731. ac_cs_version="\\
  1732. UNITS config.status 1.0
  1733. configured by $0, generated by GNU Autoconf 2.54,
  1734. with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
  1735. Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
  1736. Free Software Foundation, Inc.
  1737. This config.status script is free software; the Free Software Foundation
  1738. gives unlimited permission to copy, distribute and modify it."
  1739. srcdir=$srcdir
  1740. INSTALL="$INSTALL"
  1741. _ACEOF
  1742. cat >>$CONFIG_STATUS <<\_ACEOF
  1743. # If no file are specified by the user, then we need to provide default
  1744. # value. By we need to know if files were specified by the user.
  1745. ac_need_defaults=:
  1746. while test $# != 0
  1747. do
  1748. case $1 in
  1749. --*=*)
  1750. ac_option=`expr "x$1" : 'x\([^=]*\)='`
  1751. ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
  1752. ac_shift=:
  1753. ;;
  1754. -*)
  1755. ac_option=$1
  1756. ac_optarg=$2
  1757. ac_shift=shift
  1758. ;;
  1759. *) # This is not an option, so the user has probably given explicit
  1760. # arguments.
  1761. ac_option=$1
  1762. ac_need_defaults=false;;
  1763. esac
  1764. case $ac_option in
  1765. # Handling of the options.
  1766. _ACEOF
  1767. cat >>$CONFIG_STATUS <<_ACEOF
  1768. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  1769. echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
  1770. exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
  1771. _ACEOF
  1772. cat >>$CONFIG_STATUS <<\_ACEOF
  1773. --version | --vers* | -V )
  1774. echo "$ac_cs_version"; exit 0 ;;
  1775. --he | --h)
  1776. # Conflict between --help and --header
  1777. { { echo "$as_me:$LINENO: error: ambiguous option: $1
  1778. Try \`$0 --help' for more information." >&5
  1779. echo "$as_me: error: ambiguous option: $1
  1780. Try \`$0 --help' for more information." >&2;}
  1781. { (exit 1); exit 1; }; };;
  1782. --help | --hel | -h )
  1783. echo "$ac_cs_usage"; exit 0 ;;
  1784. --debug | --d* | -d )
  1785. debug=: ;;
  1786. --file | --fil | --fi | --f )
  1787. $ac_shift
  1788. CONFIG_FILES="$CONFIG_FILES $ac_optarg"
  1789. ac_need_defaults=false;;
  1790. --header | --heade | --head | --hea )
  1791. $ac_shift
  1792. CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
  1793. ac_need_defaults=false;;
  1794. # This is an error.
  1795. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
  1796. Try \`$0 --help' for more information." >&5
  1797. echo "$as_me: error: unrecognized option: $1
  1798. Try \`$0 --help' for more information." >&2;}
  1799. { (exit 1); exit 1; }; } ;;
  1800. *) ac_config_targets="$ac_config_targets $1" ;;
  1801. esac
  1802. shift
  1803. done
  1804. _ACEOF
  1805. cat >>$CONFIG_STATUS <<\_ACEOF
  1806. for ac_config_target in $ac_config_targets
  1807. do
  1808. case "$ac_config_target" in
  1809. # Handling of arguments.
  1810. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  1811. *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  1812. echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  1813. { (exit 1); exit 1; }; };;
  1814. esac
  1815. done
  1816. # If the user did not use the arguments to specify the items to instantiate,
  1817. # then the envvar interface is used. Set only those that are not.
  1818. # We use the long form for the default assignment because of an extremely
  1819. # bizarre bug on SunOS 4.1.3.
  1820. if $ac_need_defaults; then
  1821. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  1822. fi
  1823. # Create a temporary directory, and hook for its removal unless debugging.
  1824. $debug ||
  1825. {
  1826. trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  1827. trap '{ (exit 1); exit 1; }' 1 2 13 15
  1828. }
  1829. # Create a (secure) tmp directory for tmp files.
  1830. : ${TMPDIR=/tmp}
  1831. {
  1832. tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
  1833. test -n "$tmp" && test -d "$tmp"
  1834. } ||
  1835. {
  1836. tmp=$TMPDIR/cs$$-$RANDOM
  1837. (umask 077 && mkdir $tmp)
  1838. } ||
  1839. {
  1840. echo "$me: cannot create a temporary directory in $TMPDIR" >&2
  1841. { (exit 1); exit 1; }
  1842. }
  1843. _ACEOF
  1844. cat >>$CONFIG_STATUS <<_ACEOF
  1845. #
  1846. # CONFIG_FILES section.
  1847. #
  1848. # No need to generate the scripts if there are no CONFIG_FILES.
  1849. # This happens for instance when ./config.status config.h
  1850. if test -n "\$CONFIG_FILES"; then
  1851. # Protect against being on the right side of a sed subst in config.status.
  1852. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
  1853. s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
  1854. s,@SHELL@,$SHELL,;t t
  1855. s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
  1856. s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
  1857. s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
  1858. s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
  1859. s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
  1860. s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
  1861. s,@exec_prefix@,$exec_prefix,;t t
  1862. s,@prefix@,$prefix,;t t
  1863. s,@program_transform_name@,$program_transform_name,;t t
  1864. s,@bindir@,$bindir,;t t
  1865. s,@sbindir@,$sbindir,;t t
  1866. s,@libexecdir@,$libexecdir,;t t
  1867. s,@datadir@,$datadir,;t t
  1868. s,@sysconfdir@,$sysconfdir,;t t
  1869. s,@sharedstatedir@,$sharedstatedir,;t t
  1870. s,@localstatedir@,$localstatedir,;t t
  1871. s,@libdir@,$libdir,;t t
  1872. s,@includedir@,$includedir,;t t
  1873. s,@oldincludedir@,$oldincludedir,;t t
  1874. s,@infodir@,$infodir,;t t
  1875. s,@mandir@,$mandir,;t t
  1876. s,@build_alias@,$build_alias,;t t
  1877. s,@host_alias@,$host_alias,;t t
  1878. s,@target_alias@,$target_alias,;t t
  1879. s,@DEFS@,$DEFS,;t t
  1880. s,@ECHO_C@,$ECHO_C,;t t
  1881. s,@ECHO_N@,$ECHO_N,;t t
  1882. s,@ECHO_T@,$ECHO_T,;t t
  1883. s,@LIBS@,$LIBS,;t t
  1884. s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
  1885. s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
  1886. s,@INSTALL_DATA@,$INSTALL_DATA,;t t
  1887. s,@CYGPATH_W@,$CYGPATH_W,;t t
  1888. s,@PACKAGE@,$PACKAGE,;t t
  1889. s,@VERSION@,$VERSION,;t t
  1890. s,@ACLOCAL@,$ACLOCAL,;t t
  1891. s,@AUTOCONF@,$AUTOCONF,;t t
  1892. s,@AUTOMAKE@,$AUTOMAKE,;t t
  1893. s,@AUTOHEADER@,$AUTOHEADER,;t t
  1894. s,@MAKEINFO@,$MAKEINFO,;t t
  1895. s,@AMTAR@,$AMTAR,;t t
  1896. s,@install_sh@,$install_sh,;t t
  1897. s,@STRIP@,$STRIP,;t t
  1898. s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
  1899. s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
  1900. s,@AWK@,$AWK,;t t
  1901. s,@SET_MAKE@,$SET_MAKE,;t t
  1902. s,@LIBOBJS@,$LIBOBJS,;t t
  1903. s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  1904. CEOF
  1905. _ACEOF
  1906. cat >>$CONFIG_STATUS <<\_ACEOF
  1907. # Split the substitutions into bite-sized pieces for seds with
  1908. # small command number limits, like on Digital OSF/1 and HP-UX.
  1909. ac_max_sed_lines=48
  1910. ac_sed_frag=1 # Number of current file.
  1911. ac_beg=1 # First line for current file.
  1912. ac_end=$ac_max_sed_lines # Line after last line for current file.
  1913. ac_more_lines=:
  1914. ac_sed_cmds=
  1915. while $ac_more_lines; do
  1916. if test $ac_beg -gt 1; then
  1917. sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  1918. else
  1919. sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
  1920. fi
  1921. if test ! -s $tmp/subs.frag; then
  1922. ac_more_lines=false
  1923. else
  1924. # The purpose of the label and of the branching condition is to
  1925. # speed up the sed processing (if there are no `@' at all, there
  1926. # is no need to browse any of the substitutions).
  1927. # These are the two extra sed commands mentioned above.
  1928. (echo ':t
  1929. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
  1930. if test -z "$ac_sed_cmds"; then
  1931. ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
  1932. else
  1933. ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
  1934. fi
  1935. ac_sed_frag=`expr $ac_sed_frag + 1`
  1936. ac_beg=$ac_end
  1937. ac_end=`expr $ac_end + $ac_max_sed_lines`
  1938. fi
  1939. done
  1940. if test -z "$ac_sed_cmds"; then
  1941. ac_sed_cmds=cat
  1942. fi
  1943. fi # test -n "$CONFIG_FILES"
  1944. _ACEOF
  1945. cat >>$CONFIG_STATUS <<\_ACEOF
  1946. for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
  1947. # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  1948. case $ac_file in
  1949. - | *:- | *:-:* ) # input from stdin
  1950. cat >$tmp/stdin
  1951. ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  1952. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  1953. *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
  1954. ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  1955. * ) ac_file_in=$ac_file.in ;;
  1956. esac
  1957. # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
  1958. ac_dir=`(dirname "$ac_file") 2>/dev/null ||
  1959. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1960. X"$ac_file" : 'X\(//\)[^/]' \| \
  1961. X"$ac_file" : 'X\(//\)$' \| \
  1962. X"$ac_file" : 'X\(/\)' \| \
  1963. . : '\(.\)' 2>/dev/null ||
  1964. echo X"$ac_file" |
  1965. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  1966. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  1967. /^X\(\/\/\)$/{ s//\1/; q; }
  1968. /^X\(\/\).*/{ s//\1/; q; }
  1969. s/.*/./; q'`
  1970. { if $as_mkdir_p; then
  1971. mkdir -p "$ac_dir"
  1972. else
  1973. as_dir="$ac_dir"
  1974. as_dirs=
  1975. while test ! -d "$as_dir"; do
  1976. as_dirs="$as_dir $as_dirs"
  1977. as_dir=`(dirname "$as_dir") 2>/dev/null ||
  1978. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1979. X"$as_dir" : 'X\(//\)[^/]' \| \
  1980. X"$as_dir" : 'X\(//\)$' \| \
  1981. X"$as_dir" : 'X\(/\)' \| \
  1982. . : '\(.\)' 2>/dev/null ||
  1983. echo X"$as_dir" |
  1984. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
  1985. /^X\(\/\/\)[^/].*/{ s//\1/; q; }
  1986. /^X\(\/\/\)$/{ s//\1/; q; }
  1987. /^X\(\/\).*/{ s//\1/; q; }
  1988. s/.*/./; q'`
  1989. done
  1990. test ! -n "$as_dirs" || mkdir $as_dirs
  1991. fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
  1992. echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
  1993. { (exit 1); exit 1; }; }; }
  1994. ac_builddir=.
  1995. if test "$ac_dir" != .; then
  1996. ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1997. # A "../" for each directory in $ac_dir_suffix.
  1998. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
  1999. else
  2000. ac_dir_suffix= ac_top_builddir=
  2001. fi
  2002. case $srcdir in
  2003. .) # No --srcdir option. We are building in place.
  2004. ac_srcdir=.
  2005. if test -z "$ac_top_builddir"; then
  2006. ac_top_srcdir=.
  2007. else
  2008. ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
  2009. fi ;;
  2010. [\\/]* | ?:[\\/]* ) # Absolute path.
  2011. ac_srcdir=$srcdir$ac_dir_suffix;
  2012. ac_top_srcdir=$srcdir ;;
  2013. *) # Relative path.
  2014. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
  2015. ac_top_srcdir=$ac_top_builddir$srcdir ;;
  2016. esac
  2017. # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
  2018. # absolute.
  2019. ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
  2020. ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
  2021. ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
  2022. ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
  2023. case $INSTALL in
  2024. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  2025. *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
  2026. esac
  2027. if test x"$ac_file" != x-; then
  2028. { echo "$as_me:$LINENO: creating $ac_file" >&5
  2029. echo "$as_me: creating $ac_file" >&6;}
  2030. rm -f "$ac_file"
  2031. fi
  2032. # Let's still pretend it is `configure' which instantiates (i.e., don't
  2033. # use $as_me), people would be surprised to read:
  2034. # /* config.h. Generated by config.status. */
  2035. if test x"$ac_file" = x-; then
  2036. configure_input=
  2037. else
  2038. configure_input="$ac_file. "
  2039. fi
  2040. configure_input=$configure_input"Generated from `echo $ac_file_in |
  2041. sed 's,.*/,,'` by configure."
  2042. # First look for the input files in the build tree, otherwise in the
  2043. # src tree.
  2044. ac_file_inputs=`IFS=:
  2045. for f in $ac_file_in; do
  2046. case $f in
  2047. -) echo $tmp/stdin ;;
  2048. [\\/$]*)
  2049. # Absolute (can't be DOS-style, as IFS=:)
  2050. test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  2051. echo "$as_me: error: cannot find input file: $f" >&2;}
  2052. { (exit 1); exit 1; }; }
  2053. echo $f;;
  2054. *) # Relative
  2055. if test -f "$f"; then
  2056. # Build tree
  2057. echo $f
  2058. elif test -f "$srcdir/$f"; then
  2059. # Source tree
  2060. echo $srcdir/$f
  2061. else
  2062. # /dev/null tree
  2063. { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
  2064. echo "$as_me: error: cannot find input file: $f" >&2;}
  2065. { (exit 1); exit 1; }; }
  2066. fi;;
  2067. esac
  2068. done` || { (exit 1); exit 1; }
  2069. _ACEOF
  2070. cat >>$CONFIG_STATUS <<_ACEOF
  2071. sed "$ac_vpsub
  2072. $extrasub
  2073. _ACEOF
  2074. cat >>$CONFIG_STATUS <<\_ACEOF
  2075. :t
  2076. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  2077. s,@configure_input@,$configure_input,;t t
  2078. s,@srcdir@,$ac_srcdir,;t t
  2079. s,@abs_srcdir@,$ac_abs_srcdir,;t t
  2080. s,@top_srcdir@,$ac_top_srcdir,;t t
  2081. s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
  2082. s,@builddir@,$ac_builddir,;t t
  2083. s,@abs_builddir@,$ac_abs_builddir,;t t
  2084. s,@top_builddir@,$ac_top_builddir,;t t
  2085. s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
  2086. s,@INSTALL@,$ac_INSTALL,;t t
  2087. " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
  2088. rm -f $tmp/stdin
  2089. if test x"$ac_file" != x-; then
  2090. mv $tmp/out $ac_file
  2091. else
  2092. cat $tmp/out
  2093. rm -f $tmp/out
  2094. fi
  2095. done
  2096. _ACEOF
  2097. cat >>$CONFIG_STATUS <<\_ACEOF
  2098. { (exit 0); exit 0; }
  2099. _ACEOF
  2100. chmod +x $CONFIG_STATUS
  2101. ac_clean_files=$ac_clean_files_save
  2102. # configure is writing to config.log, and then calls config.status.
  2103. # config.status does its own redirection, appending to config.log.
  2104. # Unfortunately, on DOS this fails, as config.log is still kept open
  2105. # by configure, so config.status won't be able to write to it; its
  2106. # output is simply discarded. So we exec the FD to /dev/null,
  2107. # effectively closing config.log, so it can be properly (re)opened and
  2108. # appended to by config.status. When coming back to configure, we
  2109. # need to make the FD available again.
  2110. if test "$no_create" != yes; then
  2111. ac_cs_success=:
  2112. exec 5>/dev/null
  2113. $SHELL $CONFIG_STATUS || ac_cs_success=false
  2114. exec 5>>config.log
  2115. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  2116. # would make configure fail if this is the last instruction.
  2117. $ac_cs_success || { (exit 1); exit 1; }
  2118. fi