* config/mpeix.mt: New for MPEiX port.
[gcc.git] / libio / config / mpeix.mt
1 # Flags to pass to gen-params when building _G_config.h.
2 # For example: G_CONFIG_ARGS = size_t="unsigned long"
3 G_CONFIG_ARGS = DOLLAR_IN_LABEL=1
4
5 #
6 # gen-params tries to determine whether or not printf_fp exists by
7 # simply compiling a test program. Since MPE is by definition a
8 # shared runtime environment, this won't work unless the resulting
9 # program is run. Simply run _G_config.h through a sed script to
10 # update the values accordingly.
11 #
12 _G_CONFIG_H = stmp-Gconfig
13
14 stmp-Gconfig: _G_config.h
15 sed -e "s/_G_HAVE_PRINTF_FP 1/_G_HAVE_PRINTF_FP 0/" \
16 -e "s/_G_HAVE_LONG_DOUBLE_IO 1/_G_HAVE_LONG_DOUBLE_IO 0/" \
17 <_G_config.h > tmp-config.h
18 mv -f tmp-config.h _G_config.h
19 touch stmp-Gconfig
20 $(MAKE) $(FLAGS_TO_PASS) _G_CONFIG_H=_G_config.h all