aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-08-17 15:18:39 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-08-17 15:18:39 +0000
commitd7b325206ecdbc091e32a7a4df3f3f674c77f861 (patch)
tree805a210bdcb56568780c5def50f782c7cf7de557
parent50b81f1903a517fd16ec7a266d6c4668a5e37cce (diff)
downloadgdb-d7b325206ecdbc091e32a7a4df3f3f674c77f861.zip
gdb-d7b325206ecdbc091e32a7a4df3f3f674c77f861.tar.gz
gdb-d7b325206ecdbc091e32a7a4df3f3f674c77f861.tar.bz2
* config-ml.in (CC, CXX): Don't introduce a leading space.
-rw-r--r--ChangeLog4
-rw-r--r--config-ml.in12
2 files changed, 10 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 4a90030..4e26821 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-08-17 Alexandre Oliva <aoliva@redhat.com>
+
+ * config-ml.in (CC, CXX): Don't introduce a leading space.
+
2000-08-16 Alexandre Oliva <aoliva@redhat.com>
* configure.in (libstdcxx_flags): Use
diff --git a/config-ml.in b/config-ml.in
index 090cc2b..d4e7fe6 100644
--- a/config-ml.in
+++ b/config-ml.in
@@ -766,11 +766,11 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
for arg in ${CC}; do
case $arg in
-[BIL]"${ML_POPDIR}"/*)
- CC_="${CC_} "`echo "X${arg}" | sed -n "s/X\\(-[BIL]${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X-[BIL]${popdir_rx}\\(.*\\)/\1/p"` ;;
+ CC_="${CC_}"`echo "X${arg}" | sed -n "s/X\\(-[BIL]${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X-[BIL]${popdir_rx}\\(.*\\)/\1/p"`' ' ;;
"${ML_POPDIR}"/*)
- CC_="${CC_} "`echo "X${arg}" | sed -n "s/X\\(${popdir_rx}\\).*/\\1/p""`/${ml_dir}`echo "X${arg}" | sed -n "s/X${popdir_rx}\\(.*\\)/\\1/p"` ;;
+ CC_="${CC_}"`echo "X${arg}" | sed -n "s/X\\(${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X${popdir_rx}\\(.*\\)/\\1/p"`' ' ;;
*)
- CC_="${CC_} ${arg}" ;;
+ CC_="${CC_}${arg} " ;;
esac
done
@@ -778,11 +778,11 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
for arg in ${CXX}; do
case $arg in
-[BIL]"${ML_POPDIR}"/*)
- CXX_="${CXX_} "`echo "X${arg}" | sed -n "s/X\\(-[BIL]${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X-[BIL]${popdir_rx}\\(.*\\)/\\1/p"` ;;
+ CXX_="${CXX_}"`echo "X${arg}" | sed -n "s/X\\(-[BIL]${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X-[BIL]${popdir_rx}\\(.*\\)/\\1/p"`' ' ;;
"${ML_POPDIR}"/*)
- CXX_="${CXX_} "`echo "X${arg}" | sed -n "s/X\\(${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X${popdir_rx}\\(.*\\)/\\1/p"` ;;
+ CXX_="${CXX_}"`echo "X${arg}" | sed -n "s/X\\(${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X${popdir_rx}\\(.*\\)/\\1/p"`' ' ;;
*)
- CXX_="${CXX_} ${arg}" ;;
+ CXX_="${CXX_}${arg} " ;;
esac
done