paragui-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-cvs] CVS: paragui Makefile.am,1.4,1.5 configure.in,1.9,1.10 par


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui Makefile.am,1.4,1.5 configure.in,1.9,1.10 paragui2.m4,1.1,1.2
Date: Tue, 25 Jun 2002 17:32:00 -0400

Update of /cvsroot/paragui/paragui
In directory subversions:/tmp/cvs-serv15856

Modified Files:
        Makefile.am configure.in paragui2.m4 
Log Message:
more paragui2 fixes

Index: Makefile.am
===================================================================
RCS file: /cvsroot/paragui/paragui/Makefile.am,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** Makefile.am 25 Jun 2002 21:14:48 -0000      1.4
--- Makefile.am 25 Jun 2002 21:31:57 -0000      1.5
***************
*** 22,26 ****
  
  m4datadir = $(datadir)/aclocal
! m4data_DATA = paragui.m4
  
  pkgconfigdir = $(prefix)/lib/pkgconfig
--- 22,26 ----
  
  m4datadir = $(datadir)/aclocal
! m4data_DATA = paragui2.m4
  
  pkgconfigdir = $(prefix)/lib/pkgconfig

Index: configure.in
===================================================================
RCS file: /cvsroot/paragui/paragui/configure.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** configure.in        25 Jun 2002 21:14:48 -0000      1.9
--- configure.in        25 Jun 2002 21:31:57 -0000      1.10
***************
*** 418,425 ****
  
  AC_ARG_WITH(themedir,[  --with-themedir=DIR     ParaGUI theme files are in 
DIR],
!             PARAGUI_THEMEDIR="$withval", 
PARAGUI_THEMEDIR=$prefix/share/paragui)
  
! if test "$PARAGUI_THEMEDIR" = "NONE/share/paragui"; then
!       PARAGUI_THEMEDIR=$SDL_PREFIX/share/paragui
  fi
  AC_DEFINE_UNQUOTED(PARAGUI_THEMEDIR, "$PARAGUI_THEMEDIR")
--- 418,425 ----
  
  AC_ARG_WITH(themedir,[  --with-themedir=DIR     ParaGUI theme files are in 
DIR],
!             PARAGUI_THEMEDIR="$withval", 
PARAGUI_THEMEDIR=$prefix/share/paragui2)
  
! if test "$PARAGUI_THEMEDIR" = "NONE/share/paragui2"; then
!       PARAGUI_THEMEDIR=$SDL_PREFIX/share/paragui2
  fi
  AC_DEFINE_UNQUOTED(PARAGUI_THEMEDIR, "$PARAGUI_THEMEDIR")

Index: paragui2.m4
===================================================================
RCS file: /cvsroot/paragui/paragui/paragui2.m4,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** paragui2.m4 25 Jun 2002 21:14:48 -0000      1.1
--- paragui2.m4 25 Jun 2002 21:31:57 -0000      1.2
***************
*** 7,16 ****
  # Shamelessly stolen from Owen Taylor
  
! dnl AM_PATH_PARAGUI([MINIMUM-VERSION, [ACTION-IF-FOUND [, 
ACTION-IF-NOT-FOUND]]])
  dnl Test for PARAGUI, and define PARAGUI_CFLAGS and PARAGUI_LIBS
  dnl
