+AC_DEFUN([_PANDORA_TRY_GCC],[
+ pushdef([Name],[translit([$1],[./-], [___])])
+ pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
+ AC_CHECK_PROGS([CC]NAME,[gcc$1])
+ AC_CHECK_PROGS([CXX]NAME,[g++$1])
+ AS_IF([test "x${CC]NAME[}" != "x" -a "x${ac_cv_env_CC_set}" = "x"],
+ [CC="${CC]NAME[}"])
+ AS_IF([test "x${CXX]NAME[}" != "x" -a "x${ac_cv_env_CCX_set}" = "x"],
+ [CXX="${CXX]NAME[}"])
+ AS_IF([test "x${CC]NAME[}" != "x" -a "x${ac_cv_env_CPP_set}" = "x"],
+ [CPP="${CC]NAME[} -E"])
+])
+