Commits

Wez Furlong committed f3eda08
  • Participants
  • Parent commits 5191bfa

Comments (0)

Files changed (3)

 	src/compress.cpp \
 	src/main.cpp 
 
+# If you see a warning about this rule overriding an automake provided rule,
+# that's fine; we do this because we want to build on versions of autoconf
+# and automake prior to 1.12.1
 .mm.o:
 	$(OBJC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_OBJCFLAGS) $(OBJCFLAGS) -c -o $@ $<
 
 #!/bin/sh
 # vim:ts=2:sw=2:et:
+aclocal
 autoheader
-aclocal
 automake --add-missing --foreign
 autoconf
   CXXFLAGS="$CXXFLAGS -Wall"
 fi
 AC_PROG_OBJC
+# Thanks automake; we MUST invoke AC_PROG_OBJCXX even though
+# we roll our own objc++ build support, because automake 1.12.1
+# throws a fatal error when it finds our .mm sources.
+# We do this because there is no good reason to bump the minimum
+# autoconf and automake dependencies.
+m4_ifdef([AC_PROG_OBJCXX], [
+AC_PROG_OBJCXX
+])
 AC_C_BIGENDIAN
 
 AC_HEADER_DIRENT