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

Collapse All | Expand All

(-)a/m4/path.cb.m4 (-1 / +8 lines)
Lines 10-18 dnl Link Here
10
AC_ARG_WITH(cg-prefix,[  --with-cg-prefix=PFX  Prefix where Cg is installed (optional)],
10
AC_ARG_WITH(cg-prefix,[  --with-cg-prefix=PFX  Prefix where Cg is installed (optional)],
11
	    cg_prefix="$withval", cg_prefix="")
11
	    cg_prefix="$withval", cg_prefix="")
12
12
13
AC_ARG_WITH(cg-libdir, [  --with-cg-libdir=PATH Directory where Cg libraries are installed (optional)],
14
		       cg_libdir="$withval", cg_libdir="")
15
13
  if test x$cg_prefix != x ; then
16
  if test x$cg_prefix != x ; then
14
    CG_CXXFLAGS="-I$cg_prefix/include"
17
    CG_CXXFLAGS="-I$cg_prefix/include"
15
    CG_LDFLAGS="-L$cg_prefix/lib -lGL -lCg -lCgGL -lGLU -lpthread -lglut"
18
    if test x$cg_libdir != x; then
19
       CG_LDFLAGS="-L$cg_libdir -lGL -lCg -lCgGL -lGLU -lpthread -lglut"
20
    else
21
       CG_LDFLAGS="-L$cg_prefix/lib -lGL -lCg -lCgGL -lGLU -lpthread -lglut"
22
    fi
16
  else
23
  else
17
    case $host_os in
24
    case $host_os in
18
      darwin*)
25
      darwin*)

Return to bug 668754