File: LINUXmandrake

package info (click to toggle)
ntop 3:3.3-11
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 12,772 kB
  • ctags: 7,534
  • sloc: ansic: 71,427; sh: 16,772; awk: 1,504; perl: 792; makefile: 782; php: 123; python: 23; sql: 13; sed: 11
file content (22 lines) | stat: -rwxr-xr-x 728 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

echo "        Setting Mandrake specific flag values"
LDFLAGS="${LDFLAGS} -L/usr/X11R6/lib"
CPPFLAGS="${CPPFLAGS} -lz -lm"

if ! test -f /usr/X11R6/lib/libXpm.so; then
    echo
    echo "*******************************************************************"
    echo "*"
    echo "*             -lXpm not found, because the libXpm.so file does not"
    echo "*             exist."
    echo "*"
    echo "*>>> Continuing, but subsequent make may fail"
    echo "*"
    echo "*???     1. As root, create the link:"
    echo "*???        ln -s /usr/X11R6/lib/libXpm.so.4 /usr/X11R6/lib/libXpm.so"
    echo "*"
    echo "*******************************************************************"
    echo
    HAS_WARNING="yes"
fi