1055 |
|
AC_DEFUN([adl_FUNC_GETOPT_LONG], |
1056 |
|
[AC_PREREQ(2.49)dnl |
1057 |
|
# clean out junk possibly left behind by a previous configuration |
1058 |
< |
rm -f third-party/getopt.h |
1058 |
> |
rm -f utils/getopt.h |
1059 |
|
# Check for getopt_long support |
1060 |
|
AC_CHECK_HEADERS([getopt.h]) |
1061 |
|
AC_CHECK_FUNCS([getopt_long],, |
1064 |
|
[# use the GNU replacement |
1065 |
|
AC_LIBOBJ(getopt) |
1066 |
|
AC_LIBOBJ(getopt1) |
1067 |
< |
AC_CONFIG_LINKS([third-party/getopt.h:third-party/gnugetopt.h])])])]) |
1067 |
> |
AC_CONFIG_LINKS([utils/getopt.h:utils/gnugetopt.h])])])]) |