aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xconfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure b/configure
index 28c3f628d6..510b49ba19 100755
--- a/configure
+++ b/configure
@@ -2230,6 +2230,11 @@ else
_debugdef='#undef MP_DEBUG'
fi
+if test "$system_name" = "Linux" ; then
+ _linux_def='#define TARGET_LINUX'
+else
+ _linux_def='#undef TARGET_LINUX'
+fi
echo
echo "Creating $MCONF"
cat > $MCONF << EOF
@@ -2237,7 +2242,7 @@ cat > $MCONF << EOF
# -------- Generated by ./configure -----------
LANG=C
-
+TARGET_OS=$system_name
prefix = $_prefix
AR=ar
CC=$_cc
@@ -2433,6 +2438,8 @@ $_confwin32
/* Define this to any prefered value from 386 up to infinity with step 100 */
#define __CPU__ $iproc
+$_linux_def
+
#ifdef sun
#define DEFAULT_CDROM_DEVICE "/vol/dev/aliases/cdrom0"
#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE