diff options
Diffstat (limited to 'gl/m4/lib-link.m4')
-rw-r--r-- | gl/m4/lib-link.m4 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gl/m4/lib-link.m4 b/gl/m4/lib-link.m4 index 9f3be3a..073f040 100644 --- a/gl/m4/lib-link.m4 +++ b/gl/m4/lib-link.m4 | |||
@@ -1,5 +1,5 @@ | |||
1 | # lib-link.m4 serial 24 (gettext-0.18.2) | 1 | # lib-link.m4 serial 26 (gettext-0.18.2) |
2 | dnl Copyright (C) 2001-2010 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2001-2013 Free Software Foundation, Inc. |
3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
5 | dnl with or without modifications, as long as this notice is preserved. | 5 | dnl with or without modifications, as long as this notice is preserved. |
@@ -85,7 +85,8 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], | |||
85 | *" -l"*) LIBS="$LIBS $LIB[]NAME" ;; | 85 | *" -l"*) LIBS="$LIBS $LIB[]NAME" ;; |
86 | *) LIBS="$LIB[]NAME $LIBS" ;; | 86 | *) LIBS="$LIB[]NAME $LIBS" ;; |
87 | esac | 87 | esac |
88 | AC_TRY_LINK([$3], [$4], | 88 | AC_LINK_IFELSE( |
89 | [AC_LANG_PROGRAM([[$3]], [[$4]])], | ||
89 | [ac_cv_lib[]Name=yes], | 90 | [ac_cv_lib[]Name=yes], |
90 | [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])']) | 91 | [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])']) |
91 | LIBS="$ac_save_LIBS" | 92 | LIBS="$ac_save_LIBS" |
@@ -115,6 +116,8 @@ AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], | |||
115 | dnl Determine the platform dependent parameters needed to use rpath: | 116 | dnl Determine the platform dependent parameters needed to use rpath: |
116 | dnl acl_libext, | 117 | dnl acl_libext, |
117 | dnl acl_shlibext, | 118 | dnl acl_shlibext, |
119 | dnl acl_libname_spec, | ||
120 | dnl acl_library_names_spec, | ||
118 | dnl acl_hardcode_libdir_flag_spec, | 121 | dnl acl_hardcode_libdir_flag_spec, |
119 | dnl acl_hardcode_libdir_separator, | 122 | dnl acl_hardcode_libdir_separator, |
120 | dnl acl_hardcode_direct, | 123 | dnl acl_hardcode_direct, |