diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2009-03-16 10:27:51 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2009-03-16 10:44:37 +0100 |
commit | 01b18c161f2ab2cb85c6e2caedc622a938407660 (patch) | |
tree | 80fc8d971656b7899c5c5983cd5d636c9108fab1 | |
parent | 12362192c9a55b946a16930054d14536767f748d (diff) | |
download | attr-01b18c161f2ab2cb85c6e2caedc622a938407660.tar.gz |
Libtool compatibility fix for version 1
Recent versions of libtool require the -i option for copying auxiliary
files (config.sub, config.guess, install-sh, ltmain.sh), while older
versions will copy those files anyway, and don't understand -i.
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -60,8 +60,13 @@ else clean: # if configure hasn't run, nothing to clean endif +# Recent versions of libtool require the -i option for copying auxiliary +# files (config.sub, config.guess, install-sh, ltmain.sh), while older +# versions will copy those files anyway, and don't understand -i. +LIBTOOLIZE_INSTALL = `libtoolize -n -i >/dev/null 2>/dev/null && echo -i` + configure include/builddefs: - libtoolize -c -i -f + libtoolize -c $(LIBTOOLIZE_INSTALL) -f cp include/install-sh . aclocal -I m4 autoconf |