--- cnf/gac.in.orig 2018-11-01 16:56:12.000000000 -0600
+++ cnf/gac.in 2019-01-25 16:28:32.995611111 -0700
@@ -51,18 +51,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
@@ -431,6 +431,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