JavaScript, Json minimizator

jsmin – is a JavaScript, Json minimizator which removes comments and unnecessary whitespace from JS, JSON files

6 Commits   0 Branches   1 Tag
     5         kx 
     5         kx dnl ============================================================
     5         kx dnl Display Configuration Headers
     5         kx dnl 
     5         kx dnl    configure.in:
     5         kx dnl       AC_MSG_CFG_PART(<text>)
     5         kx dnl ============================================================
     5         kx 
     5         kx define(AC_MSG_CFG_PART,[dnl
     5         kx    AC_MSG_RESULT()
     5         kx    AC_MSG_RESULT(${TB}$1:${TN})
     5         kx ])dnl
     5         kx 
     5         kx 
     5         kx AC_DEFUN(AC_JSMIN_HEADLINE,[dnl
     5         kx   # Use a `Quadrigaph'. @<:@ gives you [ and @:>@ gives you ] :
     5         kx   TB=`echo -n -e '\033@<:@1m'`
     5         kx   TN=`echo -n -e '\033@<:@0m'`
     5         kx   echo ""
     5         kx   echo "Configuring ${TB}$1${TN} ($2), Version ${TB}${PACKAGE_VERSION}${TN}"
     5         kx   echo "$3"
     5         kx ])dnl
     5         kx 
     5         kx 
     5         kx dnl ============================================================
     5         kx dnl  Test for build_host `ln -s' .
     5         kx dnl  ============================
     5         kx dnl
     5         kx dnl Usage:
     5         kx dnl -----
     5         kx dnl    AC_PATH_PROG_LN_S
     5         kx dnl    AC_SUBST(LN)
     5         kx dnl    AC_SUBST(LN_S)
     5         kx dnl
     5         kx dnl ============================================================
     5         kx AC_DEFUN(AC_PATH_PROG_LN_S,
     5         kx [AC_PATH_PROG(LN, ln, no, /usr/local/bin:/usr/bin:/bin:$PATH)
     5         kx AC_MSG_CHECKING(whether ln -s works on build host)
     5         kx AC_CACHE_VAL(ac_cv_path_prog_LN_S,
     5         kx [rm -f conftestdata
     5         kx if $LN -s X conftestdata 2>/dev/null
     5         kx then
     5         kx    rm -f conftestdata
     5         kx    ac_cv_path_prog_LN_S="$LN -s"
     5         kx else
     5         kx    ac_cv_path_prog_LN_S="$LN"
     5         kx fi])dnl
     5         kx LN_S="$ac_cv_path_prog_LN_S"
     5         kx if test "$ac_cv_path_prog_LN_S" = "$LN -s"; then
     5         kx    AC_MSG_RESULT(yes)
     5         kx else
     5         kx    AC_MSG_RESULT(no)
     5         kx fi
     5         kx AC_SUBST(LN)dnl
     5         kx AC_SUBST(LN_S)dnl
     5         kx ])