~and471/ubuntu/maverick/frozen-bubble/fix-599809

« back to all changes in this revision

Viewing changes to SDL_mixer_patched/configure

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2002-04-17 09:21:51 UTC
  • Revision ID: james.westby@ubuntu.com-20020417092151-hcx70m74bzafruqp
Tags: 0.9.2-12
frozen-bubble, Makefile: added path to excutable (closes: #143222).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2121
2121
  rm -f conf.sdltest
2122
2122
 
2123
2123
CFLAGS="$CFLAGS $SDL_CFLAGS"
2124
 
LIBS="$LIBS $SDL_LIBS"
2125
2124
 
2126
2125
CFLAGS="$CFLAGS -DUSE_RWOPS"
2127
2126
 
2218
2217
 
2219
2218
if test x$enable_music_ogg = xyes; then
2220
2219
    echo $ac_n "checking for Ogg Vorbis headers and libraries""... $ac_c" 1>&6
2221
 
echo "configure:2222: checking for Ogg Vorbis headers and libraries" >&5
 
2220
echo "configure:2221: checking for Ogg Vorbis headers and libraries" >&5
2222
2221
    have_vorbis=no
2223
2222
    cat > conftest.$ac_ext <<EOF
2224
 
#line 2225 "configure"
 
2223
#line 2224 "configure"
2225
2224
#include "confdefs.h"
2226
2225
 
2227
2226
     #include <vorbis/vorbisfile.h>
2231
2230
    
2232
2231
; return 0; }
2233
2232
EOF
2234
 
if { (eval echo configure:2235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 
2233
if { (eval echo configure:2234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2235
2234
  rm -rf conftest*
2236
2235
  
2237
2236
    have_vorbis=yes
2298
2297
  # Extract the first word of "smpeg-config", so it can be a program name with args.
2299
2298
set dummy smpeg-config; ac_word=$2
2300
2299
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2301
 
echo "configure:2302: checking for $ac_word" >&5
 
2300
echo "configure:2301: checking for $ac_word" >&5
2302
2301
if eval "test \"`echo '$''{'ac_cv_path_SMPEG_CONFIG'+set}'`\" = set"; then
2303
2302
  echo $ac_n "(cached) $ac_c" 1>&6
2304
2303
else
2333
2332
 
2334
2333
  min_smpeg_version=$SMPEG_VERSION
2335
2334
  echo $ac_n "checking for SMPEG - version >= $min_smpeg_version""... $ac_c" 1>&6
2336
 
echo "configure:2337: checking for SMPEG - version >= $min_smpeg_version" >&5
 
2335
echo "configure:2336: checking for SMPEG - version >= $min_smpeg_version" >&5
2337
2336
  no_smpeg=""
2338
2337
  if test "$SMPEG_CONFIG" = "no" ; then
2339
2338
    no_smpeg=yes
2340
2339
  else
2341
2340
    SMPEG_CFLAGS=`$SMPEG_CONFIG $smpegconf_args --cflags`
2342
2341
    SMPEG_LIBS=`$SMPEG_CONFIG $smpegconf_args --libs`
 
2342
    SMPEG_LIBS_FOR_LIBS=`$SMPEG_CONFIG $smpegconf_args --library-libs`
 
2343
    SMPEG_LIBS_FOR_PLUGINS=`$SMPEG_CONFIG $smpegconf_args --plugin-libs`
2343
2344
 
2344
2345
    smpeg_major_version=`$SMPEG_CONFIG $smpeg_args --version | \
2345
2346
           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
2357
2358
  echo $ac_n "cross compiling; assumed OK... $ac_c"
2358
2359
else
2359
2360
  cat > conftest.$ac_ext <<EOF
2360
 
#line 2361 "configure"
 
2361
#line 2362 "configure"
2361
2362
#include "confdefs.h"
2362
2363
 
2363
2364
#include <stdio.h>
2424
2425
 
2425
2426
 
2426
2427
EOF
2427
 
if { (eval echo configure:2428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 
2428
if { (eval echo configure:2429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2428
2429
then
2429
2430
  :
2430
2431
else
2461
2462
          CFLAGS="$CFLAGS $SMPEG_CFLAGS $SDL_CFLAGS"
2462
2463
          LIBS="$LIBS $SMPEG_LIBS $SDL_LIBS"
2463
2464
          cat > conftest.$ac_ext <<EOF
2464
 
#line 2465 "configure"
 
2465
#line 2466 "configure"
2465
2466
#include "confdefs.h"
2466
2467
 
2467
2468
#include <stdio.h>
2471
2472
 return 0; 
2472
2473
; return 0; }
2473
2474
EOF
2474
 
if { (eval echo configure:2475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
2475
if { (eval echo configure:2476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2475
2476
  rm -rf conftest*
2476
2477
   echo "*** The test program compiled, but did not run. This 
2477
2478
usually means"
2513
2514
  fi
2514
2515
  
2515
2516
  
 
2517
  
 
2518
  
2516
2519
  rm -f conf.smpegtest
2517
2520
 
2518
2521
    if test x$have_smpeg = xyes; then
2519
2522
        CFLAGS="$CFLAGS -DMP3_MUSIC $SMPEG_CFLAGS"
2520
 
        LIBS="$LIBS $SMPEG_LIBS"
2521
2523
    fi
2522
2524
fi
2523
2525
 
2750
2752
s%@SMPEG_CONFIG@%$SMPEG_CONFIG%g
2751
2753
s%@SMPEG_CFLAGS@%$SMPEG_CFLAGS%g
2752
2754
s%@SMPEG_LIBS@%$SMPEG_LIBS%g
 
2755
s%@SMPEG_LIBS_FOR_LIBS@%$SMPEG_LIBS_FOR_LIBS%g
 
2756
s%@SMPEG_LIBS_FOR_PLUGINS@%$SMPEG_LIBS_FOR_PLUGINS%g
2753
2757
s%@MUSIC_SUBDIRS@%$MUSIC_SUBDIRS%g
2754
2758
s%@USE_MIKMOD_TRUE@%$USE_MIKMOD_TRUE%g
2755
2759
s%@USE_MIKMOD_FALSE@%$USE_MIKMOD_FALSE%g