comparison configure @ 1475:1a4c9a7e9b67

Applied vladimirs freebsd patch (largefile default on freebsd and misc)
author atmos4
date Thu, 09 Aug 2001 22:10:17 +0000
parents 5cc5d09fc9d4
children 4d47c954f0cb
comparison
equal deleted inserted replaced
1474:529a65694e40 1475:1a4c9a7e9b67
228 ;; 228 ;;
229 --with-sdl-config=*) 229 --with-sdl-config=*)
230 _sdlconfig=`echo $ac_option | cut -d '=' -f 2` 230 _sdlconfig=`echo $ac_option | cut -d '=' -f 2`
231 ;; 231 ;;
232 --with-extralibdir=*) 232 --with-extralibdir=*)
233 _extralibdir=-L`echo $ac_option | cut -d '=' -f 2` 233 _extralibdir=-L`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -L,g'`
234 ;; 234 ;;
235 --with-extraincdir=*) 235 --with-extraincdir=*)
236 _extraincdir=-I`echo $ac_option | cut -d '=' -f 2` 236 _extraincdir=-I`echo $ac_option | cut -d '=' -f 2 | sed 's,:, -I,g'`
237 ;; 237 ;;
238 esac 238 esac
239 done 239 done
240 240
241 # LGB: Some inital help 241 # LGB: Some inital help
347 fi 347 fi
348 fi 348 fi
349 349
350 # Lots of stuff are installed under /usr/local 350 # Lots of stuff are installed under /usr/local
351 351
352 if [ "$_extralibdir" = "" ]; then
352 _extralibdir=-L/usr/local/lib 353 _extralibdir=-L/usr/local/lib
354 fi
355 if [ "$_extraincdir" = "" ]; then
353 _extraincdir=-I/usr/local/include 356 _extraincdir=-I/usr/local/include
354 357 fi
355 if [ x"$_sdlconfig" = x"" ]; then 358
359 if [ "$_sdlconfig" = "" ]; then
356 if [ "$system_name" = "FreeBSD" ]; then 360 if [ "$system_name" = "FreeBSD" ]; then
357 _sdlconfig='sdl11-config' 361 _sdlconfig='sdl11-config'
358 else 362 else
359 _sdlconfig='sdl-config' 363 _sdlconfig='sdl-config'
360 fi 364 fi
1603 if [ "$system_name" = "FreeBSD" ]; then 1607 if [ "$system_name" = "FreeBSD" ]; then
1604 CFLAGS="$CFLAGS -D_THREAD_SAFE" 1608 CFLAGS="$CFLAGS -D_THREAD_SAFE"
1605 fi 1609 fi
1606 1610
1607 # 64 bit file offsets? 1611 # 64 bit file offsets?
1608 if [ "$_largefiles" = "yes" ]; then 1612 if [ "$_largefiles" = "yes" -o "$system_name" = "FreeBSD" ]; then
1609 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" 1613 CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
1610 fi 1614 fi
1611 1615
1612 # echo 'CFLAGS=$(OPTFLAGS) -Wall -DMPG12PLAY' >> config.mak 1616 # echo 'CFLAGS=$(OPTFLAGS) -Wall -DMPG12PLAY' >> config.mak
1613 1617