summaryrefslogtreecommitdiffstats
path: root/build-aux/config.rpath
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/config.rpath')
-rwxr-xr-xbuild-aux/config.rpath24
1 files changed, 15 insertions, 9 deletions
diff --git a/build-aux/config.rpath b/build-aux/config.rpath
index 35f959b8..85c2f209 100755
--- a/build-aux/config.rpath
+++ b/build-aux/config.rpath
@@ -47,7 +47,7 @@ for cc_temp in $CC""; do
47done 47done
48cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` 48cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
49 49
50# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. 50# Code taken from libtool.m4's _LT_COMPILER_PIC.
51 51
52wl= 52wl=
53if test "$GCC" = yes; then 53if test "$GCC" = yes; then
@@ -64,7 +64,7 @@ else
64 ;; 64 ;;
65 esac 65 esac
66 ;; 66 ;;
67 mingw* | cygwin* | pw32* | os2*) 67 mingw* | cygwin* | pw32* | os2* | cegcc*)
68 ;; 68 ;;
69 hpux9* | hpux10* | hpux11*) 69 hpux9* | hpux10* | hpux11*)
70 wl='-Wl,' 70 wl='-Wl,'
@@ -76,7 +76,13 @@ else
76 ;; 76 ;;
77 linux* | k*bsd*-gnu) 77 linux* | k*bsd*-gnu)
78 case $cc_basename in 78 case $cc_basename in
79 icc* | ecc*) 79 ecc*)
80 wl='-Wl,'
81 ;;
82 icc* | ifort*)
83 wl='-Wl,'
84 ;;
85 lf95*)
80 wl='-Wl,' 86 wl='-Wl,'
81 ;; 87 ;;
82 pgcc | pgf77 | pgf90) 88 pgcc | pgf77 | pgf90)
@@ -124,7 +130,7 @@ else
124 esac 130 esac
125fi 131fi
126 132
127# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. 133# Code taken from libtool.m4's _LT_LINKER_SHLIBS.
128 134
129hardcode_libdir_flag_spec= 135hardcode_libdir_flag_spec=
130hardcode_libdir_separator= 136hardcode_libdir_separator=
@@ -132,7 +138,7 @@ hardcode_direct=no
132hardcode_minus_L=no 138hardcode_minus_L=no
133 139
134case "$host_os" in 140case "$host_os" in
135 cygwin* | mingw* | pw32*) 141 cygwin* | mingw* | pw32* | cegcc*)
136 # FIXME: the MSVC++ port hasn't been tested in a loooong time 142 # FIXME: the MSVC++ port hasn't been tested in a loooong time
137 # When not using gcc, we currently assume that we are using 143 # When not using gcc, we currently assume that we are using
138 # Microsoft Visual C++. 144 # Microsoft Visual C++.
@@ -182,7 +188,7 @@ if test "$with_gnu_ld" = yes; then
182 ld_shlibs=no 188 ld_shlibs=no
183 fi 189 fi
184 ;; 190 ;;
185 cygwin* | mingw* | pw32*) 191 cygwin* | mingw* | pw32* | cegcc*)
186 # hardcode_libdir_flag_spec is actually meaningless, as there is 192 # hardcode_libdir_flag_spec is actually meaningless, as there is
187 # no search path for DLLs. 193 # no search path for DLLs.
188 hardcode_libdir_flag_spec='-L$libdir' 194 hardcode_libdir_flag_spec='-L$libdir'
@@ -326,7 +332,7 @@ else
326 ;; 332 ;;
327 bsdi[45]*) 333 bsdi[45]*)
328 ;; 334 ;;
329 cygwin* | mingw* | pw32*) 335 cygwin* | mingw* | pw32* | cegcc*)
330 # When not using gcc, we currently assume that we are using 336 # When not using gcc, we currently assume that we are using
331 # Microsoft Visual C++. 337 # Microsoft Visual C++.
332 # hardcode_libdir_flag_spec is actually meaningless, as there is 338 # hardcode_libdir_flag_spec is actually meaningless, as there is
@@ -494,7 +500,7 @@ else
494fi 500fi
495 501
496# Check dynamic linker characteristics 502# Check dynamic linker characteristics
497# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. 503# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER.
498# Unlike libtool.m4, here we don't care about _all_ names of the library, but 504# Unlike libtool.m4, here we don't care about _all_ names of the library, but
499# only about the one the linker finds when passed -lNAME. This is the last 505# only about the one the linker finds when passed -lNAME. This is the last
500# element of library_names_spec in libtool.m4, or possibly two of them if the 506# element of library_names_spec in libtool.m4, or possibly two of them if the
@@ -517,7 +523,7 @@ case "$host_os" in
517 bsdi[45]*) 523 bsdi[45]*)
518 library_names_spec='$libname$shrext' 524 library_names_spec='$libname$shrext'
519 ;; 525 ;;
520 cygwin* | mingw* | pw32*) 526 cygwin* | mingw* | pw32* | cegcc*)
521 shrext=.dll 527 shrext=.dll
522 library_names_spec='$libname.dll.a $libname.lib' 528 library_names_spec='$libname.dll.a $libname.lib'
523 ;; 529 ;;