Changeset f53fe2616cba88c32648098ae3d69e0f221091b1

Show
Ignore:
Timestamp:
07/01/03 21:17:32 (5 years ago)
Author:
Sam Hocevar <sam@videolan.org>
git-committer:
Sam Hocevar <sam@videolan.org> 1057087052 +0000
git-parent:

[dceb44290badf3c971a0d6ef87999d9e041623b7]

git-author:
Sam Hocevar <sam@videolan.org> 1057087052 +0000
Message:
  • configure.ac:
    + Fixed a == test bashism.
    + Cosmetic changes.
  • toolbox, vlc-config.in.in: Cosmetic changes.
  • Makefile.am: Fixed the Mozilla plugin build (happy bootstrap).
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Makefile.am

    rdceb442 rf53fe26  
    591591mozilla_libplugin_a_CXXFLAGS = `$(VLC_CONFIG) --cxxflags mozilla pic` \ 
    592592                               $(CPPFLAGS_mozilla_EXTRA) -Imozilla 
    593 mozilla_libplugin_a_DEPENDENCIES = lib/libvlc_pic.a $(DATA_npvlc_rc) builtins_pic 
     593mozilla_libplugin_a_DEPENDENCIES = lib/libvlc_pic.a $(DATA_npvlc_rc) 
    594594 
    595595BUILT_SOURCES_mozilla = mozilla/vlcintf.h 
  • configure.ac

    rda38547 rf53fe26  
    11dnl Autoconf settings for vlc 
    2 dnl $Id: configure.ac,v 1.20 2003/07/01 17:46:50 sam Exp $ 
     2dnl $Id: configure.ac,v 1.21 2003/07/01 19:17:32 sam Exp $ 
    33 
    44AC_INIT(vlc,0.6.0) 
     
    911911[  --with-tuning=ARCH      enable special tuning for an architecture 
    912912                          (default i686 on IA-32 and 750 on PPC)]) 
    913 if test "${with_tuning}" != ""; then 
     913if test -n "${with_tuning}"; then 
    914914    if test "${target_cpu}" = "powerpc"; then 
    915915        CFLAGS_TUNING="-mtune=${with_tuning}" 
     
    10031003  case "${with_dvdcss}" in 
    10041004  ""|yes) 
    1005     if test "${with_dvdcss_tree}" = "
     1005    if test -z "${with_dvdcss_tree}
    10061006    then 
    10071007      AC_CHECK_HEADERS(dvdcss/dvdcss.h, 
     
    10131013      AC_MSG_CHECKING(for libdvdcss.a in ${with_dvdcss_tree}) 
    10141014      real_dvdcss_tree="`cd ${with_dvdcss_tree} 2>/dev/null && pwd`" 
    1015       if test "${real_dvdcss_tree}" = "
     1015      if test -z "${real_dvdcss_tree}
    10161016      then 
    10171017        dnl  The given directory can't be found 
     
    10681068  AC_ARG_WITH(dvdread-tree, 
    10691069  [    --with-dvdread-tree=PATH libdvdread tree for static linking]) 
    1070   if test "${with_dvdread}" = "
    1071   then 
    1072     if test "${with_dvdread_tree}" = "
     1070  if test -z "${with_dvdread}
     1071  then 
     1072    if test -z "${with_dvdread_tree}
    10731073    then 
    10741074      AC_CHECK_HEADERS(dvdread/dvd_reader.h, 
     
    10761076          AX_ADD_LDFLAGS([dvdread],[-ldvdread ${LDFLAGS_dvdcss}]) 
    10771077        ],[ 
    1078           if test "${enable_dvdread}" != "
     1078          if test -n "${enable_dvdread}
    10791079          then 
    10801080            AC_MSG_WARN([Please get libdvdread from http://www.dtek.chalmers.se/groups/dvd/downloads.shtml]) 
     
    10851085      AC_MSG_CHECKING(for libdvdread.a in ${with_dvdread_tree}) 
    10861086      real_dvdread_tree="`cd ${with_dvdread_tree} 2>/dev/null && pwd`" 
    1087       if test "${real_dvdread_tree}" = "
     1087      if test -z "${real_dvdread_tree}
    10881088      then 
    10891089        dnl  The given directory can't be found 
     
    11321132  AC_ARG_WITH(dvdplay-tree, 
    11331133  [    --with-dvdplay-tree=PATH libdvdplay tree for static linking]) 
    1134   if test "${with_dvdplay}" = "
    1135   then 
    1136     if test "${with_dvdplay_tree}" = "
     1134  if test -z "${with_dvdplay}
     1135  then 
     1136    if test -z "${with_dvdplay_tree}
    11371137    then 
    11381138      AC_CHECK_HEADERS(dvdplay/dvdplay.h,[ 
     
    11411141          AX_ADD_CPPFLAGS([dvdplay],[${CPPFLAGS_dvdread}]) 
    11421142        ],[ 
    1143           if test "${enable_dvdplay}" != "
     1143          if test -n "${enable_dvdplay}
    11441144          then 
    11451145            AC_MSG_WARN([Please get libdvdplay from http://www.videolan.org/.]) 
     
    11501150      AC_MSG_CHECKING(for libdvdplay.a in ${with_dvdplay_tree}) 
    11511151      real_dvdplay_tree="`cd ${with_dvdplay_tree} 2>/dev/null && pwd`" 
    1152       if test "${real_dvdplay_tree}" = "
     1152      if test -z "${real_dvdplay_tree}
    11531153      then 
    11541154        dnl  The given directory can't be found 
     
    11991199  case "${with_dvbpsi}" in 
    12001200  ""|yes) 
    1201     if test "${with_dvbpsi_tree}" = "
     1201    if test -z "${with_dvbpsi_tree}
    12021202    then 
    12031203      AC_CHECK_HEADERS(dvbpsi/dr.h, 
     
    12171217      AC_MSG_CHECKING(for libdvbpsi.a in ${with_dvbpsi_tree}) 
    12181218      real_dvbpsi_tree="`cd ${with_dvbpsi_tree} 2>/dev/null && pwd`" 
    1219       if test "${real_dvbpsi_tree}" = "
     1219      if test -z "${real_dvbpsi_tree}
    12201220      then 
    12211221        dnl  The given directory can't be found 
     
    12421242  *) 
    12431243    AC_MSG_CHECKING(for dvbpsi headers in ${with_dvbpsi}) 
    1244     if test "${with_dvbpsi}" = "
     1244    if test -z "${with_dvbpsi}
    12451245    then 
    12461246      LDFLAGS_test="" 
     
    12571257 
    12581258    ],[ 
    1259       if test "${enable_dvbpsi}" != "
     1259      if test -n "${enable_dvbpsi}
    12601260      then 
    12611261        AC_MSG_ERROR([Could not find libdvbpsi on your system: you may get it from www.videolan.org, you'll need at least version 0.1.1]) 
     
    12761276  AC_ARG_WITH(v4l, 
    12771277    [    --with-v4l=PATH       path to a v4l-enabled kernel tree],[],[]) 
    1278   if test "${with_v4l}" != "no" -a "${with_v4l}" != "
     1278  if test "${with_v4l}" != "no" -a -n "${with_v4l}
    12791279  then 
    12801280    AX_ADD_CPPFLAGS([v4l],[-I${with_v4l}/include]) 
     
    14361436  AC_ARG_WITH(mad, 
    14371437    [    --with-mad=PATH       path to libmad],[],[]) 
    1438   if test "${with_mad}" != "no" -a "${with_mad}" != "
     1438  if test "${with_mad}" != "no" -a -n "${with_mad}
    14391439  then 
    14401440    AX_ADD_CPPFLAGS([mpgatofixed32],[-I${with_mad}/include]) 
     
    14441444  AC_ARG_WITH(mad-tree, 
    14451445    [    --with-mad-tree=PATH  mad tree for static linking],[],[]) 
    1446   if test "${with_mad_tree}" != "no" -a "${with_mad_tree}" != "
     1446  if test "${with_mad_tree}" != "no" -a -n "${with_mad_tree}
    14471447  then 
    14481448    real_mad_tree="`cd ${with_mad_tree} 2>/dev/null && pwd`" 
    1449     if test "${real_mad_tree}" = "
     1449    if test -z "${real_mad_tree}
    14501450    then 
    14511451      dnl  The given directory can't be found 
     
    15061506  dnl test for !(--with-ffmpeg-tree) 
    15071507  dnl 
    1508   if test "${with_ffmpeg_tree}" == "no" -o "${with_ffmpeg_tree}" == "";then 
     1508  if test "${with_ffmpeg_tree}" = "no" -o -z "${with_ffmpeg_tree}";then 
    15091509    CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_ffmpeg}" 
    15101510    LDFLAGS="${LDFLAGS_save} ${LDFLAGS_ffmpeg}" 
     
    15241524  dnl test for --with-ffmpeg-tree 
    15251525  dnl 
    1526   if test "${with_ffmpeg_tree}" != "no" -a "${with_ffmpeg_tree}" != "";then 
     1526  if test "${with_ffmpeg_tree}" != "no" -a -n "${with_ffmpeg_tree}";then 
    15271527    AC_MSG_CHECKING(for libavcodec.a in ${with_ffmpeg_tree}) 
    15281528    real_ffmpeg_tree="`cd ${with_ffmpeg_tree} 2>/dev/null && pwd`" 
    1529     if test "${real_ffmpeg_tree}" = ""; then 
     1529    if test -z "${real_ffmpeg_tree}"; then 
    15301530      dnl  The given directory can't be found 
    15311531      AC_MSG_RESULT(no) 
     
    15681568  AC_ARG_WITH(faad-tree, 
    15691569  [    --with-faad-tree=PATH faad tree for static linking]) 
    1570   if test "${with_faad_tree}" != "
     1570  if test -n "${with_faad_tree}
    15711571  then 
    15721572    AC_MSG_CHECKING(for libfaad.a in ${with_faad_tree}) 
    15731573    real_faad_tree="`cd ${with_faad_tree} 2>/dev/null && pwd`" 
    1574     if test "${real_faad_tree}" = "
     1574    if test -z "${real_faad_tree}
    15751575    then 
    15761576      dnl  The given directory can't be found 
     
    16261626  AC_ARG_WITH(xvid, 
    16271627    [    --with-xvid=PATH      path to xvid installation],[],[]) 
    1628   if test "${with_xvid}" != "no" -a "${with_xvid}" != "
     1628  if test "${with_xvid}" != "no" -a -n "${with_xvid}
    16291629  then 
    16301630    AX_ADD_CPPFLAGS([xvid],[-I${with_xvid}/include]) 
     
    16341634  AC_ARG_WITH(xvid-tree, 
    16351635  [    --with-xvid-tree=PATH xvid tree for static linking]) 
    1636   if test "${with_xvid_tree}" != "
     1636  if test -n "${with_xvid_tree}
    16371637  then 
    16381638    AC_MSG_CHECKING(for libxvidcore.a in ${with_xvid_tree}) 
    16391639    real_xvid_tree="`cd ${with_xvid_tree} 2>/dev/null && pwd`" 
    1640     if test "${real_xvid_tree}" = "
     1640    if test -z "${real_xvid_tree}
    16411641    then 
    16421642      dnl  The given directory can't be found 
     
    17161716  AC_ARG_WITH(a52-tree, 
    17171717    [    --with-a52-tree=PATH  a52dec tree for static linking ],[],[]) 
    1718   if test "${with_a52_tree}" != "no" -a "${with_a52_tree}" != "
     1718  if test "${with_a52_tree}" != "no" -a -n "${with_a52_tree}
    17191719  then 
    17201720    real_a52_tree="`cd ${with_a52_tree} 2>/dev/null && pwd`" 
    1721     if test "${real_a52_tree}" = "
     1721    if test -z "${real_a52_tree}
    17221722    then 
    17231723      dnl  The given directory can't be found 
     
    17511751    fi 
    17521752  else 
    1753     if test "${with_a52}" = "
     1753    if test -z "${with_a52}
    17541754    then 
    17551755      LDFLAGS_test="" 
     
    18101810  AC_ARG_WITH(libmpeg2-tree, 
    18111811  [    --with-libmpeg2-tree=PATH libmpeg2 tree for static linking]) 
    1812   if test "${with_libmpeg2_tree}" != "
     1812  if test -n "${with_libmpeg2_tree}
    18131813  then 
    18141814    AC_MSG_CHECKING(for libmpeg2.a in ${with_libmpeg2_tree}) 
    18151815    real_libmpeg2_tree="`cd ${with_libmpeg2_tree} 2>/dev/null && pwd`" 
    1816     if test "${real_libmpeg2_tree}" = "
     1816    if test -z "${real_libmpeg2_tree}
    18171817    then 
    18181818      dnl  The given directory can't be found 
     
    18921892  AC_ARG_WITH(tarkin-tree, 
    18931893  [    --with-tarkin-tree=PATH tarkin tree for static linking]) 
    1894   if test "${with_tarkin_tree}" != "
     1894  if test -n "${with_tarkin_tree}
    18951895  then 
    18961896    AC_MSG_CHECKING(for tarkin.o in ${with_tarkin_tree}) 
     
    20492049                               e.g use as: 
    20502050                               --with-sdl-prefix=/usr/local/arm/2.95.3/arm-linux/usr)],[],[]) 
    2051   if test "${with_sdl_prefix}" != "no" -a "${with_sdl_prefix}" != "
     2051  if test "${with_sdl_prefix}" != "no" -a -n "${with_sdl_prefix}
    20522052  then 
    20532053    SDL_PREFIX="--prefix=${with_sdl_prefix}" 
     
    21222122  AC_ARG_WITH(qte, 
    21232123  [    --with-qte=PATH       Qt Embedded headers and libraries]) 
    2124   if test "${with_qte}" != "no" -a "${with_qte}" != "
     2124  if test "${with_qte}" != "no" -a -n "${with_qte}
    21252125  then 
    21262126    AX_ADD_LDFLAGS([qte],[-L${with_qte}/lib `echo -L${with_qte}/lib | sed 's,opt/QtPalmtop,usr,'` -ljpeg -lqte]) 
     
    21502150    AC_ARG_WITH(directx, 
    21512151    [    --with-directx=PATH   Win32 DirectX headers]) 
    2152     if test "${with_directx}" = "
     2152    if test -z "${with_directx}
    21532153    then 
    21542154      AC_CHECK_HEADERS(ddraw.h, 
     
    22152215  AC_ARG_WITH(ggi, 
    22162216    [    --with-ggi=PATH       path to libggi], 
    2217     [ if test "${with_ggi}" != "no" -a "${with_ggi}" != "
     2217    [ if test "${with_ggi}" != "no" -a -n "${with_ggi}
    22182218      then 
    22192219        AX_ADD_CPPFLAGS([ggi],[-I${with_ggi}/include]) 
     
    22342234  AC_ARG_WITH(glide, 
    22352235    [    --with-glide=PATH     path to libglide], 
    2236     [ if test "${with_glide}" != "no" -a "${with_glide}" != "
     2236    [ if test "${with_glide}" != "no" -a -n "${with_glide}
    22372237      then 
    22382238        AX_ADD_CPPFLAGS([glide],[-I${with_glide}/include]) 
     
    25572557                          e.g use as: 
    25582558                          --with-gtk-prefix=/usr/local/arm/2.95.3/arm-linux/usr)],[],[]) 
    2559   if test "${with_gtk_prefix}" != "no" -a "${with_gtk_prefix}" != "
     2559  if test "${with_gtk_prefix}" != "no" -a -n "${with_gtk_prefix}
    25602560  then 
    25612561    GTK_PREFIX="--prefix=${with_gtk_prefix}" 
     
    25852585    AC_ARG_WITH(gpe-prefix, 
    25862586    [    --with-gpe-prefix=PATH gpe installation path prefix (default search in \$PATH)],[],[]) 
    2587     if test "${with_gpe_prefix}" != "no" -a "${with_gpe_prefix}" != "
     2587    if test "${with_gpe_prefix}" != "no" -a -n "${with_gpe_prefix}
    25882588    then 
    25892589      AX_ADD_CFLAGS([gpe],[-I${with_gpe_prefix}/include]) 
     
    27702770     AC_ARG_WITH(qte, 
    27712771     [    --with-qte=PATH       Qt Embedded headers and libraries]) 
    2772      if test "${with_qte}" != "no" -a "${with_qte}" != "
     2772     if test "${with_qte}" != "no" -a -n "${with_qte}
    27732773     then 
    27742774       AX_ADD_LDFLAGS([qte],[-L${with_qte}/lib `echo -L${with_qte}/lib | sed 's,opt/QtPalmtop,usr,'` -ljpeg -lqte]) 
     
    27882788     AX_ADD_LDFLAGS([opie],[-lqpe ${LDFLAGS_qte}]) 
    27892789     AX_ADD_CXXFLAGS([opie],[${CXXFLAGS_qte}]) 
    2790      if test "${with_qte}" != "no" -a "${with_qte}" != "
     2790     if test "${with_qte}" != "no" -a -n "${with_qte}
    27912791     then 
    27922792       MOC=${with_qte}/bin/moc 
     
    28652865  AC_ARG_WITH(slp, 
    28662866  [    --with-slp=PATH       libslp headers and libraries]) 
    2867   if test "${with_slp}" = "
     2867  if test -z "${with_slp}
    28682868  then 
    28692869    AC_CHECK_HEADER(slp.h, have_slp="true", have_slp="false") 
     
    29892989    AX_ADD_LDFLAGS([mozilla],[`${MOZILLA_CONFIG} --libs plugin xpcom`]) 
    29902990    dnl Not necessarily in ${PATH} 
    2991     if test "${XPIDL}" = "" -o ! -x "${XPIDL}" 
     2991    if test -z "${XPIDL}" -o ! -x "${XPIDL}" 
    29922992    then 
    29932993      XPIDL="/usr/lib/mozilla/xpidl" 
  • doc/fortunes.txt

    r4b34812 rf53fe26  
    473473<[MaDog]> xcuse me 
    474474*** Signoff: [MaDog] (Client Quit) 
    475   -- #videolan 
    476 
    477 13:53 < Xtophe> is there any centralien alive ? 
    478 13:54 < thedj> i hope so. haven't heard a thing about a nuke explosion in Paris 
    479  
    480   -- #videolan 
    481 
    482 00:12 < thedj> i don't trust ffmpeg's make process ;) 
    483 00:13 < gibalou> their make mess you mean ? 
     475 
     476  -- #videolan 
     477
     47813:53 <Xtophe> is there any centralien alive ? 
     47913:54 <thedj> i hope so. haven't heard a thing about a nuke explosion in Paris 
     480 
     481  -- #videolan 
     482
     48300:12 <thedj> i don't trust ffmpeg's make process ;) 
     48400:13 <gibalou> their make mess you mean ? 
    484485 
    485486  -- #videolan 
     
    490491  -- #videolan 
    491492% 
    492 17:07 < JediMaster> sh-2.03# reboot 
    493 17:07 < JediMaster> Segmentation fault 
    494 17:07 < JediMaster> that's not good 
    495  
    496   -- #videolan 
    497 
     49317:07 <JediMaster> sh-2.03# reboot 
     49417:07 <JediMaster> Segmentation fault 
     49517:07 <JediMaster> that's not good 
     496 
     497  -- #videolan 
     498
     499<sam> pour votre punition, �sera un bootstrap chacun :P 
     500<titer> c'est reparti pour 20 min 
     501<gibalou> c'est reparti pour 3 x 20 min 
     502<sam> c'est reparti pour une modif de Makefile.am d'ici 20 min 
     503 
     504  -- #videolan 
     505
  • toolbox

    rd9010f2 rf53fe26  
    22 
    33##  toolbox for the VLC media player 
    4 ##  $Id: toolbox,v 1.35 2003/07/01 12:01:22 sam Exp $ 
     4##  $Id: toolbox,v 1.36 2003/07/01 19:17:32 sam Exp $ 
    55## 
    66##  Authors: Samuel Hocevar <sam@zoy.org> 
     
    408408 
    409409  rm -f ${file}.tmp && cp ${file}.in ${file}.tmp 
    410   if test "${BUILTINS}" != "
     410  if test -n "${BUILTINS}
    411411  then 
    412412    for i in `echo ${BUILTINS}` 
     
    419419  echo "    do \\" >> ${file}.tmp 
    420420  echo "    { \\" >> ${file}.tmp 
    421   if test "${BUILTINS}" != "
     421  if test -n "${BUILTINS}
    422422  then 
    423423    for i in `echo ${BUILTINS}` 
  • vlc-config.in.in

    rdceb442 rf53fe26  
    217217#  If a module was requested, use its name 
    218218# 
    219 if test "${module}" != ""; then 
     219if test -n "${module}"; then 
    220220  cppflags="${cppflags} -DMODULE_NAME=${module} -DMODULE_NAME_IS_${module}" 
    221221fi 
     
    225225# 
    226226if test "${echo_linkage}" = yes; then 
    227   if test "${echo_plugin}"; then 
     227  if test "${echo_plugin}" = yes; then 
    228228    for module in `echo "${plugins}"`; do 
    229229      register_flags "${module}" 
    230230    done 
    231231  fi 
    232   if test "${echo_builtin}"; then 
     232  if test "${echo_builtin}" = yes; then 
    233233    for module in `echo "${builtins}"`; do 
    234234      register_flags "${module}" 
     
    240240 
    241241if test "${echo_target}" = yes; then 
    242   if test "${echo_plugin}"; then 
     242  if test "${echo_plugin}" = yes; then 
    243243    for module in `echo "${plugins}"`; do 
    244244      register_targets "${module}" 
    245245    done 
    246     for target in `echo ${list}`; do printf "modules/${target}_plugin "; done 
     246    for target in `echo "${list}"`; do printf "modules/${target}_plugin "; done 
    247247    printf '\n' 
    248248  fi 
    249   if test "${echo_builtin}"; then 
     249  if test "${echo_builtin}" = yes; then 
    250250    for module in `echo "${builtins}"`; do 
    251251      register_targets "${module}" 
    252252    done 
    253     if test "${echo_pic}"; then 
    254       for target in `echo ${list}`; do printf "modules/${target}_pic.a "; done 
     253    if test "${echo_pic}" = yes; then 
     254      for target in `echo "${list}"`; do printf "modules/${target}_pic.a "; done 
    255255    else 
    256       for target in `echo ${list}`; do printf "modules/${target}.a "; done 
     256      for target in `echo "${list}"`; do printf "modules/${target}.a "; done 
    257257    fi 
    258258    printf '\n' 
     
    280280fi 
    281281if test "${echo_libs}" = yes; then 
    282   if test "${echo_builtin}"; then 
     282  if test "${echo_builtin}" = yes; then 
    283283    for module in `echo "${builtins}"`; do 
    284284      register_targets "${module}" 
    285285      register_flags "${module}" 
    286286    done 
    287     if test "${echo_pic}"; then 
    288       for target in `echo ${list}`; do printf "modules/${target}_pic.a "; done 
     287    if test "${echo_pic}" = yes; then 
     288      for target in `echo "${list}"`; do printf "modules/${target}_pic.a "; done 
    289289    else 
    290       for target in `echo ${list}`; do printf "modules/${target}.a "; done 
     290      for target in `echo "${list}"`; do printf "modules/${target}.a "; done 
    291291    fi 
    292     printf '\n' 
    293292  fi 
    294293  echo "${libs} ${ldflags}"