From: Sam Hartman Date: Mon, 31 Jul 1995 22:19:13 +0000 (+0000) Subject: Protect test for Gcc under AIX so it works with non-Gcc compilers X-Git-Tag: krb5-1.0-beta6~1451 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ab738fe262018c293091a34696b35d428c61f046;p=krb5.git Protect test for Gcc under AIX so it works with non-Gcc compilers Configure and build libpty. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6369 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/ChangeLog b/src/util/ChangeLog index 3c73628f2..1eed9663e 100644 --- a/src/util/ChangeLog +++ b/src/util/ChangeLog @@ -1,3 +1,12 @@ +Wed Jul 26 15:39:53 1995 Sam Hartman + + * configure.in (SHLIB_TAIL_COMP): Add pty to CONFIG_DIRS + +Thu Jul 13 16:09:10 1995 Sam Hartman + + * makeshlib.sh (ldflags): Protect test for HAVE_GCC so it works if not using gcc. + + Thu Jul 6 09:52:08 1995 Ezra Peisach * Makefile.in (clean): Remove makeshlib diff --git a/src/util/configure.in b/src/util/configure.in index 3e042aed5..d5968ce6a 100644 --- a/src/util/configure.in +++ b/src/util/configure.in @@ -17,6 +17,6 @@ case $HOST_TYPE in esac SHLIB_TAIL_COMP=$krb5_cv_shlibs_tail_comp AC_SUBST(SHLIB_TAIL_COMP) -CONFIG_DIRS(et ss profile berk_db) +CONFIG_DIRS(et ss profile berk_db pty) DO_SUBDIRS V5_AC_OUTPUT_MAKEFILE diff --git a/src/util/makeshlib.sh b/src/util/makeshlib.sh index 2152b8c6f..20d3c3c06 100644 --- a/src/util/makeshlib.sh +++ b/src/util/makeshlib.sh @@ -47,7 +47,7 @@ ar cq $library $FILES || exit $? stat=$? if [ $stat -eq 0 ] then - if test $HAVE_GCC = "yes" ; then + if test "$HAVE_GCC" = "yes" ; then $CC -o shr.o $library -nostartfiles -Xlinker -bgcbypass:1 -Xlinker -bfilelist -Xlinker -bM:SRE -Xlinker -bE:${library}.syms $ldflags $liblist $libdirfl else ld -o shr.o $library -H512 -T512 -bM:SRE -lc $ldflags -bfilelist -bgcbypass:1 -bnodelcsect -x -bE:${library}.syms $libdirfl $liblist fi