aboutsummaryrefslogtreecommitdiffstats
path: root/examples/sample.makefile.regen
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sample.makefile.regen')
-rwxr-xr-xexamples/sample.makefile.regen6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/sample.makefile.regen b/examples/sample.makefile.regen
index 5e189478..50551b29 100755
--- a/examples/sample.makefile.regen
+++ b/examples/sample.makefile.regen
@@ -39,9 +39,8 @@ if test ! -f Makefile.am.sample ; then
fi
EXTRA_CFLAGS="-DJUNKTEST"
-if test -f config.h ; then
- EXTRA_CFLAGS="-DHAVE_CONFIG_H ${EXTRA_CFLAGS}"
-fi
+test -f config.h && EXTRA_CFLAGS="-DHAVE_CONFIG_H ${EXTRA_CFLAGS}"
+test -n "$TITLE" && EXTRA_CFLAGS="-DASN_CONVERTER_TITLE=\"$TITLE\" ${EXTRA_CFLAGS}"
set -x
cat Makefile.am.sample \
@@ -58,6 +57,7 @@ set +x
echo " make"
echo
echo "regen-makefile:"
+ test -n "$TITLE" && echo " TITLE=\"$TITLE\" \\"
echo " ASN1CMDOPTS=\"${ASN1CMDOPTS}\" \\"
echo " ASN1MODULES=\"${ASN1MODULES}\" \\"
echo " ASN1PDU=${ASN1PDU} \\"