diff options
| author | Roy Marples <roy@marples.name> | 2016-04-13 16:45:52 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-04-13 16:45:52 +0000 |
| commit | bb808ae016c949ebd8026da584e809563ff21e57 (patch) | |
| tree | e387b6e124815c15575e32b02abc48af78de4709 /configure | |
| parent | 63df14b4d9092fe99f122b168c7c82f3a82391d0 (diff) | |
| download | dhcpcd-bb808ae016c949ebd8026da584e809563ff21e57.tar.xz | |
Set -DHAVE_CONFIG_H after it's blanked on user config. Fixes [ceb1077c23].
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -236,7 +236,6 @@ fi echo "Configuring dhcpcd for ... $OS" rm -f $CONFIG_H $CONFIG_MK echo "# $OS" >$CONFIG_MK -echo "CPPFLAGS+= -DHAVE_CONFIG_H" >>$CONFIG_MK echo "/* $OS */" >$CONFIG_H for x in SYSCONFDIR SBINDIR LIBDIR LIBEXECDIR DBDIR RUNDIR; do @@ -296,6 +295,8 @@ if [ -n "$LDFLAGS" ]; then echo "LDFLAGS+= $LDFLAGS" >>$CONFIG_MK fi +echo "CPPFLAGS+= -DHAVE_CONFIG_H" >>$CONFIG_MK + # NetBSD: Even if we build for $PREFIX, the clueless user might move us to / LDELF=/libexec/ld.elf_so if [ -e "$LDELF" ]; then |
