X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=m4%2Falpha.m4;fp=m4%2Falpha.m4;h=6f2be9232e9902fe1e91b0660574eae24b95adc9;hb=39ec1247a71f61152a4a7f502a30f06a3896c5da;hp=0000000000000000000000000000000000000000;hpb=06be459be4f5f6a7c6ff878e84f355fb2575caa8;p=gnuplot diff --git a/m4/alpha.m4 b/m4/alpha.m4 new file mode 100644 index 0000000..6f2be92 --- /dev/null +++ b/m4/alpha.m4 @@ -0,0 +1,24 @@ +## ------------------------------- ## +## Check for Alpha AXP. ## +## By Hans-Bernhard Broeker ## +## (edited copy of msdos.m4) ## +## ------------------------------- ## + +# serial 1 + +AC_DEFUN([GP_ALPHA], +[AC_MSG_CHECKING(for Alpha/AXP CPU) +AC_EGREP_CPP(yes, +[#ifdef __alpha + yes +#endif +],AC_MSG_RESULT(yes) + if test "$GCC" = "yes" ; then + CFLAGS="-mieee $CFLAGS" + else + CFLAGS="-ieee $CFLAGS" + fi, + AC_MSG_RESULT(no) + )dnl +]) +