Diff for /rpl/Attic/configure.in between versions 1.7 and 1.8

version 1.7, 2010/02/11 14:18:15 version 1.8, 2010/03/01 14:48:13
Line 116  fi],[ Line 116  fi],[
 AC_ARG_ENABLE(final-encoding,  AC_ARG_ENABLE(final-encoding,
 [  --enable-final-encoding force final encoding [[default=guessed]]], [  [  --enable-final-encoding force final encoding [[default=guessed]]], [
 if test "$enableval" = "no"; then  if test "$enableval" = "no"; then
     FINAL_ENCODING="\$(shell locale charmap)"      FINAL_ENCODING="\$(shell locale charmap | \
           awk '/=/ { print \$\$3;} !/=/ { print \$\$1;}')"
 else  else
     FINAL_ENCODING="$enable_final_encoding"      FINAL_ENCODING="$enable_final_encoding"
 fi],  fi],
 FINAL_ENCODING="\$(shell locale charmap)")  FINAL_ENCODING="\$(shell locale charmap | \
       awk '/=/ { print \$\$3;} !/=/ { print \$\$1;}')")
   
 AC_ARG_ENABLE(tex,  AC_ARG_ENABLE(tex,
 [  --enable-tex            provide the TeX support [[default=guessed]]], [  [  --enable-tex            provide the TeX support [[default=guessed]]], [
Line 201  AC_ARG_ENABLE(debug, Line 203  AC_ARG_ENABLE(debug,
 [  --enable-debug          enable debug code [[default=no]]], [  [  --enable-debug          enable debug code [[default=no]]], [
 if test "$enableval" = "no"; then  if test "$enableval" = "no"; then
     DEBUG=""      DEBUG=""
     DEBUG_CODE="-UDEBUG"  
 else  else
     AC_CHECK_LIB(efence, DEBUG="-lefence", DEBUG="")      DEBUG="-DDEBUG_MEMOIRE"
     DEBUG_CODE="-DDEBUG"  fi], [DEBUG=""])
     if test "$DEBUG" = ""; then  
         AC_MSG_WARN([Can not find efence! You may install it.  
 Debug flag is disabled.  
 ])  
     fi  
 fi], [  
 DEBUG_CODE="-UDEBUG"  
 DEBUG=""])  
   
 AC_ARG_ENABLE(profile,  AC_ARG_ENABLE(profile,
 [  --enable-profile        enable profile code [[default=no]]], [  [  --enable-profile        enable profile code [[default=no]]], [
Line 222  else Line 215  else
     PROFILAGE="-pg"      PROFILAGE="-pg"
 fi], [PROFILAGE=""])  fi], [PROFILAGE=""])
   
 AC_SUBST(DEBUG_CODE)  
 AC_SUBST(PROFILAGE)  AC_SUBST(PROFILAGE)
   
 if test ! -d tools; then  if test ! -d tools; then
Line 263  if test ! -d "$srcdir"/tools/$FILE; then Line 255  if test ! -d "$srcdir"/tools/$FILE; then
         "$srcdir"/tools/$FILE/magic/Makefile.am2          "$srcdir"/tools/$FILE/magic/Makefile.am2
     \mv -f "$srcdir"/tools/$FILE/magic/Makefile.am2 \      \mv -f "$srcdir"/tools/$FILE/magic/Makefile.am2 \
         "$srcdir"/tools/$FILE/magic/Makefile.am          "$srcdir"/tools/$FILE/magic/Makefile.am
       (cd "$srcdir"/tools/$FILE && libtoolize --copy --force \
           && aclocal && automake -af && autoconf);
 fi  fi
 if test ! -d "$srcdir"/tools/$ICONV; then  if test ! -d "$srcdir"/tools/$ICONV; then
     gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \      gunzip -c "$srcdir"/tools/$ICONV.tar.gz | \
Line 289  if test "$AUTOCONF" = "no"; then Line 283  if test "$AUTOCONF" = "no"; then
     AC_MSG_ERROR([Cannot find autoconf! You have to install it.])      AC_MSG_ERROR([Cannot find autoconf! You have to install it.])
 fi  fi
   
 (cd "$srcdir"/tools/$FILE && libtoolize --copy --force \  
         && aclocal && automake -af && autoconf);  
   
 dnl Default installation directory  dnl Default installation directory
 AC_PREFIX_DEFAULT(/usr/local)  AC_PREFIX_DEFAULT(/usr/local)
   

Removed from v.1.7  
changed lines
  Added in v.1.8


CVSweb interface <joel.bertrand@systella.fr>