diff options
Diffstat (limited to 'm4/xine.m4')
-rw-r--r-- | m4/xine.m4 | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/m4/xine.m4 b/m4/xine.m4 index 2842de621..6c8d980b6 100644 --- a/m4/xine.m4 +++ b/m4/xine.m4 @@ -1,33 +1,33 @@ dnl Configure paths for XINE dnl dnl Copyright (C) 2001 Daniel Caujolle-Bert <segfault@club-internet.fr> -dnl +dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. -dnl +dnl dnl This program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl GNU General Public License for more details. -dnl +dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -dnl -dnl +dnl +dnl dnl As a special exception to the GNU General Public License, if you dnl distribute this file as part of a program that contains a configuration dnl script generated by Autoconf, you may include it under the same dnl distribution terms that you use for the rest of that program. -dnl +dnl dnl AM_PATH_XINE([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) dnl Test for XINE, and define XINE_CFLAGS and XINE_LIBS dnl AC_DEFUN([AM_PATH_XINE], -[dnl +[dnl dnl Get the cflags and libraries from the xine-config script dnl AC_ARG_WITH(xine-prefix, @@ -36,7 +36,7 @@ AC_ARG_WITH(xine-prefix, AC_ARG_WITH(xine-exec-prefix, AS_HELP_STRING([--with-xine-exec-prefix=DIR], [exec prefix where XINE is installed (optional)]), xine_config_exec_prefix="$withval", xine_config_exec_prefix="") -AC_ARG_ENABLE(xinetest, +AC_ARG_ENABLE(xinetest, AS_HELP_STRING([--disable-xinetest], [do not try to compile and run a test XINE program]), enable_xinetest=$enableval, enable_xinetest=yes) @@ -94,7 +94,7 @@ dnl #include <stdlib.h> #include <string.h> -int +int main () { int major, minor, sub; @@ -113,7 +113,7 @@ main () (XINE_MINOR_VERSION != $xine_config_minor_version) || (XINE_SUB_VERSION != $xine_config_sub_version)) { - printf("\n*** 'xine-config --version' returned %d.%d.%d, but XINE (%d.%d.%d)\n", + printf("\n*** 'xine-config --version' returned %d.%d.%d, but XINE (%d.%d.%d)\n", $xine_config_major_version, $xine_config_minor_version, $xine_config_sub_version, XINE_MAJOR_VERSION, XINE_MINOR_VERSION, XINE_SUB_VERSION); printf ("*** was found! If xine-config was correct, then it is best\n"); @@ -124,7 +124,7 @@ main () printf("*** If xine-config was wrong, set the environment variable XINE_CONFIG\n"); printf("*** to point to the correct copy of xine-config, and remove the file config.cache\n"); printf("*** before re-running configure\n"); - } + } else { if ((XINE_MAJOR_VERSION > major) || @@ -160,7 +160,7 @@ main () fi if test "x$no_xine" = x ; then AC_MSG_RESULT(yes) - ifelse([$2], , :, [$2]) + ifelse([$2], , :, [$2]) else AC_MSG_RESULT(no) if test "$XINE_CONFIG" = "no" ; then |