aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/XFree86-4-Server
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>1995-09-19 04:30:21 +0800
committerjmz <jmz@FreeBSD.org>1995-09-19 04:30:21 +0800
commitc804527d5b3bdb2821414d551b48950c4483f5f8 (patch)
treea901afaff395346bad175ecf4e30140d0a58c392 /x11-servers/XFree86-4-Server
parent0c609fa628345f96a32098f1b94c7cac0c04069a (diff)
downloadfreebsd-ports-gnome-c804527d5b3bdb2821414d551b48950c4483f5f8.tar.gz
freebsd-ports-gnome-c804527d5b3bdb2821414d551b48950c4483f5f8.tar.zst
freebsd-ports-gnome-c804527d5b3bdb2821414d551b48950c4483f5f8.zip
Add -fno-strength-reduce to compilation flags
Ask the user if he/she wants to use gnu malloc
Diffstat (limited to 'x11-servers/XFree86-4-Server')
-rw-r--r--x11-servers/XFree86-4-Server/scripts/configure9
1 files changed, 5 insertions, 4 deletions
diff --git a/x11-servers/XFree86-4-Server/scripts/configure b/x11-servers/XFree86-4-Server/scripts/configure
index 3e8788b3ca56..3a997b35f82f 100644
--- a/x11-servers/XFree86-4-Server/scripts/configure
+++ b/x11-servers/XFree86-4-Server/scripts/configure
@@ -92,6 +92,9 @@ if [ $answ = NO ]; then
echo "#define BuildXIE NO" >> $F
fi
echo
+yesno "Do you want your X applications linked with gnu malloc? [YES] "
+gnumalloc=$answ
+echo
echo "End of configuration questions. No more user input required"
echo
}
@@ -193,11 +196,9 @@ sed -e "s/2.0.5/$version/" \
-e "s/OSMajorVersion *2/OSMajorVersion $1/" \
-e "s/OSMinorVersion *0/OSMinorVersion $2/" \
-e "s/OSTeenyVersion *5/OSTeenyVersion $3/" \
+ -e "s/m486/m486 -fno-strength-reduce/" \
+ -e "s/UseGnuMalloc.*YES/UseGnuMalloc $gnumalloc/" \
<FreeBSD.cf.old >FreeBSD.cf
-#you may change ExtraLibraries too:
-#echo "#undef ExtraLibraries >> FreeBSD.cf
-#echo "#define ExtraLibraries -lgnumalloc >>FreeBSD.cf
-
exit 0