diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-01-15 09:22:57 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-01-15 10:19:08 (GMT) |
commit | 71cdb52799220f8d9052643baf1d3e9836a9c755 (patch) | |
tree | 27aee97a35d9ab51f0d8f64a46690bd41a5f8c1b /build-aux | |
parent | f7afa46586645e50498d8b2d0c67884f014dc3a4 (diff) | |
download | monitoring-plugins-71cdb52799220f8d9052643baf1d3e9836a9c755.tar.gz |
Sync with gnulib
Diffstat (limited to 'build-aux')
-rwxr-xr-x | build-aux/config.rpath | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/build-aux/config.rpath b/build-aux/config.rpath index 35f959b..85c2f20 100755 --- a/build-aux/config.rpath +++ b/build-aux/config.rpath | |||
@@ -47,7 +47,7 @@ for cc_temp in $CC""; do | |||
47 | done | 47 | done |
48 | cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` | 48 | cc_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 | ||
52 | wl= | 52 | wl= |
53 | if test "$GCC" = yes; then | 53 | if 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 |
125 | fi | 131 | fi |
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 | ||
129 | hardcode_libdir_flag_spec= | 135 | hardcode_libdir_flag_spec= |
130 | hardcode_libdir_separator= | 136 | hardcode_libdir_separator= |
@@ -132,7 +138,7 @@ hardcode_direct=no | |||
132 | hardcode_minus_L=no | 138 | hardcode_minus_L=no |
133 | 139 | ||
134 | case "$host_os" in | 140 | case "$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 | |||
494 | fi | 500 | fi |
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 | ;; |