summaryrefslogtreecommitdiffstats
path: root/configure_log.awk
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-04-22 23:01:31 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-10-21 21:21:05 +0200
commit043b61b2a5a30d5d45b15e9f8de7b72052225727 (patch)
tree1d26b19fdd7667d8ea088d00267f5d2396172037 /configure_log.awk
parentd94049b8284cdddd90fc17cc171fbf20fcc12780 (diff)
downloadopenvpn-043b61b2a5a30d5d45b15e9f8de7b72052225727.tar.gz
openvpn-043b61b2a5a30d5d45b15e9f8de7b72052225727.tar.xz
openvpn-043b61b2a5a30d5d45b15e9f8de7b72052225727.zip
Fix dependency checking for configure.h (v2)
Alon Bar-Lev indicated commit f27bf509315a48b0070294c3993a718df0c2626c was missing proper dependency checking. This patch corrects this and fixes an issue when creating configure.h via make distcheck. This is an enhanced version of the one sent to the openvpn-devel mailing list April 13, 2010 [1], after having received some feedback from Gert Doering, cleaning up configure_log.awk further. [1] <http://thread.gmane.org/gmane.network.openvpn.devel/3410/focus=3491> Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> Acked-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'configure_log.awk')
-rw-r--r--configure_log.awk7
1 files changed, 2 insertions, 5 deletions
diff --git a/configure_log.awk b/configure_log.awk
index b305f71..099e5c4 100644
--- a/configure_log.awk
+++ b/configure_log.awk
@@ -27,10 +27,7 @@
# ./config.log.
#
-BEGIN {
- printf ("#define CONFIGURE_CALL \"")
-}
-/\$ .\/configure/ {
- print $0,"\""
+/\$ (.*)\/configure/ {
+ printf ("#define CONFIGURE_CALL \"%s\"\n", $0)
exit 0
}