* configure.ac: Ooops, got the attribute(packed) check upside-down.
authorSam Hocevar <sam@videolan.org>
Tue, 1 Jul 2003 17:46:50 +0000 (17:46 +0000)
committerSam Hocevar <sam@videolan.org>
Tue, 1 Jul 2003 17:46:50 +0000 (17:46 +0000)
configure.ac

index 4ab8042..c39bbb7 100644 (file)
@@ -1,5 +1,5 @@
 dnl Autoconf settings for vlc
-dnl $Id: configure.ac,v 1.19 2003/07/01 17:14:58 sam Exp $
+dnl $Id: configure.ac,v 1.20 2003/07/01 17:46:50 sam Exp $
 
 AC_INIT(vlc,0.6.0)
 
@@ -725,7 +725,7 @@ AC_CACHE_CHECK([for __attribute__((packed))],
   [ac_cv_c_attribute_packed=no
    AC_TRY_COMPILE(, [struct __attribute__((__packed__)) foo { int a; } b;],
                     [ac_cv_c_attribute_packed=yes])])
-if test "${ac_cv_c_attribute_packed}" = "no"; then
+if test "${ac_cv_c_attribute_packed}" != "no"; then
   AC_DEFINE(HAVE_ATTRIBUTE_PACKED, 1, Support for __attribute__((packed)) for structs)
 fi