]> git.sesse.net Git - vlc/commitdiff
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 87b9fa760c4fc04f34496283202fab5b57df794f..b6a241e16f852b8129c5d54a2fd80c13c462a2b9 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