diff options
author | Ulrich Mueller <ulm@gentoo.org> | 2012-10-05 20:42:28 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-10-05 20:42:28 -0400 |
commit | 150798c5ac7953c0fd56cffd3b3720015528d820 (patch) | |
tree | e5420302cb47e611ed491cc213fd31c9177e2f5d /lwlib | |
parent | 7fa36ccb71d0def28bc3f8eb17827fc870bd7ca2 (diff) | |
download | emacs-150798c5ac7953c0fd56cffd3b3720015528d820.tar.gz |
Let configure set ar and associated flags
* lwlib/Makefile.in (AR, ARFLAGS):
* oldXMenu/Makefile.in (AR, ARFLAGS): Get values from configure.
Fixes: debbugs:12549
Diffstat (limited to 'lwlib')
-rw-r--r-- | lwlib/ChangeLog | 4 | ||||
-rw-r--r-- | lwlib/Makefile.in | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index 7d49d9b531b..80d29bc5d8a 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog @@ -1,3 +1,7 @@ +2012-10-06 Ulrich Müller <ulm@gentoo.org> + + * Makefile.in (AR, ARFLAGS): Get values from configure. + 2012-08-16 Paul Eggert <eggert@cs.ucla.edu> Use ASCII tests for character types. diff --git a/lwlib/Makefile.in b/lwlib/Makefile.in index 2e70e0a4b6d..85a76f7a1c2 100644 --- a/lwlib/Makefile.in +++ b/lwlib/Makefile.in @@ -37,7 +37,8 @@ CFLAGS=@CFLAGS@ CPPFLAGS=@CPPFLAGS@ RANLIB=@RANLIB@ -AR = ar cq +AR = @AR@ +ARFLAGS = @ARFLAGS@ LUCID_OBJS = lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o MOTIF_OBJS = lwlib-Xm.o @@ -65,7 +66,7 @@ all:: liblw.a liblw.a: $(OBJS) rm -f $@ - $(AR) $@ $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) $(RANLIB) $@ ## Generated files in ../src, non-generated in $(srcdir)/../src. |