]> git.sesse.net Git - vlc/blob - extras/buildsystem/autotools/m4/autoconf260.m4
vlc_threads_funcs.h: Don't attempt to track pthread_cond_wait() that takes a long...
[vlc] / extras / buildsystem / autotools / m4 / autoconf260.m4
1 # Replacements for autoconf 2.59 and older
2 # Please make official source tarballs with recent autoconf only.
3 # Copyright (C) 2006 RĂ©mi Denis-Courmont.
4 # Distribution and usage of this file, verbatim or modified, is permitted
5 # with no limitations.
6
7 AC_DEFUN([AC_PROG_CC_C99],
8 [ AC_REQUIRE([AC_PROG_CC])dnl
9   CC="$CC -std=gnu99"
10 ])
11
12 AC_DEFUN([AC_PROG_OBJC], [ 
13  AC_MSG_CHECKING(for an Objective-C compiler)            
14  OBJC="${CXX}"           
15  AC_SUBST(OBJC)                  
16  OBJCFLAGS="${CXXFLAGS} -fgnu-runtime -fconstant-string-class=NSConstantString"                  
17  AC_SUBST(OBJCFLAGS)
18
19 ])
20
21 AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
22 [ AC_DEFINE([_GNU_SOURCE], [ ], [Enable lots of stuff with glibc.])
23 ])
24