enable_serio="yes"
fi
else
- enable_serio="yes"
+ enable_serio="no"
fi;
# 1. Remove the extension, and $U if already installed.
ac_i=`echo "$ac_i" |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
- # 2. Add them.
- ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
- ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
+ # will be set to the directory where LIBOBJS objects are built.
+ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
done
LIBOBJS=$ac_libobjs
*/
#include <testfwk.h>
-#if !defined __GNUC__ || __GNUC__ > 2
+#if !defined __GNUC__ || __GNUC__ >= 3
/* flexible array members not supported by gcc < 3 */
struct str1
{
static void
testFlexibleArray1(void)
{
-#if !defined __GNUC__ || __GNUC__ > 2
+#if !defined __GNUC__ || __GNUC__ >= 3
/* flexible array members not supported by gcc < 3 */
/* test sizeof */
ASSERT(sizeof(s11) == 1);
/* test initialisation with string */
-#if !defined __GNUC__ || __GNUC__ > 2
+#if !defined __GNUC__ || __GNUC__ >= 3
/* flexible array members not supported by gcc < 3 */
struct str2
{
static void
testFlexibleArray2(void)
{
-#if !defined __GNUC__ || __GNUC__ > 2
+#if !defined __GNUC__ || __GNUC__ >= 3
/* flexible array members not supported by gcc < 3 */
/* test sizeof */
ASSERT(sizeof(s21) == 2);