mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
Use better test for presense of getopt_long function
darcs-hash:20051127150603-ac50b-566999b0cb32bc150dc6ef43220452ab42f1ad64.gz
This commit is contained in:
parent
eed4b75389
commit
e800fca499
5 changed files with 5 additions and 5 deletions
|
@ -64,7 +64,7 @@ AC_CHECK_FILES([/proc/self/stat])
|
|||
AC_CHECK_FILE([/usr/pkg/lib],[AC_SUBST(LIBDIR,[-L/usr/pkg/lib\ -R/usr/pkg/lib])])
|
||||
AC_CHECK_FILE([/usr/pkg/include],[AC_SUBST(INCLUDEDIR,[-I/usr/pkg/include])])
|
||||
|
||||
AC_CHECK_FUNCS( [wprintf futimes wcwidth wcswidth] )
|
||||
AC_CHECK_FUNCS( [wprintf futimes wcwidth wcswidth getopt_long] )
|
||||
AC_CHECK_HEADERS([getopt.h termio.h sys/resource.h])
|
||||
|
||||
# Check for RLIMIT_AS in sys/resource.h.
|
||||
|
|
2
main.c
2
main.c
|
@ -111,7 +111,7 @@ int main( int argc, char **argv )
|
|||
|
||||
while( 1 )
|
||||
{
|
||||
#ifdef __GLIBC__
|
||||
#ifdef HAVE_GETOPT_LONG
|
||||
static struct option
|
||||
long_options[] =
|
||||
{
|
||||
|
|
2
mimedb.c
2
mimedb.c
|
@ -1018,7 +1018,7 @@ int main (int argc, char *argv[])
|
|||
*/
|
||||
while( 1 )
|
||||
{
|
||||
#ifdef __GLIBC__
|
||||
#ifdef HAVE_GETOPT_LONG
|
||||
static struct option
|
||||
long_options[] =
|
||||
{
|
||||
|
|
|
@ -114,7 +114,7 @@ int main( int argc, char **argv )
|
|||
|
||||
while( 1 )
|
||||
{
|
||||
#ifdef __GLIBC__
|
||||
#ifdef HAVE_GETOPT_LONG
|
||||
static struct option
|
||||
long_options[] =
|
||||
{
|
||||
|
|
|
@ -32,7 +32,7 @@ int main( int argc, char **argv )
|
|||
|
||||
while( 1 )
|
||||
{
|
||||
#ifdef __GLIBC__
|
||||
#ifdef HAVE_GETOPT_LONG
|
||||
static struct option
|
||||
long_options[] =
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue