7 # Script printing NeL's install library/include paths and some other
8 # information like NeL's version
12 exec_prefix
=@exec_prefix@
15 include_dir
="@includedir@"
17 enable_ligo
=@enable_ligo@
18 enable_georges
=@enable_georges@
19 enable_net
=@enable_net@
21 enable_pacs
=@enable_pacs@
22 enable_sound
=@enable_sound@
23 enable_logic
=@enable_logic@
28 Usage: nel-config [OPTIONS] [LIBRARIES]
56 -*=*) optarg
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
101 --without-net|
--without-network)
110 --without-snd|
--without-sound)
120 if test "$local_prefix" = "yes"
122 if test "$exec_prefix_set" != "yes"
128 if test "$echo_prefix" = "yes"
133 if test "$echo_exec_prefix" = "yes"
138 if test "$echo_cflags" = "yes"
140 cflags
="-I$include_dir"
144 if test "$echo_ldflags" = "yes"
150 if test "$echo_libs" = "yes"
154 lib_logic
="-lnellogic"
155 lib_georges
="-lnelgeorges"
159 lib_sound
="-lnelsound -lnelsnd_lowlevel"
164 if test "$without_ligo" != "yes" -a '(' "$enable_ligo" = "yes" -o "$enable_ligo" = "ON" ')'
166 libs
="$libs $lib_ligo"
169 if test "$without_logic" != "yes" -a '(' "$enable_logic" = "yes" -o "$enable_logic" = "ON" ')'
171 libs
="$libs $lib_logic"
174 if test "$without_georges" != "yes" -a '(' "$enable_georges" = "yes" -o "$enable_georges" = "ON" ')'
176 libs
="$libs $lib_georges"
179 if test "$without_net" != "yes" -a '(' "$enable_net" = "yes" -o "$enable_net" = "ON" ')'
181 libs
="$libs $lib_net"
184 if test "$without_3d" != "yes" -a '(' "$enable_3d" = "yes" -o "$enable_3d" = "ON" ')'
189 if test "$without_pacs" != "yes" -a '(' "$enable_pacs" = "yes" -o "$enable_pacs" = "ON" ')'
191 libs
="$libs $lib_pacs"
194 if test "$without_sound" != "yes" -a '(' "$enable_sound" = "yes" -o "$enable_sound" = "ON" ')'
196 libs
="$libs $lib_sound"
199 echo -L@libdir@
$libs
202 if test "$echo_libtool" = "yes"
204 libtool_misc
="$lib_dir/libnelmisc.la"
205 libtool_ligo
="$lib_dir/libnelligo.la"
206 libtool_logic
="$lib_dir/libnellogic.la"
207 libtool_georges
="$lib_dir/libnelgeorges.la"
208 libtool_net
="$lib_dir/libnelnet.la"
209 libtool_3d
="$lib_dir/libnel3d.la"
210 libtool_pacs
="$lib_dir/libnelpacs.la"
211 libtool_sound
="$lib_dir/libnelsnd.la"
213 libtool
="$libtool_misc"
215 if test "$without_ligo" != "yes"
217 libtool
="$libtool $libtool_ligo"
220 if test "$without_logic" != "yes"
222 libtool
="$libtool $libtool_logic"
225 if test "$without_georges" != "yes"
227 libtool
="$libtool $libtool_georges"
230 if test "$without_net" != "yes"
232 libtool
="$libtool $libtool_net"
235 if test "$without_3d" != "yes"
237 libtool
="$libtool $libtool_3d"
240 if test "$without_pacs" != "yes"
242 libtool
="$libtool $libtool_pacs"
245 if test "$without_sound" != "yes"
247 libtool
="$libtool $libtool_sound"