Fix the compilation environment:
authoralpar
Sun, 22 Oct 2006 09:26:51 +0000
changeset 170bff6d1c63cff
parent 169 c223ffdbdb5c
child 171 ffab98e94909
Fix the compilation environment:
- svn-head -> svnhead
- put -lemon to the right place
Makefile.am
configure.ac
     1.1 --- a/Makefile.am	Sun Oct 22 09:24:55 2006 +0000
     1.2 +++ b/Makefile.am	Sun Oct 22 09:26:51 2006 +0000
     1.3 @@ -49,8 +49,8 @@
     1.4  	dijkstrabox.cc
     1.5  
     1.6  glemon_CXXFLAGS = $(GTK_CFLAGS) $(LEMON_CFLAGS)
     1.7 -glemon_LDFLAGS = $(GTK_LIBS) $(LEMON_LIBS)
     1.8 -glemon_LDADD = $(LIBINTL)
     1.9 +# glemon_LDFLAGS = $(GTK_LIBS) $(LEMON_LIBS)
    1.10 +glemon_LDADD = $(GTK_LIBS) $(LEMON_LIBS) $(LIBINTL)
    1.11  
    1.12  IMAGES = \
    1.13  	icons/addlink.png \
     2.1 --- a/configure.ac	Sun Oct 22 09:24:55 2006 +0000
     2.2 +++ b/configure.ac	Sun Oct 22 09:26:51 2006 +0000
     2.3 @@ -26,7 +26,7 @@
     2.4    [lemon_0_5_found=yes], [
     2.5      AC_MSG_RESULT([no])
     2.6      lemon_0_5_found=no])
     2.7 -PKG_CHECK_MODULES([LEMON_SVN_HEAD], [lemon = svn-head],
     2.8 +PKG_CHECK_MODULES([LEMON_SVNHEAD], [lemon = svnhead],
     2.9    [lemon_svn_head_found=yes], [
    2.10      AC_MSG_RESULT([no])
    2.11      lemon_svn_head_found=no])
    2.12 @@ -34,8 +34,8 @@
    2.13    AC_MSG_ERROR([LEMON not found.])
    2.14  else
    2.15    if test x"$lemon_svn_head_found" = x"yes"; then
    2.16 -    LEMON_CFLAGS="$LEMON_SVN_HEAD_CFLAGS"
    2.17 -    LEMON_LIBS="$LEMON_SVN_HEAD_LIBS"
    2.18 +    LEMON_CFLAGS="$LEMON_SVNHEAD_CFLAGS"
    2.19 +    LEMON_LIBS="$LEMON_SVNHEAD_LIBS"
    2.20    else
    2.21      LEMON_CFLAGS="$LEMON_0_5_CFLAGS"
    2.22      LEMON_LIBS="$LEMON_0_5_LIBS"
    2.23 @@ -62,3 +62,24 @@
    2.24  ])
    2.25  
    2.26  AC_OUTPUT
    2.27 +
    2.28 +echo
    2.29 +echo '****************************** SUMMARY ******************************'
    2.30 +echo
    2.31 +echo Package version............... : $PACKAGE-$VERSION
    2.32 +echo
    2.33 +echo C++ compiler.................. : $CXX
    2.34 +echo C++ compiles flags............ : $CXXFLAGS
    2.35 +echo
    2.36 +echo LEMON CFLAGS.................. : $LEMON_CFLAGS
    2.37 +echo LEMON LIBS.................... : $LEMON_LIBS
    2.38 +echo
    2.39 +echo The packace will be installed in
    2.40 +echo -n '  '
    2.41 +echo $prefix.
    2.42 +echo
    2.43 +echo '*********************************************************************'
    2.44 +
    2.45 +echo
    2.46 +echo configure complete, now type \'make\' and then \'make install\'.
    2.47 +echo