[prev in list] [next in list] [prev in thread] [next in thread]
List: autoconf
Subject: SDL autoconf problem
From: Richard Garand <richard () garandnet ! net>
Date: 2003-04-27 20:41:23
Message-ID: 200304271441.29801.richard () garandnet ! net
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm having a problem using the sdl.m4 autoconf file from libsdl in my project.
When it tries to run a test program it adds `sdl-config --cflags` to CFLAGS,
which includes a -I flags that is necessary to find the required headers, but
configure compiles it with g++ and can't find the headers. Changing it to use
CXXFLAGS fixes the problem.
I believe this is autoconf's problem because the documentation says that
AC_TRY_RUN takes a C program - it should be using a C compiler, which would
look at CFLAGS.
- --
Richard Garand - r i c h a r d @ g a r a n d n e t . n e t
ICQ: 12190132 - http://www.garandnet.net
"This is a test of the Emergency Broadcast System. If this had been an actual
emergency, do you really think we'd stick around to tell you?"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+rEB5eCvRFgufeeYRAnGeAJ9cAWN5p4gxv4QETNYY6Enq1KJqjwCg3ew6
ZgNGiiKcznJPqrYVTSJ6UuQ=
=DPYc
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic