aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2015-11-21 15:02:10 -0300
committerdequis <dx@dxzone.com.ar>2015-11-21 15:02:10 -0300
commit2f8e3cab9bcc724dfed40bfcd2434fc9a415398e (patch)
treef17f7d6aa7969848aac6a0981da7f9bbef569a00 /configure
parentfa8f57b7f51a44ee0870d1bf29646007e087f24e (diff)
Show ./configure args in bitlbee -V, config.h and Makefile.settings
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 5ac8ffd6..f2b913c6 100755
--- a/configure
+++ b/configure
@@ -24,6 +24,8 @@ pcdir='$prefix/lib/pkgconfig'
systemlibdirs="/lib64 /usr/lib64 /usr/local/lib64 /lib /usr/lib /usr/local/lib"
sysroot=''
+configure_args="$@"
+
# Set these to default-on to let it be overriden by either the user or purple
#
# If the user sets one of these to 1, purple won't disable them.
@@ -176,6 +178,9 @@ protocols_mods=""
cat <<EOF >Makefile.settings
## BitlBee settings, generated by configure
+
+# ./configure $configure_args
+
PREFIX=$prefix
BINDIR=$bindir
SBINDIR=$sbindir
@@ -228,6 +233,8 @@ cat<<EOF >config.h
Do *NOT* use any of these defines in your code without thinking twice, most
of them can/will be overridden at run-time */
+#define BITLBEE_CONFIGURE_ARGS "$configure_args"
+
#define CONFIG "$config"
#define ETCDIR "$etcdir"
#define VARDIR "$datadir"