--- cnf/gac.in.orig 2020-02-29 02:02:09.000000000 -0700
+++ cnf/gac.in 2020-03-10 16:24:49.245316438 -0600
@@ -56,18 +56,18 @@
SHELL="@SHELL@"
# absolute path of the directory in which GAP was compiled
-abs_top_builddir="@abs_top_builddir@"
+abs_top_builddir="/usr/lib/gap"
# path of the directory the GAP sources contained in
-abs_top_srcdir="@abs_top_srcdir@"
+abs_top_srcdir="/usr/lib/gap"
#
libdir="@libdir@"
# path to the GAP executable
-gap_compiler="${abs_top_builddir}/gap"
+gap_compiler="/usr/bin/gap"
-libtool="$SHELL $abs_top_builddir/libtool"
+libtool="$SHELL /usr/bin/libtool"
CC="@CC@"
# These three should be filled in by the standard autoconf procedures
@@ -440,6 +440,5 @@ fi
# Remove temporary directory.
# We may assume it is empty at this stage.
if [ "$savetemps" = "false" ]; then
- rm -rf "${gactmp}/.libs"
- rmdir "${gactmp}"
+ rm -rf "${gactmp}"
fi