Changeset 725e600 in git
- Timestamp:
- Sep 14, 2011, 12:45:48 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- 327efa20e70d58adf952cceee8f24ae2a24079c5
- Parents:
- 3426de24a82fe29ddf501d02bcb6bd50a782f43f
- Location:
- Singular
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/Makefile.in
r3426de2 r725e600 87 87 ifneq ($(SINGUNAME),ix86-Win) 88 88 LDFLAGS = -L@prefix@/kernel -L../kernel -lkernel @LDFLAGS@ 89 LDFLAGSG = -L@prefix@/kernel -L../kernel -lkernel_g @LD FLAGS@90 LDFLAGSP = -L@prefix@/kernel -L../kernel -lkernel_p @LD FLAGS@89 LDFLAGSG = -L@prefix@/kernel -L../kernel -lkernel_g @LD_DYN_FLAGS1@ @LDFLAGS@ 90 LDFLAGSP = -L@prefix@/kernel -L../kernel -lkernel_p @LD_DYN_FLAGS1@ @LDFLAGS@ 91 91 else 92 92 ## -L/usr/local/lib -L@prefix@/modules/python --> PySingular … … 95 95 LDFLAGSP = -L@prefix@/kernel -L/bin -lkernel_p @LDFLAGS@ 96 96 endif 97 LD_DYN_FLAGS = @LD_DYN_FLAGS@ 97 LD_DYN_FLAGS1 = @LD_DYN_FLAGS1@ 98 LD_DYN_FLAGS2 = @LD_DYN_FLAGS2@ 98 99 SFLAGS = @SFLAGS@ 99 100 SLDFLAGS = @SLDFLAGS@ … … 181 182 GLIBC_DYN_FIX= 182 183 else 183 LDFLAGS := ${LD_DYN_FLAGS } ${LDFLAGS}184 LDFLAGS := ${LD_DYN_FLAGS1} ${LDFLAGS} ${LD_DYN_FLAGS2} 184 185 SING_EXEC = Singular 185 186 LIBS := ${LIBS} ${PYTHON_LIBS} … … 752 753 $(CXXG) ${CXXFLAGSG} ${CXXTEMPLFLAGSG} ${CPPFLAGS} ${DEFSG} -o Singularg${S_EXT} \ 753 754 tesths.cc iparith.og mpsr_Tok.og claptmpl.og $(OBJG) ${LDFLAGSG} ${LIBSG} -lomalloc ../kernel/mmalloc.og \ 754 ${LD_DYN_FLAGS } ${LD_LIBC}755 ${LD_DYN_FLAGS2} ${LD_LIBC} 755 756 756 757 iparith.og: iparith.inc iparith.cc … … 832 833 $(CXXP) ${CXXFLAGSP} ${CXXTEMPLFLAGSP} ${CPPFLAGS} ${DEFSP} -o Singularp${S_EXT} \ 833 834 tesths.cc iparith.op mpsr_Tok.op claptmpl.op $(OBJP) ${LDFLAGSP} ${LIBSP} -lomalloc ../kernel/mmalloc.op \ 834 ${LD_DYN_FLAGS }835 ${LD_DYN_FLAGS2} 835 836 836 837 iparith.op: iparith.inc iparith.cc -
Singular/configure
r3426de2 r725e600 2539 2539 2540 2540 if test "$ac_cv_lib_dld_shl_load" = yes; then 2541 LD_DYN_FLAGS="-ldld -Xlinker -E" 2541 LD_DYN_FLAGS1="-Xlinker -E" 2542 LD_DYN_FLAGS2="-ldld" 2542 2543 SFLAGS="-fpic -fPIC -DPIC" 2543 2544 SLDFLAGS="-fPIC -DPIC -shared" … … 2597 2598 2598 2599 if test "$ac_cv_lib_dl_dlopen" = yes; then 2599 LD_DYN_FLAGS="-ldl -rdynamic" 2600 LD_DYN_FLAGS1="-rdynamic" 2601 LD_DYN_FLAGS2="-ldl" 2600 2602 SFLAGS="-fpic -DPIC" 2601 2603 SLDFLAGS=-shared … … 2607 2609 ;; 2608 2610 IRIX-6) 2609 LD_DYN_FLAGS="-lc" 2611 LD_DYN_FLAGS1="-lc" 2612 LD_DYN_FLAGS2="" 2610 2613 SFLAGS="-fPIC -DPIC" 2611 2614 SLDFLAGS="-w -no_unresolved -_SYSTYPE_SVR4 -n32 -shared" … … 2664 2667 2665 2668 if test "$ac_cv_lib_dl_dlopen" = yes; then 2666 LD_DYN_FLAGS="-ldl" 2669 LD_DYN_FLAGS1="" 2670 LD_DYN_FLAGS2="-ldl" 2667 2671 SFLAGS="-fpic -DPIC" 2668 2672 SLDFLAGS=-shared … … 2723 2727 2724 2728 if test "$ac_cv_lib_dl_dlopen" = yes; then 2725 LD_DYN_FLAGS="-ldl -dynamic" 2729 LD_DYN_FLAGS1="-dynamic" 2730 LD_DYN_FLAGS2="-ldl" 2726 2731 SFLAGS="-fpic -DPIC" 2727 2732 SLDFLAGS="-dynamic -twolevel_namespace -weak_reference_mismatches weak -undefined dynamic_lookup" … … 2781 2786 2782 2787 if test "$ac_cv_lib_dl_dlopen" = yes; then 2783 LD_DYN_FLAGS="-ldl -dynamic" 2788 LD_DYN_FLAGS1="-dynamic" 2789 LD_DYN_FLAGS2="-ldl" 2784 2790 SFLAGS="-fpic -DPIC" 2785 2791 SLDFLAGS="-dynamic -twolevel_namespace -weak_reference_mismatches weak -undefined dynamic_lookup" … … 2839 2845 2840 2846 if test "$ac_cv_lib_c_dlopen" = yes; then 2841 LD_DYN_FLAGS="-Xlinker -E" 2847 LD_DYN_FLAGS1="-Xlinker -E" 2848 LD_DYN_FLAGS2="" 2842 2849 SFLAGS="-fpic -DPIC" 2843 2850 SLDFLAGS=-shared … … 2853 2860 if test $ac_cv_c_cpp = unknown; 2854 2861 then 2855 LD_DYN_FLAGS= 2862 LD_DYN_FLAGS1= 2863 LD_DYN_FLAGS2= 2856 2864 SFLAGS= 2857 2865 SLDFLAGS= … … 6067 6075 s%@PYTHON_EMBED_LIBS@%$PYTHON_EMBED_LIBS%g 6068 6076 s%@EMBED_PYTHON_VALUE@%$EMBED_PYTHON_VALUE%g 6069 s%@LD_DYN_FLAGS@%$LD_DYN_FLAGS%g 6077 s%@LD_DYN_FLAGS1@%$LD_DYN_FLAGS1%g 6078 s%@LD_DYN_FLAGS2@%$LD_DYN_FLAGS2%g 6070 6079 s%@SFLAGS@%$SFLAGS%g 6071 6080 s%@SLDFLAGS@%$SLDFLAGS%g -
Singular/configure.in
r3426de2 r725e600 715 715 AC_CHECK_LIB(dld, shl_load) 716 716 if test "$ac_cv_lib_dld_shl_load" = yes; then 717 LD_DYN_FLAGS="-ldld -Xlinker -E" 717 LD_DYN_FLAGS1="-Xlinker -E" 718 LD_DYN_FLAGS2="-ldld" 718 719 SFLAGS="-fpic -fPIC -DPIC" 719 720 SLDFLAGS="-fPIC -DPIC -shared" … … 727 728 AC_CHECK_LIB(dl, dlopen) 728 729 if test "$ac_cv_lib_dl_dlopen" = yes; then 729 LD_DYN_FLAGS="-ldl -rdynamic" 730 LD_DYN_FLAGS1="-rdynamic" 731 LD_DYN_FLAGS2="-ldl" 730 732 SFLAGS="-fpic -DPIC" 731 733 SLDFLAGS=-shared … … 737 739 ;; 738 740 IRIX-6) 739 LD_DYN_FLAGS="-lc" 741 LD_DYN_FLAGS1="" 742 LD_DYN_FLAGS2="-lc" 740 743 SFLAGS="-fPIC -DPIC" 741 744 SLDFLAGS="-w -no_unresolved -_SYSTYPE_SVR4 -n32 -shared" … … 748 751 AC_CHECK_LIB(dl, dlopen) 749 752 if test "$ac_cv_lib_dl_dlopen" = yes; then 750 LD_DYN_FLAGS="-ldl" 753 LD_DYN_FLAGS1="" 754 LD_DYN_FLAGS2="-ldl" 751 755 SFLAGS="-fpic -DPIC" 752 756 SLDFLAGS=-shared … … 761 765 AC_CHECK_LIB(dl, dlopen) 762 766 if test "$ac_cv_lib_dl_dlopen" = yes; then 763 LD_DYN_FLAGS="-ldl -dynamic" 767 LD_DYN_FLAGS1="-dynamic" 768 LD_DYN_FLAGS2="-ldl" 764 769 SFLAGS="-fpic -DPIC" 765 770 SLDFLAGS="-dynamic -twolevel_namespace -weak_reference_mismatches weak -undefined dynamic_lookup" … … 773 778 AC_CHECK_LIB(dl, dlopen) 774 779 if test "$ac_cv_lib_dl_dlopen" = yes; then 775 LD_DYN_FLAGS="-ldl -dynamic" 780 LD_DYN_FLAGS1="-dynamic" 781 LD_DYN_FLAGS2="-ldl" 776 782 SFLAGS="-fpic -DPIC" 777 783 SLDFLAGS="-dynamic -twolevel_namespace -weak_reference_mismatches weak -undefined dynamic_lookup" … … 785 791 AC_CHECK_LIB(c, dlopen) 786 792 if test "$ac_cv_lib_c_dlopen" = yes; then 787 LD_DYN_FLAGS="-Xlinker -E" 793 LD_DYN_FLAGS1="-Xlinker -E" 794 LD_DYN_FLAGS2="" 788 795 SFLAGS="-fpic -DPIC" 789 796 SLDFLAGS=-shared … … 797 804 if test $ac_cv_c_cpp = unknown; 798 805 then 799 LD_DYN_FLAGS= 806 LD_DYN_FLAGS1= 807 LD_DYN_FLAGS2= 800 808 SFLAGS= 801 809 SLDFLAGS= 802 810 fi 803 AC_SUBST(LD_DYN_FLAGS) 811 AC_SUBST(LD_DYN_FLAGS1) 812 AC_SUBST(LD_DYN_FLAGS2) 804 813 AC_SUBST(SFLAGS) 805 814 AC_SUBST(SLDFLAGS)
Note: See TracChangeset
for help on using the changeset viewer.