diff options
-rwxr-xr-x | configure | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |