diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2021-08-15 10:42:09 -0400 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2021-08-15 10:42:09 -0400 |
commit | 59e758a8ee45b58c9a765a6ceed4da3775d78952 (patch) | |
tree | af5357215f5962ff6fb30ebbcb1b1c05f298c47e | |
parent | bcc0594e9b64c89b56e8ea6891c0a9f8b97c57d1 (diff) | |
download | egawk-59e758a8ee45b58c9a765a6ceed4da3775d78952.tar.gz egawk-59e758a8ee45b58c9a765a6ceed4da3775d78952.tar.bz2 egawk-59e758a8ee45b58c9a765a6ceed4da3775d78952.zip |
Allow setting AR and ARFLAGS on the configure command line.
-rw-r--r-- | ChangeLog | 9 | ||||
-rwxr-xr-x | configure | 3 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | support/ChangeLog | 5 | ||||
-rw-r--r-- | support/Makefile.am | 2 |
5 files changed, 22 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2021-08-15 Arnold D. Robbins <arnold@skeeve.com> + + Allow setting AR and ARFLAGS on the configure command line. + Thanks to Jacob Burkholder <jake.burkholder2@gmail.com> for + the report. + + * configure.ac (AR_FLAGS): Provide default value. + (AR): Call AC_SUBST on it. + 2021-08-13 Arnold D. Robbins <arnold@skeeve.com> * builtin.c (do_sub): Rationalize handling of strongly typed @@ -5677,6 +5677,9 @@ unknown) esac +AR_FLAGS = cru # set default + + # This is mainly for my use during testing and development. # Yes, it's a bit of a hack. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special development options" >&5 diff --git a/configure.ac b/configure.ac index 69c6524e..8fe35f89 100644 --- a/configure.ac +++ b/configure.ac @@ -110,6 +110,9 @@ AC_PROG_MAKE_SET # support/ builds libsupport.a, allow for cross version of ar AM_PROG_AR +AR_FLAGS = cru # set default +AC_SUBST(AR) + # This is mainly for my use during testing and development. # Yes, it's a bit of a hack. AC_MSG_CHECKING([for special development options]) diff --git a/support/ChangeLog b/support/ChangeLog index 8baacf3c..81b564aa 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,3 +1,8 @@ +2021-08-15 Arnold D. Robbins <arnold@skeeve.com> + + * Makefile.am (AR): Set from @AR@ so that it can be set + at configure time. + 2021-06-30 Arnold D. Robbins <arnold@skeeve.com> * dfa.c, dynarray.h, libc-config.h, regexec.c, diff --git a/support/Makefile.am b/support/Makefile.am index 18e50204..a2d2df05 100644 --- a/support/Makefile.am +++ b/support/Makefile.am @@ -26,6 +26,8 @@ AM_CFLAGS = @CFLAGS@ AM_LDFLAGS = @LDFLAGS@ +AR = @AR@ + # Stuff to include in the dist that doesn't need it's own # Makefile.am files EXTRA_DIST = \ |