X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=fixincludes%2Fconfigure;h=d5da756ada828f68a5601d93fca3fe7f72f14732;hp=8e9f630a06faf86ec15247d4846ebfa9396bf0cd;hb=4f80d25b87fcbbec22e05d3894d0e6e47b2f1163;hpb=38ddce4759617c496335aab7ee3a0fe17adbe569;ds=sidebyside diff --git a/fixincludes/configure b/fixincludes/configure index 8e9f630a06f..d5da756ada8 100755 --- a/fixincludes/configure +++ b/fixincludes/configure @@ -847,6 +847,7 @@ if test -n "$ac_init_help"; then Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-twoprocess Use a separate process to apply the fixes --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer @@ -2343,19 +2344,39 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # Choose one or two-process fix methodology. Systems that cannot handle # bi-directional pipes must use the two process method. # -case $host in +# Check whether --enable-twoprocess or --disable-twoprocess was given. +if test "${enable_twoprocess+set}" = set; then + enableval="$enable_twoprocess" + if test "x$enable_twoprocess" = yes; then + TARGET=twoprocess +else + TARGET=oneprocess +fi +else + case $host in i?86-*-msdosdjgpp* | \ + i?86-*-mingw32* | \ *-*-beos* ) TARGET=twoprocess + ;; + + * ) + TARGET=oneprocess + ;; +esac +fi; + + +if test $TARGET = twoprocess; then cat >>confdefs.h <<\_ACEOF #define SEPARATE_FIX_PROC 1 _ACEOF - ;; +fi +case $host in vax-dec-bsd* ) - TARGET=oneprocess cat >>confdefs.h <<\_ACEOF #define exit xexit @@ -2367,13 +2388,14 @@ cat >>confdefs.h <<\_ACEOF _ACEOF ;; - - * ) - TARGET=oneprocess - ;; esac +cat >>confdefs.h <<_ACEOF +#define EXE_EXT "$ac_exeext" +_ACEOF + + # Checks for header files. ac_ext=c