debug="-ggdb2"
ldflags="-lmcheck"
fast=false
+readline=""
while true
do
werror=""
fi
+ if test -d readline/doc && ! test -e readline/readline.c;then
+ # Fedora gdb.spec prep.
+ readline="--with-system-readline"
+ fi
+
test -z "$CC" && CC=gcc
: >errs1.c
for flags in \
export CXXFLAGS_FOR_TARGET="$flags"
export LDFLAGS="$ldflags"
- time nice "$configure" $target $targets $customss --enable-debug --disable-sim --enable-gold --enable-plugins $maintainer $werror --with-separate-debug-dir=/usr/lib/debug "$@"
+ time nice "$configure" $target $targets $customss $readline --enable-debug --disable-sim --enable-gold --enable-plugins $maintainer $werror --with-separate-debug-dir=/usr/lib/debug "$@"
(ctags; test -d gdb && (cd gdb; ctags; cd testsuite; ctags; cd ../gdbserver; ctags)) &