configure
changeset 5345 0202f62906ca
parent 5323 ed319722cf1c
child 5389 24903690f48a
     1.1 --- a/configure	Fri Feb 18 09:30:09 2011 -0800
     1.2 +++ b/configure	Fri Feb 18 11:19:34 2011 -0800
     1.3 @@ -28350,7 +28350,6 @@
     1.4  \\$(objects)/\\2.lo: \\1/\\2.$EXT\\\\
     1.5  	\\$(LIBTOOL) --mode=compile \\$(CC) \\$(CFLAGS) \\$(EXTRA_CFLAGS) $DEPENDENCY_TRACKING_OPTIONS -c \\$< -o \\$@,g"`
     1.6  done
     1.7 -DEPENDS=`echo "$DEPENDS" | sed 's,\\$,\\\\$,g'`
     1.8  
     1.9  VERSION_OBJECTS=`echo $VERSION_SOURCES`
    1.10  VERSION_DEPENDS=`echo $VERSION_SOURCES`
    1.11 @@ -28358,7 +28357,6 @@
    1.12  VERSION_DEPENDS=`echo "$VERSION_DEPENDS" | sed "s,\\([^ ]*\\)/\\([^ ]*\\)\\.rc,\\\\
    1.13  \\$(objects)/\\2.o: \\1/\\2.rc\\\\
    1.14  	\\$(WINDRES) \\$< \\$@,g"`
    1.15 -VERSION_DEPENDS=`echo "$VERSION_DEPENDS" | sed 's,\\$,\\\\$,g'`
    1.16  
    1.17  SDLMAIN_OBJECTS=`echo $SDLMAIN_SOURCES`
    1.18  SDLMAIN_DEPENDS=`echo $SDLMAIN_SOURCES`
    1.19 @@ -28366,7 +28364,6 @@
    1.20  SDLMAIN_DEPENDS=`echo "$SDLMAIN_DEPENDS" | sed "s,\\([^ ]*\\)/\\([^ ]*\\)\\.c,\\\\
    1.21  \\$(objects)/\\2.o: \\1/\\2.c\\\\
    1.22  	\\$(LIBTOOL) --mode=compile \\$(CC) \\$(CFLAGS) \\$(EXTRA_CFLAGS) $DEPENDENCY_TRACKING_OPTIONS -c \\$< -o \\$@,g"`
    1.23 -SDLMAIN_DEPENDS=`echo "$SDLMAIN_DEPENDS" | sed 's,\\$,\\\\$,g'`
    1.24  
    1.25  # Set runtime shared library paths as needed
    1.26  
    1.27 @@ -28425,9 +28422,19 @@
    1.28  
    1.29  
    1.30  
    1.31 -ac_config_files="$ac_config_files Makefile sdl-config SDL.spec sdl.pc"
    1.32 -
    1.33 -ac_config_commands="$ac_config_commands default"
    1.34 +cat >Makefile.rules <<__EOF__
    1.35 +
    1.36 +# Build rules for objects
    1.37 +-include \$(OBJECTS:.lo=.d)
    1.38 +
    1.39 +# Special dependency for SDL.c, since it depends on SDL_revision.h
    1.40 +$srcdir/src/SDL.c: update-revision
    1.41 +$DEPENDS
    1.42 +$VERSION_DEPENDS
    1.43 +$SDLMAIN_DEPENDS
    1.44 +__EOF__
    1.45 +
    1.46 +ac_config_files="$ac_config_files Makefile:Makefile.in:Makefile.rules sdl-config SDL.spec sdl.pc"
    1.47  
    1.48  cat >confcache <<\_ACEOF
    1.49  # This file is a shell script that caches the results of configure
    1.50 @@ -29334,11 +29341,6 @@
    1.51  
    1.52  
    1.53  
    1.54 -DEPENDS="$DEPENDS"
    1.55 -VERSION_DEPENDS="$VERSION_DEPENDS"
    1.56 -SDLMAIN_DEPENDS="$SDLMAIN_DEPENDS"
    1.57 -
    1.58 -
    1.59  _ACEOF
    1.60  
    1.61  cat >>$CONFIG_STATUS <<\_ACEOF
    1.62 @@ -29349,11 +29351,10 @@
    1.63    case $ac_config_target in
    1.64      "include/SDL_config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/SDL_config.h" ;;
    1.65      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
    1.66 -    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    1.67 +    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile:Makefile.in:Makefile.rules" ;;
    1.68      "sdl-config") CONFIG_FILES="$CONFIG_FILES sdl-config" ;;
    1.69      "SDL.spec") CONFIG_FILES="$CONFIG_FILES SDL.spec" ;;
    1.70      "sdl.pc") CONFIG_FILES="$CONFIG_FILES sdl.pc" ;;
    1.71 -    "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
    1.72  
    1.73    *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    1.74  echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    1.75 @@ -30798,15 +30799,6 @@
    1.76  _LT_EOF
    1.77  
    1.78   ;;
    1.79 -    "default":C) cat >>Makefile <<__EOF__
    1.80 -
    1.81 -# Build rules for objects
    1.82 --include \$(OBJECTS:.lo=.d)
    1.83 -$DEPENDS
    1.84 -$VERSION_DEPENDS
    1.85 -$SDLMAIN_DEPENDS
    1.86 -__EOF__
    1.87 - ;;
    1.88  
    1.89    esac
    1.90  done # for ac_tag