]> git.sesse.net Git - vlc/commitdiff
Fixed configure script (alcohol isn't the solution).
authorChristophe Massiot <massiot@videolan.org>
Sun, 23 Mar 2003 18:10:06 +0000 (18:10 +0000)
committerChristophe Massiot <massiot@videolan.org>
Sun, 23 Mar 2003 18:10:06 +0000 (18:10 +0000)
configure.ac.in

index b9b41ae81ff8bab0698c221b79c1ab1baf7de2b8..d0a37f972d97c21999a212d74173563da26af636 100644 (file)
@@ -1998,15 +1998,15 @@ then
       then
         FREETYPE_PATH="${with_freetype_config_path}:${PATH}"
       fi ])
-  AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no, ${SDL_PATH})
+  AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no, ${FREETYPE_PATH})
 
-  if test "x${SDL_CONFIG}" != "xno"
+  if test "x${FREETYPE_CONFIG}" != "xno"
   then
     PLUGINS="${PLUGINS} osdtext"
     CFLAGS_osdtext="${CFLAGS_osdtext} `${FREETYPE_CONFIG} --cflags`"
     LDFLAGS_osdtext="${LDFLAGS_osdtext} `${FREETYPE_CONFIG} --libs`"
     CPPFLAGS="${CPPFLAGS_save} ${CFLAGS_freetype}"
-  elif test "x${enable_sdl}" =  "xyes"
+  elif test "x${enable_freetype}" =  "xyes"
   then
     AC_MSG_ERROR([I couldn't find the freetype package. You can download libfreetype2
 from http://www.freetype.org/, or configure with --disable-freetype. Have a nice day.