diff options
Diffstat (limited to 'gl/m4/gnulib-comp.m4')
| -rw-r--r-- | gl/m4/gnulib-comp.m4 | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/gl/m4/gnulib-comp.m4 b/gl/m4/gnulib-comp.m4 index f23f7698..67a81566 100644 --- a/gl/m4/gnulib-comp.m4 +++ b/gl/m4/gnulib-comp.m4 | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | # other built files. | 28 | # other built files. |
| 29 | 29 | ||
| 30 | 30 | ||
| 31 | # This macro should be invoked from ./configure.in, in the section | 31 | # This macro should be invoked from ./configure.ac, in the section |
| 32 | # "Checks for programs", right after AC_PROG_CC, and certainly before | 32 | # "Checks for programs", right after AC_PROG_CC, and certainly before |
| 33 | # any checks for libraries, header files, types and library functions. | 33 | # any checks for libraries, header files, types and library functions. |
| 34 | AC_DEFUN([gl_EARLY], | 34 | AC_DEFUN([gl_EARLY], |
| @@ -70,6 +70,7 @@ AC_DEFUN([gl_EARLY], | |||
| 70 | # Code from module gettext-h: | 70 | # Code from module gettext-h: |
| 71 | # Code from module havelib: | 71 | # Code from module havelib: |
| 72 | # Code from module hostent: | 72 | # Code from module hostent: |
| 73 | # Code from module idpriv-droptemp: | ||
| 73 | # Code from module include_next: | 74 | # Code from module include_next: |
| 74 | # Code from module inet_ntop: | 75 | # Code from module inet_ntop: |
| 75 | # Code from module intprops: | 76 | # Code from module intprops: |
| @@ -119,10 +120,12 @@ AC_DEFUN([gl_EARLY], | |||
| 119 | # Code from module stdint: | 120 | # Code from module stdint: |
| 120 | # Code from module stdio: | 121 | # Code from module stdio: |
| 121 | # Code from module stdlib: | 122 | # Code from module stdlib: |
| 123 | # Code from module strcase: | ||
| 122 | # Code from module streq: | 124 | # Code from module streq: |
| 123 | # Code from module strerror: | 125 | # Code from module strerror: |
| 124 | # Code from module strerror-override: | 126 | # Code from module strerror-override: |
| 125 | # Code from module string: | 127 | # Code from module string: |
| 128 | # Code from module strings: | ||
| 126 | # Code from module strndup: | 129 | # Code from module strndup: |
| 127 | # Code from module strnlen: | 130 | # Code from module strnlen: |
| 128 | # Code from module strsep: | 131 | # Code from module strsep: |
| @@ -151,7 +154,7 @@ AC_DEFUN([gl_EARLY], | |||
| 151 | # Code from module xstrndup: | 154 | # Code from module xstrndup: |
| 152 | ]) | 155 | ]) |
| 153 | 156 | ||
| 154 | # This macro should be invoked from ./configure.in, in the section | 157 | # This macro should be invoked from ./configure.ac, in the section |
| 155 | # "Check for header files, types and library functions". | 158 | # "Check for header files, types and library functions". |
| 156 | AC_DEFUN([gl_INIT], | 159 | AC_DEFUN([gl_INIT], |
| 157 | [ | 160 | [ |
| @@ -256,6 +259,7 @@ AC_DEFUN([gl_INIT], | |||
| 256 | AC_SUBST([LIBINTL]) | 259 | AC_SUBST([LIBINTL]) |
| 257 | AC_SUBST([LTLIBINTL]) | 260 | AC_SUBST([LTLIBINTL]) |
| 258 | gl_HOSTENT | 261 | gl_HOSTENT |
| 262 | gl_IDPRIV | ||
| 259 | gl_FUNC_INET_NTOP | 263 | gl_FUNC_INET_NTOP |
| 260 | if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then | 264 | if test $HAVE_INET_NTOP = 0 || test $REPLACE_INET_NTOP = 1; then |
| 261 | AC_LIBOBJ([inet_ntop]) | 265 | AC_LIBOBJ([inet_ntop]) |
| @@ -377,6 +381,15 @@ AC_DEFUN([gl_INIT], | |||
| 377 | gl_STDINT_H | 381 | gl_STDINT_H |
| 378 | gl_STDIO_H | 382 | gl_STDIO_H |
| 379 | gl_STDLIB_H | 383 | gl_STDLIB_H |
| 384 | gl_STRCASE | ||
| 385 | if test $HAVE_STRCASECMP = 0; then | ||
| 386 | AC_LIBOBJ([strcasecmp]) | ||
| 387 | gl_PREREQ_STRCASECMP | ||
| 388 | fi | ||
| 389 | if test $HAVE_STRNCASECMP = 0; then | ||
| 390 | AC_LIBOBJ([strncasecmp]) | ||
| 391 | gl_PREREQ_STRNCASECMP | ||
| 392 | fi | ||
| 380 | gl_FUNC_STRERROR | 393 | gl_FUNC_STRERROR |
| 381 | if test $REPLACE_STRERROR = 1; then | 394 | if test $REPLACE_STRERROR = 1; then |
| 382 | AC_LIBOBJ([strerror]) | 395 | AC_LIBOBJ([strerror]) |
| @@ -390,6 +403,7 @@ AC_DEFUN([gl_INIT], | |||
| 390 | gl_PREREQ_SYS_H_WINSOCK2 | 403 | gl_PREREQ_SYS_H_WINSOCK2 |
| 391 | fi | 404 | fi |
| 392 | gl_HEADER_STRING_H | 405 | gl_HEADER_STRING_H |
| 406 | gl_HEADER_STRINGS_H | ||
| 393 | gl_FUNC_STRNDUP | 407 | gl_FUNC_STRNDUP |
| 394 | if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then | 408 | if test $HAVE_STRNDUP = 0 || test $REPLACE_STRNDUP = 1; then |
| 395 | AC_LIBOBJ([strndup]) | 409 | AC_LIBOBJ([strndup]) |
| @@ -646,6 +660,8 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
| 646 | lib/glthread/lock.c | 660 | lib/glthread/lock.c |
| 647 | lib/glthread/lock.h | 661 | lib/glthread/lock.h |
| 648 | lib/glthread/threadlib.c | 662 | lib/glthread/threadlib.c |
| 663 | lib/idpriv-droptemp.c | ||
| 664 | lib/idpriv.h | ||
| 649 | lib/inet_ntop.c | 665 | lib/inet_ntop.c |
| 650 | lib/intprops.h | 666 | lib/intprops.h |
| 651 | lib/itold.c | 667 | lib/itold.c |
| @@ -706,12 +722,15 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
| 706 | lib/stdio.in.h | 722 | lib/stdio.in.h |
| 707 | lib/stdlib.in.h | 723 | lib/stdlib.in.h |
| 708 | lib/str-two-way.h | 724 | lib/str-two-way.h |
| 725 | lib/strcasecmp.c | ||
| 709 | lib/streq.h | 726 | lib/streq.h |
| 710 | lib/strerror-override.c | 727 | lib/strerror-override.c |
| 711 | lib/strerror-override.h | 728 | lib/strerror-override.h |
| 712 | lib/strerror.c | 729 | lib/strerror.c |
| 713 | lib/string.in.h | 730 | lib/string.in.h |
| 731 | lib/strings.in.h | ||
| 714 | lib/stripslash.c | 732 | lib/stripslash.c |
| 733 | lib/strncasecmp.c | ||
| 715 | lib/strndup.c | 734 | lib/strndup.c |
| 716 | lib/strnlen.c | 735 | lib/strnlen.c |
| 717 | lib/strsep.c | 736 | lib/strsep.c |
| @@ -775,6 +794,7 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
| 775 | m4/gnulib-common.m4 | 794 | m4/gnulib-common.m4 |
| 776 | m4/hostent.m4 | 795 | m4/hostent.m4 |
| 777 | m4/iconv.m4 | 796 | m4/iconv.m4 |
| 797 | m4/idpriv.m4 | ||
| 778 | m4/include_next.m4 | 798 | m4/include_next.m4 |
| 779 | m4/inet_ntop.m4 | 799 | m4/inet_ntop.m4 |
| 780 | m4/intdiv0.m4 | 800 | m4/intdiv0.m4 |
| @@ -845,8 +865,10 @@ AC_DEFUN([gl_FILE_LIST], [ | |||
| 845 | m4/stdint_h.m4 | 865 | m4/stdint_h.m4 |
| 846 | m4/stdio_h.m4 | 866 | m4/stdio_h.m4 |
| 847 | m4/stdlib_h.m4 | 867 | m4/stdlib_h.m4 |
| 868 | m4/strcase.m4 | ||
| 848 | m4/strerror.m4 | 869 | m4/strerror.m4 |
| 849 | m4/string_h.m4 | 870 | m4/string_h.m4 |
| 871 | m4/strings_h.m4 | ||
| 850 | m4/strndup.m4 | 872 | m4/strndup.m4 |
| 851 | m4/strnlen.m4 | 873 | m4/strnlen.m4 |
| 852 | m4/strsep.m4 | 874 | m4/strsep.m4 |
