Commit da38547a authored by Sam Hocevar's avatar Sam Hocevar

* configure.ac: Ooops, got the attribute(packed) check upside-down.

parent 750c81c7
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment