1 diff -urN ladspa-05182015.orig/config.rpath ladspa-05182015/config.rpath
2 --- ladspa-05182015.orig/config.rpath 1969-12-31 17:00:00.000000000 -0700
3 +++ ladspa-05182015/config.rpath 2016-07-03 17:03:24.041983455 -0600
6 +# Output a system dependent set of variables, describing how to set the
7 +# run time search path of shared libraries in an executable.
9 +# Copyright 1996-2015 Free Software Foundation, Inc.
10 +# Taken from GNU libtool, 2001
11 +# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
13 +# This file is free software; the Free Software Foundation gives
14 +# unlimited permission to copy and/or distribute it, with or without
15 +# modifications, as long as this notice is preserved.
17 +# The first argument passed to this file is the canonical host specification,
18 +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
20 +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
21 +# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
22 +# should be set by the caller.
24 +# The set of defined variables is at the end of this script.
27 +# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
28 +# than 256 bytes, otherwise the compiler driver will dump core. The only
29 +# known workaround is to choose shorter directory names for the build
30 +# directory and/or the installation directory.
32 +# All known linkers require a '.a' archive for static linking (except MSVC,
33 +# which needs '.lib').
38 +host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
39 +host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
40 +host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
42 +# Code taken from libtool.m4's _LT_CC_BASENAME.
44 +for cc_temp in $CC""; do
46 + compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
47 + distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
52 +cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
54 +# Code taken from libtool.m4's _LT_COMPILER_PIC.
57 +if test "$GCC" = yes; then
64 + mingw* | cygwin* | pw32* | os2* | cegcc*)
66 + hpux9* | hpux10* | hpux11*)
69 + irix5* | irix6* | nonstopux*)
72 + linux* | k*bsd*-gnu | kopensolaris*-gnu)
73 + case $cc_basename in
86 + pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
92 + xl* | bgxl* | bgf* | mpixl*)
99 + case `$CC -V 2>&1 | sed 5q` in
100 + *Sun\ F* | *Sun*Fortran*)
114 + osf3* | osf4* | osf5*)
120 + case $cc_basename in
121 + f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
132 + sysv4 | sysv4.2uw2* | sysv4.3*)
137 + sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
148 +# Code taken from libtool.m4's _LT_LINKER_SHLIBS.
150 +hardcode_libdir_flag_spec=
151 +hardcode_libdir_separator=
156 + cygwin* | mingw* | pw32* | cegcc*)
157 + # FIXME: the MSVC++ port hasn't been tested in a loooong time
158 + # When not using gcc, we currently assume that we are using
159 + # Microsoft Visual C++.
160 + if test "$GCC" != yes; then
165 + # we just hope/assume this is gcc and not c89 (= MSVC++)
174 +if test "$with_gnu_ld" = yes; then
175 + # Set some defaults for GNU ld with shared library support. These
176 + # are reset later if shared libraries are not supported. Putting them
177 + # here allows them to be overridden if necessary.
178 + # Unlike libtool, we use -rpath here, not --rpath, since the documented
179 + # option of GNU ld is called -rpath, not --rpath.
180 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
183 + # On AIX/PPC, the GNU linker is very broken
184 + if test "$host_cpu" != ia64; then
189 + case "$host_cpu" in
193 + hardcode_libdir_flag_spec='-L$libdir'
194 + hardcode_minus_L=yes
199 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
205 + cygwin* | mingw* | pw32* | cegcc*)
206 + # hardcode_libdir_flag_spec is actually meaningless, as there is
207 + # no search path for DLLs.
208 + hardcode_libdir_flag_spec='-L$libdir'
209 + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
219 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
221 + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
222 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
231 + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
233 + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
239 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
240 + case `$LD -v 2>&1` in
241 + *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
245 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
246 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
254 + hardcode_direct=yes
257 + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
264 + if test "$ld_shlibs" = no; then
265 + hardcode_libdir_flag_spec=
270 + # Note: this linker hardcodes the directories in LIBPATH if there
271 + # are no directories specified by -L.
272 + hardcode_minus_L=yes
273 + if test "$GCC" = yes; then
274 + # Neither direct hardcoding nor static linking is supported with a
276 + hardcode_direct=unsupported
280 + if test "$host_cpu" = ia64; then
281 + # On IA64, the linker does run time linking by default, so we don't
282 + # have to do anything special.
283 + aix_use_runtimelinking=no
285 + aix_use_runtimelinking=no
286 + # Test if we are trying to use run time linking or normal
287 + # AIX style linking. If -brtl is somewhere in LDFLAGS, we
288 + # need to do runtime linking.
289 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
290 + for ld_flag in $LDFLAGS; do
291 + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
292 + aix_use_runtimelinking=yes
299 + hardcode_direct=yes
300 + hardcode_libdir_separator=':'
301 + if test "$GCC" = yes; then
302 + case $host_os in aix4.[012]|aix4.[012].*)
303 + collect2name=`${CC} -print-prog-name=collect2`
304 + if test -f "$collect2name" && \
305 + strings "$collect2name" | grep resolve_lib_name >/dev/null
307 + # We have reworked collect2
310 + # We have old collect2
311 + hardcode_direct=unsupported
312 + hardcode_minus_L=yes
313 + hardcode_libdir_flag_spec='-L$libdir'
314 + hardcode_libdir_separator=
319 + # Begin _LT_AC_SYS_LIBPATH_AIX.
320 + echo 'int main () { return 0; }' > conftest.c
321 + ${CC} ${LDFLAGS} conftest.c -o conftest
322 + aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
324 + if test -z "$aix_libpath"; then
325 + aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
328 + if test -z "$aix_libpath"; then
329 + aix_libpath="/usr/lib:/lib"
331 + rm -f conftest.c conftest
332 + # End _LT_AC_SYS_LIBPATH_AIX.
333 + if test "$aix_use_runtimelinking" = yes; then
334 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
336 + if test "$host_cpu" = ia64; then
337 + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
339 + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
344 + case "$host_cpu" in
348 + hardcode_libdir_flag_spec='-L$libdir'
349 + hardcode_minus_L=yes
355 + cygwin* | mingw* | pw32* | cegcc*)
356 + # When not using gcc, we currently assume that we are using
357 + # Microsoft Visual C++.
358 + # hardcode_libdir_flag_spec is actually meaningless, as there is
359 + # no search path for DLLs.
360 + hardcode_libdir_flag_spec=' '
363 + darwin* | rhapsody*)
365 + if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then
372 + hardcode_libdir_flag_spec='-L$libdir'
375 + hardcode_direct=yes
376 + hardcode_minus_L=yes
378 + freebsd* | dragonfly*)
379 + hardcode_libdir_flag_spec='-R$libdir'
380 + hardcode_direct=yes
383 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
384 + hardcode_libdir_separator=:
385 + hardcode_direct=yes
386 + # hardcode_minus_L: Not really in the search PATH,
387 + # but as the default location of the library.
388 + hardcode_minus_L=yes
391 + if test "$with_gnu_ld" = no; then
392 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
393 + hardcode_libdir_separator=:
394 + hardcode_direct=yes
395 + # hardcode_minus_L: Not really in the search PATH,
396 + # but as the default location of the library.
397 + hardcode_minus_L=yes
401 + if test "$with_gnu_ld" = no; then
402 + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
403 + hardcode_libdir_separator=:
409 + hardcode_direct=yes
410 + # hardcode_minus_L: Not really in the search PATH,
411 + # but as the default location of the library.
412 + hardcode_minus_L=yes
417 + irix5* | irix6* | nonstopux*)
418 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
419 + hardcode_libdir_separator=:
422 + hardcode_libdir_flag_spec='-R$libdir'
423 + hardcode_direct=yes
426 + hardcode_direct=yes
427 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
428 + hardcode_libdir_separator=:
433 + if test -f /usr/libexec/ld.so; then
434 + hardcode_direct=yes
435 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
436 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
439 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
440 + hardcode_libdir_flag_spec='-R$libdir'
443 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
452 + hardcode_libdir_flag_spec='-L$libdir'
453 + hardcode_minus_L=yes
456 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
457 + hardcode_libdir_separator=:
460 + if test "$GCC" = yes; then
461 + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
463 + # Both cc and cxx compiler support -rpath directly
464 + hardcode_libdir_flag_spec='-rpath $libdir'
466 + hardcode_libdir_separator=:
469 + hardcode_libdir_flag_spec='-R$libdir'
472 + hardcode_libdir_flag_spec='-L$libdir'
473 + hardcode_direct=yes
474 + hardcode_minus_L=yes
477 + case $host_vendor in
479 + hardcode_direct=yes # is this really true???
485 + hardcode_direct=no #Motorola manual says yes, but my tests say they lie
492 + if test -d /usr/nec; then
496 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
498 + sysv5* | sco3.2v5* | sco5v6*)
499 + hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
500 + hardcode_libdir_separator=':'
503 + hardcode_libdir_flag_spec='-L$libdir'
511 +# Check dynamic linker characteristics
512 +# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER.
513 +# Unlike libtool.m4, here we don't care about _all_ names of the library, but
514 +# only about the one the linker finds when passed -lNAME. This is the last
515 +# element of library_names_spec in libtool.m4, or possibly two of them if the
516 +# linker has special search rules.
517 +library_names_spec= # the last element of library_names_spec in libtool.m4
518 +libname_spec='lib$name'
521 + library_names_spec='$libname.a'
524 + library_names_spec='$libname$shrext'
527 + case "$host_cpu" in
529 + library_names_spec='$libname$shrext' ;;
531 + library_names_spec='$libname.a' ;;
535 + library_names_spec='$libname$shrext'
538 + library_names_spec='$libname$shrext'
540 + cygwin* | mingw* | pw32* | cegcc*)
542 + library_names_spec='$libname.dll.a $libname.lib'
544 + darwin* | rhapsody*)
546 + library_names_spec='$libname$shrext'
549 + library_names_spec='$libname$shrext'
552 + library_names_spec='$libname$shrext$versuffix'
554 + freebsd* | dragonfly*)
555 + library_names_spec='$libname$shrext'
558 + library_names_spec='$libname$shrext'
561 + library_names_spec='$libname$shrext'
563 + hpux9* | hpux10* | hpux11*)
575 + library_names_spec='$libname$shrext'
578 + library_names_spec='$libname$shrext'
580 + irix5* | irix6* | nonstopux*)
581 + library_names_spec='$libname$shrext'
583 + irix5* | nonstopux*)
584 + libsuff= shlibsuff=
588 + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
589 + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
590 + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
591 + *) libsuff= shlibsuff= ;;
596 + linux*oldld* | linux*aout* | linux*coff*)
598 + linux* | k*bsd*-gnu | kopensolaris*-gnu)
599 + library_names_spec='$libname$shrext'
602 + library_names_spec='$libname$shrext'
605 + library_names_spec='$libname$shrext'
608 + library_names_spec='$libname$shrext'
611 + library_names_spec='$libname$shrext'
614 + library_names_spec='$libname$shrext$versuffix'
617 + libname_spec='$name'
619 + library_names_spec='$libname.a'
621 + osf3* | osf4* | osf5*)
622 + library_names_spec='$libname$shrext'
627 + library_names_spec='$libname$shrext'
630 + library_names_spec='$libname$shrext$versuffix'
633 + library_names_spec='$libname$shrext'
636 + library_names_spec='$libname$shrext'
638 + sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
639 + library_names_spec='$libname$shrext'
642 + library_names_spec='$libname$shrext'
645 + library_names_spec='$libname$shrext'
649 +sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
650 +escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
651 +shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
652 +escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
653 +escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
654 +escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
656 +LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
658 +# How to pass a linker flag through the compiler.
661 +# Static library suffix (normally "a").
664 +# Shared library suffix (normally "so").
665 +shlibext="$shlibext"
667 +# Format of library name prefix.
668 +libname_spec="$escaped_libname_spec"
670 +# Library names that the linker finds when passed -lNAME.
671 +library_names_spec="$escaped_library_names_spec"
673 +# Flag to hardcode \$libdir into a binary during linking.
674 +# This must work even if \$libdir does not exist.
675 +hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
677 +# Whether we need a single -rpath flag with a separated argument.
678 +hardcode_libdir_separator="$hardcode_libdir_separator"
680 +# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
682 +hardcode_direct="$hardcode_direct"
684 +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
686 +hardcode_minus_L="$hardcode_minus_L"