Fix configure: define USE_PEFLAGS for every platform
authorGeoffroy Couprie <geal@videolan.org>
Thu, 17 Sep 2009 17:31:08 +0000 (19:31 +0200)
committerGeoffroy Couprie <geal@videolan.org>
Thu, 17 Sep 2009 17:31:28 +0000 (19:31 +0200)
configure.ac

index 87b9fa7..b6a241e 100644 (file)
@@ -364,7 +364,6 @@ case "${host_os}" in
         then
           AC_CHECK_TOOL(PEFLAGS, peflags, :)
         fi
-        AM_CONDITIONAL(USE_PEFLAGS, [test "${enable_peflags}" = "yes"])
     fi
     if test "${SYS}" = "mingwce"; then
         # add ws2 for closesocket, select, recv
@@ -412,6 +411,7 @@ AM_CONDITIONAL(HAVE_DARWIN, test "${SYS}" = "darwin")
 AM_CONDITIONAL(HAVE_LINUX, [test "${SYS}" = "linux"])
 AM_CONDITIONAL(HAVE_WIN32, test "${SYS}" = "mingw32")
 AM_CONDITIONAL(HAVE_WINCE, test "${SYS}" = "mingwce")
+AM_CONDITIONAL(USE_PEFLAGS, [test "${enable_peflags}" = "yes"])
 
 dnl
 dnl Sadly autoconf doesn't think about testing foo.exe when ask to test