summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-02-24 22:07:45 -0800
committerLouie S <louie@example.com>2023-02-24 22:07:45 -0800
commitb1b11d6ec70cf08e8b102d8f5dbf835291702db0 (patch)
treeabbf20e38e3c184f70304e3772bbe2841a0e0b64
parent54cc2ccd5aab9c453507a94320b51fe72befd587 (diff)
Added configuration summary to configure.ac
-rwxr-xr-xconfigure10
-rw-r--r--configure.ac10
2 files changed, 20 insertions, 0 deletions
diff --git a/configure b/configure
index 7f2d2e6..1ca4d5f 100755
--- a/configure
+++ b/configure
@@ -7108,3 +7108,13 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
+
+# Print helpful message
+cat << EOF
+
+** Configuration summary for ${PACKAGE_NAME} ${PACKAGE_VERSION}
+
+ Prefix: ${prefix}
+ Compiler: ${CC} ${CFLAGS} ${CPPFLAGS}
+ Libraries: ${LIBS}
+EOF
diff --git a/configure.ac b/configure.ac
index 73bc282..623f5c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,3 +51,13 @@ AC_CONFIG_FILES([Makefile
docs/Makefile
data/Makefile])
AC_OUTPUT
+
+# Print helpful message
+cat << EOF
+
+** Configuration summary for ${PACKAGE_NAME} ${PACKAGE_VERSION}
+
+ Prefix: ${prefix}
+ Compiler: ${CC} ${CFLAGS} ${CPPFLAGS}
+ Libraries: ${LIBS}
+EOF