summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-13 01:25:26 +0000
committerAaron Griffin <aaron@archlinux.org>2007-02-13 01:25:26 +0000
commita7e610c37d002bf170231ba2619e08562cd5a29e (patch)
treebb88621c5bcbf940374ea895636bfe40861a5dbe /configure.ac
parent4d494a39e710fdcb749083593cef4c1504407f5c (diff)
downloadpacman-a7e610c37d002bf170231ba2619e08562cd5a29e.tar.xz
Changed "MARCHFLAG" to "ARCHSWITCH" as the name was confusing (it's not a FLAG
and not always MARCH). Also changes makepkg.conf.in to not have commented -mcpu lines (due to the above), but to have a comment about the differences in -march and -mcpu
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac26
1 files changed, 13 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index d3ea3e7c..0bce1b6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,51 +63,51 @@ dnl Check for architecture
case "$host" in
i686-*) AC_DEFINE_UNQUOTED([CARCH], ["i686"], [Architecture])
AC_DEFINE_UNQUOTED([CARCHFLAGS], ["i686"], [Architecture])
- AC_DEFINE_UNQUOTED([MARCHFLAG], ["march"], [Architecture])
+ AC_DEFINE_UNQUOTED([ARCHSWITCH], ["march"], [Architecture])
CARCH="i686"
CARCHFLAGS="i686"
- MARCHFLAG="march"
+ ARCHSWITCH="march"
CHOST="${host}"
;;
x86_64-*) AC_DEFINE_UNQUOTED([CARCH], ["x86_64"], [Architecture])
AC_DEFINE_UNQUOTED([CARCHFLAGS], ["x86-64"], [Architecture])
- AC_DEFINE_UNQUOTED([MARCHFLAG], ["march"], [Architecture])
+ AC_DEFINE_UNQUOTED([ARCHSWITCH], ["march"], [Architecture])
CARCH="x86_64"
CARCHFLAGS="x86-64"
- MARCHFLAG="march"
+ ARCHSWITCH="march"
CHOST="${host}"
;;
ia64-*) AC_DEFINE_UNQUOTED([CARCH], ["ia64"], [Architecture])
AC_DEFINE_UNQUOTED([CARCHFLAGS], ["ia64"], [Architecture])
- AC_DEFINE_UNQUOTED([MARCHFLAG], ["march"], [Architecture])
+ AC_DEFINE_UNQUOTED([ARCHSWITCH], ["march"], [Architecture])
CARCH="ia64"
CARCHFLAGS="ia64"
- MARCHFLAG="march"
+ ARCHSWITCH="march"
CHOST="${host}"
;;
sparc-*) AC_DEFINE_UNQUOTED([CARCH], ["sparc"], [Architecture])
AC_DEFINE_UNQUOTED([CARCHFLAGS], ["v9"], [Architecture])
- AC_DEFINE_UNQUOTED([MARCHFLAG], ["mcpu"], [Architecture])
+ AC_DEFINE_UNQUOTED([ARCHSWITCH], ["mcpu"], [Architecture])
CARCH="sparc"
CARCHFLAGS="v9"
- MARCHFLAG="mcpu"
+ ARCHSWITCH="mcpu"
CHOST="${host}"
;;
ppc-* | powerpc-*)
AC_DEFINE_UNQUOTED([CARCH], ["ppc"], [Architecture])
AC_DEFINE_UNQUOTED([CARCHFLAGS], ["750"], [Architecture])
- AC_DEFINE_UNQUOTED([MARCHFLAG], ["mcpu"], [Architecture])
+ AC_DEFINE_UNQUOTED([ARCHSWITCH], ["mcpu"], [Architecture])
CARCH="ppc"
CARCHFLAGS="750"
- MARCHFLAG="mcpu"
+ ARCHSWITCH="mcpu"
CHOST="${host}"
;;
i386-*) AC_DEFINE_UNQUOTED([CARCH], ["i386"], [Architecture])
AC_DEFINE_UNQUOTED([CARCHFLAGS], ["i386"], [Architecture])
- AC_DEFINE_UNQUOTED([MARCHFLAG], ["march"], [Architecture])
+ AC_DEFINE_UNQUOTED([ARCHSWITCH], ["march"], [Architecture])
CARCH="i386"
CARCHFLAGS="i386"
- MARCHFLAG="march"
+ ARCHSWITCH="march"
CHOST="${host}"
;;
*)
@@ -117,7 +117,7 @@ esac
AC_SUBST(CARCH)
AC_SUBST(CARCHFLAGS)
-AC_SUBST(MARCHFLAG)
+AC_SUBST(ARCHSWITCH)
AC_SUBST(CHOST)
dnl Help line for config file