]> granicus.if.org Git - sudo/commitdiff
define -D__EXTENSIONS__ for solaris so we get crypt() proto
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 5 Jul 1999 20:10:21 +0000 (20:10 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 5 Jul 1999 20:10:21 +0000 (20:10 +0000)
configure.in

index c88dff9fdc1db8c8ee7cd84537fec7719c1125bf..c3e9bdf97c0f33747c698d278ebe7a34281ef21a 100644 (file)
@@ -989,6 +989,8 @@ case "$host" in
                fi
                ;;
     *-*-solaris2*)
+               # To get the crypt(3) prototype (so we pass -Wall)
+               CFLAGS="${CFLAGS} -D__EXTENSIONS__"
                # AFS support needs -lucb
                if test "$with_AFS" = "yes"; then
                    AFS_LIBS="-lc -lucb"