1 |
# getopt.m4 serial 10 |
# getopt.m4 serial 11 |
2 |
dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
3 |
dnl This file is free software; the Free Software Foundation |
dnl This file is free software; the Free Software Foundation |
4 |
dnl gives unlimited permission to copy and/or distribute it, |
dnl gives unlimited permission to copy and/or distribute it, |
27 |
|
|
28 |
AC_DEFUN([gl_GETOPT_CHECK_HEADERS], |
AC_DEFUN([gl_GETOPT_CHECK_HEADERS], |
29 |
[ |
[ |
30 |
GETOPT_H= |
if test -z "$GETOPT_H"; then |
31 |
AC_CHECK_HEADERS([getopt.h], [], [GETOPT_H=getopt.h]) |
AC_CHECK_HEADERS([getopt.h], [], [GETOPT_H=getopt.h]) |
32 |
|
fi |
33 |
|
|
34 |
if test -z "$GETOPT_H"; then |
if test -z "$GETOPT_H"; then |
35 |
AC_CHECK_FUNCS([getopt_long_only], [], [GETOPT_H=getopt.h]) |
AC_CHECK_FUNCS([getopt_long_only], [], [GETOPT_H=getopt.h]) |
36 |
fi |
fi |