From d7327f20924a993a55573666149149b72ea8af32 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 26 Nov 2008 14:25:25 +0100 Subject: [PATCH] getopt: remove unnecessary ifdefs Signed-off-by: Karel Zak --- getopt/Makefile.am | 3 --- getopt/getopt.c | 8 -------- 2 files changed, 11 deletions(-) diff --git a/getopt/Makefile.am b/getopt/Makefile.am index 644d6411..58ae7fc3 100644 --- a/getopt/Makefile.am +++ b/getopt/Makefile.am @@ -1,9 +1,6 @@ include $(top_srcdir)/config/include-Makefile.am usrbinexec_PROGRAMS = getopt - -getopt_CPPFLAGS = -DLIBCGETOPT=1 $(AM_CPPFLAGS) - dist_man_MANS = getopt.1 exampledir = $(datadir)/getopt/ diff --git a/getopt/getopt.c b/getopt/getopt.c index 10396a0c..29735e51 100644 --- a/getopt/getopt.c +++ b/getopt/getopt.c @@ -44,12 +44,7 @@ #include #include #include - -#if LIBCGETOPT #include -#else -#include "getopt.h" -#endif #include "nls.h" @@ -373,12 +368,9 @@ int main(int argc, char *argv[]) int opt; int compatible=0; -#if WITHOUT_GETTEXT -#else setlocale(LC_ALL,""); bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); -#endif init_longopt(); -- 2.39.5