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

Collapse All | Expand All

(-)configure.ac (-1 / +6 lines)
Lines 3109-3119 if test "x$with_libperl" = "xyes" \ Link Here
3109
then
3109
then
3110
  SAVE_CFLAGS="$CFLAGS"
3110
  SAVE_CFLAGS="$CFLAGS"
3111
  SAVE_LDFLAGS="$LDFLAGS"
3111
  SAVE_LDFLAGS="$LDFLAGS"
3112
  SAVE_LIBS="$LIBS"
3112
dnl ARCHFLAGS="" -> disable multi -arch on OSX (see Config_heavy.pl:fetch_string)
3113
dnl ARCHFLAGS="" -> disable multi -arch on OSX (see Config_heavy.pl:fetch_string)
3113
  PERL_CFLAGS=`ARCHFLAGS="" $perl_interpreter -MExtUtils::Embed -e ccopts`
3114
  PERL_CFLAGS=`ARCHFLAGS="" $perl_interpreter -MExtUtils::Embed -e ccopts`
3114
  PERL_LDFLAGS=`ARCHFLAGS="" $perl_interpreter -MExtUtils::Embed -e ldopts`
3115
  PERL_LDFLAGS=`ARCHFLAGS="" $perl_interpreter -MExtUtils::Embed -e ldopts`
3115
  CFLAGS="$CFLAGS $PERL_CFLAGS"
3116
  CFLAGS="$CFLAGS $PERL_CFLAGS"
3116
  LDFLAGS="$LDFLAGS $PERL_LDFLAGS"
3117
  LDFLAGS="$LDFLAGS $PERL_LDFLAGS"
3118
  LIBS="$LIBS -lperl -lpthread"
3117
  AC_CACHE_CHECK([for libperl],
3119
  AC_CACHE_CHECK([for libperl],
3118
    [c_cv_have_libperl],
3120
    [c_cv_have_libperl],
Lines 3132-3138 dnl ARCHFLAGS="" -> disable multi -arch on OSX (see Config_heavy.pl:fetch_string Link Here
3132
]]]
3134
]]]
3133
      )],
3135
      )],
3134
      [c_cv_have_libperl="yes"],
3136
      [c_cv_have_libperl="yes"],
3135
      [c_cv_have_libperl="no"]
3137
      [
3138
        c_cv_have_libperl="no"
3139
        LIBS="$SAVE_LIBS"
3140
      ]
3136
    )
3141
    )
3137
  )
3142
  )

Return to bug 501644