Initial release of Maemo 5 port of gnuplot
[gnuplot] / m4 / beos.m4
diff --git a/m4/beos.m4 b/m4/beos.m4
new file mode 100644 (file)
index 0000000..6f2a4c4
--- /dev/null
@@ -0,0 +1,20 @@
+## ------------------------------- ##
+## Check for BeOS.                 ##
+## From Lars Hecking               ##
+## From Xavier Pianet              ##
+## ------------------------------- ##
+
+# serial 1
+
+AC_DEFUN([GP_BEOS],
+[AC_MSG_CHECKING(for BeOS)
+AC_EGREP_CPP(yes,
+[#if __BEOS__
+  yes
+#endif
+], AC_MSG_RESULT(yes)
+   build_src_beos_subdir=yes,
+   build_src_beos_subdir=no
+   AC_MSG_RESULT(no))
+])
+