Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
ccc5c5dc
Commit
ccc5c5dc
authored
Sep 15, 2006
by
Christophe Mutricy
Browse files
Re-use the old OBJC workaround and distribute autoconf260.m4
parent
28d49d98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile.am
View file @
ccc5c5dc
...
...
@@ -180,6 +180,7 @@ EXTRA_DIST += \
extras/vlc.vim
\
extras/make.pl
\
extras/valgrind.suppressions
\
extras/m4/autoconf260.m4
\
$(NULL)
###############################################################################
...
...
extras/m4/autoconf260.m4
View file @
ccc5c5dc
...
...
@@ -9,7 +9,14 @@ AC_DEFUN([AC_PROG_CC_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_DEFINE([_GNU_SOURCE], [ ], [Enable lots of stuff with glibc.])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment