aboutsummaryrefslogtreecommitdiffstats
path: root/examples/sample.makefile.regen
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sample.makefile.regen')
-rwxr-xr-xexamples/sample.makefile.regen8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/sample.makefile.regen b/examples/sample.makefile.regen
index 64a3aad5..f34f0a26 100755
--- a/examples/sample.makefile.regen
+++ b/examples/sample.makefile.regen
@@ -34,15 +34,15 @@ fi
CFLAGS=""
+if test -f config.h ; then
+ CFLAGS="$CFLAGS -DHAVE_CONFIG_H"
+fi
+
FIXEDPDU=`echo "[$ASN1CMDOPTS]" | sed -e "s/.*-pdu=auto.*//"`
if test ! "$FIXEDPDU" ; then
CFLAGS="$CFLAGS -DASN_PDU_COLLECTION"
fi
-if test -f config.h ; then
- CFLAGS="$CFLAGS -DHAVE_CONFIG_H"
-fi
-
set -x
cat Makefile.am.sample \
| sed -e "s/^CFLAGS.*/CFLAGS +=$CFLAGS -DPDU=${ASN1DEFPDU} -I./" \