Check for getopt instead of getopt_long to decide if the system has a
working getopt implementation (we don't use getopt_long at all).
Include {topdir}/shared for the clients so they pull in our included
getopt.h. This fixes bulding on systems which have getopt(), but no getopt.h.
This commit is contained in:
@@ -8,7 +8,7 @@ lcdexec_SOURCES = lcdexec.c menu.c menu.h
|
||||
|
||||
lcdexec_LDADD = ../../shared/libLCDstuff.a
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir) -DSYSCONFDIR=\"$(sysconfdir)\" -DPIDFILEDIR=\"$(pidfiledir)\"
|
||||
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/shared -DSYSCONFDIR=\"$(sysconfdir)\" -DPIDFILEDIR=\"$(pidfiledir)\"
|
||||
|
||||
|
||||
EXTRA_DIST = $(sysconf_DATA)
|
||||
|
||||
Reference in New Issue
Block a user