Mercurial > sdl-ios-xcode
comparison configure.in @ 257:9ac9ab945955
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 18 Dec 2001 00:18:49 +0000 |
parents | 4bcb29d3769c |
children | ada53483727a |
comparison
equal
deleted
inserted
replaced
256:640dcf27d2f7 | 257:9ac9ab945955 |
---|---|
2172 # Set runtime shared library paths as needed | 2172 # Set runtime shared library paths as needed |
2173 | 2173 |
2174 if test $ARCH = linux -o $ARCH = freebsd -o $ARCH = bsdi; then | 2174 if test $ARCH = linux -o $ARCH = freebsd -o $ARCH = bsdi; then |
2175 SDL_RLD_FLAGS="-Wl,-rpath,\${exec_prefix}/lib" | 2175 SDL_RLD_FLAGS="-Wl,-rpath,\${exec_prefix}/lib" |
2176 fi | 2176 fi |
2177 | |
2178 if test $ARCH = solaris; then | 2177 if test $ARCH = solaris; then |
2179 SDL_RLD_FLAGS="-R\${exec_prefix}/lib" | 2178 SDL_RLD_FLAGS="-R\${exec_prefix}/lib" |
2180 fi | 2179 fi |
2181 | 2180 if test $ARCH = openbsd -o $ARCH = bsdi; then |
2182 if test $ARCH = openbsd; then | 2181 SHARED_SYSTEM_LIBS="$SYSTEM_LIBS" |
2183 SDL_RLD_FLAGS="-Wl,-rpath,\${exec_prefix}/lib $SYSTEM_LIBS" | 2182 else |
2183 SHARED_SYSTEM_LIBS="" | |
2184 fi | 2184 fi |
2185 STATIC_SYSTEM_LIBS="$SYSTEM_LIBS" | |
2185 | 2186 |
2186 dnl Output the video drivers we use | 2187 dnl Output the video drivers we use |
2187 if test x$enable_video = xtrue; then | 2188 if test x$enable_video = xtrue; then |
2188 if test "$VIDEO_SUBDIRS" = ""; then | 2189 if test "$VIDEO_SUBDIRS" = ""; then |
2189 AC_MSG_ERROR(*** No video drivers are enabled!) | 2190 AC_MSG_ERROR(*** No video drivers are enabled!) |
2197 AC_SUBST(JOYSTICK_DRIVERS) | 2198 AC_SUBST(JOYSTICK_DRIVERS) |
2198 AC_SUBST(CDROM_SUBDIRS) | 2199 AC_SUBST(CDROM_SUBDIRS) |
2199 AC_SUBST(CDROM_DRIVERS) | 2200 AC_SUBST(CDROM_DRIVERS) |
2200 AC_SUBST(SDL_EXTRADIRS) | 2201 AC_SUBST(SDL_EXTRADIRS) |
2201 AC_SUBST(SDL_EXTRALIBS) | 2202 AC_SUBST(SDL_EXTRALIBS) |
2202 AC_SUBST(SYSTEM_LIBS) | |
2203 | 2203 |
2204 dnl Expand the cflags and libraries needed by apps using SDL | 2204 dnl Expand the cflags and libraries needed by apps using SDL |
2205 AC_SUBST(SDL_CFLAGS) | 2205 AC_SUBST(SDL_CFLAGS) |
2206 AC_SUBST(SDL_LIBS) | 2206 AC_SUBST(SDL_LIBS) |
2207 AC_SUBST(SDL_RLD_FLAGS) | 2207 AC_SUBST(SDL_RLD_FLAGS) |
2208 | 2208 |
2209 dnl Expand the libraries needed for static linking | 2209 dnl Expand the libraries needed for static and dynamic linking |
2210 AC_SUBST(SYSTEM_LIBS) | 2210 AC_SUBST(STATIC_SYSTEM_LIBS) |
2211 AC_SUBST(SHARED_SYSTEM_LIBS) | |
2212 | |
2211 dnl Expand the include directories for building SDL | 2213 dnl Expand the include directories for building SDL |
2212 CFLAGS="$CFLAGS -I\$(top_srcdir)/include" | 2214 CFLAGS="$CFLAGS -I\$(top_srcdir)/include" |
2213 CFLAGS="$CFLAGS -I\$(top_srcdir)/include/SDL" | 2215 CFLAGS="$CFLAGS -I\$(top_srcdir)/include/SDL" |
2214 CFLAGS="$CFLAGS -I\$(top_srcdir)/src -I\$(top_srcdir)/src/$ARCH" | 2216 CFLAGS="$CFLAGS -I\$(top_srcdir)/src -I\$(top_srcdir)/src/$ARCH" |
2215 CFLAGS="$CFLAGS -I\$(top_srcdir)/src/main" | 2217 CFLAGS="$CFLAGS -I\$(top_srcdir)/src/main" |