Code

configure.ac: Print configuration summary.
[template.git] / configure.ac
index 583843df66554a719d478788c4e5e0aa7e33f8b9..8512aac3826a2df7810bd9745bba6bd1ec954d84 100644 (file)
@@ -11,7 +11,6 @@ AC_LANG(C)
 
 AC_SYS_LARGEFILE
 
-dnl Check for programs...
 AC_PROG_CC
 AC_PROG_CPP
 AC_PROG_INSTALL
@@ -51,3 +50,19 @@ AC_CHECK_HEADERS(libgen.h)
 AC_CONFIG_FILES([Makefile src/Makefile])
 AC_OUTPUT
 
+cat <<EOF;
+
+$PACKAGE_NAME has been configured successfully.
+
+Run 'make' to compile the software and use 'make install' to
+install the package into $prefix.
+
+Configuration summary:
+
+  package version: $PACKAGE_VERSION
+  build date: $build_date
+
+Please report bugs to $PACKAGE_BUGREPORT.
+
+EOF
+