[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
canonicalize-lgpl: update for relocatable
From: |
Bruno Haible |
Subject: |
canonicalize-lgpl: update for relocatable |
Date: |
Sat, 3 Mar 2007 20:29:18 +0100 |
User-agent: |
KMail/1.5.4 |
The install-reloc script, when creating a wrapper program, compiles a few
selected source files directly. Whereas the program not necessarily needs
these as object files. For example, GNU hello doesn't need an
AC_LIBOBJ([canonicalize-lgpl])
but the install-reloc script compiles canonicalize-lgpl.c.
This leads to a few new autoconf macros. Here is the first one:
2007-03-03 Bruno Haible <address@hidden>
* m4/canonicalize-lgpl.m4 (gl_CANONICALIZE_LGPL_SEPARATE): New macro.
*** m4/canonicalize-lgpl.m4 6 Nov 2006 18:21:35 -0000 1.1
--- m4/canonicalize-lgpl.m4 3 Mar 2007 19:22:06 -0000
***************
*** 1,5 ****
! # canonicalize-lgpl.m4 serial 3
! dnl Copyright (C) 2003, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
--- 1,5 ----
! # canonicalize-lgpl.m4 serial 4
! dnl Copyright (C) 2003, 2006-2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
***************
*** 18,23 ****
--- 18,32 ----
fi
])
+ # Like gl_CANONICALIZE_LGPL, except prepare for separate compilation
+ # (no AC_LIBOBJ).
+ AC_DEFUN([gl_CANONICALIZE_LGPL_SEPARATE],
+ [
+ AC_CHECK_DECLS_ONCE(canonicalize_file_name)
+ AC_CHECK_FUNCS_ONCE(canonicalize_file_name)
+ gl_PREREQ_CANONICALIZE_LGPL
+ ])
+
# Prerequisites of lib/canonicalize-lgpl.c.
AC_DEFUN([gl_PREREQ_CANONICALIZE_LGPL],
[
- canonicalize-lgpl: update for relocatable,
Bruno Haible <=