~ubuntu-branches/ubuntu/feisty/aspell/feisty

« back to all changes in this revision

Viewing changes to m4/lib-link.m4

  • Committer: Bazaar Package Importer
  • Author(s): Brian Nelson
  • Date: 2005-10-25 23:43:21 UTC
  • mfrom: (0.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051025234321-6mttbd3m82liomkh
Tags: 0.60.4-1
* New upstream release

* debian/patches/10_autotools: regenerated

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# lib-link.m4 serial 4 (gettext-0.12)
2
 
dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
3
 
dnl This file is free software, distributed under the terms of the GNU
4
 
dnl General Public License.  As a special exception to the GNU General
5
 
dnl Public License, this file may be distributed as part of a program
6
 
dnl that contains a configuration script generated by Autoconf, under
7
 
dnl the same distribution terms as the rest of that program.
 
1
# lib-link.m4 serial 6 (gettext-0.14.3)
 
2
dnl Copyright (C) 2001-2005 Free Software Foundation, Inc.
 
3
dnl This file is free software; the Free Software Foundation
 
4
dnl gives unlimited permission to copy and/or distribute it,
 
5
dnl with or without modifications, as long as this notice is preserved.
8
6
 
9
7
dnl From Bruno Haible.
10
8
 
 
9
AC_PREREQ(2.50)
 
10
 
11
11
dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
12
12
dnl the libraries corresponding to explicit and implicit dependencies.
13
13
dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
95
95
dnl hardcode_direct, hardcode_minus_L.
96
96
AC_DEFUN([AC_LIB_RPATH],
97
97
[
 
98
  dnl Tell automake >= 1.10 to complain if config.rpath is missing.
 
99
  m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
98
100
  AC_REQUIRE([AC_PROG_CC])                dnl we use $CC, $GCC, $LDFLAGS
99
101
  AC_REQUIRE([AC_LIB_PROG_LD])            dnl we use $LD, $with_gnu_ld
100
102
  AC_REQUIRE([AC_CANONICAL_HOST])         dnl we use $host
350
352
                if test "X$additional_includedir" = "X/usr/local/include"; then
351
353
                  if test -n "$GCC"; then
352
354
                    case $host_os in
353
 
                      linux*) haveit=yes;;
 
355
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
354
356
                    esac
355
357
                  fi
356
358
                fi
399
401
                      if test "X$additional_libdir" = "X/usr/local/lib"; then
400
402
                        if test -n "$GCC"; then
401
403
                          case $host_os in
402
 
                            linux*) haveit=yes;;
 
404
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
403
405
                          esac
404
406
                        fi
405
407
                      fi