Changeset 5066 for vmdshow


Ignore:
Timestamp:
Mar 3, 2015 7:17:12 PM (5 years ago)
Author:
ldelgass
Message:

configure/make fixes

Location:
vmdshow/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • vmdshow/trunk/Makefile.in

    r5065 r5066  
    1 LOGDIR=@LOGDIR@
    2 STATSDIR=@STATSDIR@
    3 RPDIR=@prefix@
     1prefix          = @prefix@
     2srcdir          = @srcdir@
    43
    5 install:
    6         install -m 0644 vmdserver.tcl $(RPDIR)/lib/vmd
     4LOGDIR          = @LOGDIR@
     5STATSDIR        = @STATSDIR@
     6INSTALL         = @INSTALL@
     7MKDIR_P         = @MKDIR_P@
     8VPATH           = $(srcdir)
     9
     10DESTDIR         = $(prefix)/lib/vmd
     11
     12install: vmdserver.tcl
     13        $(MKDIR_P) -m 0755 $(DESTDIR)
     14        install -m 0644 -t $(DESTDIR) $<
    715
    816clean:
  • vmdshow/trunk/configure

    r5065 r5066  
    589589STATSDIR
    590590LOGDIR
     591MKDIR_P
     592LN_S
    591593INSTALL_DATA
    592594INSTALL_SCRIPT
     
    18301832test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    18311833
     1834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     1835$as_echo_n "checking whether ln -s works... " >&6; }
     1836LN_S=$as_ln_s
     1837if test "$LN_S" = "ln -s"; then
     1838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     1839$as_echo "yes" >&6; }
     1840else
     1841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     1842$as_echo "no, using $LN_S" >&6; }
     1843fi
     1844
     1845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
     1846$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
     1847if test -z "$MKDIR_P"; then
     1848  if ${ac_cv_path_mkdir+:} false; then :
     1849  $as_echo_n "(cached) " >&6
     1850else
     1851  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1852for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
     1853do
     1854  IFS=$as_save_IFS
     1855  test -z "$as_dir" && as_dir=.
     1856    for ac_prog in mkdir gmkdir; do
     1857         for ac_exec_ext in '' $ac_executable_extensions; do
     1858           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
     1859           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
     1860             'mkdir (GNU coreutils) '* | \
     1861             'mkdir (coreutils) '* | \
     1862             'mkdir (fileutils) '4.1*)
     1863               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
     1864               break 3;;
     1865           esac
     1866         done
     1867       done
     1868  done
     1869IFS=$as_save_IFS
     1870
     1871fi
     1872
     1873  test -d ./--version && rmdir ./--version
     1874  if test "${ac_cv_path_mkdir+set}" = set; then
     1875    MKDIR_P="$ac_cv_path_mkdir -p"
     1876  else
     1877    # As a last resort, use the slow shell script.  Don't cache a
     1878    # value for MKDIR_P within a source directory, because that will
     1879    # break other packages using the cache if that directory is
     1880    # removed, or if the value is a relative name.
     1881    MKDIR_P="$ac_install_sh -d"
     1882  fi
     1883fi
     1884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
     1885$as_echo "$MKDIR_P" >&6; }
     1886
    18321887
    18331888
     
    24422497srcdir='$srcdir'
    24432498INSTALL='$INSTALL'
     2499MKDIR_P='$MKDIR_P'
    24442500test -n "\$AWK" || AWK=awk
    24452501_ACEOF
     
    28812937  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    28822938  esac
     2939  ac_MKDIR_P=$MKDIR_P
     2940  case $MKDIR_P in
     2941  [\\/$]* | ?:[\\/]* ) ;;
     2942  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
     2943  esac
    28832944_ACEOF
    28842945
     
    29352996s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
    29362997s&@INSTALL@&$ac_INSTALL&;t t
     2998s&@MKDIR_P@&$ac_MKDIR_P&;t t
    29372999$ac_datarootdir_hack
    29383000"
  • vmdshow/trunk/configure.in

    r5065 r5066  
    2929
    3030AC_PROG_INSTALL
     31AC_PROG_LN_S
     32AC_PROG_MKDIR_P
    3133
    3234AC_SUBST(LOGDIR)
Note: See TracChangeset for help on using the changeset viewer.