.
D 2002-07-30T17:09:31
J icomment Logged\sIn:\sYES\s\nuser_id=90580\n\nthe\sline\swith\ntest\s"x$DL_OBJS"\s=\s"xtclLoadAout.o"\nhas\sbeen\sin\sconfigure.in\sforever\s(at\sleast\ssince\srev\s1.57\sin\score-\n8-3-1\sfrom\sover\s2\syears\sago),\sit\sseems\sto\sbe\sa\sspecial\scase\sfor\s\n"pseudo-static\slinking"\s(c.f.\scomments).\sIt\scertainly\shas\snothing\sto\s\ndo\swith\sDarwin/MacOSX\n\nhowever\sthis\stest\sis\swhat\sJean-Claude\sapparently\shad\sadapted\s\nas\sa\skind\sof\splatform\scheck\sfor\sDarwin\sin\shis\soriginal\spatch\s(based\s\non\sthe\sfact\sthat\sDL_OBJS==tclLoadDyld.o\sonly\sever\son\sDarwin)\nHis\spatch\salways\sdid\sranlib\showever\sand\sso\sbroke\sdynamic\s\nlinking\son\sOSX.\sWhile\sI\sfixed\sthat\sproblem,\sI\sdidn't\schange\sthe\s\ntest\slogic\s(because\sI\sdidn't\sfully\sunderstand\sit\suntil\snow...)\n\nthe\sright\sthing\sto\sdo\sis\sto\stest\sagainst\s$system,\sit's\salso\strue\sthat\s\nRANLIB=':'\sgot\slost\ssomwhere\sin\sthe\sshuffle\sas\swell.\s(it's\sthere\sin\s\nrev\s1.57)\n\nwould\syou\sthen\sagree\swith\ssomething\salong\sthe\slines\sof\sthe\s\nfollowing\spatch\sto\sthe\scurrent\sconfigure.in\son\sthe\stip\sof\score-8-3-\n1-branch\s?\n\nI\srealize\sthat\sthere\sare\sprobably\sbetter\sways\sto\sdo\sthis\sbut\sthis\s\nrather\scrude\smethod\sseems\sto\sresult\sin\sthe\ssmallest\spossible\s\npatch\sfor\sthe\sbug\sat\shand.\sIt\sshould\snot\sinterfere\swith\sother\s\nsystems\ssince\sMAKE_LIB\swill\sonly\sbe\schanged\swhen\son\sDarwin\s\nwith\sstatic\slinking\son.\n\nBTW,\sthis\sbuilds\sfine\son\sthe\scompilefarm\son\sFreeBSD\s4.6-\nSTABLE\sboth\sstatic\sand\sshared,\snot\ssure\sif\sthat\swould\shave\s\nbeen\sone\sof\sthe\sBSDs\saffected\sby\sthe\sranlib\sproblems.\n\nIndex:\sconfigure.in\n==================================================\n=================\nRCS\sfile:\s/cvsroot/tcl/tcl/unix/configure.in,v\nretrieving\srevision\s1.57.2.11\ndiff\s-u\s-r1.57.2.11\sconfigure.in\n---\sconfigure.in\s\s\s\s\s\s\s\s24\sJul\s2002\s13:54:47\s-0000\s\s\s\s\s\s1.57.2.11\n+++\sconfigure.in\s\s\s\s\s\s\s\s30\sJul\s2002\s09:40:22\s-0000\n@@\s-389,6\s+389,7\s@@\n\s\s\s\s\s\s\s\sMAKE_LIB="\\${STLIB_LD}\s\\[$]@\s\\${OBJS}"\n\s\s\s\s\selse\n\s\s\s\s\s\s\s\sMAKE_LIB="\\${SHLIB_LD}\s${TCL_SHLIB_LD_EXTRAS}\s-o\s\n\\[$]@\s\\${OBJS}\s${SHLIB_LD_LIBS}"\n+\s\s\s\s\s\s\sRANLIB=":"\n\s\s\s\s\sfi\n\selse\n\s\s\s\s\scase\s$system\sin\n@@\s-405,9\s+406,11\s@@\n\s\s\s\s\sTCL_SHLIB_CFLAGS=""\n\s\s\s\s\seval\s"TCL_LIB_FILE=libtcl${TCL_UNSHARED_LIB_SUFFIX}"\n\s\s\s\s\sMAKE_LIB="\\${STLIB_LD}\s\\[$]@\s\\${OBJS}"\n-\s\s\s\sif\stest\s"x$DL_OBJS"\s=\s"xtclLoadDyld.o";\sthen\n-\s\s\s\s\s\s\sMAKE_LIB="${MAKE_LIB}\s;\s\\${RANLIB}\s\\$@"\n-\s\s\s\sfi\n+\s\s\s\scase\s$system\sin\n+\s\s\s\s\s\s\sDarwin-*)\n+\s\s\s\s\s\s\s\s\s\s\sMAKE_LIB="${MAKE_LIB}\s;\s\\${RANLIB}\s\\$@"\n+\s\s\s\s\s\s\s\s\s\s\s;;\n+\s\s\s\sesac\n\sfi\n\s\n\n
J login das
J mimetype text/plain
J username das
K 529801ffffffffffffffffffffffffffffffffff
U das
Z b6f38647bf644f414c263c368578e09c