# HG changeset patch # User Bruce Korb # Date 1293758763 28800 # Node ID 514ae5562fd25199185ce68123ecaf5768b6da93 # Parent 4b32051cadc5532f1fcb8c07dbb92a1af60649ad remove GNULIB_TEST defines from installed lpx-config.h diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ config.h so that openat-die.c can omit calls to error(). * lib/openat-die.c: remove error module stuff when GNULIB_LIBPOSIX is defined. + * libposix/lib/mk-lpx-config-h.sh (GNULIB_TEST): remove these defines 2010-12-29 Eric Blake diff --git a/libposix/lib/mk-lpx-config-h.sh b/libposix/lib/mk-lpx-config-h.sh --- a/libposix/lib/mk-lpx-config-h.sh +++ b/libposix/lib/mk-lpx-config-h.sh @@ -41,6 +41,7 @@ /^\/\*.*\*\/$/d /^\/\*/,/\*\/$/d /^$/d + /#define GNULIB_TEST/d s/^\(# *define *\)\([A-Za-z]\)/\1LPX_\2/ /^#if/s/\(defined *\)\([A-Za-z]\)/\1LPX_\2/g s/^\(# *ifn*def *\)\([A-Za-z]\)/\1LPX_\2/