Ticket #47872: patch-configure.diff
File patch-configure.diff, 1.7 KB (added by smithsp (Sterling Smith), 9 years ago) |
---|
-
configure
old new 1014 1014 libdir='${exec_prefix}/lib' 1015 1015 localedir='${datarootdir}/locale' 1016 1016 mandir='${datarootdir}/man' 1017 uiddir='${exec_prefix}/uid' 1017 1018 1018 1019 ac_prev= 1019 1020 ac_dashdash= … … 7452 7453 HUP_TO_INETD="kill -HUP \`/sbin/pidof inetd\`";; 7453 7454 *apple-darwin*) echo "Configuring for MacOS X"; 7454 7455 MACOSX="macosx" 7455 CFLAGS="$CFLAGS -arch x86_64 - arch i386 -dynamic";7456 CFLAGS="$CFLAGS -arch x86_64 -dynamic"; 7456 7457 if (test "$F77" = "f77"); then 7457 7458 FFLAGS="$FFLAGS -w -f -V -W" 7458 7459 FORLD="$F77" … … 7475 7476 LD_LDSHARE=""; 7476 7477 LDARC=""; 7477 7478 LD_LDARC=""; 7478 UILPATH= /usr/OpenMotif/bin;7479 MOTIF_LDARC="-Wl,-bind_at_load -multiply_defined suppress -L /usr/OpenMotif/lib"7480 MOTIF_LD_LDARC="-multiply_defined suppress -L /usr/OpenMotif/lib"7481 LINKSHARED="$LDFLAGS -shared -arch i386 -arch x86_64";7479 UILPATH=${prefix}/bin; 7480 MOTIF_LDARC="-Wl,-bind_at_load -multiply_defined suppress -L${prefix}/lib" 7481 MOTIF_LD_LDARC="-multiply_defined suppress -L${prefix}/lib" 7482 LINKSHARED="$LDFLAGS -shared -arch x86_64 -dynamiclib -install_name $libdir/\$(@F) -headerpad_max_install_names" 7482 7483 FOR_LINKSHARED="$LDFLAGS -shared"; 7483 7484 LINKMODULE="$LDFLAGS -bundle -undefined dynamic_lookup"; 7484 7485 IDL_LD=""; … … 10606 10607 10607 10608 case $host in #( 10608 10609 *darwin*|*apple*) : 10609 X_CFLAGS+=" -I /usr/OpenMotif/include"10610 X_LIBS+=" -L /usr/OpenMotif/lib" ;; #(10610 X_CFLAGS+=" -I${prefix}/include" 10611 X_LIBS+=" -L${prefix}/lib" ;; #( 10611 10612 *) : 10612 10613 ;; 10613 10614 esac