Lines Matching full:getopt
0 # getopt.m4 serial 44
7 # Request a POSIX compliant getopt function.
13 dnl Other modules can request the gnulib implementation of the getopt
25 dnl Arrange for getopt.h to be created.
30 # Request a POSIX compliant getopt function with GNU extensions (such as
40 # Determine whether to replace the entire getopt facility.
49 gl_CHECK_NEXT_HEADERS([getopt.h])
59 dnl Test whether <getopt.h> is available.
61 AC_CHECK_HEADERS([getopt.h], [], [gl_replace_getopt=yes])
72 dnl behavior with getopt-gnu.
74 AC_CACHE_CHECK([whether getopt is POSIX compatible],
84 dnl which lacks <unistd.h> and getopt() entirely).
101 c = getopt (4, argv, "ab");
104 c = getopt (4, argv, "ab");
116 dnl which lacks <unistd.h> and getopt() entirely).
136 c = getopt (7, argv, "+abp:q:");
175 if (getopt (2, argv, "ab:") != 'a')
177 if (getopt (2, argv, "ab:") != '?')
202 AC_CACHE_CHECK([for working GNU getopt function], [gl_cv_func_getopt_gnu],
220 [AC_LANG_PROGRAM([[#include <getopt.h>
237 if (getopt (2, argv, "+a") != '?')
251 if (getopt (4, argv, "p::") != 'p')
255 else if (getopt (4, argv, "p::") != -1)
267 if (getopt (3, argv, "-p") != 1)
269 else if (getopt (3, argv, "-p") != 'p')
279 if (getopt (3, argv, "+:a:b") != 'b')
281 else if (getopt (3, argv, "+:a:b") != ':')
291 if (getopt (3, argv, "W;") != 'W')
314 [[#include <getopt.h>
357 GETOPT_H=getopt.h
359 [Define to rpl_ if the getopt replacement functions and variables
364 # Prerequisites of lib/getopt*.