From: Bruce Momjian Date: Sun, 13 Jul 1997 19:52:10 +0000 (+0000) Subject: AIX nm fix from Gerhard X-Git-Tag: REL6_1_1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69e5d63839a551a931933bce9a4a06c06732a480;p=thirdparty%2Fpostgresql.git AIX nm fix from Gerhard --- diff --git a/src/backend/port/aix/mkldexport.sh b/src/backend/port/aix/mkldexport.sh index 87f78b05f48..6242b609c23 100755 --- a/src/backend/port/aix/mkldexport.sh +++ b/src/backend/port/aix/mkldexport.sh @@ -17,7 +17,19 @@ # # setting this to nm -B might be better -NM=/usr/ucb/nm +# ... due to changes in AIX 4.x ... +# ... let us search in different directories - Gerhard Reithofer +if [ -x /usr/ucb/nm ] +then NM=/usr/ucb/nm +elif [ -x /usr/bin/nm ] +then NM=/usr/bin/nm +elif [ -x /usr/ccs/bin/nm ] +then NM=/usr/ccs/bin/nm +elif [ -x /usr/usg/bin/nm ] +then NM=/usr/usg/bin/nm +else echo "Fatal error: cannot find `nm' ... please check your installation." + exit 1 +fi CMDNAME=`basename $0` if [ -z "$1" ]; then