Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 117490 | Differences between
and this patch

Collapse All | Expand All

(-)scilab-4.0/configure.in (-2 / +8 lines)
Lines 894-906 Link Here
894
      [LIEEELIB=-lieee])
894
      [LIEEELIB=-lieee])
895
    GCC=yes
895
    GCC=yes
896
    CC=gcc
896
    CC=gcc
897
    CC_OPTIONS='-O -DNDEBUG -D_GNU_SOURCE -Dlinux -fwritable-strings'
897
    CC_OPTIONS='-O -DNDEBUG -D_GNU_SOURCE -Dlinux'
898
    CC_LDFLAGS=$LIEEELIB
898
    CC_LDFLAGS=$LIEEELIB
899
    CC_PICFLAGS=-fPIC
899
    CC_PICFLAGS=-fPIC
900
    # find Fortran compiler
900
    # find Fortran compiler
901
    # g77 already asked and found: good
901
    # g77 already asked and found: good
902
    if test "$WITH_G77" = yes; then
902
    if test "$WITH_G77" = yes; then
903
      FC=g77
903
      FC=g77
904
    elif test "$WITH_GFORTRAN" = yes;then
905
      FC=gfortran
906
      FC_OPTIONS="-O -ff2c"
907
      FC_OPTIONS_O0="-ff2c"
908
      FC_PICFLAGS=-fPIC
909
      AC_DEFINE(G95_FORTRAN)
904
    # option with-f2c
910
    # option with-f2c
905
    elif test "$with_f2c" = yes; then
911
    elif test "$with_f2c" = yes; then
906
      AC_CHECK_PROG(F2C,f2c,yes,no)
912
      AC_CHECK_PROG(F2C,f2c,yes,no)
Lines 932-938 Link Here
932
    LD=ld
938
    LD=ld
933
    LD_LDFLAGS=$LIEEELIB
939
    LD_LDFLAGS=$LIEEELIB
934
    if test "$enable_debug" = yes; then 
940
    if test "$enable_debug" = yes; then 
935
      CC_OPTIONS='-g -Dlinux -D_GNU_SOURCE -fwritable-strings'
941
      CC_OPTIONS='-g -Dlinux -D_GNU_SOURCE'
936
      FC_OPTIONS=-g
942
      FC_OPTIONS=-g
937
    fi
943
    fi
938
    MAKEFILE_TARGET=Makefile.linux
944
    MAKEFILE_TARGET=Makefile.linux

Return to bug 117490