Back to index

lshw  02.16
config.h
Go to the documentation of this file.
00001 #ifndef _CONFIG_H_
00002 #define _CONFIG_H_
00003 
00004 #ifdef NONLS
00005 #define _(String) (String)
00006 #define N_(String) String
00007 #define textdomain(Domain)
00008 #define bindtextdomain(Package, Directory)
00009 #else
00010 #include <libintl.h>
00011 #define _(String) gettext (String)
00012 #define gettext_noop(String) String
00013 #define N_(String) gettext_noop (String)
00014 #endif
00015 
00016 #ifndef PACKAGE
00017 #define PACKAGE "lshw"
00018 #endif
00019 
00020 #ifndef PREFIX
00021 #define PREFIX "/usr"
00022 #endif
00023 
00024 #ifndef SBINDIR
00025 #define SBINDIR PREFIX"/sbin"
00026 #endif
00027 
00028 #ifndef DATADIR
00029 #define DATADIR PREFIX"/share/lshw"
00030 #endif
00031 
00032 #ifndef MANDIR
00033 #define MANDIR PREFIX"/share/man"
00034 #endif
00035 
00036 #ifndef LOCALEDIR
00037 #define LOCALEDIR PREFIX"/share/locale"
00038 #endif
00039 #endif