|
From: | Pablo Barrera |
Subject: | [libcvd-members] configure.in and configure |
Date: | Mon, 25 Aug 2008 10:39:37 +0100 |
It seems I had some problems sending this automatica message. These are some changes I did to configure.in to compile all cvd on a macosx machine. This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: address@hidden ------ This is a copy of the message, including all the headers. ------ ------ The body of the message is 360861 characters long; only the first ------ 106496 or so are included here. Return-path: <address@hidden> Received: from savannah.gnu.org ([199.232.41.3]:54066 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from <address@hidden>) id 1KXYDV-0005IW-6j for address@hidden; Mon, 25 Aug 2008 05:18:33 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from <address@hidden>) id 1KXYDT-000549-5P for address@hidden; Mon, 25 Aug 2008 09:18:27 +0000 Received: from barrera by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from <address@hidden>) id 1KXYDS-000540-Qd for address@hidden; Mon, 25 Aug 2008 09:18:27 +0000 To: address@hidden Subject: libcvd configure.in configure Message-Id: <address@hidden> From: Pablo Barrera <address@hidden> Date: Mon, 25 Aug 2008 09:18:26 +0000 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) CVSROOT: /sources/libcvd Module name: libcvd Changes by: Pablo Barrera <barrera> 08/08/25 09:18:26 Modified files: . : configure.in configure Log message: Changes on configure.in to compile on a macosx. * CPP preprocesor * videodisplay * ffmpeg CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/libcvd/configure.in?cvsroot=libcvd&r1=1.133&r2=1.134 http://cvs.savannah.gnu.org/viewcvs/libcvd/configure?cvsroot=libcvd&r1=1.132&r2=1.133 Patches: Index: configure.in =================================================================== RCS file: /sources/libcvd/libcvd/configure.in,v retrieving revision 1.133 retrieving revision 1.134 diff -u -b -r1.133 -r1.134 --- configure.in 15 Aug 2008 20:46:49 -0000 1.133 +++ configure.in 25 Aug 2008 09:18:25 -0000 1.134 @@ -11,6 +11,7 @@ AC_PROG_RANLIB #Switch testing language to C++ AC_LANG(C++) +AC_REQUIRE_CPP #Start the compiler cvd_major=`echo $PACKAGE_VERSION | $AWK -F'\\\\.' '{print $1}'` @@ -580,7 +581,13 @@ APPEND(CXXFLAGS, -I$x_includes) fi + if test "$host_vendor" == apple + then + APPEND(LIBS, [-L$x_libraries -lX11 -lXext -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib]) + else APPEND(LIBS, [-L$x_libraries -lX11 -lXext]) + fi + AC_CHECK_LIB(GL,glDrawPixels, [], [a=1]) ]) @@ -757,7 +764,7 @@ then AC_CHECK_HEADERS(ffmpeg/avcodec.h ffmpeg/avformat.h ffmpeg/swscale.h, [ffmpeg_old_headers=1], []) - AC_CHECK_HEADERS(libavcodec/avcodec.h libavformat/avformat.h libswscale/swscale.h, [ffmpeg_new_headers=1], [a=1]) + AC_CHECK_HEADERS(libavcodec/avcodec.h libavformat/avformat.h libswscale/swscale.h, [ffmpeg_new_headers=1], []) if test "$ffmpeg_old_headers" == 1 || test "$ffmpeg_new_headers" == 1 |
[Prev in Thread] | Current Thread | [Next in Thread] |