mirror of https://gerrit.osmocom.org/asn1c
translate the PDU to a proper alphabet
This commit is contained in:
parent
3f6afc1e6a
commit
444e739db8
|
@ -4,10 +4,11 @@ if [ -z "$ASN1PDU" \
|
|||
-o -z "$ASN1MODULES" \
|
||||
-o -z "$PROGNAME" \
|
||||
]; then
|
||||
echo "ASN1PDU=\"$ASN1PDU\""
|
||||
echo "ASN1CMDOPTS=\"$ASN1CMDOPTS\""
|
||||
echo "ASN1MODULES=\"$ASN1MODULES\""
|
||||
echo "ASN1PDU=\"$ASN1PDU\""
|
||||
echo "PROGNAME=\"$PROGNAME\""
|
||||
echo "ASN1PDU, ASN1MODULES, and PROGNAME must be set"
|
||||
echo "ASN1PDU, ASN1MODULES, and PROGNAME are mandatory"
|
||||
exit
|
||||
fi
|
||||
|
||||
|
@ -18,6 +19,8 @@ if [ ! -f Makefile.am.sample ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
ASN1PDU=`echo "$ASN1PDU" | tr - _`
|
||||
|
||||
set -x
|
||||
cat Makefile.am.sample \
|
||||
| sed -e "s/^CFLAGS.*/CFLAGS += -I. -DHAVE_CONFIG_H -DPDU=${ASN1PDU}/" \
|
||||
|
|
Loading…
Reference in New Issue