0002-add-config-rpath.patch 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680
  1. Add config.rpath from upstream CVS to avoid (re)autoconfiguring errors.
  2. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  3. diff -Nura classpath-0.98.orig/config.rpath classpath-0.98/config.rpath
  4. --- classpath-0.98.orig/config.rpath 1969-12-31 21:00:00.000000000 -0300
  5. +++ classpath-0.98/config.rpath 2013-07-10 09:36:51.894281025 -0300
  6. @@ -0,0 +1,672 @@
  7. +#! /bin/sh
  8. +# Output a system dependent set of variables, describing how to set the
  9. +# run time search path of shared libraries in an executable.
  10. +#
  11. +# Copyright 1996-2010 Free Software Foundation, Inc.
  12. +# Taken from GNU libtool, 2001
  13. +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
  14. +#
  15. +# This file is free software; the Free Software Foundation gives
  16. +# unlimited permission to copy and/or distribute it, with or without
  17. +# modifications, as long as this notice is preserved.
  18. +#
  19. +# The first argument passed to this file is the canonical host specification,
  20. +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
  21. +# or
  22. +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
  23. +# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
  24. +# should be set by the caller.
  25. +#
  26. +# The set of defined variables is at the end of this script.
  27. +
  28. +# Known limitations:
  29. +# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
  30. +# than 256 bytes, otherwise the compiler driver will dump core. The only
  31. +# known workaround is to choose shorter directory names for the build
  32. +# directory and/or the installation directory.
  33. +
  34. +# All known linkers require a `.a' archive for static linking (except MSVC,
  35. +# which needs '.lib').
  36. +libext=a
  37. +shrext=.so
  38. +
  39. +host="$1"
  40. +host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
  41. +host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
  42. +host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
  43. +
  44. +# Code taken from libtool.m4's _LT_CC_BASENAME.
  45. +
  46. +for cc_temp in $CC""; do
  47. + case $cc_temp in
  48. + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  49. + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  50. + \-*) ;;
  51. + *) break;;
  52. + esac
  53. +done
  54. +cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
  55. +
  56. +# Code taken from libtool.m4's _LT_COMPILER_PIC.
  57. +
  58. +wl=
  59. +if test "$GCC" = yes; then
  60. + wl='-Wl,'
  61. +else
  62. + case "$host_os" in
  63. + aix*)
  64. + wl='-Wl,'
  65. + ;;
  66. + darwin*)
  67. + case $cc_basename in
  68. + xlc*)
  69. + wl='-Wl,'
  70. + ;;
  71. + esac
  72. + ;;
  73. + mingw* | cygwin* | pw32* | os2* | cegcc*)
  74. + ;;
  75. + hpux9* | hpux10* | hpux11*)
  76. + wl='-Wl,'
  77. + ;;
  78. + irix5* | irix6* | nonstopux*)
  79. + wl='-Wl,'
  80. + ;;
  81. + newsos6)
  82. + ;;
  83. + linux* | k*bsd*-gnu)
  84. + case $cc_basename in
  85. + ecc*)
  86. + wl='-Wl,'
  87. + ;;
  88. + icc* | ifort*)
  89. + wl='-Wl,'
  90. + ;;
  91. + lf95*)
  92. + wl='-Wl,'
  93. + ;;
  94. + pgcc | pgf77 | pgf90)
  95. + wl='-Wl,'
  96. + ;;
  97. + ccc*)
  98. + wl='-Wl,'
  99. + ;;
  100. + como)
  101. + wl='-lopt='
  102. + ;;
  103. + *)
  104. + case `$CC -V 2>&1 | sed 5q` in
  105. + *Sun\ C*)
  106. + wl='-Wl,'
  107. + ;;
  108. + esac
  109. + ;;
  110. + esac
  111. + ;;
  112. + osf3* | osf4* | osf5*)
  113. + wl='-Wl,'
  114. + ;;
  115. + rdos*)
  116. + ;;
  117. + solaris*)
  118. + wl='-Wl,'
  119. + ;;
  120. + sunos4*)
  121. + wl='-Qoption ld '
  122. + ;;
  123. + sysv4 | sysv4.2uw2* | sysv4.3*)
  124. + wl='-Wl,'
  125. + ;;
  126. + sysv4*MP*)
  127. + ;;
  128. + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  129. + wl='-Wl,'
  130. + ;;
  131. + unicos*)
  132. + wl='-Wl,'
  133. + ;;
  134. + uts4*)
  135. + ;;
  136. + esac
  137. +fi
  138. +
  139. +# Code taken from libtool.m4's _LT_LINKER_SHLIBS.
  140. +
  141. +hardcode_libdir_flag_spec=
  142. +hardcode_libdir_separator=
  143. +hardcode_direct=no
  144. +hardcode_minus_L=no
  145. +
  146. +case "$host_os" in
  147. + cygwin* | mingw* | pw32* | cegcc*)
  148. + # FIXME: the MSVC++ port hasn't been tested in a loooong time
  149. + # When not using gcc, we currently assume that we are using
  150. + # Microsoft Visual C++.
  151. + if test "$GCC" != yes; then
  152. + with_gnu_ld=no
  153. + fi
  154. + ;;
  155. + interix*)
  156. + # we just hope/assume this is gcc and not c89 (= MSVC++)
  157. + with_gnu_ld=yes
  158. + ;;
  159. + openbsd*)
  160. + with_gnu_ld=no
  161. + ;;
  162. +esac
  163. +
  164. +ld_shlibs=yes
  165. +if test "$with_gnu_ld" = yes; then
  166. + # Set some defaults for GNU ld with shared library support. These
  167. + # are reset later if shared libraries are not supported. Putting them
  168. + # here allows them to be overridden if necessary.
  169. + # Unlike libtool, we use -rpath here, not --rpath, since the documented
  170. + # option of GNU ld is called -rpath, not --rpath.
  171. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  172. + case "$host_os" in
  173. + aix[3-9]*)
  174. + # On AIX/PPC, the GNU linker is very broken
  175. + if test "$host_cpu" != ia64; then
  176. + ld_shlibs=no
  177. + fi
  178. + ;;
  179. + amigaos*)
  180. + hardcode_libdir_flag_spec='-L$libdir'
  181. + hardcode_minus_L=yes
  182. + # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
  183. + # that the semantics of dynamic libraries on AmigaOS, at least up
  184. + # to version 4, is to share data among multiple programs linked
  185. + # with the same dynamic library. Since this doesn't match the
  186. + # behavior of shared libraries on other platforms, we cannot use
  187. + # them.
  188. + ld_shlibs=no
  189. + ;;
  190. + beos*)
  191. + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  192. + :
  193. + else
  194. + ld_shlibs=no
  195. + fi
  196. + ;;
  197. + cygwin* | mingw* | pw32* | cegcc*)
  198. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  199. + # no search path for DLLs.
  200. + hardcode_libdir_flag_spec='-L$libdir'
  201. + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  202. + :
  203. + else
  204. + ld_shlibs=no
  205. + fi
  206. + ;;
  207. + interix[3-9]*)
  208. + hardcode_direct=no
  209. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  210. + ;;
  211. + gnu* | linux* | k*bsd*-gnu)
  212. + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  213. + :
  214. + else
  215. + ld_shlibs=no
  216. + fi
  217. + ;;
  218. + netbsd*)
  219. + ;;
  220. + solaris*)
  221. + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  222. + ld_shlibs=no
  223. + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  224. + :
  225. + else
  226. + ld_shlibs=no
  227. + fi
  228. + ;;
  229. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  230. + case `$LD -v 2>&1` in
  231. + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  232. + ld_shlibs=no
  233. + ;;
  234. + *)
  235. + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  236. + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  237. + else
  238. + ld_shlibs=no
  239. + fi
  240. + ;;
  241. + esac
  242. + ;;
  243. + sunos4*)
  244. + hardcode_direct=yes
  245. + ;;
  246. + *)
  247. + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  248. + :
  249. + else
  250. + ld_shlibs=no
  251. + fi
  252. + ;;
  253. + esac
  254. + if test "$ld_shlibs" = no; then
  255. + hardcode_libdir_flag_spec=
  256. + fi
  257. +else
  258. + case "$host_os" in
  259. + aix3*)
  260. + # Note: this linker hardcodes the directories in LIBPATH if there
  261. + # are no directories specified by -L.
  262. + hardcode_minus_L=yes
  263. + if test "$GCC" = yes; then
  264. + # Neither direct hardcoding nor static linking is supported with a
  265. + # broken collect2.
  266. + hardcode_direct=unsupported
  267. + fi
  268. + ;;
  269. + aix[4-9]*)
  270. + if test "$host_cpu" = ia64; then
  271. + # On IA64, the linker does run time linking by default, so we don't
  272. + # have to do anything special.
  273. + aix_use_runtimelinking=no
  274. + else
  275. + aix_use_runtimelinking=no
  276. + # Test if we are trying to use run time linking or normal
  277. + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  278. + # need to do runtime linking.
  279. + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  280. + for ld_flag in $LDFLAGS; do
  281. + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  282. + aix_use_runtimelinking=yes
  283. + break
  284. + fi
  285. + done
  286. + ;;
  287. + esac
  288. + fi
  289. + hardcode_direct=yes
  290. + hardcode_libdir_separator=':'
  291. + if test "$GCC" = yes; then
  292. + case $host_os in aix4.[012]|aix4.[012].*)
  293. + collect2name=`${CC} -print-prog-name=collect2`
  294. + if test -f "$collect2name" && \
  295. + strings "$collect2name" | grep resolve_lib_name >/dev/null
  296. + then
  297. + # We have reworked collect2
  298. + :
  299. + else
  300. + # We have old collect2
  301. + hardcode_direct=unsupported
  302. + hardcode_minus_L=yes
  303. + hardcode_libdir_flag_spec='-L$libdir'
  304. + hardcode_libdir_separator=
  305. + fi
  306. + ;;
  307. + esac
  308. + fi
  309. + # Begin _LT_AC_SYS_LIBPATH_AIX.
  310. + echo 'int main () { return 0; }' > conftest.c
  311. + ${CC} ${LDFLAGS} conftest.c -o conftest
  312. + aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  313. +}'`
  314. + if test -z "$aix_libpath"; then
  315. + aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
  316. +}'`
  317. + fi
  318. + if test -z "$aix_libpath"; then
  319. + aix_libpath="/usr/lib:/lib"
  320. + fi
  321. + rm -f conftest.c conftest
  322. + # End _LT_AC_SYS_LIBPATH_AIX.
  323. + if test "$aix_use_runtimelinking" = yes; then
  324. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  325. + else
  326. + if test "$host_cpu" = ia64; then
  327. + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  328. + else
  329. + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  330. + fi
  331. + fi
  332. + ;;
  333. + amigaos*)
  334. + hardcode_libdir_flag_spec='-L$libdir'
  335. + hardcode_minus_L=yes
  336. + # see comment about different semantics on the GNU ld section
  337. + ld_shlibs=no
  338. + ;;
  339. + bsdi[45]*)
  340. + ;;
  341. + cygwin* | mingw* | pw32* | cegcc*)
  342. + # When not using gcc, we currently assume that we are using
  343. + # Microsoft Visual C++.
  344. + # hardcode_libdir_flag_spec is actually meaningless, as there is
  345. + # no search path for DLLs.
  346. + hardcode_libdir_flag_spec=' '
  347. + libext=lib
  348. + ;;
  349. + darwin* | rhapsody*)
  350. + hardcode_direct=no
  351. + if test "$GCC" = yes ; then
  352. + :
  353. + else
  354. + case $cc_basename in
  355. + xlc*)
  356. + ;;
  357. + *)
  358. + ld_shlibs=no
  359. + ;;
  360. + esac
  361. + fi
  362. + ;;
  363. + dgux*)
  364. + hardcode_libdir_flag_spec='-L$libdir'
  365. + ;;
  366. + freebsd1*)
  367. + ld_shlibs=no
  368. + ;;
  369. + freebsd2.2*)
  370. + hardcode_libdir_flag_spec='-R$libdir'
  371. + hardcode_direct=yes
  372. + ;;
  373. + freebsd2*)
  374. + hardcode_direct=yes
  375. + hardcode_minus_L=yes
  376. + ;;
  377. + freebsd* | dragonfly*)
  378. + hardcode_libdir_flag_spec='-R$libdir'
  379. + hardcode_direct=yes
  380. + ;;
  381. + hpux9*)
  382. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  383. + hardcode_libdir_separator=:
  384. + hardcode_direct=yes
  385. + # hardcode_minus_L: Not really in the search PATH,
  386. + # but as the default location of the library.
  387. + hardcode_minus_L=yes
  388. + ;;
  389. + hpux10*)
  390. + if test "$with_gnu_ld" = no; then
  391. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  392. + hardcode_libdir_separator=:
  393. + hardcode_direct=yes
  394. + # hardcode_minus_L: Not really in the search PATH,
  395. + # but as the default location of the library.
  396. + hardcode_minus_L=yes
  397. + fi
  398. + ;;
  399. + hpux11*)
  400. + if test "$with_gnu_ld" = no; then
  401. + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  402. + hardcode_libdir_separator=:
  403. + case $host_cpu in
  404. + hppa*64*|ia64*)
  405. + hardcode_direct=no
  406. + ;;
  407. + *)
  408. + hardcode_direct=yes
  409. + # hardcode_minus_L: Not really in the search PATH,
  410. + # but as the default location of the library.
  411. + hardcode_minus_L=yes
  412. + ;;
  413. + esac
  414. + fi
  415. + ;;
  416. + irix5* | irix6* | nonstopux*)
  417. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  418. + hardcode_libdir_separator=:
  419. + ;;
  420. + netbsd*)
  421. + hardcode_libdir_flag_spec='-R$libdir'
  422. + hardcode_direct=yes
  423. + ;;
  424. + newsos6)
  425. + hardcode_direct=yes
  426. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  427. + hardcode_libdir_separator=:
  428. + ;;
  429. + openbsd*)
  430. + if test -f /usr/libexec/ld.so; then
  431. + hardcode_direct=yes
  432. + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  433. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  434. + else
  435. + case "$host_os" in
  436. + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  437. + hardcode_libdir_flag_spec='-R$libdir'
  438. + ;;
  439. + *)
  440. + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  441. + ;;
  442. + esac
  443. + fi
  444. + else
  445. + ld_shlibs=no
  446. + fi
  447. + ;;
  448. + os2*)
  449. + hardcode_libdir_flag_spec='-L$libdir'
  450. + hardcode_minus_L=yes
  451. + ;;
  452. + osf3*)
  453. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  454. + hardcode_libdir_separator=:
  455. + ;;
  456. + osf4* | osf5*)
  457. + if test "$GCC" = yes; then
  458. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  459. + else
  460. + # Both cc and cxx compiler support -rpath directly
  461. + hardcode_libdir_flag_spec='-rpath $libdir'
  462. + fi
  463. + hardcode_libdir_separator=:
  464. + ;;
  465. + solaris*)
  466. + hardcode_libdir_flag_spec='-R$libdir'
  467. + ;;
  468. + sunos4*)
  469. + hardcode_libdir_flag_spec='-L$libdir'
  470. + hardcode_direct=yes
  471. + hardcode_minus_L=yes
  472. + ;;
  473. + sysv4)
  474. + case $host_vendor in
  475. + sni)
  476. + hardcode_direct=yes # is this really true???
  477. + ;;
  478. + siemens)
  479. + hardcode_direct=no
  480. + ;;
  481. + motorola)
  482. + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  483. + ;;
  484. + esac
  485. + ;;
  486. + sysv4.3*)
  487. + ;;
  488. + sysv4*MP*)
  489. + if test -d /usr/nec; then
  490. + ld_shlibs=yes
  491. + fi
  492. + ;;
  493. + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  494. + ;;
  495. + sysv5* | sco3.2v5* | sco5v6*)
  496. + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  497. + hardcode_libdir_separator=':'
  498. + ;;
  499. + uts4*)
  500. + hardcode_libdir_flag_spec='-L$libdir'
  501. + ;;
  502. + *)
  503. + ld_shlibs=no
  504. + ;;
  505. + esac
  506. +fi
  507. +
  508. +# Check dynamic linker characteristics
  509. +# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER.
  510. +# Unlike libtool.m4, here we don't care about _all_ names of the library, but
  511. +# only about the one the linker finds when passed -lNAME. This is the last
  512. +# element of library_names_spec in libtool.m4, or possibly two of them if the
  513. +# linker has special search rules.
  514. +library_names_spec= # the last element of library_names_spec in libtool.m4
  515. +libname_spec='lib$name'
  516. +case "$host_os" in
  517. + aix3*)
  518. + library_names_spec='$libname.a'
  519. + ;;
  520. + aix[4-9]*)
  521. + library_names_spec='$libname$shrext'
  522. + ;;
  523. + amigaos*)
  524. + library_names_spec='$libname.a'
  525. + ;;
  526. + beos*)
  527. + library_names_spec='$libname$shrext'
  528. + ;;
  529. + bsdi[45]*)
  530. + library_names_spec='$libname$shrext'
  531. + ;;
  532. + cygwin* | mingw* | pw32* | cegcc*)
  533. + shrext=.dll
  534. + library_names_spec='$libname.dll.a $libname.lib'
  535. + ;;
  536. + darwin* | rhapsody*)
  537. + shrext=.dylib
  538. + library_names_spec='$libname$shrext'
  539. + ;;
  540. + dgux*)
  541. + library_names_spec='$libname$shrext'
  542. + ;;
  543. + freebsd1*)
  544. + ;;
  545. + freebsd* | dragonfly*)
  546. + case "$host_os" in
  547. + freebsd[123]*)
  548. + library_names_spec='$libname$shrext$versuffix' ;;
  549. + *)
  550. + library_names_spec='$libname$shrext' ;;
  551. + esac
  552. + ;;
  553. + gnu*)
  554. + library_names_spec='$libname$shrext'
  555. + ;;
  556. + hpux9* | hpux10* | hpux11*)
  557. + case $host_cpu in
  558. + ia64*)
  559. + shrext=.so
  560. + ;;
  561. + hppa*64*)
  562. + shrext=.sl
  563. + ;;
  564. + *)
  565. + shrext=.sl
  566. + ;;
  567. + esac
  568. + library_names_spec='$libname$shrext'
  569. + ;;
  570. + interix[3-9]*)
  571. + library_names_spec='$libname$shrext'
  572. + ;;
  573. + irix5* | irix6* | nonstopux*)
  574. + library_names_spec='$libname$shrext'
  575. + case "$host_os" in
  576. + irix5* | nonstopux*)
  577. + libsuff= shlibsuff=
  578. + ;;
  579. + *)
  580. + case $LD in
  581. + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
  582. + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
  583. + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
  584. + *) libsuff= shlibsuff= ;;
  585. + esac
  586. + ;;
  587. + esac
  588. + ;;
  589. + linux*oldld* | linux*aout* | linux*coff*)
  590. + ;;
  591. + linux* | k*bsd*-gnu)
  592. + library_names_spec='$libname$shrext'
  593. + ;;
  594. + knetbsd*-gnu)
  595. + library_names_spec='$libname$shrext'
  596. + ;;
  597. + netbsd*)
  598. + library_names_spec='$libname$shrext'
  599. + ;;
  600. + newsos6)
  601. + library_names_spec='$libname$shrext'
  602. + ;;
  603. + nto-qnx*)
  604. + library_names_spec='$libname$shrext'
  605. + ;;
  606. + openbsd*)
  607. + library_names_spec='$libname$shrext$versuffix'
  608. + ;;
  609. + os2*)
  610. + libname_spec='$name'
  611. + shrext=.dll
  612. + library_names_spec='$libname.a'
  613. + ;;
  614. + osf3* | osf4* | osf5*)
  615. + library_names_spec='$libname$shrext'
  616. + ;;
  617. + rdos*)
  618. + ;;
  619. + solaris*)
  620. + library_names_spec='$libname$shrext'
  621. + ;;
  622. + sunos4*)
  623. + library_names_spec='$libname$shrext$versuffix'
  624. + ;;
  625. + sysv4 | sysv4.3*)
  626. + library_names_spec='$libname$shrext'
  627. + ;;
  628. + sysv4*MP*)
  629. + library_names_spec='$libname$shrext'
  630. + ;;
  631. + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  632. + library_names_spec='$libname$shrext'
  633. + ;;
  634. + uts4*)
  635. + library_names_spec='$libname$shrext'
  636. + ;;
  637. +esac
  638. +
  639. +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  640. +escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
  641. +shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
  642. +escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
  643. +escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
  644. +escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
  645. +
  646. +LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
  647. +
  648. +# How to pass a linker flag through the compiler.
  649. +wl="$escaped_wl"
  650. +
  651. +# Static library suffix (normally "a").
  652. +libext="$libext"
  653. +
  654. +# Shared library suffix (normally "so").
  655. +shlibext="$shlibext"
  656. +
  657. +# Format of library name prefix.
  658. +libname_spec="$escaped_libname_spec"
  659. +
  660. +# Library names that the linker finds when passed -lNAME.
  661. +library_names_spec="$escaped_library_names_spec"
  662. +
  663. +# Flag to hardcode \$libdir into a binary during linking.
  664. +# This must work even if \$libdir does not exist.
  665. +hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
  666. +
  667. +# Whether we need a single -rpath flag with a separated argument.
  668. +hardcode_libdir_separator="$hardcode_libdir_separator"
  669. +
  670. +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
  671. +# resulting binary.
  672. +hardcode_direct="$hardcode_direct"
  673. +
  674. +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
  675. +# resulting binary.
  676. +hardcode_minus_L="$hardcode_minus_L"
  677. +
  678. +EOF