mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-12 10:53:23 +03:00
* acinclude.m4 (AC_SHORT_D_NAME_LEN): Fix compiler warnings in
the test code. * configure.in: Fix compiler warnings in the arguments to AC_TRY_WARNINGS. Fix value of NEED_CRYPT_PROTOTYPE - add spaces around `=' in the `test' command.
This commit is contained in:
parent
c2f8f8d935
commit
b33943d789
@ -1,3 +1,11 @@
|
|||||||
|
2001-06-13 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* acinclude.m4 (AC_SHORT_D_NAME_LEN): Fix compiler warnings in
|
||||||
|
the test code.
|
||||||
|
* configure.in: Fix compiler warnings in the arguments to
|
||||||
|
AC_TRY_WARNINGS. Fix value of NEED_CRYPT_PROTOTYPE - add spaces
|
||||||
|
around `=' in the `test' command.
|
||||||
|
|
||||||
2001-06-07 Pavel Roskin <proski@gnu.org>
|
2001-06-07 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* doc-gnome/C/gmc.sgml: Remove index - it's not used in the
|
* doc-gnome/C/gmc.sgml: Remove index - it's not used in the
|
||||||
|
@ -9,14 +9,14 @@ CFLAGS="$CFLAGS -I$srcdir"
|
|||||||
AC_TRY_RUN([
|
AC_TRY_RUN([
|
||||||
#include <src/fs.h>
|
#include <src/fs.h>
|
||||||
|
|
||||||
main ()
|
int main ()
|
||||||
{
|
{
|
||||||
struct dirent ddd;
|
struct dirent ddd;
|
||||||
|
|
||||||
if (sizeof (ddd.d_name) < 12)
|
if (sizeof (ddd.d_name) < 12)
|
||||||
exit (0);
|
return 0;
|
||||||
else
|
else
|
||||||
exit (1);
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
],[
|
],[
|
||||||
|
@ -113,11 +113,15 @@ AC_SUBST(SHADOWLIB)
|
|||||||
|
|
||||||
NEED_CRYPT_PROTOTYPE=yes
|
NEED_CRYPT_PROTOTYPE=yes
|
||||||
if test x$ac_cv_header_crypt_h = xyes; then
|
if test x$ac_cv_header_crypt_h = xyes; then
|
||||||
AC_TRY_WARNINGS([#include <crypt.h>], [char *p = crypt("xxx", "yyy");],[
|
AC_TRY_WARNINGS([#include <crypt.h>], [char *p = crypt("xxx", "yyy");
|
||||||
|
if (p)
|
||||||
|
return 0;],[
|
||||||
NEED_CRYPT_PROTOTYPE=no])
|
NEED_CRYPT_PROTOTYPE=no])
|
||||||
else
|
else
|
||||||
if test x$ac_cv_header_unistd_h = xyes; then
|
if test x$ac_cv_header_unistd_h = xyes; then
|
||||||
AC_TRY_WARNINGS([#include <unistd.h>], [char *p = crypt("xxx", "yyy");],[
|
AC_TRY_WARNINGS([#include <unistd.h>], [char *p = crypt("xxx", "yyy");
|
||||||
|
if (p)
|
||||||
|
return 0;],[
|
||||||
NEED_CRYPT_PROTOTYPE=no])
|
NEED_CRYPT_PROTOTYPE=no])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user