Append $(EXEEXT) to the names of optional programs.
authorRalph Giles <giles@xiph.org>
Tue, 4 Aug 2009 18:41:20 +0000 (18:41 +0000)
committerRalph Giles <giles@xiph.org>
Tue, 4 Aug 2009 18:41:20 +0000 (18:41 +0000)
I don't understand why these are necessary in the first place, but this
at least makes them all consistent. This should fix a build error on
cygwin.

svn path=/branches/theora-thusnelda/; revision=16415

configure.ac

index b408607..e5a0dfe 100644 (file)
@@ -424,10 +424,10 @@ AC_CHECK_FUNC(getopt_long,
 AC_SUBST(GETOPT_OBJS)
 
 if test x$HAVE_SDL = xyes -a x$HAVE_OSS = xyes -a x$HAVE_VORBIS = xyes; then
-  BUILDABLE_EXAMPLES="$BUILDABLE_EXAMPLES player_example"
+  BUILDABLE_EXAMPLES="$BUILDABLE_EXAMPLES player_example\$(EXEEXT)"
 fi
 if test x$HAVE_PNG = xyes; then
-  BUILDABLE_EXAMPLES="$BUILDABLE_EXAMPLES png2theora"
+  BUILDABLE_EXAMPLES="$BUILDABLE_EXAMPLES png2theora\$(EXEEXT)"
 fi
 AC_SUBST(BUILDABLE_EXAMPLES)