aboutsummaryrefslogtreecommitdiff
path: root/config.rpath
diff options
context:
space:
mode:
authorJulien Morvan <julien.morvan@outlook.com>2015-08-31 16:42:10 +0000
committerJulien Morvan <julien.morvan@outlook.com>2015-08-31 16:42:10 +0000
commit8049927717b940abf3af8e697eb381871a3ca3d5 (patch)
tree05c16665e9608bf1cdcfb1dac52cc2eb0b1c7ba4 /config.rpath
parent1ebec416b2d3f34d623f9fe8ce984179722dfee1 (diff)
downloadgnunet-8049927717b940abf3af8e697eb381871a3ca3d5.tar.gz
gnunet-8049927717b940abf3af8e697eb381871a3ca3d5.zip
libextractor
Diffstat (limited to 'config.rpath')
-rwxr-xr-xconfig.rpath106
1 files changed, 44 insertions, 62 deletions
diff --git a/config.rpath b/config.rpath
index c38b914d6..17298f234 100755
--- a/config.rpath
+++ b/config.rpath
@@ -2,7 +2,7 @@
2# Output a system dependent set of variables, describing how to set the 2# Output a system dependent set of variables, describing how to set the
3# run time search path of shared libraries in an executable. 3# run time search path of shared libraries in an executable.
4# 4#
5# Copyright 1996-2013 Free Software Foundation, Inc. 5# Copyright 1996-2010 Free Software Foundation, Inc.
6# Taken from GNU libtool, 2001 6# Taken from GNU libtool, 2001
7# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 7# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8# 8#
@@ -25,7 +25,7 @@
25# known workaround is to choose shorter directory names for the build 25# known workaround is to choose shorter directory names for the build
26# directory and/or the installation directory. 26# directory and/or the installation directory.
27 27
28# All known linkers require a '.a' archive for static linking (except MSVC, 28# All known linkers require a `.a' archive for static linking (except MSVC,
29# which needs '.lib'). 29# which needs '.lib').
30libext=a 30libext=a
31shrext=.so 31shrext=.so
@@ -57,6 +57,13 @@ else
57 aix*) 57 aix*)
58 wl='-Wl,' 58 wl='-Wl,'
59 ;; 59 ;;
60 darwin*)
61 case $cc_basename in
62 xlc*)
63 wl='-Wl,'
64 ;;
65 esac
66 ;;
60 mingw* | cygwin* | pw32* | os2* | cegcc*) 67 mingw* | cygwin* | pw32* | os2* | cegcc*)
61 ;; 68 ;;
62 hpux9* | hpux10* | hpux11*) 69 hpux9* | hpux10* | hpux11*)
@@ -65,7 +72,9 @@ else
65 irix5* | irix6* | nonstopux*) 72 irix5* | irix6* | nonstopux*)
66 wl='-Wl,' 73 wl='-Wl,'
67 ;; 74 ;;
68 linux* | k*bsd*-gnu | kopensolaris*-gnu) 75 newsos6)
76 ;;
77 linux* | k*bsd*-gnu)
69 case $cc_basename in 78 case $cc_basename in
70 ecc*) 79 ecc*)
71 wl='-Wl,' 80 wl='-Wl,'
@@ -76,26 +85,17 @@ else
76 lf95*) 85 lf95*)
77 wl='-Wl,' 86 wl='-Wl,'
78 ;; 87 ;;
79 nagfor*) 88 pgcc | pgf77 | pgf90)
80 wl='-Wl,-Wl,,'
81 ;;
82 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
83 wl='-Wl,' 89 wl='-Wl,'
84 ;; 90 ;;
85 ccc*) 91 ccc*)
86 wl='-Wl,' 92 wl='-Wl,'
87 ;; 93 ;;
88 xl* | bgxl* | bgf* | mpixl*)
89 wl='-Wl,'
90 ;;
91 como) 94 como)
92 wl='-lopt=' 95 wl='-lopt='
93 ;; 96 ;;
94 *) 97 *)
95 case `$CC -V 2>&1 | sed 5q` in 98 case `$CC -V 2>&1 | sed 5q` in
96 *Sun\ F* | *Sun*Fortran*)
97 wl=
98 ;;
99 *Sun\ C*) 99 *Sun\ C*)
100 wl='-Wl,' 100 wl='-Wl,'
101 ;; 101 ;;
@@ -103,24 +103,13 @@ else
103 ;; 103 ;;
104 esac 104 esac
105 ;; 105 ;;
106 newsos6)
107 ;;
108 *nto* | *qnx*)
109 ;;
110 osf3* | osf4* | osf5*) 106 osf3* | osf4* | osf5*)
111 wl='-Wl,' 107 wl='-Wl,'
112 ;; 108 ;;
113 rdos*) 109 rdos*)
114 ;; 110 ;;
115 solaris*) 111 solaris*)
116 case $cc_basename in 112 wl='-Wl,'
117 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
118 wl='-Qoption ld '
119 ;;
120 *)
121 wl='-Wl,'
122 ;;
123 esac
124 ;; 113 ;;
125 sunos4*) 114 sunos4*)
126 wl='-Qoption ld ' 115 wl='-Qoption ld '
@@ -182,14 +171,15 @@ if test "$with_gnu_ld" = yes; then
182 fi 171 fi
183 ;; 172 ;;
184 amigaos*) 173 amigaos*)
185 case "$host_cpu" in 174 hardcode_libdir_flag_spec='-L$libdir'
186 powerpc) 175 hardcode_minus_L=yes
187 ;; 176 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
188 m68k) 177 # that the semantics of dynamic libraries on AmigaOS, at least up
189 hardcode_libdir_flag_spec='-L$libdir' 178 # to version 4, is to share data among multiple programs linked
190 hardcode_minus_L=yes 179 # with the same dynamic library. Since this doesn't match the
191 ;; 180 # behavior of shared libraries on other platforms, we cannot use
192 esac 181 # them.
182 ld_shlibs=no
193 ;; 183 ;;
194 beos*) 184 beos*)
195 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 185 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
@@ -208,13 +198,11 @@ if test "$with_gnu_ld" = yes; then
208 ld_shlibs=no 198 ld_shlibs=no
209 fi 199 fi
210 ;; 200 ;;
211 haiku*)
212 ;;
213 interix[3-9]*) 201 interix[3-9]*)
214 hardcode_direct=no 202 hardcode_direct=no
215 hardcode_libdir_flag_spec='${wl}-rpath,$libdir' 203 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
216 ;; 204 ;;
217 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 205 gnu* | linux* | k*bsd*-gnu)
218 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then 206 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
219 : 207 :
220 else 208 else
@@ -337,14 +325,10 @@ else
337 fi 325 fi
338 ;; 326 ;;
339 amigaos*) 327 amigaos*)
340 case "$host_cpu" in 328 hardcode_libdir_flag_spec='-L$libdir'
341 powerpc) 329 hardcode_minus_L=yes
342 ;; 330 # see comment about different semantics on the GNU ld section
343 m68k) 331 ld_shlibs=no
344 hardcode_libdir_flag_spec='-L$libdir'
345 hardcode_minus_L=yes
346 ;;
347 esac
348 ;; 332 ;;
349 bsdi[45]*) 333 bsdi[45]*)
350 ;; 334 ;;
@@ -358,15 +342,24 @@ else
358 ;; 342 ;;
359 darwin* | rhapsody*) 343 darwin* | rhapsody*)
360 hardcode_direct=no 344 hardcode_direct=no
361 if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then 345 if test "$GCC" = yes ; then
362 : 346 :
363 else 347 else
364 ld_shlibs=no 348 case $cc_basename in
349 xlc*)
350 ;;
351 *)
352 ld_shlibs=no
353 ;;
354 esac
365 fi 355 fi
366 ;; 356 ;;
367 dgux*) 357 dgux*)
368 hardcode_libdir_flag_spec='-L$libdir' 358 hardcode_libdir_flag_spec='-L$libdir'
369 ;; 359 ;;
360 freebsd1*)
361 ld_shlibs=no
362 ;;
370 freebsd2.2*) 363 freebsd2.2*)
371 hardcode_libdir_flag_spec='-R$libdir' 364 hardcode_libdir_flag_spec='-R$libdir'
372 hardcode_direct=yes 365 hardcode_direct=yes
@@ -427,8 +420,6 @@ else
427 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' 420 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
428 hardcode_libdir_separator=: 421 hardcode_libdir_separator=:
429 ;; 422 ;;
430 *nto* | *qnx*)
431 ;;
432 openbsd*) 423 openbsd*)
433 if test -f /usr/libexec/ld.so; then 424 if test -f /usr/libexec/ld.so; then
434 hardcode_direct=yes 425 hardcode_direct=yes
@@ -524,12 +515,7 @@ case "$host_os" in
524 library_names_spec='$libname$shrext' 515 library_names_spec='$libname$shrext'
525 ;; 516 ;;
526 amigaos*) 517 amigaos*)
527 case "$host_cpu" in 518 library_names_spec='$libname.a'
528 powerpc*)
529 library_names_spec='$libname$shrext' ;;
530 m68k)
531 library_names_spec='$libname.a' ;;
532 esac
533 ;; 519 ;;
534 beos*) 520 beos*)
535 library_names_spec='$libname$shrext' 521 library_names_spec='$libname$shrext'
@@ -548,6 +534,8 @@ case "$host_os" in
548 dgux*) 534 dgux*)
549 library_names_spec='$libname$shrext' 535 library_names_spec='$libname$shrext'
550 ;; 536 ;;
537 freebsd1*)
538 ;;
551 freebsd* | dragonfly*) 539 freebsd* | dragonfly*)
552 case "$host_os" in 540 case "$host_os" in
553 freebsd[123]*) 541 freebsd[123]*)
@@ -559,9 +547,6 @@ case "$host_os" in
559 gnu*) 547 gnu*)
560 library_names_spec='$libname$shrext' 548 library_names_spec='$libname$shrext'
561 ;; 549 ;;
562 haiku*)
563 library_names_spec='$libname$shrext'
564 ;;
565 hpux9* | hpux10* | hpux11*) 550 hpux9* | hpux10* | hpux11*)
566 case $host_cpu in 551 case $host_cpu in
567 ia64*) 552 ia64*)
@@ -597,7 +582,7 @@ case "$host_os" in
597 ;; 582 ;;
598 linux*oldld* | linux*aout* | linux*coff*) 583 linux*oldld* | linux*aout* | linux*coff*)
599 ;; 584 ;;
600 linux* | k*bsd*-gnu | kopensolaris*-gnu) 585 linux* | k*bsd*-gnu)
601 library_names_spec='$libname$shrext' 586 library_names_spec='$libname$shrext'
602 ;; 587 ;;
603 knetbsd*-gnu) 588 knetbsd*-gnu)
@@ -609,7 +594,7 @@ case "$host_os" in
609 newsos6) 594 newsos6)
610 library_names_spec='$libname$shrext' 595 library_names_spec='$libname$shrext'
611 ;; 596 ;;
612 *nto* | *qnx*) 597 nto-qnx*)
613 library_names_spec='$libname$shrext' 598 library_names_spec='$libname$shrext'
614 ;; 599 ;;
615 openbsd*) 600 openbsd*)
@@ -640,9 +625,6 @@ case "$host_os" in
640 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 625 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
641 library_names_spec='$libname$shrext' 626 library_names_spec='$libname$shrext'
642 ;; 627 ;;
643 tpf*)
644 library_names_spec='$libname$shrext'
645 ;;
646 uts4*) 628 uts4*)
647 library_names_spec='$libname$shrext' 629 library_names_spec='$libname$shrext'
648 ;; 630 ;;