You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
460 B

  1. --- a/configure.in.orig 2015-06-16 20:40:02.938216001 +0800
  2. +++ b/configure.in 2015-06-16 20:40:16.198216001 +0800
  3. @@ -399,7 +399,7 @@ AS_IF([test "x$ac_cv_header_xcrypt_h" =
  4. [crypt_libs="crypt"])
  5. BACKUP_LIBS=$LIBS
  6. -AC_SEARCH_LIBS([crypt],[$crypt_libs], LIBCRYPT="-l$ac_lib", LIBCRYPT="")
  7. +AC_SEARCH_LIBS([crypt],[$crypt_libs], LIBCRYPT="${ac_lib:+-l$ac_lib}", LIBCRYPT="")
  8. AC_CHECK_FUNCS(crypt_r crypt_gensalt_r)
  9. LIBS=$BACKUP_LIBS
  10. AC_SUBST(LIBCRYPT)