]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* autoreconf.sh (Installing Autoconf extensions files): Remove.
authorAkim Demaille <akim@epita.fr>
Wed, 9 Aug 2000 09:56:30 +0000 (09:56 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 9 Aug 2000 09:56:30 +0000 (09:56 +0000)
ChangeLog
autoreconf.in
autoreconf.sh
bin/autoreconf.in
man/autoreconf.1

index 555445566f64efca080ab658866388e8b3726388..f76c7f608c549fc98ddc71cc1dd1a39dca4f0327 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-08-09  Akim Demaille  <akim@epita.fr>
+
+       * autoreconf.sh (Installing Autoconf extensions files): Remove.
+
 2000-08-09  Akim Demaille  <akim@epita.fr>
 
        * autoconf.sh (finalize.awk): Don't leave spaces before the user
index a60ed475bffec94027be80434ba8a078f2cccb72..46453c04b05af70addfe42dadd778c78b7f28146 100644 (file)
@@ -326,101 +326,6 @@ while read dir; do
   fi
 
 
-  # -------------------------------------- #
-  # Installing Autoconf extensions files.  #
-  # -------------------------------------- #
-
-  # We want to know which are the library files which are used by
-  # configure.in.
-
-  # An m4 program that reports what macros are requested, and where
-  # they were defined.
-  sed 's/  //' >$tmp/request.m4 <<\EOF
-  # Keep the definitions of `define' and `errprint'.
-  define([AR_DEFUN], defn([AC_DEFUN]))
-  define([AR_ERRPRINT], defn([errprint]))
-
-  # Neutralize errprint: we don't want the warnings etc.
-  define([errprint])
-
-  # Report the first use of a macro.
-  define([AR_REPORT],
-  [ifdef([AR_REPORT($3)], [],
-         [define([AR_REPORT($3)])AR_ERRPRINT([$1:$2: $3
-  ])])])
-
-  # Define the macro so that the first time it is expanded, it reports
-  # on stderr its name, and where it was defined.
-  define([AC_DEFUN],
-         [AR_DEFUN([$1],
-                   [AR_REPORT(]__file__[, ]__line__[, [$1])dnl
-  $2])])
-EOF
-
-  for i in `ls $localdir/*.m4 $AC_ACLOCALDIR/*.m4 2>/dev/null`; do
-    echo "m4_include([$i])" >>$tmp/request.m4
-  done
-  echo "m4_include([./configure.in])" >>$tmp/request.m4
-
-  # Run m4 with all the library files, discard stdout, save stderr in
-  # $requested.
-  $verbose $me: running $autoconf -l /dev/null $tmp/request.m4
-  $autoconf -l /dev/null $tmp/request.m4 2>&1 >/dev/null |
-    # Keep only the good lines, there may be other outputs.
-    grep '^[^: ]*:[0-9][0-9]*:[^:]*$' >$tmp/requested
-
-  # Extract the files that are not in the local dir, and install the links.
-  # Save in `installed' the list of installed links.
-  $verbose "$me: required macros:" >&2
-  test $verbose = echo &&
-    sed -e "s/^/$me: /" $tmp/requested >&2
-  : >$tmp/installed
-  cat $tmp/requested |
-    while read line
-    do
-      file=`echo "$line" | sed 's/:.*//'`
-      filename=`echo "$file" | sed 's,.*/,,'`
-      macro=`echo "$line" | sed 's/.*:[        ]*//'`
-      if test -f "$file" && test "x$file" != "xconfigure.in"; then
-        if test -f $localdir/$filename; then
-          $verbose "$filename already installed" >&2
-       else
-         $verbose "installing $file which provides $macro" >&2
-          $symlink &&
-            ln -s "$file" "$localdir/$filename" ||
-           cp "$file" "$localdir/$filename" ||
-           {
-             echo "$me: cannot install $file" >&2
-             exit 1
-           }
-       fi
-        echo "$localdir/$filename" >>$tmp/installed
-      fi
-    done
-  # Now that we have installed the links, and that we know that the
-  # user needs the FILES, check that there is an exact correspondence.
-  # Use yourself to get the list of the included files.
-  export AC_ACLOCALDIR
-  export autoconf_dir
-  $autoconf -t include:'$1' -t m4_include:'$1' -t m4_sinclude:'$1' configure.in |
-    sort |
-    uniq >$tmp/included
-  # All the included files are needed.
-  for file in `cat $tmp/included`;
-  do
-    if fgrep "$file" $tmp/installed >/dev/null 2>&1; then :; else
-      echo "\`$file' is uselessly included" >&2
-    fi
-  done
-  # All the needed files are included.
-  for file in `sort $tmp/installed | uniq`;
-  do
-    if fgrep "$file" $tmp/included >/dev/null 2>&1; then :; else
-      echo "\`$file' is not included" >&2
-    fi
-  done
-
-
   # ------------------ #
   # Running automake.  #
   # ------------------ #
index a60ed475bffec94027be80434ba8a078f2cccb72..46453c04b05af70addfe42dadd778c78b7f28146 100644 (file)
@@ -326,101 +326,6 @@ while read dir; do
   fi
 
 
-  # -------------------------------------- #
-  # Installing Autoconf extensions files.  #
-  # -------------------------------------- #
-
-  # We want to know which are the library files which are used by
-  # configure.in.
-
-  # An m4 program that reports what macros are requested, and where
-  # they were defined.
-  sed 's/  //' >$tmp/request.m4 <<\EOF
-  # Keep the definitions of `define' and `errprint'.
-  define([AR_DEFUN], defn([AC_DEFUN]))
-  define([AR_ERRPRINT], defn([errprint]))
-
-  # Neutralize errprint: we don't want the warnings etc.
-  define([errprint])
-
-  # Report the first use of a macro.
-  define([AR_REPORT],
-  [ifdef([AR_REPORT($3)], [],
-         [define([AR_REPORT($3)])AR_ERRPRINT([$1:$2: $3
-  ])])])
-
-  # Define the macro so that the first time it is expanded, it reports
-  # on stderr its name, and where it was defined.
-  define([AC_DEFUN],
-         [AR_DEFUN([$1],
-                   [AR_REPORT(]__file__[, ]__line__[, [$1])dnl
-  $2])])
-EOF
-
-  for i in `ls $localdir/*.m4 $AC_ACLOCALDIR/*.m4 2>/dev/null`; do
-    echo "m4_include([$i])" >>$tmp/request.m4
-  done
-  echo "m4_include([./configure.in])" >>$tmp/request.m4
-
-  # Run m4 with all the library files, discard stdout, save stderr in
-  # $requested.
-  $verbose $me: running $autoconf -l /dev/null $tmp/request.m4
-  $autoconf -l /dev/null $tmp/request.m4 2>&1 >/dev/null |
-    # Keep only the good lines, there may be other outputs.
-    grep '^[^: ]*:[0-9][0-9]*:[^:]*$' >$tmp/requested
-
-  # Extract the files that are not in the local dir, and install the links.
-  # Save in `installed' the list of installed links.
-  $verbose "$me: required macros:" >&2
-  test $verbose = echo &&
-    sed -e "s/^/$me: /" $tmp/requested >&2
-  : >$tmp/installed
-  cat $tmp/requested |
-    while read line
-    do
-      file=`echo "$line" | sed 's/:.*//'`
-      filename=`echo "$file" | sed 's,.*/,,'`
-      macro=`echo "$line" | sed 's/.*:[        ]*//'`
-      if test -f "$file" && test "x$file" != "xconfigure.in"; then
-        if test -f $localdir/$filename; then
-          $verbose "$filename already installed" >&2
-       else
-         $verbose "installing $file which provides $macro" >&2
-          $symlink &&
-            ln -s "$file" "$localdir/$filename" ||
-           cp "$file" "$localdir/$filename" ||
-           {
-             echo "$me: cannot install $file" >&2
-             exit 1
-           }
-       fi
-        echo "$localdir/$filename" >>$tmp/installed
-      fi
-    done
-  # Now that we have installed the links, and that we know that the
-  # user needs the FILES, check that there is an exact correspondence.
-  # Use yourself to get the list of the included files.
-  export AC_ACLOCALDIR
-  export autoconf_dir
-  $autoconf -t include:'$1' -t m4_include:'$1' -t m4_sinclude:'$1' configure.in |
-    sort |
-    uniq >$tmp/included
-  # All the included files are needed.
-  for file in `cat $tmp/included`;
-  do
-    if fgrep "$file" $tmp/installed >/dev/null 2>&1; then :; else
-      echo "\`$file' is uselessly included" >&2
-    fi
-  done
-  # All the needed files are included.
-  for file in `sort $tmp/installed | uniq`;
-  do
-    if fgrep "$file" $tmp/included >/dev/null 2>&1; then :; else
-      echo "\`$file' is not included" >&2
-    fi
-  done
-
-
   # ------------------ #
   # Running automake.  #
   # ------------------ #
index a60ed475bffec94027be80434ba8a078f2cccb72..46453c04b05af70addfe42dadd778c78b7f28146 100644 (file)
@@ -326,101 +326,6 @@ while read dir; do
   fi
 
 
-  # -------------------------------------- #
-  # Installing Autoconf extensions files.  #
-  # -------------------------------------- #
-
-  # We want to know which are the library files which are used by
-  # configure.in.
-
-  # An m4 program that reports what macros are requested, and where
-  # they were defined.
-  sed 's/  //' >$tmp/request.m4 <<\EOF
-  # Keep the definitions of `define' and `errprint'.
-  define([AR_DEFUN], defn([AC_DEFUN]))
-  define([AR_ERRPRINT], defn([errprint]))
-
-  # Neutralize errprint: we don't want the warnings etc.
-  define([errprint])
-
-  # Report the first use of a macro.
-  define([AR_REPORT],
-  [ifdef([AR_REPORT($3)], [],
-         [define([AR_REPORT($3)])AR_ERRPRINT([$1:$2: $3
-  ])])])
-
-  # Define the macro so that the first time it is expanded, it reports
-  # on stderr its name, and where it was defined.
-  define([AC_DEFUN],
-         [AR_DEFUN([$1],
-                   [AR_REPORT(]__file__[, ]__line__[, [$1])dnl
-  $2])])
-EOF
-
-  for i in `ls $localdir/*.m4 $AC_ACLOCALDIR/*.m4 2>/dev/null`; do
-    echo "m4_include([$i])" >>$tmp/request.m4
-  done
-  echo "m4_include([./configure.in])" >>$tmp/request.m4
-
-  # Run m4 with all the library files, discard stdout, save stderr in
-  # $requested.
-  $verbose $me: running $autoconf -l /dev/null $tmp/request.m4
-  $autoconf -l /dev/null $tmp/request.m4 2>&1 >/dev/null |
-    # Keep only the good lines, there may be other outputs.
-    grep '^[^: ]*:[0-9][0-9]*:[^:]*$' >$tmp/requested
-
-  # Extract the files that are not in the local dir, and install the links.
-  # Save in `installed' the list of installed links.
-  $verbose "$me: required macros:" >&2
-  test $verbose = echo &&
-    sed -e "s/^/$me: /" $tmp/requested >&2
-  : >$tmp/installed
-  cat $tmp/requested |
-    while read line
-    do
-      file=`echo "$line" | sed 's/:.*//'`
-      filename=`echo "$file" | sed 's,.*/,,'`
-      macro=`echo "$line" | sed 's/.*:[        ]*//'`
-      if test -f "$file" && test "x$file" != "xconfigure.in"; then
-        if test -f $localdir/$filename; then
-          $verbose "$filename already installed" >&2
-       else
-         $verbose "installing $file which provides $macro" >&2
-          $symlink &&
-            ln -s "$file" "$localdir/$filename" ||
-           cp "$file" "$localdir/$filename" ||
-           {
-             echo "$me: cannot install $file" >&2
-             exit 1
-           }
-       fi
-        echo "$localdir/$filename" >>$tmp/installed
-      fi
-    done
-  # Now that we have installed the links, and that we know that the
-  # user needs the FILES, check that there is an exact correspondence.
-  # Use yourself to get the list of the included files.
-  export AC_ACLOCALDIR
-  export autoconf_dir
-  $autoconf -t include:'$1' -t m4_include:'$1' -t m4_sinclude:'$1' configure.in |
-    sort |
-    uniq >$tmp/included
-  # All the included files are needed.
-  for file in `cat $tmp/included`;
-  do
-    if fgrep "$file" $tmp/installed >/dev/null 2>&1; then :; else
-      echo "\`$file' is uselessly included" >&2
-    fi
-  done
-  # All the needed files are included.
-  for file in `sort $tmp/installed | uniq`;
-  do
-    if fgrep "$file" $tmp/included >/dev/null 2>&1; then :; else
-      echo "\`$file' is not included" >&2
-    fi
-  done
-
-
   # ------------------ #
   # Running automake.  #
   # ------------------ #
index e284bb80e7f1610c047ab1adc1beb0b1778ec939..79135272da79de754ca12bf7bc6c33674b6e647e 100644 (file)
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.022.
-.TH AUTORECONF "1" "July 2000" "GNU autoconf 2.14a" FSF
+.TH AUTORECONF "1" "August 2000" "GNU autoconf 2.14a" FSF
 .SH NAME
 autoreconf \- Update generated configuration files
 .SH SYNOPSIS