Changeset 9ddc41 in git for misc


Ignore:
Timestamp:
Nov 23, 2010, 4:55:29 PM (14 years ago)
Author:
Bradford Hovinen <hovinen@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
16fdccdffdd9b92a6ee6bb676bee4368d3c4f672
Parents:
97b5d578e13d4df61dceefad1a56f00844cad0ac
git-author:
Bradford Hovinen <hovinen@gmail.com>2010-11-23 16:55:29+01:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:42+01:00
Message:
Migrate to automake, add templates to AC_DEFINE-commands
Location:
misc
Files:
5 added
3 deleted
1 moved

Legend:

Unmodified
Added
Removed
  • misc/configure.ac

    r97b5d5 r9ddc41  
    33
    44AC_PREREQ([2.65])
    5 AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
     5AC_INIT([misc], [3.1.2.sw])
     6AM_INIT_AUTOMAKE
    67AC_CONFIG_SRCDIR([mylimits.h])
    78AC_CONFIG_HEADERS([auxiliary.h])
     
    3334if test "$ac_cv_singuname" = ix86-Win; then
    3435  EXEC_EXT=".exe"
    35   AC_DEFINE(SI_CPU_I386)
     36  AC_DEFINE(SI_CPU_I386,1,"ix86 under Windows")
    3637  AC_SUBST(SI_CPU_I386)
    3738fi
    3839AC_SUBST(EXEC_EXT)
    3940if test "$ac_cv_singuname" = x86_64-Linux; then
    40   AC_DEFINE(SI_CPU_X86_64)
     41  AC_DEFINE(SI_CPU_X86_64,1,"ix86-64 under GNU/Linux")
    4142  AC_SUBST(SI_CPU_X86_64)
    4243fi
    4344if test "$ac_cv_singuname" = ix86-Linux; then
    44   AC_DEFINE(SI_CPU_I386)
     45  AC_DEFINE(SI_CPU_I386,1,"ix86 under GNU/Linux")
    4546  AC_SUBST(SI_CPU_I386)
    4647fi
    4748if test "$ac_cv_singuname" = IA64-Linux; then
    48   AC_DEFINE(SI_CPU_IA64)
     49  AC_DEFINE(SI_CPU_IA64,1,"ia64 under GNU/Linux")
    4950  AC_SUBST(SI_CPU_IA64)
    5051fi
    5152if test "$ac_cv_singuname" = ppc-Linux; then
    52   AC_DEFINE(SI_CPU_PPC)
     53  AC_DEFINE(SI_CPU_PPC,1,"PPC under GNU/Linux")
    5354  AC_SUBST(SI_CPU_PPC)
    5455fi
    5556if test "$ac_cv_singuname" = ppcMac-darwin; then
    56   AC_DEFINE(SI_CPU_PPC)
     57  AC_DEFINE(SI_CPU_PPC,1,"PPC under MacOS")
    5758  AC_SUBST(SI_CPU_PPC)
    5859fi
    5960# test again with CPU names
    6061if test "$ac_cv_singcpuname" = i386; then
    61   AC_DEFINE(SI_CPU_I386)
     62  AC_DEFINE(SI_CPU_I386,1,"i386")
    6263  AC_SUBST(SI_CPU_I386)
    6364fi
    6465if test "$ac_cv_singcpuname" = i686; then
    65   AC_DEFINE(SI_CPU_I386)
     66  AC_DEFINE(SI_CPU_I386,1,"i686")
    6667  AC_SUBST(SI_CPU_I386)
    6768fi
    6869if test "$ac_cv_singcpuname" = x86_64; then
    69   AC_DEFINE(SI_CPU_X86_64)
     70  AC_DEFINE(SI_CPU_X86_64,1,"x86-64")
    7071  AC_SUBST(SI_CPU_X86_64)
    7172fi
    7273if test "$ac_cv_singcpuname" = ia64; then
    73   AC_DEFINE(SI_CPU_IA64)
     74  AC_DEFINE(SI_CPU_IA64,1,"ia64")
    7475  AC_SUBST(SI_CPU_IA64)
    7576fi
    7677if test "$ac_cv_singcpuname" = sparc; then
    77   AC_DEFINE(SI_CPU_SPARC)
     78  AC_DEFINE(SI_CPU_SPARC,1,"SPARC")
    7879  AC_SUBST(SI_CPU_SPARC)
    7980fi
    8081if test "$ac_cv_singcpuname" = ppc; then
    81   AC_DEFINE(SI_CPU_PPC)
     82  AC_DEFINE(SI_CPU_PPC,1,"PPC")
    8283  AC_SUBST(SI_CPU_PPC)
    8384fi
     
    9697test "x$prefix" = xNONE && prefix=$ac_default_prefix
    9798if test "${with_rootdir+set}" != set; then
    98   AC_DEFINE_UNQUOTED(S_ROOT_DIR, "${prefix}")
     99  AC_DEFINE_UNQUOTED(S_ROOT_DIR, "${prefix}", "Root-directory")
    99100else
    100   AC_DEFINE_UNQUOTED(S_ROOT_DIR, "${with_rootdir}")
     101  AC_DEFINE_UNQUOTED(S_ROOT_DIR, "${with_rootdir}", "Root-directory")
    101102fi
    102103
Note: See TracChangeset for help on using the changeset viewer.