diff options
| author | Alexander Barton <alex@barton.de> | 2002-03-12 15:19:12 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2002-03-12 15:19:12 +0000 |
| commit | 7049b60af48382ce5f4623d32c5fca6d0c9f4fc5 (patch) | |
| tree | 3bbda1088cbc9bb33ab9dd7ebd80f5f5ca4d5169 /configure.in | |
| parent | 7633e2f8c3747d1c8ca6b642f0b390ebbed4690e (diff) | |
| download | ngircd-7049b60af48382ce5f4623d32c5fca6d0c9f4fc5.tar.gz ngircd-7049b60af48382ce5f4623d32c5fca6d0c9f4fc5.zip | |
- der System-Typ wird nun wieder korrekt ermittelt und verwendet.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/configure.in b/configure.in index b77c4676..7e7b1be5 100644 --- a/configure.in +++ b/configure.in @@ -9,7 +9,7 @@ # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste # der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. # -# $Id: configure.in,v 1.36 2002/03/12 14:37:51 alex Exp $ +# $Id: configure.in,v 1.37 2002/03/12 15:19:12 alex Exp $ # # -- Initialisierung -- @@ -28,6 +28,10 @@ AH_TEMPLATE([SNIFFER], [Define if IRC sniffer should be enabled]) AH_TEMPLATE([STRICT_RFC], [Define if ngIRCd should behave strict RFC compliant]) AH_TEMPLATE([USE_SYSLOG], [Define if syslog should be used for logging]) +AH_TEMPLATE([TARGET_OS], [Target operating system name]) +AH_TEMPLATE([TARGET_VENDOR], [Target system vendor]) +AH_TEMPLATE([TARGET_CPU], [Target CPU name]) + # -- C Compiler -- AC_PROG_CC @@ -136,7 +140,13 @@ if test "$x_debug_on" = "yes"; then AC_MSG_RESULT([enabling additional debug output]) fi -# -- Variablen II -- +# -- Definitionen -- + +AC_DEFINE_UNQUOTED(TARGET_CPU, "$target_cpu" ) +AC_DEFINE_UNQUOTED(TARGET_VENDOR, "$target_vendor" ) +AC_DEFINE_UNQUOTED(TARGET_OS, "$target_os" ) + +# -- Variablen -- if test "$GCC" = "yes"; then CFLAGS="-Wall $CFLAGS" |