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