Revert "build: Manually copy aux files instead of relying on libtoolize"
This reverts commit 518c4f1ee2b25c3b8cb203b3e5ddc4703a0c4dc5.
diff --git a/README.md b/README.md
index 4b09a845..02f21df5 100644
--- a/README.md
+++ b/README.md
@@ -96,7 +96,7 @@ If using a release tarball (recommended, see https://github.com/limine-bootloade
run `./configure` directly.
If checking out from the repository, run `./bootstrap` first in order to download the
-necessary dependencies and generate the configure script (`GNU autoconf` and `GNU automake` required).
+necessary dependencies and generate the configure script (`autoconf`, `automake`, and `libtool` required).
`./configure` takes arguments and environment variables; for more information on
these, run `./configure --help`.
diff --git a/bootstrap b/bootstrap
index 3ceb8b52..928c6d98 100755
--- a/bootstrap
+++ b/bootstrap
@@ -26,11 +26,7 @@ fi
[ -d limine-efi ] || git clone https://github.com/limine-bootloader/limine-efi.git $SHALLOW_CLONE_FLAG
[ -d libgcc-binaries ] || git clone https://github.com/mintsuki/libgcc-binaries.git $SHALLOW_CLONE_FLAG
-autoreconf -fvi -Wall
-
AUTOMAKE_LIBDIR="$(automake --print-libdir)"
cp "${AUTOMAKE_LIBDIR}/INSTALL" ./
-eval "$(grep 'ac_aux_files="' configure)"
-for f in $ac_aux_files; do
- cp "${AUTOMAKE_LIBDIR}/$f" ./build-aux/
-done
+
+libtoolize -cfvi -Wall && autoreconf -fvi -Wall
