diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-05-30 16:15:27 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-05-30 16:16:03 -0700 |
commit | b1b4baa3169c0408aa92c0367a80ca9acf1af4a1 (patch) | |
tree | c47801c7458257965b9bf22b64fdd6f7897d7969 /build-aux/config.rpath | |
parent | 6f053ff1badddfea2c9066d6347b0bb407f4c89c (diff) | |
download | gnulib-b1b4baa3169c0408aa92c0367a80ca9acf1af4a1.tar.gz |
printf, config.rpath: Port to FreeBSD 10.
Problem reported by Tijl Coosemans in:
http://lists.gnu.org/archive/html/bug-gnulib/2014-05/msg00078.html
* build-aux/config.rpath (hardcode_libdir_flag_spec)
(hardcode_direct): Simplify FreeBSD configuration.
(library_names_spec): Don't mishandle FreeBSD 10+.
* m4/printf.m4 (gl_PRINTF_SIZES_C99, gl_PRINTF_LONG_DOUBLE)
(gl_PRINTF_INFINITE_LONG_DOUBLE, gl_PRINTF_DIRECTIVE_F)
(gl_SNPRINTF_TRUNCATION_C99, gl_SNPRINTF_RETVAL_C99)
(gl_SNPRINTF_DIRECTIVE_N, gl_VSNPRINTF_ZEROSIZE_C99):
Don't mishandle FreeBSD 10+ when cross-compiling.
Diffstat (limited to 'build-aux/config.rpath')
-rwxr-xr-x | build-aux/config.rpath | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/build-aux/config.rpath b/build-aux/config.rpath index ab6fd995f3..b625621fac 100755 --- a/build-aux/config.rpath +++ b/build-aux/config.rpath @@ -367,11 +367,7 @@ else dgux*) hardcode_libdir_flag_spec='-L$libdir' ;; - freebsd2.2*) - hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - ;; - freebsd2*) + freebsd2.[01]*) hardcode_direct=yes hardcode_minus_L=yes ;; @@ -548,13 +544,11 @@ case "$host_os" in dgux*) library_names_spec='$libname$shrext' ;; + freebsd[23].*) + library_names_spec='$libname$shrext$versuffix' + ;; freebsd* | dragonfly*) - case "$host_os" in - freebsd[123]*) - library_names_spec='$libname$shrext$versuffix' ;; - *) - library_names_spec='$libname$shrext' ;; - esac + library_names_spec='$libname$shrext' ;; gnu*) library_names_spec='$libname$shrext' |