diff options
author | Bruno Haible <bruno@clisp.org> | 2009-04-10 19:52:20 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-04-10 22:28:44 +0200 |
commit | f942a32fae64439263111e4f682fbdaafe8f575d (patch) | |
tree | 8d4d6547bb0ec4154d72370d8e0a6ce2f1f85efe /autogen.sh | |
parent | 64eec30401d5937d492deee444ac2125877580f2 (diff) | |
download | libunistring-f942a32fae64439263111e4f682fbdaafe8f575d.tar.gz |
Replace HAVE_INLINE in installed include files.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -402,6 +402,12 @@ if test $skip_gnulib = false; then $GNULIB_TOOL --lib=libunistring --source-base=lib --m4-base=gnulib-m4 --tests-base=tests \ --with-tests --lgpl --makefile-name=Makefile.gnulib --libtool --local-dir=gnulib-local \ --import $GNULIB_MODULES + # Change lib/unistr.h to be usable standalone. + sed -e 's/ifdef GNULIB_[A-Za-z0-9_]*/if 1/' -e 's/defined GNULIB_[A-Za-z0-9_]*/1/g' \ + -e 's/HAVE_INLINE/UNISTRING_HAVE_INLINE/g' \ + < lib/unistr.h \ + > lib/unistr.h.tmp \ + && mv lib/unistr.h.tmp lib/unistr.h $GNULIB_TOOL --copy-file build-aux/config.guess; chmod a+x build-aux/config.guess $GNULIB_TOOL --copy-file build-aux/config.sub; chmod a+x build-aux/config.sub # If we got no texinfo.tex so far, take the snapshot from gnulib. |