[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SDL autoconf problem
From: |
Richard Garand |
Subject: |
SDL autoconf problem |
Date: |
Sun, 27 Apr 2003 14:41:23 -0600 |
User-agent: |
KMail/1.5.1 |
-----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 Thread] |
Current Thread |
[Next in Thread] |
- SDL autoconf problem,
Richard Garand <=