configure.in
changeset 234 2710ee66a482
parent 231 e4f81b0f1c93
child 237 2abc99254366
--- a/configure.in	Fri May 24 09:23:23 2002 +0000
+++ b/configure.in	Fri May 24 09:44:38 2002 +0000
@@ -52,6 +52,7 @@
 dnl ---------------------------------------------------------------------
 
 AC_PROG_CC
+AC_PROG_CXX
 AC_PROG_INSTALL
 AC_PROG_LN_S
 AC_PROG_LIBTOOL
@@ -183,6 +184,10 @@
   fi
 fi
 
+AC_CHECK_HEADER(be/kernel/OS.h, this_is_beos=yes)
+if test x$this_is_beos = xyes; then
+  LIBS="$LIBS -lroot -lbe"
+fi
 
 # Checks for header files.
 AC_HEADER_STDC