tFix prefix when building on Cygwin systems. - vaccinewars - be a doctor and tr… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 12ffdc2f87df9971d87cd7f4924fde0ebeedf6a5 | |
parent 6da47caea44cdfb79a74cb20f7e8ea1ab59116e8 | |
Author: Ben Webb <[email protected]> | |
Date: Fri, 6 Jun 2003 19:12:17 +0000 | |
Fix prefix when building on Cygwin systems. | |
Diffstat: | |
M configure.in | 5 +++++ | |
1 file changed, 5 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/configure.in b/configure.in | |
t@@ -72,6 +72,11 @@ if test "$CYGWIN" = "yes" ; then | |
AC_MSG_RESULT([Configuring for native Win32 binary under Cygwin]) | |
AC_DEFINE(CYGWIN, 1, [Define if building under the Cygwin environment]) | |
+ dnl The prefix makes little sense under Cygwin, but the installer expects | |
+ dnl everything relative to the current directory. --prefix="." doesn't | |
+ dnl work with recent autoconf versions, so it is fixed here. | |
+ prefix="." | |
+ | |
dnl This flag allows linking with MSVC-generated DLLs. -fnative-struct was | |
dnl used by gcc 2, and -mms-bitfields by gcc 3, so it is tested for here. | |
bkp_CFLAGS="$CFLAGS" |