summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2015-09-28 18:17:08 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2015-09-28 18:17:08 (GMT)
commite1882686106eca76e5c37ee721afb5606077c844 (patch)
treeac65039e224f5b00f5a72a03bca3d3901866ec73 /autogen.sh
parente688c682c3120bd1f3c2a6e3bb91fd47d1551ffe (diff)
downloadhdf5-e1882686106eca76e5c37ee721afb5606077c844.zip
hdf5-e1882686106eca76e5c37ee721afb5606077c844.tar.gz
hdf5-e1882686106eca76e5c37ee721afb5606077c844.tar.bz2
[svn-r27898] add an additional perl command to replace int with hid_t in H5LTparse.c
- this is needed when running autogen on a couple of HPC machines.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index d76c016..0d7ba05 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -426,6 +426,7 @@ ${HDF5_FLEX} --nounistd -PH5LTyy -o H5LTanalyze.c H5LTanalyze.l
# I propose to not use flex to generate this function, but for now I am
# adding a perl command to find and replace this function declaration in
# H5LTparse.c.
+perl -0777 -pi -e 's/int yyparse/hid_t yyparse/igs' H5LTparse.c
perl -0777 -pi -e 's/int\nyyparse/hid_t\nyyparse/igs' H5LTparse.c
perl -0777 -pi -e 's/int H5LTyyparse/hid_t H5LTyyparse/igs' H5LTparse.c