else
dnl Aw, nothing suitable found...
- AC_MSG_RESULT(Unrecognized compiler --- you will probably run into trouble. Try to go ahead and get help from developers@dealii.org)
+ AC_MSG_RESULT(Unrecognized C++ compiler -- Try to go ahead and get help from dealii@dealii.org)
GXX_VERSION=unknown_cc
fi
fi
;;
*)
- AC_MSG_ERROR(No compiler options for this C++ compiler
- specified at present)
+ CXXFLAGSG="$CXXFLAGS -DDEBUG"
+ CXXFLAGSO="$CXXFLAGS -O2"
+ AC_MSG_RESULT(Unknown C++ compiler - using generic options)
;;
esac
fi
else
dnl Aw, nothing suitable found...
- AC_MSG_ERROR([Unrecognized compiler -- sorry])
- exit 1
+ AC_MSG_RESULT([Unrecognized compiler -- still trying])
+ CC_VERSION=unknown_cc
fi
fi
fi
;;
*)
- AC_MSG_ERROR(No compiler options for this C compiler
- specified at present)
+ AC_MSG_RESULT(Unknown C compiler - using generic options)
+ CFLAGS="$CFLAGS -O2"
;;
esac
fi
GXX_VERSION=kai_cc
else
- echo "$as_me:$LINENO: result: Unrecognized compiler --- you will probably run into trouble. Try to go ahead and get help from developers@dealii.org" >&5
-echo "${ECHO_T}Unrecognized compiler --- you will probably run into trouble. Try to go ahead and get help from developers@dealii.org" >&6
+ echo "$as_me:$LINENO: result: Unrecognized C++ compiler -- Try to go ahead and get help from dealii@dealii.org" >&5
+echo "${ECHO_T}Unrecognized C++ compiler -- Try to go ahead and get help from dealii@dealii.org" >&6
GXX_VERSION=unknown_cc
fi
fi
;;
*)
- { { echo "$as_me:$LINENO: error: No compiler options for this C++ compiler
- specified at present" >&5
-echo "$as_me: error: No compiler options for this C++ compiler
- specified at present" >&2;}
- { (exit 1); exit 1; }; }
+ CXXFLAGSG="$CXXFLAGS -DDEBUG"
+ CXXFLAGSO="$CXXFLAGS -O2"
+ echo "$as_me:$LINENO: result: Unknown C++ compiler - using generic options" >&5
+echo "${ECHO_T}Unknown C++ compiler - using generic options" >&6
;;
esac
fi
CC_VERSION=kai_cc
else
- { { echo "$as_me:$LINENO: error: Unrecognized compiler -- sorry" >&5
-echo "$as_me: error: Unrecognized compiler -- sorry" >&2;}
- { (exit 1); exit 1; }; }
- exit 1
+ echo "$as_me:$LINENO: result: Unrecognized compiler -- still trying" >&5
+echo "${ECHO_T}Unrecognized compiler -- still trying" >&6
+ CC_VERSION=unknown_cc
fi
fi
fi
;;
*)
- { { echo "$as_me:$LINENO: error: No compiler options for this C compiler
- specified at present" >&5
-echo "$as_me: error: No compiler options for this C compiler
- specified at present" >&2;}
- { (exit 1); exit 1; }; }
+ echo "$as_me:$LINENO: result: Unknown C compiler - using generic options" >&5
+echo "${ECHO_T}Unknown C compiler - using generic options" >&6
+ CFLAGS="$CFLAGS -O2"
;;
esac
fi
echo " WARNING: however."
echo
fi
+
+if test "x$CC_VERSION" = "xunknown_cc" ; then
+ echo ----------------------------------------------------------------------
+ echo " WARNING: The C compiler used for configuration is unknown!"
+ echo " WARNING: configure has used a generic set of parameters."
+ echo " WARNING: Still, you have to expect trouble during compilation."
+ echo " WARNING: If so, report to dealii@dealii.org!"
+fi
+
+if test "x$GXX_VERSION" = "xunknown_cc" ; then
+ echo ----------------------------------------------------------------------
+ echo " WARNING: The C++ compiler used for configuration is unknown!"
+ echo " WARNING: configure has used a generic set of parameters."
+ echo " WARNING: Still, you have to expect trouble during compilation."
+ echo " WARNING: If so, report to dealii@dealii.org!"
+fi
+
echo " WARNING: however."
echo
fi
+
+if test "x$CC_VERSION" = "xunknown_cc" ; then
+ echo ----------------------------------------------------------------------
+ echo " WARNING: The C compiler used for configuration is unknown!"
+ echo " WARNING: configure has used a generic set of parameters."
+ echo " WARNING: Still, you have to expect trouble during compilation."
+ echo " WARNING: If so, report to dealii@dealii.org!"
+fi
+
+if test "x$GXX_VERSION" = "xunknown_cc" ; then
+ echo ----------------------------------------------------------------------
+ echo " WARNING: The C++ compiler used for configuration is unknown!"
+ echo " WARNING: configure has used a generic set of parameters."
+ echo " WARNING: Still, you have to expect trouble during compilation."
+ echo " WARNING: If so, report to dealii@dealii.org!"
+fi
+