Commit ccc5c5dc authored by Christophe Mutricy's avatar Christophe Mutricy
Browse files

Re-use the old OBJC workaround and distribute autoconf260.m4

parent 28d49d98
...@@ -180,6 +180,7 @@ EXTRA_DIST += \ ...@@ -180,6 +180,7 @@ EXTRA_DIST += \
extras/vlc.vim \ extras/vlc.vim \
extras/make.pl \ extras/make.pl \
extras/valgrind.suppressions \ extras/valgrind.suppressions \
extras/m4/autoconf260.m4 \
$(NULL) $(NULL)
############################################################################### ###############################################################################
......
...@@ -9,7 +9,14 @@ AC_DEFUN([AC_PROG_CC_C99], ...@@ -9,7 +9,14 @@ AC_DEFUN([AC_PROG_CC_C99],
CC="$CC -std=c99" CC="$CC -std=c99"
]) ])
AC_DEFUN([AC_PROG_OBJC], [ ]) AC_DEFUN([AC_PROG_OBJC], [
AC_MSG_CHECKING(for an Objective-C compiler)
OBJC="${CXX}"
AC_SUBST(OBJC)
OBJCFLAGS="${CXXFLAGS} -fgnu-runtime -fconstant-string-class=NSConstantString"
AC_SUBST(OBJCFLAGS)
])
AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS], AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
[ AC_DEFINE([_GNU_SOURCE], [ ], [Enable lots of stuff with glibc.]) [ AC_DEFINE([_GNU_SOURCE], [ ], [Enable lots of stuff with glibc.])
......
Supports Markdown
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