Bug 426205 - Fix implicit declaration of exit() warning running configure

r=bsmedberg a=beltzner


git-svn-id: svn://10.0.0.236/trunk@249087 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
caillon%redhat.com
2008-04-04 02:09:06 +00:00
parent 824312dc8c
commit d8d93bc060
2 changed files with 3 additions and 1 deletions

View File

@@ -122,7 +122,8 @@ AC_DEFUN([MOZ_CHECK_PTHREADS],
[
AC_MSG_CHECKING([for pthread_create in -l$1])
echo "
#include <pthread.h>
#include <pthread.h>
#include <stdlib.h>
void *foo(void *v) { int a = 1; }
int main() {
pthread_t t;

View File

@@ -7892,6 +7892,7 @@ if test "$MOZ_X11"; then
CFLAGS="$CFLAGS $XCFLAGS"
AC_TRY_COMPILE([
#include <stdio.h>
#include <stdlib.h>
#include <X11/Xlib.h>
#include <X11/Intrinsic.h>
],