PageRenderTime 82ms CodeModel.GetById 30ms RepoModel.GetById 0ms app.codeStats 3ms

/spicebird-0.7.1/mozilla/configure

#
Shell | 16815 lines | 13936 code | 1663 blank | 1216 comment | 2207 complexity | 35573dae7ffc1073fe08a81c90c384a5 MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, GPL-2.0, LGPL-2.1, LGPL-3.0, MIT, BSD-3-Clause

Large files files are truncated, but you can click here to view the full file

  1. #! /bin/sh
  2. # Read in '.mozconfig' script to set the initial options.
  3. # See the mozconfig2configure script for more details.
  4. _AUTOCONF_TOOLS_DIR=`dirname $0`/./build/autoconf
  5. . $_AUTOCONF_TOOLS_DIR/mozconfig2configure
  6. # Guess values for system-dependent variables and create Makefiles.
  7. # Generated automatically using autoconf version 2.13
  8. # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
  9. #
  10. # This configure script is free software; the Free Software Foundation
  11. # gives unlimited permission to copy, distribute and modify it.
  12. # Defaults:
  13. ac_help=
  14. ac_default_prefix=/usr/local
  15. # Any additions from configure.in:
  16. ac_help="$ac_help
  17. --disable-compile-environment
  18. Disable compiler/library checks."
  19. ac_help="$ac_help
  20. --with-windows-version=WINVER
  21. Minimum Windows version (WINVER) to support
  22. 400: Windows 95
  23. 500: Windows 2000
  24. 501: Windows XP"
  25. ac_help="$ac_help
  26. --enable-macos-target=VER (default=10.4)
  27. Set the minimum MacOS version needed at runtime"
  28. ac_help="$ac_help
  29. --with-macos-sdk=dir Location of platform SDK to use (Mac OS X only)"
  30. ac_help="$ac_help
  31. --with-x use the X Window System"
  32. ac_help="$ac_help
  33. --disable-os2-high-mem Disable high-memory support on OS/2"
  34. ac_help="$ac_help
  35. --enable-dtrace build with dtrace support if available (default=no)"
  36. ac_help="$ac_help
  37. --with-ft-prefix=PFX Prefix where FreeType is installed (optional)"
  38. ac_help="$ac_help
  39. --with-ft-exec-prefix=PFX
  40. Exec prefix where FreeType is installed (optional)"
  41. ac_help="$ac_help
  42. --disable-freetypetest
  43. Do not try to compile and run a test FreeType program"
  44. ac_help="$ac_help
  45. --with-pthreads Force use of system pthread library with NSPR "
  46. ac_help="$ac_help
  47. --with-libxul-sdk=PFX Use the libXUL SDK at <PFX>"
  48. ac_help="$ac_help
  49. --with-system-nspr Use system installed NSPR"
  50. ac_help="$ac_help
  51. --with-nspr-prefix=PFX Prefix where NSPR is installed"
  52. ac_help="$ac_help
  53. --with-nspr-exec-prefix=PFX
  54. Exec prefix where NSPR is installed"
  55. ac_help="$ac_help
  56. --with-system-nss Use system installed NSS"
  57. ac_help="$ac_help
  58. --with-nss-prefix=PFX Prefix where NSS is installed"
  59. ac_help="$ac_help
  60. --with-nss-exec-prefix=PFX
  61. Exec prefix where NSS is installed"
  62. ac_help="$ac_help
  63. --with-system-jpeg[=PFX]
  64. Use system libjpeg [installed at prefix PFX]"
  65. ac_help="$ac_help
  66. --with-system-zlib[=PFX]
  67. Use system libz [installed at prefix PFX]"
  68. ac_help="$ac_help
  69. --with-system-bz2[=PFX]
  70. Use system libbz2 [installed at prefix PFX]"
  71. ac_help="$ac_help
  72. --with-system-png[=PFX]
  73. Use system libpng [installed at prefix PFX]"
  74. ac_help="$ac_help
  75. --enable-system-hunspell Use system hunspell (located with pkgconfig)"
  76. ac_help="$ac_help
  77. --enable-glitz Enable Glitz for use with Cairo"
  78. ac_help="$ac_help
  79. --with-java-include-path=dir Location of Java SDK headers"
  80. ac_help="$ac_help
  81. --with-java-bin-path=dir Location of Java binaries (java, javac, jar)"
  82. ac_help="$ac_help
  83. --enable-application=APP
  84. Options include:
  85. suite
  86. browser (Firefox)
  87. mail (Thunderbird)
  88. minimo
  89. composer
  90. calendar (Sunbird)
  91. xulrunner
  92. camino
  93. content/xslt (Standalone Transformiix XSLT)
  94. netwerk (Standalone Necko)
  95. tools/update-packaging (AUS-related packaging tools)
  96. standalone (use this for standalone
  97. xpcom/xpconnect or to manually drive a build)"
  98. ac_help="$ac_help
  99. --with-embedding-profile=default|basic|minimal
  100. see http://wiki.mozilla.org/Gecko:Small_Device_Support"
  101. ac_help="$ac_help
  102. --with-xulrunner-stub-name=appname Create the xulrunner stub with the given name"
  103. ac_help="$ac_help
  104. --enable-default-toolkit=TK
  105. Select default toolkit
  106. Platform specific defaults:
  107. BeOS - cairo-beos
  108. Mac OS X - cairo-cocoa
  109. Neutrino/QNX - photon
  110. OS/2 - cairo-os2
  111. Win32 - cairo-windows
  112. WinCE - windows
  113. * - cairo-gtk2"
  114. ac_help="$ac_help
  115. --enable-startup-notification Enable startup-notification support (default: disabled) "
  116. ac_help="$ac_help
  117. --enable-ui-locale=ab-CD
  118. Select the user interface locale (default: en-US)"
  119. ac_help="$ac_help
  120. "
  121. ac_help="$ac_help
  122. --disable-mailnews Disable building of mail & news components"
  123. ac_help="$ac_help
  124. --disable-ldap Disable LDAP support"
  125. ac_help="$ac_help
  126. --enable-official-branding Enable Official mozilla.org Branding
  127. Do not distribute builds with
  128. --enable-official-branding unless you have
  129. permission to use trademarks per
  130. http://www.mozilla.org/foundation/trademarks/ ."
  131. ac_help="$ac_help
  132. --with-branding=dir Use branding from the specified directory."
  133. ac_help="$ac_help
  134. --with-distribution-id=ID Set distribution-specific id (default=org.mozilla)"
  135. ac_help="$ac_help
  136. --disable-postscript Disable PostScript printing support "
  137. ac_help="$ac_help
  138. --disable-gnomevfs Disable GnomeVFS support "
  139. ac_help="$ac_help
  140. --disable-gnomeui Disable libgnomeui support (default: auto, optional at runtime) "
  141. ac_help="$ac_help
  142. --disable-dbus Disable dbus support "
  143. ac_help="$ac_help
  144. --disable-crypto Disable crypto support (Personal Security Manager)"
  145. ac_help="$ac_help
  146. --disable-jsd Disable JavaScript debug library"
  147. ac_help="$ac_help
  148. --disable-plugins Disable plugins support"
  149. ac_help="$ac_help
  150. --disable-oji Disable Open JVM Integration support"
  151. ac_help="$ac_help
  152. --enable-ctl Enable Thai Complex Script support"
  153. ac_help="$ac_help
  154. --disable-view-source Disable view source support"
  155. ac_help="$ac_help
  156. --disable-accessibility Disable accessibility support (off by default on OS X)"
  157. ac_help="$ac_help
  158. --disable-xpfe-components
  159. Disable xpfe components"
  160. ac_help="$ac_help
  161. --disable-xpinstall Disable xpinstall support"
  162. ac_help="$ac_help
  163. --disable-jsloader Disable xpcom js loader support"
  164. ac_help="$ac_help
  165. --disable-printing Disable printing support"
  166. ac_help="$ac_help
  167. --enable-native-uconv Enable iconv support"
  168. ac_help="$ac_help
  169. --enable-plaintext-editor-only
  170. Allow only plaintext editing"
  171. ac_help="$ac_help
  172. --disable-composer Disable building of Composer"
  173. ac_help="$ac_help
  174. --disable-xpcom-obsolete Disable XPCOM Obsolete Library"
  175. ac_help="$ac_help
  176. --disable-xpcom-fastload Disable XPCOM fastload support"
  177. ac_help="$ac_help
  178. --disable-permissions Disable permissions (popup and cookie blocking)"
  179. ac_help="$ac_help
  180. --disable-negotiateauth Disable GSS-API negotiation "
  181. ac_help="$ac_help
  182. --disable-xtf Disable XTF (pluggable xml tags) support"
  183. ac_help="$ac_help
  184. --disable-inspector-apis Disable the DOM inspection APIs "
  185. ac_help="$ac_help
  186. --disable-xmlextras Disable XMLExtras such as XPointer support "
  187. ac_help="$ac_help
  188. --enable-webservices Enable Webservices/SOAP support "
  189. ac_help="$ac_help
  190. --disable-pref-extensions
  191. Disable pref extensions such as autoconfig and
  192. system-pref"
  193. ac_help="$ac_help
  194. --disable-universalchardet
  195. Disable universal encoding detection"
  196. ac_help="$ac_help
  197. --enable-javaxpcom
  198. Enable Java-XPCOM bridge"
  199. ac_help="$ac_help
  200. --disable-crashreporter Disable breakpad crash reporting"
  201. ac_help="$ac_help
  202. --with-crashreporter-enable-percent=NN Enable sending crash reports by default on NN% of users. (default=100)"
  203. ac_help="$ac_help
  204. --disable-mochitest Disable mochitest harness"
  205. ac_help="$ac_help
  206. --enable-extensions Enable extensions"
  207. ac_help="$ac_help
  208. --enable-image-decoders[={mod1,mod2,default,all,none}]
  209. Enable specific image decoders"
  210. ac_help="$ac_help
  211. --enable-image-encoders[={mod1,mod2,default,all,none}]
  212. Enable specific image encoders"
  213. ac_help="$ac_help
  214. --enable-ldap-experimental
  215. Enable LDAP experimental features"
  216. ac_help="$ac_help
  217. --disable-mathml Disable MathML support"
  218. ac_help="$ac_help
  219. --disable-canvas Disable html:canvas feature"
  220. ac_help="$ac_help
  221. --disable-svg Disable SVG support"
  222. ac_help="$ac_help
  223. --disable-svg-foreignobject
  224. Disable SVG <foreignObject> support"
  225. ac_help="$ac_help
  226. --disable-installer Disable building of installer"
  227. ac_help="$ac_help
  228. --disable-updater Disable building of updater"
  229. ac_help="$ac_help
  230. --enable-update-channel=CHANNEL
  231. Select application update channel (default=default)"
  232. ac_help="$ac_help
  233. --enable-update-packaging
  234. Enable tools/update-packaging"
  235. ac_help="$ac_help
  236. --disable-xpconnect-idispatch
  237. Disable building of xpconnect support for IDispatch
  238. (win32 only)"
  239. ac_help="$ac_help
  240. --disable-activex Disable building of ActiveX control (win32 only)"
  241. ac_help="$ac_help
  242. --disable-activex-scripting
  243. Disable building of ActiveX scripting support (win32)"
  244. ac_help="$ac_help
  245. --enable-leaky Build leaky memory tool"
  246. ac_help="$ac_help
  247. --enable-xpctools Build JS profiling tool"
  248. ac_help="$ac_help
  249. --disable-tests Do not build test libraries & programs"
  250. ac_help="$ac_help
  251. --disable-parental-controls
  252. Do not build parental controls"
  253. ac_help="$ac_help
  254. --disable-vista-sdk-requirements
  255. Do not build Vista SDK specific code"
  256. ac_help="$ac_help
  257. --with-system-telepathy-stack
  258. Use system dbus, dbus-glib and telepathy-glib
  259. libraries and only system telepathy connection
  260. managers [dbus, dbus-glib and telepathy-glib
  261. are detected using pkg-config]"
  262. ac_help="$ac_help
  263. --enable-xpcom-lea Use Lea malloc in xpcom "
  264. ac_help="$ac_help
  265. --enable-places Enable 'places' bookmark/history implementation"
  266. ac_help="$ac_help
  267. --disable-feeds Disable feed handling and processing components"
  268. ac_help="$ac_help
  269. --enable-storage Enable mozStorage module and related components"
  270. ac_help="$ac_help
  271. --enable-system-sqlite Use system sqlite (located with pkgconfig)"
  272. ac_help="$ac_help
  273. --enable-help-viewer Enable help viewer"
  274. ac_help="$ac_help
  275. --enable-safe-browsing Enable safe browsing (anti-phishing) implementation"
  276. ac_help="$ac_help
  277. --enable-url-classifier Enable url classifier module"
  278. ac_help="$ac_help
  279. --disable-zipwriter Disable zipwriter component"
  280. ac_help="$ac_help
  281. --enable-js-ultrasparc Use UltraSPARC optimizations in JS"
  282. ac_help="$ac_help
  283. --enable-debug[=DBG] Enable building with developer debug info
  284. (Using compiler flags DBG)"
  285. ac_help="$ac_help
  286. --disable-optimize Disable compiler optimization
  287. --enable-optimize=[OPT] Specify compiler optimization flags [OPT=-O]"
  288. ac_help="$ac_help
  289. --enable-debug-modules Enable/disable debug info for specific modules"
  290. ac_help="$ac_help
  291. --enable-debugger-info-modules
  292. Enable/disable debugger info for specific modules"
  293. ac_help="$ac_help
  294. --enable-boehm Enable the Boehm Garbage Collector"
  295. ac_help="$ac_help
  296. --disable-logging Disable logging facilities"
  297. ac_help="$ac_help
  298. --enable-logrefcnt Enable logging of refcounts (default=debug) "
  299. ac_help="$ac_help
  300. --enable-trace-malloc Enable malloc tracing"
  301. ac_help="$ac_help
  302. --enable-jemalloc Replace memory allocator with jemalloc"
  303. ac_help="$ac_help
  304. --with-valgrind Enable valgrind integration hooks"
  305. ac_help="$ac_help
  306. --enable-wrap-malloc Wrap malloc calls (gnu linker only)"
  307. ac_help="$ac_help
  308. --with-wrap-malloc=DIR Location of malloc wrapper library"
  309. ac_help="$ac_help
  310. --enable-efence Link with Electric Fence"
  311. ac_help="$ac_help
  312. --enable-jprof Enable jprof profiling tool (needs mozilla/tools/jprof)"
  313. ac_help="$ac_help
  314. --enable-shark Enable shark remote profiling (needs CHUD framework)"
  315. ac_help="$ac_help
  316. --enable-strip Enable stripping of libs & executables "
  317. ac_help="$ac_help
  318. --enable-install-strip Enable stripping of libs & executables when packaging "
  319. ac_help="$ac_help
  320. --enable-elf-dynstr-gc Enable elf dynstr garbage collector (opt builds only)"
  321. ac_help="$ac_help
  322. --enable-old-abi-compat-wrappers
  323. Support old GCC ABI symbols to ease the pain
  324. of the linux compiler change"
  325. ac_help="$ac_help
  326. --enable-prebinding Enable prebinding (Mac OS X only)"
  327. ac_help="$ac_help
  328. --enable-timeline Enable timeline services "
  329. ac_help="$ac_help
  330. --enable-reflow-perf Enable reflow performance tracing"
  331. ac_help="$ac_help
  332. --enable-perf-metrics Enable performance metrics"
  333. ac_help="$ac_help
  334. --enable-codesighs Enable code size analysis tools"
  335. ac_help="$ac_help
  336. --enable-eazel-profiler-support
  337. Enable Corel/Eazel profiler support"
  338. ac_help="$ac_help
  339. --enable-profile-modules
  340. Enable/disable profiling for specific modules"
  341. ac_help="$ac_help
  342. --enable-insure Enable insure++ instrumentation (linux only)"
  343. ac_help="$ac_help
  344. --with-insure-dirs=DIRS
  345. Dirs to instrument with insure "
  346. ac_help="$ac_help
  347. --with-insure-exclude-dirs=DIRS
  348. Dirs to not instrument with insure "
  349. ac_help="$ac_help
  350. --enable-quantify Enable Quantify support (Windows only) "
  351. ac_help="$ac_help
  352. --enable-xterm-updates Update XTERM titles with current command."
  353. ac_help="$ac_help
  354. --enable-chrome-format=jar|flat|both|symlink
  355. Select FORMAT of chrome files (default=jar)"
  356. ac_help="$ac_help
  357. --with-default-mozilla-five-home
  358. Set the default value for MOZILLA_FIVE_HOME"
  359. ac_help="$ac_help
  360. --with-user-appdir=DIR Set user-specific appdir (default=.mozilla)"
  361. ac_help="$ac_help
  362. --with-doc-input-dirs=DIRS
  363. Header/idl dirs to create docs from"
  364. ac_help="$ac_help
  365. --with-doc-include-dirs=DIRS
  366. Include dirs to preprocess doc headers"
  367. ac_help="$ac_help
  368. --with-doc-output-dir=DIR
  369. Dir to generate docs into"
  370. ac_help="$ac_help
  371. --enable-long-long-warning
  372. Warn about use of non-ANSI long long type"
  373. ac_help="$ac_help
  374. --disable-profile-guided-optimization
  375. Don't build with PGO even if called via make profiledbuild"
  376. ac_help="$ac_help
  377. --disable-pedantic Issue all warnings demanded by strict ANSI C "
  378. ac_help="$ac_help
  379. --enable-cpp-rtti Enable C++ RTTI "
  380. ac_help="$ac_help
  381. --enable-cpp-exceptions Enable C++ exceptions "
  382. ac_help="$ac_help
  383. --disable-auto-deps Do not automatically generate dependency info"
  384. ac_help="$ac_help
  385. --disable-md Do not use compiler-based dependencies "
  386. ac_help="$ac_help
  387. --enable-static Enable building of internal static libs"
  388. ac_help="$ac_help
  389. --enable-libxul Enable building of libxul"
  390. ac_help="$ac_help
  391. --enable-js-static-build Force js to be a static lib"
  392. ac_help="$ac_help
  393. --enable-static-mail Enable static mail build support"
  394. ac_help="$ac_help
  395. --without-libIDL Skip check for libIDL (standalone modules only)"
  396. ac_help="$ac_help
  397. --with-libIDL-prefix=PFX
  398. Prefix where libIDL is installed (optional)"
  399. ac_help="$ac_help
  400. --with-libIDL-exec-prefix=PFX
  401. Exec prefix where libIDL is installed (optional)"
  402. ac_help="$ac_help
  403. --disable-libIDLtest Do not try to compile and run a test libIDL program"
  404. ac_help="$ac_help
  405. --with-glib-prefix=PFX Prefix where GLIB is installed (optional)"
  406. ac_help="$ac_help
  407. --with-glib-exec-prefix=PFX
  408. Exec prefix where GLIB is installed (optional)"
  409. ac_help="$ac_help
  410. --disable-glibtest Do not try to compile and run a test GLIB program"
  411. ac_help="$ac_help
  412. --with-glib-prefix=PFX Prefix where GLIB is installed (optional)"
  413. ac_help="$ac_help
  414. --with-glib-exec-prefix=PFX
  415. Exec prefix where GLIB is installed (optional)"
  416. ac_help="$ac_help
  417. --disable-glibtest Do not try to compile and run a test GLIB program"
  418. ac_help="$ac_help
  419. --enable-system-cairo Use system cairo (located with pkgconfig)"
  420. ac_help="$ac_help
  421. --enable-system-lcms Use system lcms (located with pkgconfig)"
  422. ac_help="$ac_help
  423. --disable-xul Disable XUL"
  424. ac_help="$ac_help
  425. --disable-profilesharing Disable profile sharing"
  426. ac_help="$ac_help
  427. --enable-ipcd Enable IPC daemon"
  428. ac_help="$ac_help
  429. --disable-profilelocking Disable profile locking"
  430. ac_help="$ac_help
  431. --disable-rdf Disable RDF"
  432. ac_help="$ac_help
  433. --enable-necko-protocols[={http,ftp,default,all,none}]
  434. Enable/disable specific protocol handlers"
  435. ac_help="$ac_help
  436. --disable-necko-disk-cache
  437. Disable necko disk cache"
  438. ac_help="$ac_help
  439. --enable-necko-small-buffers
  440. Minimize size of necko's i/o buffers"
  441. ac_help="$ac_help
  442. --disable-cookies Disable cookie support"
  443. ac_help="$ac_help
  444. --disable-v1-string-abi Disable binary compatibility layer for strings"
  445. # Initialize some variables set by options.
  446. # The variables have the same names as the options, with
  447. # dashes changed to underlines.
  448. build=NONE
  449. cache_file=./config.cache
  450. exec_prefix=NONE
  451. host=NONE
  452. no_create=
  453. nonopt=NONE
  454. no_recursion=
  455. prefix=NONE
  456. program_prefix=NONE
  457. program_suffix=NONE
  458. program_transform_name=s,x,x,
  459. silent=
  460. site=
  461. srcdir=
  462. target=NONE
  463. verbose=
  464. x_includes=NONE
  465. x_libraries=NONE
  466. bindir='${exec_prefix}/bin'
  467. sbindir='${exec_prefix}/sbin'
  468. libexecdir='${exec_prefix}/libexec'
  469. datadir='${prefix}/share'
  470. sysconfdir='${prefix}/etc'
  471. sharedstatedir='${prefix}/com'
  472. localstatedir='${prefix}/var'
  473. libdir='${exec_prefix}/lib'
  474. includedir='${prefix}/include'
  475. oldincludedir='/usr/include'
  476. infodir='${prefix}/info'
  477. mandir='${prefix}/man'
  478. # Initialize some other variables.
  479. subdirs=
  480. MFLAGS= MAKEFLAGS=
  481. SHELL=${CONFIG_SHELL-/bin/sh}
  482. # Maximum number of lines to put in a shell here document.
  483. ac_max_here_lines=12
  484. ac_prev=
  485. for ac_option
  486. do
  487. # If the previous option needs an argument, assign it.
  488. if test -n "$ac_prev"; then
  489. eval "$ac_prev=\$ac_option"
  490. ac_prev=
  491. continue
  492. fi
  493. case "$ac_option" in
  494. -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
  495. *) ac_optarg= ;;
  496. esac
  497. # Accept the important Cygnus configure options, so we can diagnose typos.
  498. case "$ac_option" in
  499. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  500. ac_prev=bindir ;;
  501. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  502. bindir="$ac_optarg" ;;
  503. -build | --build | --buil | --bui | --bu)
  504. ac_prev=build ;;
  505. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  506. build="$ac_optarg" ;;
  507. -cache-file | --cache-file | --cache-fil | --cache-fi \
  508. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  509. ac_prev=cache_file ;;
  510. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  511. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  512. cache_file="$ac_optarg" ;;
  513. -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
  514. ac_prev=datadir ;;
  515. -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
  516. | --da=*)
  517. datadir="$ac_optarg" ;;
  518. -disable-* | --disable-*)
  519. ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
  520. # Reject names that are not valid shell variable names.
  521. if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
  522. { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  523. fi
  524. ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  525. eval "enable_${ac_feature}=no" ;;
  526. -enable-* | --enable-*)
  527. ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
  528. # Reject names that are not valid shell variable names.
  529. if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
  530. { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
  531. fi
  532. ac_feature=`echo $ac_feature| sed 's/-/_/g'`
  533. case "$ac_option" in
  534. *=*) ;;
  535. *) ac_optarg=yes ;;
  536. esac
  537. eval "enable_${ac_feature}='$ac_optarg'" ;;
  538. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  539. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  540. | --exec | --exe | --ex)
  541. ac_prev=exec_prefix ;;
  542. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  543. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  544. | --exec=* | --exe=* | --ex=*)
  545. exec_prefix="$ac_optarg" ;;
  546. -gas | --gas | --ga | --g)
  547. # Obsolete; use --with-gas.
  548. with_gas=yes ;;
  549. -help | --help | --hel | --he)
  550. # Omit some internal or obsolete options to make the list less imposing.
  551. # This message is too long to be a string in the A/UX 3.1 sh.
  552. cat << EOF
  553. Usage: configure [options] [host]
  554. Options: [defaults in brackets after descriptions]
  555. Configuration:
  556. --cache-file=FILE cache test results in FILE
  557. --help print this message
  558. --no-create do not create output files
  559. --quiet, --silent do not print \`checking...' messages
  560. --version print the version of autoconf that created configure
  561. Directory and file names:
  562. --prefix=PREFIX install architecture-independent files in PREFIX
  563. [$ac_default_prefix]
  564. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  565. [same as prefix]
  566. --bindir=DIR user executables in DIR [EPREFIX/bin]
  567. --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
  568. --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
  569. --datadir=DIR read-only architecture-independent data in DIR
  570. [PREFIX/share]
  571. --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
  572. --sharedstatedir=DIR modifiable architecture-independent data in DIR
  573. [PREFIX/com]
  574. --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
  575. --libdir=DIR object code libraries in DIR [EPREFIX/lib]
  576. --includedir=DIR C header files in DIR [PREFIX/include]
  577. --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
  578. --infodir=DIR info documentation in DIR [PREFIX/info]
  579. --mandir=DIR man documentation in DIR [PREFIX/man]
  580. --srcdir=DIR find the sources in DIR [configure dir or ..]
  581. --program-prefix=PREFIX prepend PREFIX to installed program names
  582. --program-suffix=SUFFIX append SUFFIX to installed program names
  583. --program-transform-name=PROGRAM
  584. run sed PROGRAM on installed program names
  585. EOF
  586. cat << EOF
  587. Host type:
  588. --build=BUILD configure for building on BUILD [BUILD=HOST]
  589. --host=HOST configure for HOST [guessed]
  590. --target=TARGET configure for TARGET [TARGET=HOST]
  591. Features and packages:
  592. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  593. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  594. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  595. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  596. --x-includes=DIR X include files are in DIR
  597. --x-libraries=DIR X library files are in DIR
  598. EOF
  599. if test -n "$ac_help"; then
  600. echo "--enable and --with options recognized:$ac_help"
  601. fi
  602. exit 0 ;;
  603. -host | --host | --hos | --ho)
  604. ac_prev=host ;;
  605. -host=* | --host=* | --hos=* | --ho=*)
  606. host="$ac_optarg" ;;
  607. -includedir | --includedir | --includedi | --included | --include \
  608. | --includ | --inclu | --incl | --inc)
  609. ac_prev=includedir ;;
  610. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  611. | --includ=* | --inclu=* | --incl=* | --inc=*)
  612. includedir="$ac_optarg" ;;
  613. -infodir | --infodir | --infodi | --infod | --info | --inf)
  614. ac_prev=infodir ;;
  615. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  616. infodir="$ac_optarg" ;;
  617. -libdir | --libdir | --libdi | --libd)
  618. ac_prev=libdir ;;
  619. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  620. libdir="$ac_optarg" ;;
  621. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  622. | --libexe | --libex | --libe)
  623. ac_prev=libexecdir ;;
  624. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  625. | --libexe=* | --libex=* | --libe=*)
  626. libexecdir="$ac_optarg" ;;
  627. -localstatedir | --localstatedir | --localstatedi | --localstated \
  628. | --localstate | --localstat | --localsta | --localst \
  629. | --locals | --local | --loca | --loc | --lo)
  630. ac_prev=localstatedir ;;
  631. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  632. | --localstate=* | --localstat=* | --localsta=* | --localst=* \
  633. | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
  634. localstatedir="$ac_optarg" ;;
  635. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  636. ac_prev=mandir ;;
  637. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  638. mandir="$ac_optarg" ;;
  639. -nfp | --nfp | --nf)
  640. # Obsolete; use --without-fp.
  641. with_fp=no ;;
  642. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  643. | --no-cr | --no-c)
  644. no_create=yes ;;
  645. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  646. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  647. no_recursion=yes ;;
  648. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  649. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  650. | --oldin | --oldi | --old | --ol | --o)
  651. ac_prev=oldincludedir ;;
  652. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  653. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  654. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  655. oldincludedir="$ac_optarg" ;;
  656. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  657. ac_prev=prefix ;;
  658. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  659. prefix="$ac_optarg" ;;
  660. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  661. | --program-pre | --program-pr | --program-p)
  662. ac_prev=program_prefix ;;
  663. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  664. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  665. program_prefix="$ac_optarg" ;;
  666. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  667. | --program-suf | --program-su | --program-s)
  668. ac_prev=program_suffix ;;
  669. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  670. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  671. program_suffix="$ac_optarg" ;;
  672. -program-transform-name | --program-transform-name \
  673. | --program-transform-nam | --program-transform-na \
  674. | --program-transform-n | --program-transform- \
  675. | --program-transform | --program-transfor \
  676. | --program-transfo | --program-transf \
  677. | --program-trans | --program-tran \
  678. | --progr-tra | --program-tr | --program-t)
  679. ac_prev=program_transform_name ;;
  680. -program-transform-name=* | --program-transform-name=* \
  681. | --program-transform-nam=* | --program-transform-na=* \
  682. | --program-transform-n=* | --program-transform-=* \
  683. | --program-transform=* | --program-transfor=* \
  684. | --program-transfo=* | --program-transf=* \
  685. | --program-trans=* | --program-tran=* \
  686. | --progr-tra=* | --program-tr=* | --program-t=*)
  687. program_transform_name="$ac_optarg" ;;
  688. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  689. | -silent | --silent | --silen | --sile | --sil)
  690. silent=yes ;;
  691. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  692. ac_prev=sbindir ;;
  693. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  694. | --sbi=* | --sb=*)
  695. sbindir="$ac_optarg" ;;
  696. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  697. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  698. | --sharedst | --shareds | --shared | --share | --shar \
  699. | --sha | --sh)
  700. ac_prev=sharedstatedir ;;
  701. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  702. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  703. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  704. | --sha=* | --sh=*)
  705. sharedstatedir="$ac_optarg" ;;
  706. -site | --site | --sit)
  707. ac_prev=site ;;
  708. -site=* | --site=* | --sit=*)
  709. site="$ac_optarg" ;;
  710. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  711. ac_prev=srcdir ;;
  712. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  713. srcdir="$ac_optarg" ;;
  714. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  715. | --syscon | --sysco | --sysc | --sys | --sy)
  716. ac_prev=sysconfdir ;;
  717. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  718. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  719. sysconfdir="$ac_optarg" ;;
  720. -target | --target | --targe | --targ | --tar | --ta | --t)
  721. ac_prev=target ;;
  722. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  723. target="$ac_optarg" ;;
  724. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  725. verbose=yes ;;
  726. -version | --version | --versio | --versi | --vers)
  727. echo "configure generated by autoconf version 2.13"
  728. exit 0 ;;
  729. -with-* | --with-*)
  730. ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
  731. # Reject names that are not valid shell variable names.
  732. if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
  733. { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  734. fi
  735. ac_package=`echo $ac_package| sed 's/-/_/g'`
  736. case "$ac_option" in
  737. *=*) ;;
  738. *) ac_optarg=yes ;;
  739. esac
  740. eval "with_${ac_package}='$ac_optarg'" ;;
  741. -without-* | --without-*)
  742. ac_package=`echo $ac_option|sed -e 's/-*without-//'`
  743. # Reject names that are not valid shell variable names.
  744. if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
  745. { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
  746. fi
  747. ac_package=`echo $ac_package| sed 's/-/_/g'`
  748. eval "with_${ac_package}=no" ;;
  749. --x)
  750. # Obsolete; use --with-x.
  751. with_x=yes ;;
  752. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  753. | --x-incl | --x-inc | --x-in | --x-i)
  754. ac_prev=x_includes ;;
  755. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  756. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  757. x_includes="$ac_optarg" ;;
  758. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  759. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  760. ac_prev=x_libraries ;;
  761. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  762. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  763. x_libraries="$ac_optarg" ;;
  764. -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
  765. ;;
  766. *)
  767. if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
  768. echo "configure: warning: $ac_option: invalid host type" 1>&2
  769. fi
  770. if test "x$nonopt" != xNONE; then
  771. { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
  772. fi
  773. nonopt="$ac_option"
  774. ;;
  775. esac
  776. done
  777. if test -n "$ac_prev"; then
  778. { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
  779. fi
  780. trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  781. # File descriptor usage:
  782. # 0 standard input
  783. # 1 file creation
  784. # 2 errors and warnings
  785. # 3 some systems may open it to /dev/tty
  786. # 4 used on the Kubota Titan
  787. # 6 checking for... messages and results
  788. # 5 compiler messages saved in config.log
  789. if test "$silent" = yes; then
  790. exec 6>/dev/null
  791. else
  792. exec 6>&1
  793. fi
  794. exec 5>./config.log
  795. echo "\
  796. This file contains any messages produced by compilers while
  797. running configure, to aid debugging if configure makes a mistake.
  798. " 1>&5
  799. # Strip out --no-create and --no-recursion so they do not pile up.
  800. # Also quote any args containing shell metacharacters.
  801. ac_configure_args=
  802. for ac_arg
  803. do
  804. case "$ac_arg" in
  805. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  806. | --no-cr | --no-c) ;;
  807. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  808. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
  809. *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
  810. ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  811. *) ac_configure_args="$ac_configure_args $ac_arg" ;;
  812. esac
  813. done
  814. # NLS nuisances.
  815. # Only set these to C if already set. These must not be set unconditionally
  816. # because not all systems understand e.g. LANG=C (notably SCO).
  817. # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
  818. # Non-C LC_CTYPE values break the ctype check.
  819. if test "${LANG+set}" = set; then LANG=C; export LANG; fi
  820. if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
  821. if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
  822. if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
  823. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  824. rm -rf conftest* confdefs.h
  825. # AIX cpp loses on an empty file, so make sure it contains at least a newline.
  826. echo > confdefs.h
  827. # A filename unique to this package, relative to the directory that
  828. # configure is in, which we can look for to find out if srcdir is correct.
  829. ac_unique_file=config/config.mk
  830. # Find the source files, if location was not specified.
  831. if test -z "$srcdir"; then
  832. ac_srcdir_defaulted=yes
  833. # Try the directory containing this script, then its parent.
  834. ac_prog=$0
  835. ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
  836. test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
  837. srcdir=$ac_confdir
  838. if test ! -r $srcdir/$ac_unique_file; then
  839. srcdir=..
  840. fi
  841. else
  842. ac_srcdir_defaulted=no
  843. fi
  844. if test ! -r $srcdir/$ac_unique_file; then
  845. if test "$ac_srcdir_defaulted" = yes; then
  846. { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
  847. else
  848. { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
  849. fi
  850. fi
  851. srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
  852. # Prefer explicitly selected file to automatically selected ones.
  853. if test -z "$CONFIG_SITE"; then
  854. if test "x$prefix" != xNONE; then
  855. CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
  856. else
  857. CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
  858. fi
  859. fi
  860. for ac_site_file in $CONFIG_SITE; do
  861. if test -r "$ac_site_file"; then
  862. echo "loading site script $ac_site_file"
  863. . "$ac_site_file"
  864. fi
  865. done
  866. if test -r "$cache_file"; then
  867. echo "loading cache $cache_file"
  868. . $cache_file
  869. else
  870. echo "creating cache $cache_file"
  871. > $cache_file
  872. fi
  873. ac_ext=c
  874. # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
  875. ac_cpp='$CPP $CPPFLAGS'
  876. ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
  877. ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
  878. cross_compiling=$ac_cv_prog_cc_cross
  879. ac_exeext=
  880. ac_objext=o
  881. if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
  882. # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
  883. if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
  884. ac_n= ac_c='
  885. ' ac_t=' '
  886. else
  887. ac_n=-n ac_c= ac_t=
  888. fi
  889. else
  890. ac_n= ac_c='\c' ac_t=
  891. fi
  892. ac_aux_dir=
  893. for ac_dir in ${srcdir}/build/autoconf $srcdir/${srcdir}/build/autoconf; do
  894. if test -f $ac_dir/install-sh; then
  895. ac_aux_dir=$ac_dir
  896. ac_install_sh="$ac_aux_dir/install-sh -c"
  897. break
  898. elif test -f $ac_dir/install.sh; then
  899. ac_aux_dir=$ac_dir
  900. ac_install_sh="$ac_aux_dir/install.sh -c"
  901. break
  902. fi
  903. done
  904. if test -z "$ac_aux_dir"; then
  905. { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/build/autoconf $srcdir/${srcdir}/build/autoconf" 1>&2; exit 1; }
  906. fi
  907. ac_config_guess=$ac_aux_dir/config.guess
  908. ac_config_sub=$ac_aux_dir/config.sub
  909. ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
  910. # Do some error checking and defaulting for the host and target type.
  911. # The inputs are:
  912. # configure --host=HOST --target=TARGET --build=BUILD NONOPT
  913. #
  914. # The rules are:
  915. # 1. You are not allowed to specify --host, --target, and nonopt at the
  916. # same time.
  917. # 2. Host defaults to nonopt.
  918. # 3. If nonopt is not specified, then host defaults to the current host,
  919. # as determined by config.guess.
  920. # 4. Target and build default to nonopt.
  921. # 5. If nonopt is not specified, then target and build default to host.
  922. # The aliases save the names the user supplied, while $host etc.
  923. # will get canonicalized.
  924. case $host---$target---$nonopt in
  925. NONE---*---* | *---NONE---* | *---*---NONE) ;;
  926. *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
  927. esac
  928. # Make sure we can run config.sub.
  929. if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
  930. else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
  931. fi
  932. echo $ac_n "checking host system type""... $ac_c" 1>&6
  933. echo "configure:1006: checking host system type" >&5
  934. host_alias=$host
  935. case "$host_alias" in
  936. NONE)
  937. case $nonopt in
  938. NONE)
  939. if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
  940. else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
  941. fi ;;
  942. *) host_alias=$nonopt ;;
  943. esac ;;
  944. esac
  945. host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
  946. host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  947. host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  948. host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  949. echo "$ac_t""$host" 1>&6
  950. echo $ac_n "checking target system type""... $ac_c" 1>&6
  951. echo "configure:1027: checking target system type" >&5
  952. target_alias=$target
  953. case "$target_alias" in
  954. NONE)
  955. case $nonopt in
  956. NONE) target_alias=$host_alias ;;
  957. *) target_alias=$nonopt ;;
  958. esac ;;
  959. esac
  960. target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
  961. target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  962. target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  963. target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  964. echo "$ac_t""$target" 1>&6
  965. echo $ac_n "checking build system type""... $ac_c" 1>&6
  966. echo "configure:1045: checking build system type" >&5
  967. build_alias=$build
  968. case "$build_alias" in
  969. NONE)
  970. case $nonopt in
  971. NONE) build_alias=$host_alias ;;
  972. *) build_alias=$nonopt ;;
  973. esac ;;
  974. esac
  975. build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
  976. build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  977. build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  978. build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  979. echo "$ac_t""$build" 1>&6
  980. test "$host_alias" != "$target_alias" &&
  981. test "$program_prefix$program_suffix$program_transform_name" = \
  982. NONENONEs,x,x, &&
  983. program_prefix=${target_alias}-
  984. TARGET_CPU="${target_cpu}"
  985. TARGET_VENDOR="${target_vendor}"
  986. TARGET_OS="${target_os}"
  987. CFLAGS="${CFLAGS=}"
  988. CPPFLAGS="${CPPFLAGS=}"
  989. CXXFLAGS="${CXXFLAGS=}"
  990. LDFLAGS="${LDFLAGS=}"
  991. HOST_CFLAGS="${HOST_CFLAGS=}"
  992. HOST_CXXFLAGS="${HOST_CXXFLAGS=}"
  993. HOST_LDFLAGS="${HOST_LDFLAGS=}"
  994. _SUBDIR_CC="$CC"
  995. _SUBDIR_CXX="$CXX"
  996. _SUBDIR_CFLAGS="$CFLAGS"
  997. _SUBDIR_CPPFLAGS="$CPPFLAGS"
  998. _SUBDIR_CXXFLAGS="$CXXFLAGS"
  999. _SUBDIR_LDFLAGS="$LDFLAGS"
  1000. _SUBDIR_HOST_CC="$HOST_CC"
  1001. _SUBDIR_HOST_CFLAGS="$HOST_CFLAGS"
  1002. _SUBDIR_HOST_CXXFLAGS="$HOST_CXXFLAGS"
  1003. _SUBDIR_HOST_LDFLAGS="$HOST_LDFLAGS"
  1004. _SUBDIR_CONFIG_ARGS="$ac_configure_args"
  1005. MOZJPEG=62
  1006. MOZPNG=10217
  1007. MOZZLIB=0x1230
  1008. NSPR_VERSION=4
  1009. NSS_VERSION=3
  1010. GLIB_VERSION=1.2.0
  1011. LIBIDL_VERSION=0.6.3
  1012. PERL_VERSION=5.006
  1013. LIBART_VERSION=2.3.4
  1014. CAIRO_VERSION=1.6.0
  1015. GLITZ_VERSION=0.4.0
  1016. PANGO_VERSION=1.10.0
  1017. GTK2_VERSION=2.10.0
  1018. MAKE_VERSION=3.78
  1019. WINDRES_VERSION=2.14.90
  1020. W32API_VERSION=3.8
  1021. GNOMEVFS_VERSION=2.0
  1022. GNOMEUI_VERSION=2.2.0
  1023. GCONF_VERSION=1.2.1
  1024. LIBGNOME_VERSION=2.0
  1025. STARTUP_NOTIFICATION_VERSION=0.8
  1026. DBUS_VERSION=0.60
  1027. LCMS_VERSION=1.17
  1028. SQLITE_VERSION=3.5.9
  1029. MSMANIFEST_TOOL=
  1030. MISSING_X=
  1031. for ac_prog in mawk gawk nawk awk
  1032. do
  1033. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1034. set dummy $ac_prog; ac_word=$2
  1035. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1036. echo "configure:1125: checking for $ac_word" >&5
  1037. if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
  1038. echo $ac_n "(cached) $ac_c" 1>&6
  1039. else
  1040. if test -n "$AWK"; then
  1041. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  1042. else
  1043. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  1044. ac_dummy="$PATH"
  1045. for ac_dir in $ac_dummy; do
  1046. test -z "$ac_dir" && ac_dir=.
  1047. if test -f $ac_dir/$ac_word; then
  1048. ac_cv_prog_AWK="$ac_prog"
  1049. break
  1050. fi
  1051. done
  1052. IFS="$ac_save_ifs"
  1053. fi
  1054. fi
  1055. AWK="$ac_cv_prog_AWK"
  1056. if test -n "$AWK"; then
  1057. echo "$ac_t""$AWK" 1>&6
  1058. else
  1059. echo "$ac_t""no" 1>&6
  1060. fi
  1061. test -n "$AWK" && break
  1062. done
  1063. USE_PTHREADS=
  1064. _PTHREAD_LDFLAGS=""
  1065. _topsrcdir=`cd \`dirname $0\`; pwd`
  1066. _objdir=`pwd`
  1067. if test "$_topsrcdir" != "$_objdir"
  1068. then
  1069. # Check for a couple representative files in the source tree
  1070. _conflict_files=
  1071. for file in $_topsrcdir/Makefile $_topsrcdir/config/autoconf.mk; do
  1072. if test -f $file; then
  1073. _conflict_files="$_conflict_files $file"
  1074. fi
  1075. done
  1076. if test "$_conflict_files"; then
  1077. echo "***"
  1078. echo "* Your source tree contains these files:"
  1079. for file in $_conflict_files; do
  1080. echo "* $file"
  1081. done
  1082. cat 1>&2 <<-EOF
  1083. * This indicates that you previously built in the source tree.
  1084. * A source tree build can confuse the separate objdir build.
  1085. *
  1086. * To clean up the source tree:
  1087. * 1. cd $_topsrcdir
  1088. * 2. gmake distclean
  1089. ***
  1090. EOF
  1091. exit 1
  1092. break
  1093. fi
  1094. fi
  1095. MOZ_BUILD_ROOT=`pwd`
  1096. if test -z "$CROSS_COMPILE"; then
  1097. case "$target" in
  1098. *-cygwin*|*-mingw*|*-msvc*|*-mks*)
  1099. MAKE_VERSION=3.79
  1100. if test -z "$CC"; then CC=cl; fi
  1101. if test -z "$CXX"; then CXX=cl; fi
  1102. if test -z "$CPP"; then CPP="cl -E -nologo"; fi
  1103. if test -z "$CXXCPP"; then CXXCPP="cl -TP -E -nologo"; ac_cv_prog_CXXCPP="$CXXCPP"; fi
  1104. if test -z "$LD"; then LD=link; fi
  1105. if test -z "$AS"; then AS=ml; fi
  1106. if test -z "$MIDL"; then MIDL=midl; fi
  1107. ;;
  1108. esac
  1109. fi
  1110. COMPILE_ENVIRONMENT=1
  1111. # Check whether --enable-compile-environment or --disable-compile-environment was given.
  1112. if test "${enable_compile_environment+set}" = set; then
  1113. enableval="$enable_compile_environment"
  1114. if test "$enableval" = "yes"; then
  1115. COMPILE_ENVIRONMENT=1
  1116. elif test "$enableval" = "no"; then
  1117. COMPILE_ENVIRONMENT=
  1118. else
  1119. { echo "configure: error: Option, compile-environment, does not take an argument ($enableval)." 1>&2; exit 1; }
  1120. fi
  1121. fi
  1122. if test "$COMPILE_ENVIRONMENT"; then
  1123. case "$target" in
  1124. *wince)
  1125. echo -----------------------------------------------------------------------------
  1126. echo Building Windows CE Shunt Library and Tool Chain
  1127. echo -----------------------------------------------------------------------------
  1128. ac_exeext=.exe
  1129. echo -n "#define TOPSRCDIR \"" > $srcdir/build/wince/tools/topsrcdir.h
  1130. echo `cd "$_topsrcdir" && pwd -W | tr '\n' '\"'` >> $srcdir/build/wince/tools/topsrcdir.h
  1131. make -C $srcdir/build/wince/tools
  1132. echo -----------------------------------------------------------------------------
  1133. ;;
  1134. esac
  1135. if test -n "$CROSS_COMPILE" && test "$target" != "$host"; then
  1136. echo "cross compiling from $host to $target"
  1137. cross_compiling=yes
  1138. _SAVE_CC="$CC"
  1139. _SAVE_CFLAGS="$CFLAGS"
  1140. _SAVE_LDFLAGS="$LDFLAGS"
  1141. echo $ac_n "checking for host c compiler""... $ac_c" 1>&6
  1142. echo "configure:1247: checking for host c compiler" >&5
  1143. for ac_prog in $HOST_CC gcc cc /usr/ucb/cc cl icc
  1144. do
  1145. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1146. set dummy $ac_prog; ac_word=$2
  1147. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1148. echo "configure:1253: checking for $ac_word" >&5
  1149. if eval "test \"`echo '$''{'ac_cv_prog_HOST_CC'+set}'`\" = set"; then
  1150. echo $ac_n "(cached) $ac_c" 1>&6
  1151. else
  1152. if test -n "$HOST_CC"; then
  1153. ac_cv_prog_HOST_CC="$HOST_CC" # Let the user override the test.
  1154. else
  1155. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  1156. ac_dummy="$PATH"
  1157. for ac_dir in $ac_dummy; do
  1158. test -z "$ac_dir" && ac_dir=.
  1159. if test -f $ac_dir/$ac_word; then
  1160. ac_cv_prog_HOST_CC="$ac_prog"
  1161. break
  1162. fi
  1163. done
  1164. IFS="$ac_save_ifs"
  1165. fi
  1166. fi
  1167. HOST_CC="$ac_cv_prog_HOST_CC"
  1168. if test -n "$HOST_CC"; then
  1169. echo "$ac_t""$HOST_CC" 1>&6
  1170. else
  1171. echo "$ac_t""no" 1>&6
  1172. fi
  1173. test -n "$HOST_CC" && break
  1174. done
  1175. test -n "$HOST_CC" || HOST_CC=""""
  1176. if test -z "$HOST_CC"; then
  1177. { echo "configure: error: no acceptable c compiler found in \$PATH" 1>&2; exit 1; }
  1178. fi
  1179. echo "$ac_t""$HOST_CC" 1>&6
  1180. echo $ac_n "checking for host c++ compiler""... $ac_c" 1>&6
  1181. echo "configure:1288: checking for host c++ compiler" >&5
  1182. for ac_prog in $HOST_CXX $CCC c++ g++ gcc CC cxx cc++ cl icc
  1183. do
  1184. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1185. set dummy $ac_prog; ac_word=$2
  1186. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1187. echo "configure:1294: checking for $ac_word" >&5
  1188. if eval "test \"`echo '$''{'ac_cv_prog_HOST_CXX'+set}'`\" = set"; then
  1189. echo $ac_n "(cached) $ac_c" 1>&6
  1190. else
  1191. if test -n "$HOST_CXX"; then
  1192. ac_cv_prog_HOST_CXX="$HOST_CXX" # Let the user override the test.
  1193. else
  1194. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  1195. ac_dummy="$PATH"
  1196. for ac_dir in $ac_dummy; do
  1197. test -z "$ac_dir" && ac_dir=.
  1198. if test -f $ac_dir/$ac_word; then
  1199. ac_cv_prog_HOST_CXX="$ac_prog"
  1200. break
  1201. fi
  1202. done
  1203. IFS="$ac_save_ifs"
  1204. fi
  1205. fi
  1206. HOST_CXX="$ac_cv_prog_HOST_CXX"
  1207. if test -n "$HOST_CXX"; then
  1208. echo "$ac_t""$HOST_CXX" 1>&6
  1209. else
  1210. echo "$ac_t""no" 1>&6
  1211. fi
  1212. test -n "$HOST_CXX" && break
  1213. done
  1214. test -n "$HOST_CXX" || HOST_CXX=""""
  1215. if test -z "$HOST_CXX"; then
  1216. { echo "configure: error: no acceptable c++ compiler found in \$PATH" 1>&2; exit 1; }
  1217. fi
  1218. echo "$ac_t""$HOST_CXX" 1>&6
  1219. if test -z "$HOST_CFLAGS"; then
  1220. HOST_CFLAGS="$CFLAGS"
  1221. fi
  1222. if test -z "$HOST_CXXFLAGS"; then
  1223. HOST_CXXFLAGS="$CXXFLAGS"
  1224. fi
  1225. if test -z "$HOST_LDFLAGS"; then
  1226. HOST_LDFLAGS="$LDFLAGS"
  1227. fi
  1228. for ac_prog in $HOST_RANLIB ranlib
  1229. do
  1230. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1231. set dummy $ac_prog; ac_word=$2
  1232. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1233. echo "configure:1343: checking for $ac_word" >&5
  1234. if eval "test \"`echo '$''{'ac_cv_prog_HOST_RANLIB'+set}'`\" = set"; then
  1235. echo $ac_n "(cached) $ac_c" 1>&6
  1236. else
  1237. if test -n "$HOST_RANLIB"; then
  1238. ac_cv_prog_HOST_RANLIB="$HOST_RANLIB" # Let the user override the test.
  1239. else
  1240. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  1241. ac_dummy=":"
  1242. for ac_dir in $ac_dummy; do
  1243. test -z "$ac_dir" && ac_dir=.
  1244. if test -f $ac_dir/$ac_word; then
  1245. ac_cv_prog_HOST_RANLIB="$ac_prog"
  1246. break
  1247. fi
  1248. done
  1249. IFS="$ac_save_ifs"
  1250. fi
  1251. fi
  1252. HOST_RANLIB="$ac_cv_prog_HOST_RANLIB"
  1253. if test -n "$HOST_RANLIB"; then
  1254. echo "$ac_t""$HOST_RANLIB" 1>&6
  1255. else
  1256. echo "$ac_t""no" 1>&6
  1257. fi
  1258. test -n "$HOST_RANLIB" && break
  1259. done
  1260. test -n "$HOST_RANLIB" || HOST_RANLIB="ranlib"
  1261. for ac_prog in $HOST_AR ar
  1262. do
  1263. # Extract the first word of "$ac_prog", so it can be a program name with args.
  1264. set dummy $ac_prog; ac_word=$2
  1265. echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
  1266. echo "configure:1378: checking for $ac_word" >&5
  1267. if eval "test \"`echo '$''{'ac_cv_prog_HOST_AR'+set}'`\" = set"; then
  1268. echo $ac_n "(cached) $ac_c" 1>&6
  1269. else
  1270. if test -n "$HOST_AR"; then
  1271. ac_cv_prog_HOST_AR="$HOST_AR" # Let the user override the test.
  1272. else
  1273. IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
  1274. ac_dummy=":"
  1275. for ac_dir in $ac_dummy; do
  1276. test -z "$ac_dir" && ac_dir=.
  1277. if test -f $ac_dir/$ac_word; then
  1278. ac_cv_prog_HOST_AR="$ac_prog"
  1279. break
  1280. fi
  1281. done
  1282. IFS="$ac_save_ifs"
  1283. fi
  1284. fi
  1285. HOST_AR="$ac_cv_prog_HOST_AR"
  1286. if test -n "$HOST_AR"; then
  1287. echo "$ac_t""$HOST_AR" 1>&6
  1288. else
  1289. echo "$ac_t""no" 1>&6
  1290. fi
  1291. test -n "$HOST_AR" && break
  1292. done
  1293. test -n "$HOST_AR" || HOST_AR="ar"
  1294. CC="$HOST_CC"
  1295. CFLAGS="$HOST_CFLAGS"
  1296. LDFLAGS="$HOST_LDFLAGS"
  1297. echo $ac_n "checking whether the host c compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works""... $ac_c" 1>&6
  1298. echo "configure:1413: checking whether the host c compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works" >&5
  1299. cat > conftest.$ac_ext <<EOF
  1300. #line 1415 "configure"
  1301. #include "confdefs.h"
  1302. int main() {
  1303. return(0);
  1304. ; return 0; }
  1305. EOF
  1306. if { (eval echo configure:1422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  1307. rm -rf conftest*
  1308. ac_cv_prog_hostcc_works=1 echo "$ac_t""yes" 1>&6
  1309. else
  1310. echo "configure: fa…

Large files files are truncated, but you can click here to view the full file