! AC_DEFUN(AM_PATH_PARAGUI,
  [dnl 
! dnl Get the cflags and libraries from the paragui-config script
  dnl
  AC_ARG_WITH(paragui-prefix,[  --with-paragui-prefix=PFX   Prefix where 
PARAGUI is installed (optional)],
--- 7,16 ----
  # Shamelessly stolen from Owen Taylor
  
! dnl AM_PATH_PARAGUI2([MINIMUM-VERSION, [ACTION-IF-FOUND [, 
ACTION-IF-NOT-FOUND]]])
  dnl Test for PARAGUI, and define PARAGUI_CFLAGS and PARAGUI_LIBS
  dnl
! AC_DEFUN(AM_PATH_PARAGUI2,
  [dnl 
! dnl Get the cflags and libraries from the paragui-config2 script
  dnl
  AC_ARG_WITH(paragui-prefix,[  --with-paragui-prefix=PFX   Prefix where 
PARAGUI is installed (optional)],
***************
*** 24,28 ****
       paragui_args="$paragui_args --exec-prefix=$paragui_exec_prefix"
       if test x${PARAGUI_CONFIG+set} != xset ; then
!         PARAGUI_CONFIG=$paragui_exec_prefix/bin/paragui-config
       fi
    fi
--- 24,28 ----
       paragui_args="$paragui_args --exec-prefix=$paragui_exec_prefix"
       if test x${PARAGUI_CONFIG+set} != xset ; then
!         PARAGUI_CONFIG=$paragui_exec_prefix/bin/paragui-config2
       fi
    fi
***************
*** 30,38 ****
       paragui_args="$paragui_args --prefix=$paragui_prefix"
       if test x${PARAGUI_CONFIG+set} != xset ; then
!         PARAGUI_CONFIG=$paragui_prefix/bin/paragui-config
       fi
    fi
  
!   AC_PATH_PROG(PARAGUI_CONFIG, paragui-config, no)
    min_paragui_version=ifelse([$1], ,0.11.0,$1)
    AC_MSG_CHECKING(for PARAGUI - version >= $min_paragui_version)
--- 30,38 ----
       paragui_args="$paragui_args --prefix=$paragui_prefix"
       if test x${PARAGUI_CONFIG+set} != xset ; then
!         PARAGUI_CONFIG=$paragui_prefix/bin/paragui-config2
       fi
    fi
  
!   AC_PATH_PROG(PARAGUI_CONFIG, paragui-config2, no)
    min_paragui_version=ifelse([$1], ,0.11.0,$1)
    AC_MSG_CHECKING(for PARAGUI - version >= $min_paragui_version)
***************
*** 57,61 ****
  dnl
  dnl Now check if the installed PARAGUI is sufficiently new. (Also sanity
! dnl checks the results of paragui-config to some extent
  dnl
        rm -f conf.paraguitest
--- 57,61 ----
  dnl
  dnl Now check if the installed PARAGUI is sufficiently new. (Also sanity
! dnl checks the results of paragui-config2 to some extent
  dnl
        rm -f conf.paraguitest
***************
*** 111,119 ****
    else
      {
!       printf("\n*** 'paragui-config --version' returned %d.%d.%d, but the 
minimum version\n", $paragui_major_version, $paragui_minor_version, 
$paragui_micro_version);
!       printf("*** of PARAGUI required is %d.%d.%d. If paragui-config is 
correct, then it is\n", major, minor, micro);
        printf("*** best to upgrade to the required version.\n");
!       printf("*** If paragui-config was wrong, set the environment variable 
PARAGUI_CONFIG\n");
!       printf("*** to point to the correct copy of paragui-config, and remove 
the file\n");
        printf("*** config.cache before re-running configure\n");
        return 1;
--- 111,119 ----
    else
      {
!       printf("\n*** 'paragui-config2 --version' returned %d.%d.%d, but the 
minimum version\n", $paragui_major_version, $paragui_minor_version, 
$paragui_micro_version);
!       printf("*** of PARAGUI required is %d.%d.%d. If paragui-config2 is 
correct, then it is\n", major, minor, micro);
        printf("*** best to upgrade to the required version.\n");
!       printf("*** If paragui-config2 was wrong, set the environment variable 
PARAGUI_CONFIG\n");
!       printf("*** to point to the correct copy of paragui-config2, and remove 
the file\n");
        printf("*** config.cache before re-running configure\n");
        return 1;
***************
*** 132,139 ****
       AC_MSG_RESULT(no)
       if test "$PARAGUI_CONFIG" = "no" ; then
!        echo "*** The paragui-config script installed by PARAGUI could not be 
found"
         echo "*** If PARAGUI was installed in PREFIX, make sure PREFIX/bin is 
in"
         echo "*** your path, or set the PARAGUI_CONFIG environment variable to 
the"
!        echo "*** full path to paragui-config."
       else
         if test -f conf.paraguitest ; then
--- 132,139 ----
       AC_MSG_RESULT(no)
       if test "$PARAGUI_CONFIG" = "no" ; then
!        echo "*** The paragui-config2 script installed by PARAGUI could not be 
found"
         echo "*** If PARAGUI was installed in PREFIX, make sure PREFIX/bin is 
in"
         echo "*** your path, or set the PARAGUI_CONFIG environment variable to 
the"
!        echo "*** full path to paragui-config2."
       else
         if test -f conf.paraguitest ; then
***************
*** 159,163 ****
            echo "*** exact error that occured. This usually means PARAGUI was 
incorrectly installed"
            echo "*** or that you have moved PARAGUI since it was installed. In 
the latter case, you"
!           echo "*** may want to edit the paragui-config script: 
$PARAGUI_CONFIG" ])
            CFLAGS="$ac_save_CFLAGS"
            LIBS="$ac_save_LIBS"
--- 159,163 ----
            echo "*** exact error that occured. This usually means PARAGUI was 
incorrectly installed"
            echo "*** or that you have moved PARAGUI since it was installed. In 
the latter case, you"
!           echo "*** may want to edit the paragui-config2 script: 
$PARAGUI_CONFIG" ])
            CFLAGS="$ac_save_CFLAGS"
            LIBS="$ac_save_LIBS"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]