diff options
Diffstat (limited to 'libgloss/m68k/configure')
-rwxr-xr-x | libgloss/m68k/configure | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libgloss/m68k/configure b/libgloss/m68k/configure index ad832ee..be5eaf5 100755 --- a/libgloss/m68k/configure +++ b/libgloss/m68k/configure @@ -3175,6 +3175,37 @@ sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_ext +cat >conftest.$ac_ext <<_ACEOF +#ifndef __mfido__ + #error we are not fido + #endif +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + DO="fido" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi +rm -f conftest.err conftest.$ac_ext LDFLAGS=$saved_LDFLAGS echo "$as_me:$LINENO: result: $DO" >&5 echo "${ECHO_T}$DO" >&6 |