From c6e68d3dcc63625015da4651f1ae08b58b785cb2 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 28 Jun 2002 05:40:52 +0000 Subject: [PATCH] More build system dancing. --- bootstrap | 1 + platform/Makefile.am | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bootstrap b/bootstrap index fe543dd4..14b2e40a 100755 --- a/bootstrap +++ b/bootstrap @@ -2,6 +2,7 @@ set -e echo "Initial preparation...this can take awhile, so sit tight..." +perl -w -e 'exit 0 if (-f "Makefile.am"); my $x = `automake --version |head -n 1`; chomp($x); $x = 0.0 if ($x !~ s/\A.*?(\d+\.\d+).*\Z/$1/); if ($x < 1.5) { rename ("./Makefile.am.oldautomake", "./Makefile.am"); } else { rename ("./Makefile.am.newautomake", "./Makefile.am"); }' aclocal libtoolize --automake --copy --force autoheader diff --git a/platform/Makefile.am b/platform/Makefile.am index 0ea4a946..c9fdfe0c 100644 --- a/platform/Makefile.am +++ b/platform/Makefile.am @@ -2,10 +2,13 @@ noinst_LTLIBRARIES = libplatform.la INCLUDES = -I$(top_srcdir) +X = beos.cpp +Y = beos.cpp + if BUILD_BEOS_CPP - X = beos.cpp + Y = else - Y = beos.cpp + X = endif libplatform_la_SOURCES = \